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
|
@ -206,19 +206,6 @@ Java_jdk_internal_util_SystemProps_00024Raw_platformProperties(JNIEnv *env, jcla
|
|||
/* patch level */
|
||||
PUTPROP(propArray, _sun_os_patch_level_NDX, sprops->patch_level);
|
||||
|
||||
/* Printing properties */
|
||||
/* Note: java.awt.printerjob is an implementation private property which
|
||||
* just happens to have a java.* name because it is referenced in
|
||||
* a java.awt class. It is the mechanism by which the implementation
|
||||
* finds the appropriate class in the JRE for the platform.
|
||||
* It is explicitly not designed to be overridden by clients as
|
||||
* a way of replacing the implementation class, and in any case
|
||||
* the mechanism by which the class is loaded is constrained to only
|
||||
* find and load classes that are part of the JRE.
|
||||
* This property may be removed if that mechanism is redesigned
|
||||
*/
|
||||
PUTPROP(propArray, _java_awt_printerjob_NDX, sprops->printerJob);
|
||||
|
||||
PUTPROP(propArray, _awt_toolkit_NDX, sprops->awt_toolkit);
|
||||
|
||||
/* Java2D properties */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue