/hg/icedtea6: Added patch which fixes the AccessControlException...

ptisnovs at icedtea.classpath.org ptisnovs at icedtea.classpath.org
Fri Mar 25 05:41:09 PDT 2011


changeset 8c01fdae79ef in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=8c01fdae79ef
author: ptisnovs
date: Fri Mar 25 13:44:12 2011 +0100

	Added patch which fixes the AccessControlException while working
	with Color class in a PropertyEditor


diffstat:

 ChangeLog                                      |   8 ++++++++
 Makefile.am                                    |   3 ++-
 NEWS                                           |   1 +
 patches/mark_sun_toolkit_privileged_code.patch |  11 +++++++++++
 4 files changed, 22 insertions(+), 1 deletions(-)

diffs (55 lines):

diff -r 3f686b23b06f -r 8c01fdae79ef ChangeLog
--- a/ChangeLog	Thu Mar 24 13:52:10 2011 -0400
+++ b/ChangeLog	Fri Mar 25 13:44:12 2011 +0100
@@ -1,3 +1,11 @@
+2011-03-25  Pavel Tisnovsky  <ptisnovs at 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
+
 2011-03-24  Omair Majid  <omajid at redhat.com>
 
 	* patches/openjdk/6768387-jtable_not_serializable.patch: Fix path in patch
diff -r 3f686b23b06f -r 8c01fdae79ef Makefile.am
--- a/Makefile.am	Thu Mar 24 13:52:10 2011 -0400
+++ b/Makefile.am	Fri Mar 25 13:44:12 2011 +0100
@@ -330,7 +330,8 @@
 	patches/openjdk/7023591-AAShapePipe.patch \
 	patches/openjdk/7027667-AAShapePipeRegTest.patch \
 	patches/openjdk/7019861-AA-regression-fix.patch \
-	patches/openjdk/6768387-jtable_not_serializable.patch
+	patches/openjdk/6768387-jtable_not_serializable.patch \
+	patches/mark_sun_toolkit_privileged_code.patch
 
 if WITH_ALT_HSBUILD
 ICEDTEA_PATCHES += \
diff -r 3f686b23b06f -r 8c01fdae79ef NEWS
--- a/NEWS	Thu Mar 24 13:52:10 2011 -0400
+++ b/NEWS	Fri Mar 25 13:44:12 2011 +0100
@@ -19,6 +19,7 @@
     hotspot) with the jtreg_checks argument:
     make check jtreg_checks="langtools hotspot".
     If none is provided make check runs all testsuites.
+  - Fixed AccessControlContext which was thrown while working with Color class in a PropertyEditor
 * CACAO
   - Ignore all unknown options, but report them.
   - Fixes build for newer gcc (at least 4.4) on PPC64, breaks older gcc.
diff -r 3f686b23b06f -r 8c01fdae79ef 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 Mar 25 13:44:12 2011 +0100
@@ -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
+@@ -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();
+         }
+     };



More information about the distro-pkg-dev mailing list