mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8130266: Change the mechanism by which JDK loads the platform-specific GraphicsEnvironment class
Reviewed-by: serb, bchristi
This commit is contained in:
parent
1aea77ae37
commit
d43616c60a
13 changed files with 238 additions and 76 deletions
|
@ -208,19 +208,6 @@ Java_jdk_internal_util_SystemProps_00024Raw_platformProperties(JNIEnv *env, jcla
|
|||
|
||||
PUTPROP(propArray, _awt_toolkit_NDX, sprops->awt_toolkit);
|
||||
|
||||
/* Java2D properties */
|
||||
/* Note: java.awt.graphicsenv 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_graphicsenv_NDX, sprops->graphics_env);
|
||||
|
||||
PUTPROP_PlatformString(propArray, _java_io_tmpdir_NDX, sprops->tmp_dir);
|
||||
|
||||
PUTPROP_PlatformString(propArray, _user_name_NDX, sprops->user_name);
|
||||
|
|
|
@ -68,7 +68,6 @@ typedef struct {
|
|||
char *sun_stdout_encoding;
|
||||
char *sun_stderr_encoding;
|
||||
|
||||
char *graphics_env;
|
||||
char *awt_toolkit;
|
||||
|
||||
char *unicode_encoding; /* The default endianness of unicode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue