/hg/icedtea: 5 new changesets

andrew at icedtea.classpath.org andrew at icedtea.classpath.org
Thu May 6 06:56:03 PDT 2010


changeset 9dd49a510519 in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=9dd49a510519
author: Andrew John Hughes <ahughes at redhat.com>
date: Thu May 06 10:55:41 2010 +0100

	Update NEWS with OpenJDK7 M7, security updates and libjpeg7.

	2010-05-06 Andrew John Hughes <ahughes at redhat.com>

	 * NEWS: Add 1.13 with libjpeg7 support, OpenJDK7
	milestone 7 and the latest security updates.


changeset 038803278cf3 in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=038803278cf3
author: Mark Wielaard <mark at klomp.org>
date: Thu May 06 11:16:14 2010 +0100

	NEWS: Mention systemtap JNI class tracing support.

	2009-10-28 Mark Wielaard <mjw at redhat.com>

	 * NEWS: Mention systemtap JNI class tracing support.


changeset b6a9260b7eb3 in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=b6a9260b7eb3
author: doko at ubuntu.com
date: Thu Jan 08 22:15:08 2009 +0100

	Don't use precompiled header files in HotSpot.

	2009-01-08 Matthias Klose <doko at ubuntu.com>

	 * patches/no-precompiled.patch: Don't use
	precompiled header files in hotspot.
	        * HACKING: Document the above.


changeset 250523a5b377 in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=250523a5b377
author: Andrew John Hughes <ahughes at redhat.com>
date: Thu May 06 14:18:44 2010 +0100

	Extend PR40616 workaround to cover HKSCS.java.

	2010-05-06 Andrew John Hughes <ahughes at redhat.com>

	 * patches/boot/icedtea-pr40616.patch: Extend with
	fix for new HKSCS.java file.


changeset edb1a3766b13 in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=edb1a3766b13
author: Matthias Klose <doko at ubuntu.com>
date: Thu May 06 14:30:26 2010 +0100

	Disable use of the precompiled header by setting
	DISABLE_PRECOMPILED_HEADER 2009-10-22 Matthias Klose
	<doko at ubuntu.com>

	 * patches/no-precompiled.patch: Allow disabling of the
	precompiled header setting DISABLE_PRECOMPILED_HEADER.
	        * Makefile.am (ICEDTEA_PATCHES): Apply the above.


diffstat:

5 files changed, 131 insertions(+), 1 deletion(-)
ChangeLog                          |   26 ++++++++++++++++++++++++
Makefile.am                        |    3 +-
NEWS                               |   29 ++++++++++++++++++++++++++
patches/boot/icedtea-pr40616.patch |   39 ++++++++++++++++++++++++++++++++++++
patches/no-precompiled.patch       |   35 ++++++++++++++++++++++++++++++++

diffs (167 lines):

diff -r eea3af287202 -r edb1a3766b13 ChangeLog
--- a/ChangeLog	Wed May 05 21:29:34 2010 +0100
+++ b/ChangeLog	Thu May 06 14:30:26 2010 +0100
@@ -1,3 +1,29 @@ 2010-05-05  Andrew John Hughes  <ahughes
+2009-10-22  Matthias Klose  <doko at ubuntu.com>
+
+	* patches/no-precompiled.patch: Allow disabling of the
+	precompiled header setting DISABLE_PRECOMPILED_HEADER.
+	* Makefile.am (ICEDTEA_PATCHES): Apply the above.
+
+2010-05-06  Andrew John Hughes  <ahughes at redhat.com>
+
+	* patches/boot/icedtea-pr40616.patch:
+	Extend with fix for new HKSCS.java file.
+
+2009-01-08  Matthias Klose  <doko at ubuntu.com>
+
+	* patches/no-precompiled.patch: Don't use
+	precompiled header files in hotspot.
+
+2009-10-28  Mark Wielaard  <mjw at redhat.com>
+
+	* NEWS: Mention systemtap JNI class tracing support.
+
+2010-05-06  Andrew John Hughes  <ahughes at redhat.com>
+
+	* NEWS:
+	Add 1.13 with libjpeg7 support, OpenJDK7
+	milestone 7 and the latest security updates.
+
 2010-05-05  Andrew John Hughes  <ahughes at redhat.com>
 
 	* patches/boot/icedtea-pr40616.patch:
diff -r eea3af287202 -r edb1a3766b13 Makefile.am
--- a/Makefile.am	Wed May 05 21:29:34 2010 +0100
+++ b/Makefile.am	Thu May 06 14:30:26 2010 +0100
@@ -315,7 +315,8 @@ ICEDTEA_PATCHES = \
 	patches/icedtea-jvmtiEnv.patch \
 	patches/icedtea-netx.patch \
 	patches/icedtea-disable-intree-ec.patch \
-	patches/icedtea-sources.patch
+	patches/icedtea-sources.patch \
+	patches/no-precompiled.patch
 
 # Conditional patches
 
diff -r eea3af287202 -r edb1a3766b13 NEWS
--- a/NEWS	Wed May 05 21:29:34 2010 +0100
+++ b/NEWS	Thu May 06 14:30:26 2010 +0100
@@ -1,3 +1,32 @@ New in release 1.12 (2009-11-17)
+New in release 1.13 (2010-XX-XX)
+
+- Updated to OpenJDK7 milestone 7.
+- libjpeg7 supported.
+- Latest security updates and hardening patches:
+  - (CVE-2010-0837): JAR "unpack200" must verify input parameters (6902299)
+  - (CVE-2010-0845): No ClassCastException for HashAttributeSet constructors if run with -Xcomp (6894807)
+  - (CVE-2010-0838): CMM readMabCurveData Buffer Overflow Vulnerability (6899653)
+  - (CVE-2010-0082): Loader-constraint table allows arrays instead of only the base-classes (6626217)
+  - (CVE-2010-0095): Subclasses of InetAddress may incorrectly interpret network addresses (6893954)
+  - (CVE-2010-0085): File TOCTOU deserialization vulnerability (6736390)
+  - (CVE-2010-0091): Unsigned applet can retrieve the dragged information before drop action occurs (6887703)
+  - (CVE-2010-0088): Inflater/Deflater clone issues (6745393)
+  - (CVE-2010-0084): Policy/PolicyFile leak dynamic ProtectionDomains. (6633872)
+  - (CVE-2010-0092): AtomicReferenceArray causes SIGSEGV -> SEGV_MAPERR error (6888149)
+  - (CVE-2010-0094): Deserialization of RMIConnectionImpl objects should enforce stricter checks (6893947)
+  - (CVE-2010-0093): System.arraycopy unable to reference elements beyond Integer.MAX_VALUE bytes (6892265)
+  - (CVE-2010-0840): Applet Trusted Methods Chaining Privilege Escalation Vulnerability (6904691)
+  - (CVE-2010-0848): AWT Library Invalid Index Vulnerability (6914823)
+  - (CVE-2010-0847): ImagingLib arbitrary code execution vulnerability (6914866)
+  - (CVE-2009-3555): TLS: MITM attacks via session renegotiation
+  - 6639665: ThreadGroup finalizer allows creation of false root ThreadGroups
+  - 6898622: ObjectIdentifer.equals is not capable of detecting incorrectly encoded CommonName OIDs
+  - 6910590: Application can modify command array in ProcessBuilder
+  - 6909597: JPEGImageReader stepX Integer Overflow Vulnerability
+  - 6932480: Crash in CompilerThread/Parser. Unloaded array klass?
+- Added JNI call tracing using systemtap version 1.0+ when
+  configuring with --enable-systemtap. See tapset/hotspot_jni.stp.
+
 New in release 1.12 (2009-11-17)
 
 - Updated to OpenJDK7 milestone 5; includes:
diff -r eea3af287202 -r edb1a3766b13 patches/boot/icedtea-pr40616.patch
--- a/patches/boot/icedtea-pr40616.patch	Wed May 05 21:29:34 2010 +0100
+++ b/patches/boot/icedtea-pr40616.patch	Thu May 06 14:30:26 2010 +0100
@@ -11,3 +11,42 @@
          String copyright = getCopyright(new File(args[3]));
  
  
+diff -r c1cee45daf4d make/tools/src/build/tools/charsetmapping/HKSCS.java
+--- openjdk-boot.orig/jdk/make/tools/src/build/tools/charsetmapping/HKSCS.java	Wed Apr 28 22:15:05 2010 +0100
++++ openjdk-boot/jdk/make/tools/src/build/tools/charsetmapping/HKSCS.java	Thu May 06 14:17:11 2010 +0100
+@@ -43,29 +43,28 @@
+         Pattern.compile("(?:0x)?+(\\p{XDigit}++)\\s++(?:0x|U\\+)?+(\\p{XDigit}++)?\\s*+(?:0x|U\\+)?(\\p{XDigit}++)?\\s*+.*");
+ 
+     static void genClass(String args[]) throws Exception {
+-
++        FileOutputStream fos = new FileOutputStream(new File(args[1], "HKSCSMapping.java"));
+         // hkscs2008
+         genClass0(new FileInputStream(new File(args[0], "HKSCS2008.map")),
+                   new FileInputStream(new File(args[0], "HKSCS2008.c2b")),
+-                  new PrintStream(new File(args[1], "HKSCSMapping.java"),
+-                                  "ISO-8859-1"),
++                  new PrintStream(fos, false, "ISO-8859-1"),
+                   "HKSCSMapping",
+                   getCopyright(new File(args[3])));
+ 
+ 
+         // xp2001
++        fos = new FileOutputStream(new File(args[1], "HKSCS_XPMapping.java"));
+         genClass0(new FileInputStream(new File(args[0], "HKSCS_XP.map")),
+                   null,
+-                  new PrintStream(new File(args[1], "HKSCS_XPMapping.java"),
+-                                  "ISO-8859-1"),
++                  new PrintStream(fos, false, "ISO-8859-1"),
+                   "HKSCS_XPMapping",
+                   getCopyright(new File(args[3])));
+ 
+         // hkscs2001
++        fos = new FileOutputStream(new File(args[1], "HKSCS2001Mapping.java"));
+         genClass0(new FileInputStream(new File(args[0], "HKSCS2001.map")),
+                   new FileInputStream(new File(args[0], "HKSCS2001.c2b")),
+-                  new PrintStream(new File(args[1], "HKSCS2001Mapping.java"),
+-                                  "ISO-8859-1"),
++                  new PrintStream(fos, false, "ISO-8859-1"),
+                   "HKSCS2001Mapping",
+                   getCopyright(new File(args[3])));
+     }
diff -r eea3af287202 -r edb1a3766b13 patches/no-precompiled.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/no-precompiled.patch	Thu May 06 14:30:26 2010 +0100
@@ -0,0 +1,35 @@
+--- openjdk/hotspot/make/linux/makefiles/gcc.make~	2009-10-30 11:54:26.000000000 +0100
++++ openjdk/hotspot/make/linux/makefiles/gcc.make	2009-10-30 11:55:34.000000000 +0100
+@@ -34,13 +34,14 @@
+ CC_VER_MAJOR := $(shell $(CC) -dumpversion | sed 's/egcs-//' | cut -d'.' -f1)
+ CC_VER_MINOR := $(shell $(CC) -dumpversion | sed 's/egcs-//' | cut -d'.' -f2)
+ 
++ifeq (,$(DISABLE_PRECOMPILED_HEADER))
+ # check for precompiled headers support
+ ifneq "$(shell expr \( $(CC_VER_MAJOR) \> 3 \) \| \( \( $(CC_VER_MAJOR) = 3 \) \& \( $(CC_VER_MINOR) \>= 4 \) \))" "0"
+ USE_PRECOMPILED_HEADER=1
+ PRECOMPILED_HEADER_DIR=.
+ PRECOMPILED_HEADER=$(PRECOMPILED_HEADER_DIR)/incls/_precompiled.incl.gch
+ endif
+-
++endif
+ 
+ #------------------------------------------------------------------------
+ # Compiler flags
+--- openjdk/hotspot/make/solaris/makefiles/gcc.make~	2009-10-30 11:54:26.000000000 +0100
++++ openjdk/hotspot/make/solaris/makefiles/gcc.make	2009-10-30 11:56:05.000000000 +0100
+@@ -45,12 +45,14 @@
+ $(shell $(CC) -dumpversion | sed 's/egcs-//' | cut -d'.' -f2)
+ 
+ 
++ifeq (,$(DISABLE_PRECOMPILED_HEADER))
+ # check for precompiled headers support
+ ifneq "$(shell expr \( $(CC_VER_MAJOR) \> 3 \) \| \( \( $(CC_VER_MAJOR) = 3 \) \& \( $(CC_VER_MINOR) \>= 4 \) \))" "0"
+ USE_PRECOMPILED_HEADER=1
+ PRECOMPILED_HEADER_DIR=.
+ PRECOMPILED_HEADER=$(PRECOMPILED_HEADER_DIR)/incls/_precompiled.incl.gch
+ endif
++endif
+ 
+ 
+ #------------------------------------------------------------------------



More information about the distro-pkg-dev mailing list