mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8212700: Change the mechanism by which JDK loads the platform-specific AWT Toolkit
Reviewed-by: serb, rriggs
This commit is contained in:
parent
7f841d6d9a
commit
8ca1211aab
13 changed files with 95 additions and 66 deletions
|
@ -394,14 +394,6 @@ GetJavaProperties(JNIEnv *env)
|
|||
/* patches/service packs installed */
|
||||
sprops.patch_level = NULL; // leave it undefined
|
||||
|
||||
/* Java 2D/AWT properties */
|
||||
#ifdef MACOSX
|
||||
// Always the same Toolkit on Mac OS X
|
||||
sprops.awt_toolkit = "sun.lwawt.macosx.LWCToolkit";
|
||||
#else
|
||||
sprops.awt_toolkit = "sun.awt.X11.XToolkit";
|
||||
#endif
|
||||
|
||||
#ifdef SI_ISALIST
|
||||
/* supported instruction sets */
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue