mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8130264: change the mechanism by which JDK loads the platform-specific PrinterJob implementation
Reviewed-by: serb, rriggs
This commit is contained in:
parent
e4a3d4e455
commit
7fe615f9a7
9 changed files with 152 additions and 38 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue