Skip to content

Commit 940b053

Browse files
committed
8259232: Bad JNI lookup during printing
Reviewed-by: psadhukhan
1 parent df721f0 commit 940b053

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
@@ -58,7 +58,7 @@
5858

5959
#define GET_CPRINTERDIALOG_METHOD_RETURN(ret) \
6060
GET_CPRINTERDIALOG_CLASS_RETURN(ret); \
61-
GET_METHOD_RETURN(sjm_printerJob, sjc_CPrinterDialog, "fPrinterJob", "Lsun/lwawt/macosx/CPrinterJob;", ret);
61+
GET_FIELD_RETURN(sjm_printerJob, sjc_CPrinterDialog, "fPrinterJob", "Lsun/lwawt/macosx/CPrinterJob;", ret);
6262

6363
static NSPrintInfo* createDefaultNSPrintInfo();
6464

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)