/hg/icedtea: Update to latest changesets, including m5 changes a...

andrew at icedtea.classpath.org andrew at icedtea.classpath.org
Wed Nov 4 13:25:05 PST 2009


changeset ce2937846cc0 in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=ce2937846cc0
author: Andrew John Hughes <ahughes at redhat.com>
date: Wed Nov 04 21:27:26 2009 +0000

	Update to latest changesets, including m5 changes and new timezone
	data patch.

	2009-11-04 Andrew John Hughes <ahughes at redhat.com>

	 * patches/icedtea-use-system-tzdata.patch: Dropped,
	updated version included in upstream IcedTea forest.
		* Makefile.am: Update to latest changesets (m5), remove
	above patch, copy tz.properties into jre/lib.
		* NEWS: List new features in OpenJDK7 (Project Coin,
	JSR166y, Zero).
		* acinclude.m4: (AC_CHECK_WITH_TZDATA_DIR): New macro
	providing the --with-tzdata-dir option for specifying the
	location of Java timezone data. Defaults to
	/usr/share/javazi as before.
		* configure.ac: Add above macro.
		* patches/icedtea-libraries.patch: Recreated.
		* patches/icedtea-liveconnect.patch: Fix quoting of JAVA_ARGS.
		* patches/icedtea-version.patch: Fix path to version template
	(changed upstream).
		* tz.properties.in: New generated file used to specify the
	timezone data directory.


diffstat:

10 files changed, 156 insertions(+), 134 deletions(-)
ChangeLog                               |   28 ++++++++
Makefile.am                             |   39 ++++++-----
NEWS                                    |   17 ++++
acinclude.m4                            |   31 ++++++++
configure.ac                            |    1 
patches/icedtea-libraries.patch         |  108 +++++++++++++++----------------
patches/icedtea-liveconnect.patch       |    2 
patches/icedtea-use-system-tzdata.patch |   59 ----------------
patches/icedtea-version.patch           |    4 -
tz.properties.in                        |    1 

diffs (truncated from 727 to 500 lines):

diff -r 9c96175dae62 -r ce2937846cc0 ChangeLog
--- a/ChangeLog	Mon Nov 02 21:43:32 2009 +0000
+++ b/ChangeLog	Wed Nov 04 21:27:26 2009 +0000
@@ -1,3 +1,31 @@ 2009-11-02  Andrew John Hughes  <ahughes
+2009-11-04  Andrew John Hughes  <ahughes at redhat.com>
+
+	* patches/icedtea-use-system-tzdata.patch:
+	Dropped, updated version included in upstream
+	IcedTea forest.
+	* Makefile.am:
+	Update to latest changesets (m5), remove
+	above patch, copy tz.properties into jre/lib.
+	* NEWS:
+	List new features in OpenJDK7 (Project Coin,
+	JSR166y, Zero).
+	* acinclude.m4:
+	(AC_CHECK_WITH_TZDATA_DIR): New macro providing
+	the --with-tzdata-dir option for specifying the
+	location of Java timezone data.  Defaults to
+	/usr/share/javazi as before.
+	* configure.ac:
+	Add above macro.
+	* patches/icedtea-libraries.patch:
+	Recreated.
+	* patches/icedtea-liveconnect.patch:
+	Fix quoting of JAVA_ARGS.
+	* patches/icedtea-version.patch:
+	Fix path to version template (changed upstream).
+	* tz.properties.in:
+	New generated file used to specify the timezone
+	data directory.
+
 2009-11-02  Andrew John Hughes  <ahughes at redhat.com>
 
 	* Makefile.am:
diff -r 9c96175dae62 -r ce2937846cc0 Makefile.am
--- a/Makefile.am	Mon Nov 02 21:43:32 2009 +0000
+++ b/Makefile.am	Wed Nov 04 21:27:26 2009 +0000
@@ -2,21 +2,21 @@
 
 OPENJDK_VERSION = b75
 
-CORBA_CHANGESET = d4f1f79e9231
-HOTSPOT_CHANGESET = 0c593310a62c
-JAXP_CHANGESET  = 1ff97e23727b
-JAXWS_CHANGESET = 7a525c434bc9
-JDK_CHANGESET = 70b5a4c7b35d
-LANGTOOLS_CHANGESET = 4b3ebc896806
-OPENJDK_CHANGESET = aeb73b347f3a
-
-CORBA_MD5SUM = cbdf4c993b0617ccddcb01a649e2eb05
-HOTSPOT_MD5SUM = 4508ff8d599b5ae3b094eaa3f8dfd494
-JAXP_MD5SUM = 2055c0ab13fea8c2597d7f3367905faa
-JAXWS_MD5SUM = 50ba89fa406b179e2ac20dd11cf37c5d
-JDK_MD5SUM = e98d4f2f0a74cc96ff7fa7838166d2dd
-LANGTOOLS_MD5SUM = 672ed2024d4d8787eefbbdebd1266c07
-OPENJDK_MD5SUM = fd027dba070b73a164a32a30f8807470
+CORBA_CHANGESET = a12dac8f71dc
+HOTSPOT_CHANGESET = e004313753cc
+JAXP_CHANGESET  = 45da06168568
+JAXWS_CHANGESET = 14446af481e9
+JDK_CHANGESET = d03acee39d3b
+LANGTOOLS_CHANGESET = 83367f01297b
+OPENJDK_CHANGESET = a8bc38cb80ef
+
+CORBA_MD5SUM = 455cfaad689717ab542685dd9ed2d876
+HOTSPOT_MD5SUM = 6c711e43b7f6db9d2299f71b8987d446
+JAXP_MD5SUM = bd6ae928afdecf5356c8ecd56a1c39ed
+JAXWS_MD5SUM = 3e2d558e91adcc8630953b1b3a37e269
+JDK_MD5SUM = b811728173a6e554f43a39e84c7f555a
+LANGTOOLS_MD5SUM = 1102b019cd3a734f77bb804228d1727d
+OPENJDK_MD5SUM = 6121a71424fd81df8a34a8b9666fabfd
 
 CACAO_VERSION = 0.99.4
 CACAO_MD5SUM = 63220327925ace13756ae334c55a3baa
@@ -261,7 +261,6 @@ ICEDTEA_PATCHES = \
 	patches/icedtea-rmi_amd64.patch \
 	patches/icedtea-tools.patch \
 	patches/icedtea-demos.patch \
-	patches/icedtea-use-system-tzdata.patch \
 	patches/icedtea-headers.patch \
 	patches/hotspot/$(HSBUILD)/icedtea-headers.patch \
 	patches/icedtea-ant.patch \
@@ -1759,6 +1758,10 @@ if ENABLE_NSS
 	cp $(abs_top_builddir)/nss.cfg \
 	  $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/security;
 endif
+if WITH_TZDATA_DIR
+	cp $(abs_top_builddir)/tz.properties \
+	  $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib;
+endif
 	@echo "IcedTea is served:" $(BUILD_OUTPUT_DIR)
 	mkdir -p stamps
 	touch $@
@@ -1829,6 +1832,10 @@ if ENABLE_NSS
 if ENABLE_NSS
 	cp $(abs_top_builddir)/nss.cfg \
 	  $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/security;
+endif
+if WITH_TZDATA_DIR
+	cp $(abs_top_builddir)/tz.properties \
+	  $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib;
 endif
 	@echo "IcedTea (debug build) is served:" \
 	  $(BUILD_OUTPUT_DIR)-debug
diff -r 9c96175dae62 -r ce2937846cc0 NEWS
--- a/NEWS	Mon Nov 02 21:43:32 2009 +0000
+++ b/NEWS	Wed Nov 04 21:27:26 2009 +0000
@@ -1,7 +1,20 @@ New in release 1.12 (2009-XX-XX)
 New in release 1.12 (2009-XX-XX)
 
-- Updated Zero with Gary's latest revisions
-- JIBX is no longer required to build Nimbus.
+- Updated to OpenJDK7 milestone 5; includes:
+  - From Project Coin:
+    - 6860965: Support for binary literals (e.g. 2 can be written 0b10)
+    - 6860965: Support for underscored literals (e.g. 123456 can be
+      written 123_456)
+    - 6827009: Support for strings in switch statements (e.g. case "a")
+    - 6840638: Improved inferencing with generics, e.g.
+      Map<String,Integer> map = new HashMap<>();
+  - jsr166y from http://gee.cs.oswego.edu/dl/concurrency-interest/:
+    - 6865571: Add a lightweight task framework known as ForkJoin
+    - 6445158: Phaser - an improved CyclicBarrier
+    - 6865579: Add TransferQueue/LinkedTransferQueue
+  - The Zero assembler port
+  - JIBX is no longer required to build Nimbus.
+  - Many bug fixes
 - The NSS crypto. provider may be turned on with --enable-nss if
   the NSS libraries and headers are available via pkg-config.
 - Makefile reorganisation:
diff -r 9c96175dae62 -r ce2937846cc0 acinclude.m4
--- a/acinclude.m4	Mon Nov 02 21:43:32 2009 +0000
+++ b/acinclude.m4	Wed Nov 04 21:27:26 2009 +0000
@@ -1528,3 +1528,34 @@ AC_DEFUN([IT_CHECK_ENABLE_WARNINGS],
   AM_CONDITIONAL(ENABLE_WARNINGS, test x"${ENABLE_WARNINGS}" = "xyes")
   AC_SUBST(ENABLE_WARNINGS)
 ])
+
+AC_DEFUN([AC_CHECK_WITH_TZDATA_DIR],
+[
+  DEFAULT="/usr/share/javazi"
+  AC_MSG_CHECKING([which Java timezone data directory to use])
+  AC_ARG_WITH([tzdata-dir],
+	      [AS_HELP_STRING(--with-tzdata-dir,set the Java timezone data directory [[default=${DEFAULT}]])],
+  [
+    if test "x${withval}" = x || test "x${withval}" = xyes; then
+      TZDATA_DIR_SET=yes
+      TZDATA_DIR="${DEFAULT}"
+    else
+      if test "x${withval}" = xno; then
+        TZDATA_DIR_SET=no
+        AC_MSG_RESULT([no])
+      else
+        TZDATA_DIR_SET=yes
+        TZDATA_DIR="${withval}"
+      fi
+    fi
+  ],
+  [ 
+    TZDATA_DIR="${DEFAULT}"
+  ])
+  if test "x${TZDATA_DIR}" != "x"; then
+    AC_MSG_RESULT([${TZDATA_DIR}])
+  fi
+  AC_SUBST([TZDATA_DIR])
+  AM_CONDITIONAL(WITH_TZDATA_DIR, test "x${TZDATA_DIR}" != "x")
+  AC_CONFIG_FILES([tz.properties])
+])
diff -r 9c96175dae62 -r ce2937846cc0 configure.ac
--- a/configure.ac	Mon Nov 02 21:43:32 2009 +0000
+++ b/configure.ac	Wed Nov 04 21:27:26 2009 +0000
@@ -239,6 +239,7 @@ WITH_PROJECT
 WITH_PROJECT
 ENABLE_HG
 IT_CHECK_ADDITIONAL_VMS
+AC_CHECK_WITH_TZDATA_DIR
 
 AC_PATH_TOOL([HG],[hg])
 if test "x${enable_hg}" = "xyes"; then
diff -r 9c96175dae62 -r ce2937846cc0 patches/icedtea-libraries.patch
--- a/patches/icedtea-libraries.patch	Mon Nov 02 21:43:32 2009 +0000
+++ b/patches/icedtea-libraries.patch	Wed Nov 04 21:27:26 2009 +0000
@@ -1,6 +1,6 @@ diff -Nru openjdk.orig/jdk/make/com/sun/
 diff -Nru openjdk.orig/jdk/make/com/sun/java/pack/Makefile openjdk/jdk/make/com/sun/java/pack/Makefile
 --- openjdk.orig/jdk/make/com/sun/java/pack/Makefile	2009-09-21 17:09:41.000000000 +0100
-+++ openjdk/jdk/make/com/sun/java/pack/Makefile	2009-09-21 22:50:31.000000000 +0100
++++ openjdk/jdk/make/com/sun/java/pack/Makefile	2009-11-04 01:18:41.000000000 +0000
 @@ -74,12 +74,10 @@
  	     $(ZIPOBJDIR)/inftrees.$(OBJECT_SUFFIX) \
  	     $(ZIPOBJDIR)/inffast.$(OBJECT_SUFFIX)
@@ -32,8 +32,8 @@ diff -Nru openjdk.orig/jdk/make/com/sun/
  endif #LINUX
  endif #PLATFORM
 diff -Nru openjdk.orig/jdk/make/common/Program.gmk openjdk/jdk/make/common/Program.gmk
---- openjdk.orig/jdk/make/common/Program.gmk	2009-08-20 00:00:43.000000000 +0100
-+++ openjdk/jdk/make/common/Program.gmk	2009-09-21 22:50:31.000000000 +0100
+--- openjdk.orig/jdk/make/common/Program.gmk	2009-11-04 00:40:21.000000000 +0000
++++ openjdk/jdk/make/common/Program.gmk	2009-11-04 01:18:41.000000000 +0000
 @@ -85,7 +85,7 @@
  	endif
      endif
@@ -49,11 +49,11 @@ diff -Nru openjdk.orig/jdk/make/common/P
  OTHER_INCLUDES += -I$(LAUNCHER_SHARE_SRC)/bin -I$(LAUNCHER_PLATFORM_SRC)/bin
 -OTHER_INCLUDES += -I$(SHARE_SRC)/native/java/util/zip/zlib-1.1.3
  
- # this may not be necessary...
- ifeq ($(PLATFORM), windows)
+ OTHER_CPPFLAGS += -DPROGNAME='"$(PROGRAM)"'
+ VERSION_DEFINES += -DFULL_VERSION='"$(FULL_VERSION)"'
 diff -Nru openjdk.orig/jdk/make/java/jli/Makefile openjdk/jdk/make/java/jli/Makefile
---- openjdk.orig/jdk/make/java/jli/Makefile	2009-09-21 17:09:41.000000000 +0100
-+++ openjdk/jdk/make/java/jli/Makefile	2009-09-21 22:51:00.000000000 +0100
+--- openjdk.orig/jdk/make/java/jli/Makefile	2009-11-04 00:40:21.000000000 +0000
++++ openjdk/jdk/make/java/jli/Makefile	2009-11-04 01:18:41.000000000 +0000
 @@ -44,7 +44,6 @@
  
  include $(BUILDDIR)/common/Defs.gmk
@@ -102,7 +102,7 @@ diff -Nru openjdk.orig/jdk/make/java/jli
 +vpath %.c $(LAUNCHER_SHARE_SRC) $(LAUNCHER_PLATFORM_SRC)
 diff -Nru openjdk.orig/jdk/make/java/zip/FILES_c.gmk openjdk/jdk/make/java/zip/FILES_c.gmk
 --- openjdk.orig/jdk/make/java/zip/FILES_c.gmk	2009-09-21 17:09:41.000000000 +0100
-+++ openjdk/jdk/make/java/zip/FILES_c.gmk	2009-09-21 22:50:31.000000000 +0100
++++ openjdk/jdk/make/java/zip/FILES_c.gmk	2009-11-04 01:18:41.000000000 +0000
 @@ -29,16 +29,4 @@
  	Deflater.c \
  	Inflater.c \
@@ -123,7 +123,7 @@ diff -Nru openjdk.orig/jdk/make/java/zip
 +	zip_util.c
 diff -Nru openjdk.orig/jdk/make/java/zip/Makefile openjdk/jdk/make/java/zip/Makefile
 --- openjdk.orig/jdk/make/java/zip/Makefile	2009-09-21 17:09:41.000000000 +0100
-+++ openjdk/jdk/make/java/zip/Makefile	2009-09-21 22:50:31.000000000 +0100
++++ openjdk/jdk/make/java/zip/Makefile	2009-11-04 01:18:41.000000000 +0000
 @@ -71,16 +71,10 @@
  CPPFLAGS += -UDEBUG 
  endif
@@ -144,7 +144,7 @@ diff -Nru openjdk.orig/jdk/make/java/zip
 +OTHER_LDLIBS = $(JVMLIB) -lz
 diff -Nru openjdk.orig/jdk/make/sun/jpeg/FILES_c.gmk openjdk/jdk/make/sun/jpeg/FILES_c.gmk
 --- openjdk.orig/jdk/make/sun/jpeg/FILES_c.gmk	2009-03-30 17:23:03.000000000 +0100
-+++ openjdk/jdk/make/sun/jpeg/FILES_c.gmk	2009-09-21 22:50:31.000000000 +0100
++++ openjdk/jdk/make/sun/jpeg/FILES_c.gmk	2009-11-04 01:18:41.000000000 +0000
 @@ -25,51 +25,7 @@
  
  FILES_c = \
@@ -200,7 +200,7 @@ diff -Nru openjdk.orig/jdk/make/sun/jpeg
  FILES_c += \
 diff -Nru openjdk.orig/jdk/make/sun/jpeg/Makefile openjdk/jdk/make/sun/jpeg/Makefile
 --- openjdk.orig/jdk/make/sun/jpeg/Makefile	2009-03-30 17:23:03.000000000 +0100
-+++ openjdk/jdk/make/sun/jpeg/Makefile	2009-09-21 22:50:31.000000000 +0100
++++ openjdk/jdk/make/sun/jpeg/Makefile	2009-11-04 01:18:41.000000000 +0000
 @@ -67,6 +67,8 @@
  include $(BUILDDIR)/common/Mapfile-vers.gmk
  include $(BUILDDIR)/common/Library.gmk
@@ -212,7 +212,7 @@ diff -Nru openjdk.orig/jdk/make/sun/jpeg
  #
 diff -Nru openjdk.orig/jdk/make/sun/splashscreen/FILES_c.gmk openjdk/jdk/make/sun/splashscreen/FILES_c.gmk
 --- openjdk.orig/jdk/make/sun/splashscreen/FILES_c.gmk	2009-09-21 17:09:42.000000000 +0100
-+++ openjdk/jdk/make/sun/splashscreen/FILES_c.gmk	2009-09-21 22:50:31.000000000 +0100
++++ openjdk/jdk/make/sun/splashscreen/FILES_c.gmk	2009-11-04 01:18:41.000000000 +0000
 @@ -30,79 +30,5 @@
  	splashscreen_impl.c \
  	splashscreen_jpeg.c \
@@ -296,7 +296,7 @@ diff -Nru openjdk.orig/jdk/make/sun/spla
  
 diff -Nru openjdk.orig/jdk/make/sun/splashscreen/Makefile openjdk/jdk/make/sun/splashscreen/Makefile
 --- openjdk.orig/jdk/make/sun/splashscreen/Makefile	2009-09-21 17:09:42.000000000 +0100
-+++ openjdk/jdk/make/sun/splashscreen/Makefile	2009-09-21 22:50:31.000000000 +0100
++++ openjdk/jdk/make/sun/splashscreen/Makefile	2009-11-04 01:18:41.000000000 +0000
 @@ -59,12 +59,12 @@
  # C Flags
  #
@@ -329,7 +329,7 @@ diff -Nru openjdk.orig/jdk/make/sun/spla
  # and use alternative implementations in C.
 diff -Nru openjdk.orig/jdk/src/share/native/com/sun/java/util/jar/pack/defines.h openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/defines.h
 --- openjdk.orig/jdk/src/share/native/com/sun/java/util/jar/pack/defines.h	2009-08-20 00:00:45.000000000 +0100
-+++ openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/defines.h	2009-09-21 22:50:31.000000000 +0100
++++ openjdk/jdk/src/share/native/com/sun/java/util/jar/pack/defines.h	2009-11-04 01:18:41.000000000 +0000
 @@ -89,11 +89,7 @@
  // bytes and byte arrays
  
@@ -344,7 +344,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
  typedef DWORDLONG       julong;
 diff -Nru openjdk.orig/jdk/src/share/native/java/util/zip/Adler32.c openjdk/jdk/src/share/native/java/util/zip/Adler32.c
 --- openjdk.orig/jdk/src/share/native/java/util/zip/Adler32.c	2009-03-30 17:23:07.000000000 +0100
-+++ openjdk/jdk/src/share/native/java/util/zip/Adler32.c	2009-09-21 22:50:31.000000000 +0100
++++ openjdk/jdk/src/share/native/java/util/zip/Adler32.c	2009-11-04 01:18:41.000000000 +0000
 @@ -29,7 +29,7 @@
  
  #include "jni.h"
@@ -356,7 +356,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
  
 diff -Nru openjdk.orig/jdk/src/share/native/java/util/zip/CRC32.c openjdk/jdk/src/share/native/java/util/zip/CRC32.c
 --- openjdk.orig/jdk/src/share/native/java/util/zip/CRC32.c	2009-03-30 17:23:07.000000000 +0100
-+++ openjdk/jdk/src/share/native/java/util/zip/CRC32.c	2009-09-21 22:50:31.000000000 +0100
++++ openjdk/jdk/src/share/native/java/util/zip/CRC32.c	2009-11-04 01:18:41.000000000 +0000
 @@ -29,7 +29,7 @@
  
  #include "jni.h"
@@ -368,7 +368,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
  
 diff -Nru openjdk.orig/jdk/src/share/native/java/util/zip/Deflater.c openjdk/jdk/src/share/native/java/util/zip/Deflater.c
 --- openjdk.orig/jdk/src/share/native/java/util/zip/Deflater.c	2009-06-30 14:05:51.000000000 +0100
-+++ openjdk/jdk/src/share/native/java/util/zip/Deflater.c	2009-09-21 22:50:31.000000000 +0100
++++ openjdk/jdk/src/share/native/java/util/zip/Deflater.c	2009-11-04 01:18:41.000000000 +0000
 @@ -32,7 +32,7 @@
  #include "jlong.h"
  #include "jni.h"
@@ -380,7 +380,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
  
 diff -Nru openjdk.orig/jdk/src/share/native/java/util/zip/Inflater.c openjdk/jdk/src/share/native/java/util/zip/Inflater.c
 --- openjdk.orig/jdk/src/share/native/java/util/zip/Inflater.c	2009-06-30 14:05:51.000000000 +0100
-+++ openjdk/jdk/src/share/native/java/util/zip/Inflater.c	2009-09-21 22:50:31.000000000 +0100
++++ openjdk/jdk/src/share/native/java/util/zip/Inflater.c	2009-11-04 01:18:41.000000000 +0000
 @@ -35,7 +35,7 @@
  #include "jni.h"
  #include "jvm.h"
@@ -392,7 +392,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
  #define ThrowDataFormatException(env, msg) \
 diff -Nru openjdk.orig/jdk/src/share/native/java/util/zip/zip_util.c openjdk/jdk/src/share/native/java/util/zip/zip_util.c
 --- openjdk.orig/jdk/src/share/native/java/util/zip/zip_util.c	2009-07-14 09:14:42.000000000 +0100
-+++ openjdk/jdk/src/share/native/java/util/zip/zip_util.c	2009-09-21 22:50:31.000000000 +0100
++++ openjdk/jdk/src/share/native/java/util/zip/zip_util.c	2009-11-04 01:18:41.000000000 +0000
 @@ -44,7 +44,8 @@
  #include "io_util.h"
  #include "io_util_md.h"
@@ -404,8 +404,8 @@ diff -Nru openjdk.orig/jdk/src/share/nat
  /* USE_MMAP means mmap the CEN & ENDHDR part of the zip file. */
  #ifdef USE_MMAP
 diff -Nru openjdk.orig/jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c openjdk/jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c
---- openjdk.orig/jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c	2009-07-06 14:52:43.000000000 +0100
-+++ openjdk/jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c	2009-09-21 22:50:31.000000000 +0100
+--- openjdk.orig/jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c	2009-11-03 23:40:31.000000000 +0000
++++ openjdk/jdk/src/share/native/sun/awt/image/jpeg/imageioJPEG.c	2009-11-04 01:18:41.000000000 +0000
 @@ -51,7 +51,9 @@
  
  /* headers from the JPEG library */
@@ -507,7 +507,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
          free(info);
      }
  }
-@@ -685,14 +743,14 @@
+@@ -689,14 +747,14 @@
              decomp = (j_decompress_ptr) cinfo;
              if (decomp->quant_tbl_ptrs[i] == NULL) {
                  decomp->quant_tbl_ptrs[i] =
@@ -524,7 +524,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
              }
              quant_ptr = comp->quant_tbl_ptrs[i];
          }
-@@ -768,14 +826,14 @@
+@@ -787,14 +845,14 @@
              decomp = (j_decompress_ptr) cinfo;
              if (decomp->dc_huff_tbl_ptrs[i] == NULL) {
                  decomp->dc_huff_tbl_ptrs[i] =
@@ -541,7 +541,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
              }
              huff_ptr = comp->dc_huff_tbl_ptrs[i];
          }
-@@ -789,14 +847,14 @@
+@@ -812,14 +870,14 @@
              decomp = (j_decompress_ptr) cinfo;
              if (decomp->ac_huff_tbl_ptrs[i] == NULL) {
                  decomp->ac_huff_tbl_ptrs[i] =
@@ -558,7 +558,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
              }
              huff_ptr = comp->ac_huff_tbl_ptrs[i];
          }
-@@ -1356,6 +1414,8 @@
+@@ -1379,6 +1437,8 @@
       jclass ImageInputStreamClass,
       jclass qTableClass,
       jclass huffClass) {
@@ -567,7 +567,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
  
      ImageInputStream_readID = (*env)->GetMethodID(env,
                                                    ImageInputStreamClass,
-@@ -1441,7 +1501,7 @@
+@@ -1464,7 +1524,7 @@
      }
  
      /* We set up the normal JPEG error routines, then override error_exit. */
@@ -576,7 +576,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
      jerr->pub.error_exit = sun_jpeg_error_exit;
      /* We need to setup our own print routines */
      jerr->pub.output_message = sun_jpeg_output_message;
-@@ -1458,11 +1518,11 @@
+@@ -1481,11 +1541,11 @@
      }
  
      /* Perform library initialization */
@@ -590,7 +590,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
  
      /*
       * Now set up our source.
-@@ -1480,7 +1540,7 @@
+@@ -1503,7 +1563,7 @@
      cinfo->src->init_source = imageio_init_source;
      cinfo->src->fill_input_buffer = imageio_fill_input_buffer;
      cinfo->src->skip_input_data = imageio_skip_input_data;
@@ -599,7 +599,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
      cinfo->src->term_source = imageio_term_source;
  
      /* set up the association to persist for future calls */
-@@ -1599,7 +1659,7 @@
+@@ -1622,7 +1682,7 @@
          src->bytes_in_buffer = 0;
      }
  
@@ -608,7 +608,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
  
      if (ret == JPEG_HEADER_TABLES_ONLY) {
          retval = JNI_TRUE;
-@@ -1728,7 +1788,7 @@
+@@ -1751,7 +1811,7 @@
                                 cinfo->num_components,
                                 profileData);
          if (reset) {
@@ -617,7 +617,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
          }
      }
  
-@@ -1917,7 +1977,7 @@
+@@ -1947,7 +2007,7 @@
                     TRUE);
      }
  
@@ -626,7 +626,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
      if (progressive) {
          cinfo->buffered_image = TRUE;
          cinfo->input_scan_number = minProgressivePass+1; // Java count from 0
-@@ -1929,7 +1989,7 @@
+@@ -1959,7 +2019,7 @@
  
      data->streamBuf.suspendable = FALSE;
  
@@ -635,7 +635,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
  
      if (numBands !=  cinfo->output_components) {
          JNU_ThrowByName(env, "javax/imageio/IIOException",
-@@ -1954,7 +2014,7 @@
+@@ -1984,7 +2044,7 @@
          if (progressive) {
              // initialize the next pass.  Note that this skips up to
              // the first interesting pass.
@@ -644,7 +644,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
              if (wantUpdates) {
                  (*env)->CallVoidMethod(env, this,
                                         JPEGImageReader_passStartedID,
-@@ -1970,7 +2030,7 @@
+@@ -2000,7 +2060,7 @@
          // Skip until the first interesting line
          while ((data->abortFlag == JNI_FALSE)
                 && ((jint)cinfo->output_scanline < sourceYStart)) {
@@ -653,7 +653,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
          }
  
          scanlineLimit = sourceYStart+sourceHeight;
-@@ -1983,7 +2043,7 @@
+@@ -2013,7 +2073,7 @@
          while ((data->abortFlag == JNI_FALSE)
                 && ((jint)cinfo->output_scanline < scanlineLimit)) {
  
@@ -662,7 +662,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
  
              // Now mangle it into our buffer
              out = data->pixelBuf.buf.bp;
-@@ -2031,13 +2091,13 @@
+@@ -2061,13 +2121,13 @@
                  skipLines = linesLeft;
              }
              for(i = 0; i < skipLines; i++) {
@@ -679,7 +679,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
                  || (cinfo->input_scan_number > maxProgressivePass)) {
                  done = TRUE;
              }
-@@ -2057,9 +2117,9 @@
+@@ -2087,9 +2147,9 @@
      if (cinfo->output_scanline == cinfo->output_height) {
          //    if ((cinfo->output_scanline == cinfo->output_height) &&
          //(jpeg_input_complete(cinfo))) {  // We read the whole file
@@ -691,7 +691,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
      }
  
      free(scanLinePtr);
-@@ -2105,7 +2165,7 @@
+@@ -2135,7 +2195,7 @@
  
      cinfo = (j_decompress_ptr) data->jpegObj;
  
@@ -700,7 +700,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat
  }
  
  
-@@ -2311,6 +2371,142 @@
+@@ -2341,6 +2401,142 @@
  
  /********************** end of destination manager ************/
  
@@ -843,7 +843,7 @@ diff -Nru openjdk.orig/jdk/src/share/nat



More information about the distro-pkg-dev mailing list