8130264: change the mechanism by which JDK loads the platform-specific PrinterJob implementation

Reviewed-by: serb, rriggs
This commit is contained in:
Phil Race 2018-11-30 10:55:59 -08:00
parent e4a3d4e455
commit 7fe615f9a7
9 changed files with 152 additions and 38 deletions

View file

@ -391,13 +391,6 @@ GetJavaProperties(JNIEnv *env)
}
#endif /* MACOSX */
/* Printing properties */
#ifdef MACOSX
sprops.printerJob = "sun.lwawt.macosx.CPrinterJob";
#else
sprops.printerJob = "sun.print.PSPrinterJob";
#endif
/* patches/service packs installed */
sprops.patch_level = NULL; // leave it undefined