Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8259232

Bad JNI lookup during printing

XMLWordPrintable

    • 2d
    • b03
    • 17
    • b05
    • os_x

        While running test/jdk/java/awt/print/bug8023392/bug8023392.html with latest jdk I see that we are getting error and test quits
        ===========
        Bad JNI lookup fPrinterJob
        java.lang.NoSuchMethodError: Lsun/lwawt/macosx/CPrinterDialog;.fPrinterJobLsun/lwawt/macosx/CPrinterJob;
                at java.desktop/sun.lwawt.macosx.CPrinterJobDialog.showDialog(Native Method)
                at java.desktop/sun.lwawt.macosx.CPrinterDialogPeer.lambda$setVisible$0(CPrinterDialogPeer.java:58)
                at java.base/java.lang.Thread.run(Thread.java:831)
        STATUS:Failed.Applet thread threw exception: java.lang.NoSuchMethodError: Lsun/lwawt/macosx/CPrinterDialog;.fPrinterJobLsun/lwawt/macosx/CPrinterJob;
        ======
        This seems to be a regression from jdk17b03 onwards and it looks to be caused by JDK-8257853

              prr Philip Race
              psadhukhan Prasanta Sadhukhan
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: