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