changeset in /hg/icedtea6: 2008-09-18 Lillian Angel <langel at re...

Lillian Angel langel at redhat.com
Thu Sep 18 08:32:05 PDT 2008


changeset 8e3089767a4a in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=8e3089767a4a
description:
	2008-09-18  Lillian Angel  <langel at redhat.com>

	        * AUTHORS: Added Marc Schoenefeld.

	2008-09-18  Marc Schoenefeld  <mschoene at redhat.com>

	        * patches/icedtea-messageutils.patch: New patch fixes JVM crashes
	        when calling on sun.misc.MessageUtils.toStderr(null) and
	        sun.misc.MessageUtils.toStdout(null) . It now prompts
	        the string "null" to the console.
	        * Makefile.am: Added patch above.

diffstat:

4 files changed, 28 insertions(+), 2 deletions(-)
AUTHORS                            |    1 +
ChangeLog                          |   14 +++++++++++++-
Makefile.am                        |    3 ++-
patches/icedtea-messageutils.patch |   12 ++++++++++++

diffs (61 lines):

diff -r 1c7da2861925 -r 8e3089767a4a AUTHORS
--- a/AUTHORS	Mon Sep 15 17:21:14 2008 -0400
+++ b/AUTHORS	Thu Sep 18 11:31:59 2008 -0400
@@ -15,6 +15,7 @@ Dan Munckton <lists at munckfish.net>
 Dan Munckton <lists at munckfish.net>
 Raif Naffah <admin at naffah-raif.name>
 Bernhard Rosenkränzer <bero at arklinux.org>
+Marc Schoenefeld <mschoene at redhat.com>
 Keith Seitz <keiths at redhat.com>
 Joshua Sumali <jsumali at redhat.com>
 Christian Thalinger <twisti at complang.tuwien.ac.at>
diff -r 1c7da2861925 -r 8e3089767a4a ChangeLog
--- a/ChangeLog	Mon Sep 15 17:21:14 2008 -0400
+++ b/ChangeLog	Thu Sep 18 11:31:59 2008 -0400
@@ -1,4 +1,16 @@ 2008-08-26  Deepak Bhole  <dbhole at redhat
-2008-08-26  Deepak Bhole  <dbhole at redhat.com>
+2008-09-18  Lillian Angel  <langel at redhat.com>
+
+	* AUTHORS: Added Marc Schoenefeld.
+
+2008-09-18  Marc Schoenefeld  <mschoene at redhat.com>
+	
+	* patches/icedtea-messageutils.patch: New patch fixes JVM crashes 
+	when calling on sun.misc.MessageUtils.toStderr(null) and
+	sun.misc.MessageUtils.toStdout(null) . It now prompts
+	the string "null" to the console. 
+	* Makefile.am: Added patch above.
+
+2008-09-16  Deepak Bhole  <dbhole at redhat.com>
 
 	* IcedTeaPlugin.cc: Allow access to applet classloader from JS on that
 	site. Fix right-click lag by temporarily disabling status messages.
diff -r 1c7da2861925 -r 8e3089767a4a Makefile.am
--- a/Makefile.am	Mon Sep 15 17:21:14 2008 -0400
+++ b/Makefile.am	Thu Sep 18 11:31:59 2008 -0400
@@ -499,7 +499,8 @@ ICEDTEA_PATCHES = \
 	$(SHARK_PATCH) \
 	$(GCC_PATCH) \
 	patches/icedtea-arch.patch \
-	patches/icedtea-lc_ctype.patch
+	patches/icedtea-lc_ctype.patch \
+	patches/icedtea-messageutils.patch
 
 if WITH_RHINO
 ICEDTEA_PATCHES += \
diff -r 1c7da2861925 -r 8e3089767a4a patches/icedtea-messageutils.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/icedtea-messageutils.patch	Thu Sep 18 11:31:59 2008 -0400
@@ -0,0 +1,12 @@
+--- openjdk/jdk/src/share/native/sun/misc/MessageUtils.c.orig 2008-09-17 15:17:02.000000000 +0200
++++ openjdk/jdk/src/share/native/sun/misc/MessageUtils.c      2008-09-17 15:56:07.000000000 +0200
+@@ -39,6 +39,9 @@ printToFile(JNIEnv *env, jstring s, FILE
+    int i;
+     const jchar *sAsArray;
+
++    if (s == NULL) {
++       s = (*env)->NewStringUTF(env, "null\0");
++    }
+     sAsArray = (*env)->GetStringChars(env, s, NULL);
+     length = (*env)->GetStringLength(env, s);
+     sConverted = (char *) malloc(length + 1); 



More information about the distro-pkg-dev mailing list