Mercurial > hg > release > icedtea6-1.8
changeset 2149:b0f229f276be
Added patch that fixes AccessControlContext which was thrown while
working with Color class in a PropertyEditor
author | ptisnovs |
---|---|
date | Fri, 15 Apr 2011 15:21:25 +0200 |
parents | c4b749a83103 |
children | e11a3915d1cf |
files | ChangeLog Makefile.am NEWS patches/mark_sun_toolkit_privileged_code.patch |
diffstat | 4 files changed, 23 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <ptisnovs@redhat.com> + + * 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 <dbhole@redhat.com> PR542: Plugin fails with NPE on
--- 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 \
--- 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
--- /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(); + } + };