Hi all, I'd like to backport following change to OpenJDK6:
--- openjdk/jdk/src/share/classes/sun/awt/SunToolkit.orig.java 2011-03-11 10:48:29.000000000 +0100 +++ openjdk/jdk/src/share/classes/sun/awt/SunToolkit.java 2011-03-11 11:24:33.000000000 +0100 @@ -65,8 +65,7 @@ /* Load debug settings for native code */ static { - String nativeDebug = System.getProperty("sun.awt.nativedebug"); - if ("true".equalsIgnoreCase(nativeDebug)) { + if (AccessController.doPrivileged(new GetBooleanAction("sun.awt.nativedebug"))) { DebugSettings.init(); } }; Webrev containing this change is available here: http://cr.openjdk.java.net/~ptisnovs/SunToolkit/ This patch fixes the exception which is thrown when Color class (more precisely java.awt.Color) is about to be opened in PropertyEditor. This change is based on OpenJDK7 sources, but I'm unable to determine in which push this changes was made. Does anyone know how to find out the original bug ID or push number to OpenJDK7 repository please? Thank you in advance Pavel T.