Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit 847c0e3

Browse files
Olga MikhaltsovaYuri Nesterenko
authored andcommitted
8259232: Bad JNI lookup during printing
Backport-of: 940b053065de788e44ef0d7f6fab901f8f0dfb40
1 parent 698dd44 commit 847c0e3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/java.desktop/macosx/native/libawt_lwawt/awt/CPrinterJob.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757

5858
#define GET_CPRINTERDIALOG_FIELD_RETURN(ret) \
5959
GET_CPRINTERDIALOG_CLASS_RETURN(ret); \
60-
GET_METHOD_RETURN(sjm_printerJob, sjc_CPrinterDialog, "fPrinterJob", "Lsun/lwawt/macosx/CPrinterJob;", ret);
60+
GET_FIELD_RETURN(sjm_printerJob, sjc_CPrinterDialog, "fPrinterJob", "Lsun/lwawt/macosx/CPrinterJob;", ret);
6161

6262
static NSPrintInfo* createDefaultNSPrintInfo();
6363

test/jdk/java/awt/print/bug8023392/bug8023392.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
/*
2525
test
26-
@bug 8023392
26+
@bug 8023392 8259232
2727
@summary Swing text components printed with spaces between chars
2828
@author Anton Nashatyrev
2929
@run applet/manual=yesno bug8023392.html

0 commit comments

Comments
 (0)