# HG changeset patch # User ptisnovs # Date 1302873685 -7200 # Node ID b0f229f276beb42777311cdf7f0130e3ea7019e7 # Parent c4b749a831039777faf9c6cbc281f7ce1180c748 Added patch that fixes AccessControlContext which was thrown while working with Color class in a PropertyEditor diff -r c4b749a83103 -r b0f229f276be ChangeLog --- a/ChangeLog Fri Mar 25 15:36:46 2011 -0400 +++ b/ChangeLog Fri Apr 15 15:21:25 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 + 2010-11-01 Deepak Bhole PR542: Plugin fails with NPE on diff -r c4b749a83103 -r b0f229f276be Makefile.am --- a/Makefile.am Fri Mar 25 15:36:46 2011 -0400 +++ b/Makefile.am Fri Apr 15 15:21:25 2011 +0200 @@ -377,7 +377,8 @@ patches/latent_jaxp_bug.patch \ patches/openjdk/6675802-securityExceptions-applets.patch \ patches/openjdk/6691503-malicious-applet-always-on-top.patch \ - patches/jtreg-LastErrorString.patch + patches/jtreg-LastErrorString.patch \ + patches/mark_sun_toolkit_privileged_code.patch if WITH_ALT_HSBUILD ICEDTEA_PATCHES += patches/hotspot/$(HSBUILD)/openjdk-6886353-ignore_deoptimizealot.patch \ diff -r c4b749a83103 -r b0f229f276be NEWS --- a/NEWS Fri Mar 25 15:36:46 2011 -0400 +++ b/NEWS Fri Apr 15 15:21:25 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 - PR632: patches/security/20110215/6878713.patch breaks shark zero build + - 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 diff -r c4b749a83103 -r b0f229f276be 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:21:25 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(); + } + };