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

@ -376,9 +376,6 @@ GetJavaProperties(JNIEnv* env)
sprops.tmp_dir = _wcsdup(tmpdir);
}
/* Printing properties */
sprops.printerJob = "sun.awt.windows.WPrinterJob";
/* Java2D properties */
sprops.graphics_env = "sun.awt.Win32GraphicsEnvironment";