# HG changeset patch # User ptisnovs # Date 1302875477 -7200 # Node ID 2f549e3a4720ce2ab854e78bfba9b60ed2a01d50 # Parent 495cac553ab0cfc1eeb5dc3eae201e5579cd207a Added patch that fixes AccessControlContext which was thrown while working with Color class in a PropertyEditor diff -r 495cac553ab0 -r 2f549e3a4720 ChangeLog --- a/ChangeLog Tue Apr 12 15:47:27 2011 +0200 +++ b/ChangeLog Fri Apr 15 15:51:17 2011 +0200 @@ -1,3 +1,11 @@ +2011-04-15 Pavel Tisnovsky + + * Makefile.am: Add new patch. + * NEWS: Updated (added info about new fix). + * patches/mark_sun_toolkit_privileged_code.patch: + Patch which fixes the AccessControlException while + working with Color class in a PropertyEditor + 2011-04-12 Xerxes RĂ„nby PR689: Shark fails to find LLVM 2.9 System headers during build diff -r 495cac553ab0 -r 2f549e3a4720 Makefile.am --- a/Makefile.am Tue Apr 12 15:47:27 2011 +0200 +++ b/Makefile.am Fri Apr 15 15:51:17 2011 +0200 @@ -341,7 +341,8 @@ patches/openjdk/6675802-securityExceptions-applets.patch \ patches/openjdk/6691503-malicious-applet-always-on-top.patch \ patches/jtreg-LastErrorString.patch \ - patches/shark-llvm-2.9.patch + patches/shark-llvm-2.9.patch \ + patches/mark_sun_toolkit_privileged_code.patch if WITH_ALT_HSBUILD ICEDTEA_PATCHES += \ diff -r 495cac553ab0 -r 2f549e3a4720 NEWS --- a/NEWS Tue Apr 12 15:47:27 2011 +0200 +++ b/NEWS Fri Apr 15 15:51:17 2011 +0200 @@ -14,6 +14,7 @@ - S6675802: Regression: heavyweight popups cause SecurityExceptions in applets - S6691503: Malicious applet can show always-on-top popup menu which has whole screen size - S6980392, PR642: simple correction in testcase, added missing bracket + - Fixed AccessControlContext which was thrown while working with Color class in a PropertyEditor * Plugin - PR542: Plugin fails with NPE on http://www.openprocessing.org/visuals/iframe.php?visualID=2615 * Shark diff -r 495cac553ab0 -r 2f549e3a4720 patches/mark_sun_toolkit_privileged_code.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/mark_sun_toolkit_privileged_code.patch Fri Apr 15 15:51:17 2011 +0200 @@ -0,0 +1,12 @@ +--- 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 +@@ -70,8 +70,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(); + } + };