/hg/release/icedtea6-1.9: 3 new changesets
andrew at icedtea.classpath.org
andrew at icedtea.classpath.org
Tue Jun 7 13:33:50 PDT 2011
changeset 8d393fbff5d3 in /hg/release/icedtea6-1.9
details: http://icedtea.classpath.org/hg/release/icedtea6-1.9?cmd=changeset;node=8d393fbff5d3
author: Andrew John Hughes <ahughes at redhat.com>
date: Tue May 24 09:38:46 2011 +0100
Add security patches for 2011/06/07.
2011-05-23 Andrew John Hughes <ahughes at redhat.com>
* Makefile.am: Add security patches.
* NEWS: List security patches.
* patches/nio2.patch: Rerolled post-security patching.
* patches/security/20110607/6213702.patch,
* patches/security/20110607/6618658.patch,
* patches/security/20110607/7012520.patch,
* patches/security/20110607/7013519.patch,
* patches/security/20110607/7013969.patch,
* patches/security/20110607/7013971.patch,
* patches/security/20110607/7016495.patch,
* patches/security/20110607/7020198.patch,
* patches/security/20110607/7020373.patch: New security
patches.
* patches/xjc.patch: Rerolled after 7013971.
changeset 25b9909a5432 in /hg/release/icedtea6-1.9
details: http://icedtea.classpath.org/hg/release/icedtea6-1.9?cmd=changeset;node=25b9909a5432
author: Andrew John Hughes <ahughes at redhat.com>
date: Tue May 24 09:40:00 2011 +0100
Bump to 1.9.8 and set date of release.
2011-05-23 Andrew John Hughes <ahughes at redhat.com>
* NEWS: Set date of release.
* configure.ac: Bump to 1.9.8.
changeset 3f040271ab87 in /hg/release/icedtea6-1.9
details: http://icedtea.classpath.org/hg/release/icedtea6-1.9?cmd=changeset;node=3f040271ab87
author: Andrew John Hughes <ahughes at redhat.com>
date: Tue Jun 07 21:33:41 2011 +0100
Added tag icedtea6-1.9.8 for changeset 25b9909a5432
diffstat:
.hgtags | 1 +
ChangeLog | 23 +
Makefile.am | 11 +-
NEWS | 13 +-
configure.ac | 2 +-
patches/icedtea-nio2.patch | 69 ++--
patches/icedtea-xjc.patch | 14 +-
patches/security/20110607/6213702.patch | 105 +++++++
patches/security/20110607/6618658.patch | 24 +
patches/security/20110607/7012520.patch | 24 +
patches/security/20110607/7013519.patch | 48 +++
patches/security/20110607/7013969.patch | 25 +
patches/security/20110607/7013971.patch | 128 +++++++++
patches/security/20110607/7016495.patch | 422 ++++++++++++++++++++++++++++++++
patches/security/20110607/7020198.patch | 138 ++++++++++
patches/security/20110607/7020373.patch | 37 ++
16 files changed, 1039 insertions(+), 45 deletions(-)
diffs (truncated from 1442 to 500 lines):
diff -r 2f549e3a4720 -r 3f040271ab87 .hgtags
--- a/.hgtags Fri Apr 15 15:51:17 2011 +0200
+++ b/.hgtags Tue Jun 07 21:33:41 2011 +0100
@@ -27,3 +27,4 @@
a55e0ec59e4287f9df15f666503dbe500f1a61ea icedtea6-1.9.5
03258f7ff9107c7e3be6931df2093b8395db89e4 icedtea6-1.9.6
9822da18c162896b9da66d45bdc341a1cd53581b icedtea6-1.9.7
+25b9909a5432b811f85b121305a6ba7f01c7aace icedtea6-1.9.8
diff -r 2f549e3a4720 -r 3f040271ab87 ChangeLog
--- a/ChangeLog Fri Apr 15 15:51:17 2011 +0200
+++ b/ChangeLog Tue Jun 07 21:33:41 2011 +0100
@@ -1,3 +1,26 @@
+2011-05-23 Andrew John Hughes <ahughes at redhat.com>
+
+ * NEWS: Set date of release.
+ * configure.ac: Bump to 1.9.8.
+
+2011-05-23 Andrew John Hughes <ahughes at redhat.com>
+
+ * Makefile.am: Add security patches.
+ * NEWS: List security patches.
+ * patches/nio2.patch: Rerolled post-security
+ patching.
+ * patches/security/20110607/6213702.patch,
+ * patches/security/20110607/6618658.patch,
+ * patches/security/20110607/7012520.patch,
+ * patches/security/20110607/7013519.patch,
+ * patches/security/20110607/7013969.patch,
+ * patches/security/20110607/7013971.patch,
+ * patches/security/20110607/7016495.patch,
+ * patches/security/20110607/7020198.patch,
+ * patches/security/20110607/7020373.patch:
+ New security patches.
+ * patches/xjc.patch: Rerolled after 7013971.
+
2011-04-15 Pavel Tisnovsky <ptisnovs at redhat.com>
* Makefile.am: Add new patch.
diff -r 2f549e3a4720 -r 3f040271ab87 Makefile.am
--- a/Makefile.am Fri Apr 15 15:51:17 2011 +0200
+++ b/Makefile.am Tue Jun 07 21:33:41 2011 +0100
@@ -226,7 +226,16 @@
patches/security/20110215/6983554.patch \
patches/security/20110215/6994263.patch \
patches/security/20110215/6985453.patch \
- patches/security/20110215/6927050.patch
+ patches/security/20110215/6927050.patch \
+ patches/security/20110607/6213702.patch \
+ patches/security/20110607/6618658.patch \
+ patches/security/20110607/7012520.patch \
+ patches/security/20110607/7013519.patch \
+ patches/security/20110607/7013969.patch \
+ patches/security/20110607/7013971.patch \
+ patches/security/20110607/7016495.patch \
+ patches/security/20110607/7020198.patch \
+ patches/security/20110607/7020373.patch
ICEDTEA_PATCHES = \
$(SECURITY_PATCHES) \
diff -r 2f549e3a4720 -r 3f040271ab87 NEWS
--- a/NEWS Fri Apr 15 15:51:17 2011 +0200
+++ b/NEWS Tue Jun 07 21:33:41 2011 +0100
@@ -8,8 +8,19 @@
CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY
-New in release 1.9.8 (20XX-XX-XX):
+New in release 1.9.8 (2011-06-07):
+* Security fixes
+ - S6213702, CVE-2011-0872: (so) non-blocking sockets with TCP urgent disabled get still selected for read ops (win)
+ - S6618658, CVE-2011-0865: Vulnerability in deserialization
+ - S7012520, CVE-2011-0815: Heap overflow vulnerability in FileDialog.show()
+ - S7013519, CVE-2011-0822, CVE-2011-0862: Integer overflows in 2D code
+ - S7013969, CVE-2011-0867: NetworkInterface.toString can reveal bindings
+ - S7013971, CVE-2011-0869: Vulnerability in SAAJ
+ - S7016340, CVE-2011-0870: Vulnerability in SAAJ
+ - S7016495, CVE-2011-0868: Crash in Java 2D transforming an image with scale close to zero
+ - S7020198, CVE-2011-0871: ImageIcon creates Component with null acc
+ - S7020373, CVE-2011-0864: JSR rewriting can overflow memory address size variables
* Backports
- S6675802: Regression: heavyweight popups cause SecurityExceptions in applets
- S6691503: Malicious applet can show always-on-top popup menu which has whole screen size
diff -r 2f549e3a4720 -r 3f040271ab87 configure.ac
--- a/configure.ac Fri Apr 15 15:51:17 2011 +0200
+++ b/configure.ac Tue Jun 07 21:33:41 2011 +0100
@@ -1,4 +1,4 @@
-AC_INIT([icedtea6],[1.9.8pre],[distro-pkg-dev at openjdk.java.net])
+AC_INIT([icedtea6],[1.9.8],[distro-pkg-dev at openjdk.java.net])
AM_INIT_AUTOMAKE([1.9 tar-pax foreign])
AC_CONFIG_FILES([Makefile])
diff -r 2f549e3a4720 -r 3f040271ab87 patches/icedtea-nio2.patch
--- a/patches/icedtea-nio2.patch Fri Apr 15 15:51:17 2011 +0200
+++ b/patches/icedtea-nio2.patch Tue Jun 07 21:33:41 2011 +0100
@@ -1,6 +1,6 @@
diff -Nru openjdk.orig/jdk/make/common/shared/Defs-javadoc.gmk openjdk/jdk/make/common/shared/Defs-javadoc.gmk
---- openjdk.orig/jdk/make/common/shared/Defs-javadoc.gmk 2010-06-21 22:15:08.000000000 +0100
-+++ openjdk/jdk/make/common/shared/Defs-javadoc.gmk 2011-02-08 23:10:59.370265518 +0000
+--- openjdk.orig/jdk/make/common/shared/Defs-javadoc.gmk 2011-02-28 16:06:10.000000000 +0000
++++ openjdk/jdk/make/common/shared/Defs-javadoc.gmk 2011-05-23 23:20:58.640622650 +0100
@@ -41,6 +41,7 @@
TREEAPI_FIRST_COPYRIGHT_YEAR = 2005
JNLP_FIRST_COPYRIGHT_YEAR = 1998
@@ -10,8 +10,8 @@
# Oracle name
COMPANY_NAME = Oracle and/or its affiliates
diff -Nru openjdk.orig/jdk/make/docs/CORE_PKGS.gmk openjdk/jdk/make/docs/CORE_PKGS.gmk
---- openjdk.orig/jdk/make/docs/CORE_PKGS.gmk 2010-06-21 22:15:08.000000000 +0100
-+++ openjdk/jdk/make/docs/CORE_PKGS.gmk 2011-02-08 23:10:59.374265560 +0000
+--- openjdk.orig/jdk/make/docs/CORE_PKGS.gmk 2011-02-28 16:06:10.000000000 +0000
++++ openjdk/jdk/make/docs/CORE_PKGS.gmk 2011-05-23 23:20:58.656622907 +0100
@@ -36,6 +36,7 @@
sunw.* \
com.sun.* \
@@ -21,8 +21,8 @@
org.w3c.dom.css \
org.w3c.dom.html \
diff -Nru openjdk.orig/jdk/make/docs/Makefile openjdk/jdk/make/docs/Makefile
---- openjdk.orig/jdk/make/docs/Makefile 2010-06-21 22:15:08.000000000 +0100
-+++ openjdk/jdk/make/docs/Makefile 2011-02-08 23:10:59.374265560 +0000
+--- openjdk.orig/jdk/make/docs/Makefile 2011-02-28 16:06:10.000000000 +0000
++++ openjdk/jdk/make/docs/Makefile 2011-05-23 23:20:58.656622907 +0100
@@ -1076,6 +1076,58 @@
#############################################################
@@ -83,8 +83,8 @@
$(DIRECTORY_CACHE): $(ALL_SOURCE_DIRS)
diff -Nru openjdk.orig/jdk/make/docs/NON_CORE_PKGS.gmk openjdk/jdk/make/docs/NON_CORE_PKGS.gmk
---- openjdk.orig/jdk/make/docs/NON_CORE_PKGS.gmk 2011-02-08 22:57:19.000000000 +0000
-+++ openjdk/jdk/make/docs/NON_CORE_PKGS.gmk 2011-02-08 23:10:59.374265560 +0000
+--- openjdk.orig/jdk/make/docs/NON_CORE_PKGS.gmk 2011-02-28 16:06:10.000000000 +0000
++++ openjdk/jdk/make/docs/NON_CORE_PKGS.gmk 2011-05-23 23:20:58.656622907 +0100
@@ -65,6 +65,16 @@
HTTPSERVER_PKGS = com.sun.net.httpserver \
com.sun.net.httpserver.spi
@@ -102,17 +102,17 @@
DOCLETAPI_PKGS = com.sun.javadoc
TAGLETAPI_FILE = com/sun/tools/doclets/Taglet.java
-@@ -93,6 +103,7 @@
+@@ -89,6 +99,7 @@
$(MGMT_PKGS) \
$(JAAS_PKGS) \
$(JGSS_PKGS) \
+ $(NIO2_PKGS) \
$(OLD_JSSE_PKGS) \
$(HTTPSERVER_PKGS) \
- $(SMARTCARDIO_PKGS) \
+ $(SMARTCARDIO_PKGS)
diff -Nru openjdk.orig/jdk/make/java/java/FILES_java.gmk openjdk/jdk/make/java/java/FILES_java.gmk
---- openjdk.orig/jdk/make/java/java/FILES_java.gmk 2011-02-08 22:57:17.000000000 +0000
-+++ openjdk/jdk/make/java/java/FILES_java.gmk 2011-02-08 23:10:59.374265560 +0000
+--- openjdk.orig/jdk/make/java/java/FILES_java.gmk 2011-05-23 23:03:36.000000000 +0100
++++ openjdk/jdk/make/java/java/FILES_java.gmk 2011-05-23 23:20:58.656622907 +0100
@@ -518,6 +518,13 @@
sun/misc/JavaLangAccess.java \
sun/misc/JavaIOAccess.java \
@@ -129,8 +129,8 @@
FILES_java = $(JAVA_JAVA_java)
diff -Nru openjdk.orig/jdk/make/java/nio/FILES_java.gmk openjdk/jdk/make/java/nio/FILES_java.gmk
---- openjdk.orig/jdk/make/java/nio/FILES_java.gmk 2011-02-08 22:57:17.000000000 +0000
-+++ openjdk/jdk/make/java/nio/FILES_java.gmk 2011-02-08 23:10:59.378265602 +0000
+--- openjdk.orig/jdk/make/java/nio/FILES_java.gmk 2011-05-23 23:03:36.000000000 +0100
++++ openjdk/jdk/make/java/nio/FILES_java.gmk 2011-05-23 23:20:58.656622907 +0100
@@ -75,12 +75,13 @@
sun/nio/ch/DefaultSelectorProvider.java \
sun/nio/ch/DirectBuffer.java \
@@ -330,8 +330,8 @@
FILES_java = $(FILES_src) $(FILES_gen)
diff -Nru openjdk.orig/jdk/make/java/nio/Makefile openjdk/jdk/make/java/nio/Makefile
---- openjdk.orig/jdk/make/java/nio/Makefile 2011-02-08 22:57:17.000000000 +0000
-+++ openjdk/jdk/make/java/nio/Makefile 2011-02-08 23:10:59.378265602 +0000
+--- openjdk.orig/jdk/make/java/nio/Makefile 2011-05-23 23:03:36.000000000 +0100
++++ openjdk/jdk/make/java/nio/Makefile 2011-05-23 23:20:58.656622907 +0100
@@ -40,6 +40,11 @@
SNIO_SRC = $(SHARE_SRC)/classes/sun/nio
SNIO_GEN = $(GENSRCDIR)/sun/nio
@@ -678,8 +678,8 @@
+
.PHONY: sources
diff -Nru openjdk.orig/jdk/make/java/nio/mapfile-linux openjdk/jdk/make/java/nio/mapfile-linux
---- openjdk.orig/jdk/make/java/nio/mapfile-linux 2010-06-21 22:15:08.000000000 +0100
-+++ openjdk/jdk/make/java/nio/mapfile-linux 2011-02-08 23:10:59.378265602 +0000
+--- openjdk.orig/jdk/make/java/nio/mapfile-linux 2011-02-28 16:06:11.000000000 +0000
++++ openjdk/jdk/make/java/nio/mapfile-linux 2011-05-23 23:20:58.656622907 +0100
@@ -20,6 +20,14 @@
Java_sun_nio_ch_EPollArrayWrapper_interrupt;
Java_sun_nio_ch_EPollArrayWrapper_offsetofData;
@@ -796,8 +796,8 @@
local:
*;
diff -Nru openjdk.orig/jdk/make/java/nio/mapfile-solaris openjdk/jdk/make/java/nio/mapfile-solaris
---- openjdk.orig/jdk/make/java/nio/mapfile-solaris 2010-06-21 22:15:08.000000000 +0100
-+++ openjdk/jdk/make/java/nio/mapfile-solaris 2011-02-08 23:10:59.378265602 +0000
+--- openjdk.orig/jdk/make/java/nio/mapfile-solaris 2011-02-28 16:06:11.000000000 +0000
++++ openjdk/jdk/make/java/nio/mapfile-solaris 2011-05-23 23:20:58.656622907 +0100
@@ -73,6 +73,75 @@
Java_sun_nio_ch_ServerSocketChannelImpl_listen;
Java_sun_nio_ch_SocketChannelImpl_checkConnect;
@@ -875,8 +875,8 @@
local:
*;
diff -Nru openjdk.orig/jdk/make/mkdemo/Makefile openjdk/jdk/make/mkdemo/Makefile
---- openjdk.orig/jdk/make/mkdemo/Makefile 2010-06-21 22:15:08.000000000 +0100
-+++ openjdk/jdk/make/mkdemo/Makefile 2011-02-08 23:10:59.378265602 +0000
+--- openjdk.orig/jdk/make/mkdemo/Makefile 2011-02-28 16:06:11.000000000 +0000
++++ openjdk/jdk/make/mkdemo/Makefile 2011-05-23 23:20:58.656622907 +0100
@@ -31,7 +31,7 @@
PRODUCT = demos
include $(BUILDDIR)/common/Defs.gmk
@@ -887,8 +887,8 @@
all build:: nbproject
$(SUBDIRS-loop)
diff -Nru openjdk.orig/jdk/make/mksample/nio/Makefile openjdk/jdk/make/mksample/nio/Makefile
---- openjdk.orig/jdk/make/mksample/nio/Makefile 2010-06-21 22:15:08.000000000 +0100
-+++ openjdk/jdk/make/mksample/nio/Makefile 2011-02-08 23:10:59.378265602 +0000
+--- openjdk.orig/jdk/make/mksample/nio/Makefile 2011-02-28 16:06:11.000000000 +0000
++++ openjdk/jdk/make/mksample/nio/Makefile 2011-05-23 23:20:58.656622907 +0100
@@ -31,7 +31,7 @@
PRODUCT = java
include $(BUILDDIR)/common/Defs.gmk
@@ -899,8 +899,8 @@
$(SUBDIRS-loop)
diff -Nru openjdk.orig/jdk/src/share/classes/java/io/File.java openjdk/jdk/src/share/classes/java/io/File.java
---- openjdk.orig/jdk/src/share/classes/java/io/File.java 2010-06-21 22:15:18.000000000 +0100
-+++ openjdk/jdk/src/share/classes/java/io/File.java 2011-02-08 23:10:59.378265602 +0000
+--- openjdk.orig/jdk/src/share/classes/java/io/File.java 2011-02-28 16:06:21.000000000 +0000
++++ openjdk/jdk/src/share/classes/java/io/File.java 2011-05-23 23:20:58.660622971 +0100
@@ -1958,6 +1958,13 @@
}
}
@@ -916,27 +916,28 @@
diff -Nru openjdk.orig/jdk/src/share/classes/java/net/NetworkInterface.java openjdk/jdk/src/share/classes/java/net/NetworkInterface.java
---- openjdk.orig/jdk/src/share/classes/java/net/NetworkInterface.java 2011-02-08 22:57:12.000000000 +0000
-+++ openjdk/jdk/src/share/classes/java/net/NetworkInterface.java 2011-02-08 23:10:59.378265602 +0000
-@@ -536,4 +536,15 @@
+--- openjdk.orig/jdk/src/share/classes/java/net/NetworkInterface.java 2011-05-23 23:03:33.000000000 +0100
++++ openjdk/jdk/src/share/classes/java/net/NetworkInterface.java 2011-05-23 23:21:33.029175274 +0100
+@@ -531,4 +531,16 @@
}
+
private static native void init();
-
++
+ // Set up JavaIODeleteOnExitAccess in SharedSecrets
+ // Added here as getIndex is package-private and SharedSecrets cannot easily access it.
+ static {
-+ org.classpath.icedtea.misc.SharedSecrets.setJavaNetGetIndexAccess(
++ org.classpath.icedtea.misc.SharedSecrets.setJavaNetGetIndexAccess(
+ new org.classpath.icedtea.misc.JavaNetGetIndexAccess() {
-+ public int getIndex(NetworkInterface nf) { return nf.getIndex(); }
-+ public NetworkInterface getByIndex(int i) { return getByIndex(i); }
++ public int getIndex(NetworkInterface nf) { return nf.getIndex(); }
++ public NetworkInterface getByIndex(int i) { return getByIndex(i); }
+ }
-+ );
++ );
+ }
+
}
diff -Nru openjdk.orig/jdk/src/share/classes/java/util/concurrent/ThreadPoolExecutor.java openjdk/jdk/src/share/classes/java/util/concurrent/ThreadPoolExecutor.java
---- openjdk.orig/jdk/src/share/classes/java/util/concurrent/ThreadPoolExecutor.java 2010-06-21 22:15:21.000000000 +0100
-+++ openjdk/jdk/src/share/classes/java/util/concurrent/ThreadPoolExecutor.java 2011-02-08 23:10:59.378265602 +0000
+--- openjdk.orig/jdk/src/share/classes/java/util/concurrent/ThreadPoolExecutor.java 2011-02-28 16:06:24.000000000 +0000
++++ openjdk/jdk/src/share/classes/java/util/concurrent/ThreadPoolExecutor.java 2011-05-23 23:20:58.660622971 +0100
@@ -2004,4 +2004,23 @@
}
}
@@ -962,8 +963,8 @@
+
}
diff -Nru openjdk.orig/jdk/src/share/classes/sun/misc/Unsafe.java openjdk/jdk/src/share/classes/sun/misc/Unsafe.java
---- openjdk.orig/jdk/src/share/classes/sun/misc/Unsafe.java 2010-06-21 22:15:30.000000000 +0100
-+++ openjdk/jdk/src/share/classes/sun/misc/Unsafe.java 2011-02-08 23:10:59.378265602 +0000
+--- openjdk.orig/jdk/src/share/classes/sun/misc/Unsafe.java 2011-02-28 16:06:34.000000000 +0000
++++ openjdk/jdk/src/share/classes/sun/misc/Unsafe.java 2011-05-23 23:20:58.660622971 +0100
@@ -504,9 +504,33 @@
/**
* Sets all bytes in a given block of memory to a copy of another
@@ -1011,8 +1012,8 @@
* Report the scale factor for addressing elements in the storage
* allocation of a given array class. However, arrays of "narrow" types
diff -Nru openjdk.orig/jdk/src/share/classes/sun/nio/ch/DatagramChannelImpl.java openjdk/jdk/src/share/classes/sun/nio/ch/DatagramChannelImpl.java
---- openjdk.orig/jdk/src/share/classes/sun/nio/ch/DatagramChannelImpl.java 2011-02-08 22:57:12.000000000 +0000
-+++ openjdk/jdk/src/share/classes/sun/nio/ch/DatagramChannelImpl.java 2011-02-08 23:40:00.916516539 +0000
+--- openjdk.orig/jdk/src/share/classes/sun/nio/ch/DatagramChannelImpl.java 2011-02-28 16:06:34.000000000 +0000
++++ openjdk/jdk/src/share/classes/sun/nio/ch/DatagramChannelImpl.java 2011-05-23 23:20:58.660622971 +0100
@@ -29,11 +29,30 @@
import java.io.IOException;
import java.net.*;
@@ -1479,8 +1480,8 @@
+
}
diff -Nru openjdk.orig/jdk/src/share/classes/sun/nio/ch/FileChannelImpl.java openjdk/jdk/src/share/classes/sun/nio/ch/FileChannelImpl.java
---- openjdk.orig/jdk/src/share/classes/sun/nio/ch/FileChannelImpl.java 2010-06-21 22:15:30.000000000 +0100
-+++ openjdk/jdk/src/share/classes/sun/nio/ch/FileChannelImpl.java 2011-02-08 23:10:59.378265602 +0000
+--- openjdk.orig/jdk/src/share/classes/sun/nio/ch/FileChannelImpl.java 2011-02-28 16:06:34.000000000 +0000
++++ openjdk/jdk/src/share/classes/sun/nio/ch/FileChannelImpl.java 2011-05-23 23:20:58.660622971 +0100
@@ -32,8 +32,15 @@
import java.io.IOException;
import java.nio.ByteBuffer;
@@ -1530,8 +1531,8 @@
ensureOpen();
int rv = -1;
diff -Nru openjdk.orig/jdk/src/share/classes/sun/nio/ch/Net.java openjdk/jdk/src/share/classes/sun/nio/ch/Net.java
---- openjdk.orig/jdk/src/share/classes/sun/nio/ch/Net.java 2011-02-08 22:57:12.000000000 +0000
-+++ openjdk/jdk/src/share/classes/sun/nio/ch/Net.java 2011-02-08 23:16:14.657580027 +0000
+--- openjdk.orig/jdk/src/share/classes/sun/nio/ch/Net.java 2011-02-28 16:06:35.000000000 +0000
++++ openjdk/jdk/src/share/classes/sun/nio/ch/Net.java 2011-05-23 23:20:58.660622971 +0100
@@ -30,6 +30,15 @@
import java.net.*;
import java.nio.channels.*;
@@ -1892,8 +1893,8 @@
+
}
diff -Nru openjdk.orig/jdk/src/share/classes/sun/nio/ch/SelectorProviderImpl.java openjdk/jdk/src/share/classes/sun/nio/ch/SelectorProviderImpl.java
---- openjdk.orig/jdk/src/share/classes/sun/nio/ch/SelectorProviderImpl.java 2010-06-21 22:15:30.000000000 +0100
-+++ openjdk/jdk/src/share/classes/sun/nio/ch/SelectorProviderImpl.java 2011-02-08 23:10:59.378265602 +0000
+--- openjdk.orig/jdk/src/share/classes/sun/nio/ch/SelectorProviderImpl.java 2011-02-28 16:06:35.000000000 +0000
++++ openjdk/jdk/src/share/classes/sun/nio/ch/SelectorProviderImpl.java 2011-05-23 23:20:58.660622971 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
@@ -1940,8 +1941,8 @@
-
}
diff -Nru openjdk.orig/jdk/src/share/classes/sun/security/util/SecurityConstants.java openjdk/jdk/src/share/classes/sun/security/util/SecurityConstants.java
---- openjdk.orig/jdk/src/share/classes/sun/security/util/SecurityConstants.java 2010-06-21 22:15:35.000000000 +0100
-+++ openjdk/jdk/src/share/classes/sun/security/util/SecurityConstants.java 2011-02-08 23:10:59.378265602 +0000
+--- openjdk.orig/jdk/src/share/classes/sun/security/util/SecurityConstants.java 2011-02-28 16:06:40.000000000 +0000
++++ openjdk/jdk/src/share/classes/sun/security/util/SecurityConstants.java 2011-05-23 23:20:58.660622971 +0100
@@ -52,6 +52,7 @@
public static final String FILE_EXECUTE_ACTION = "execute";
public static final String FILE_READ_ACTION = "read";
@@ -1951,8 +1952,8 @@
public static final String SOCKET_RESOLVE_ACTION = "resolve";
public static final String SOCKET_CONNECT_ACTION = "connect";
diff -Nru openjdk.orig/jdk/src/solaris/classes/sun/nio/ch/DefaultSelectorProvider.java openjdk/jdk/src/solaris/classes/sun/nio/ch/DefaultSelectorProvider.java
---- openjdk.orig/jdk/src/solaris/classes/sun/nio/ch/DefaultSelectorProvider.java 2010-06-21 22:15:44.000000000 +0100
-+++ openjdk/jdk/src/solaris/classes/sun/nio/ch/DefaultSelectorProvider.java 2011-02-08 23:10:59.378265602 +0000
+--- openjdk.orig/jdk/src/solaris/classes/sun/nio/ch/DefaultSelectorProvider.java 2011-02-28 16:06:48.000000000 +0000
++++ openjdk/jdk/src/solaris/classes/sun/nio/ch/DefaultSelectorProvider.java 2011-05-23 23:20:58.660622971 +0100
@@ -25,11 +25,12 @@
package sun.nio.ch;
@@ -1968,8 +1969,8 @@
* Creates this platform's default SelectorProvider
*/
diff -Nru openjdk.orig/jdk/src/solaris/classes/sun/nio/ch/FileDispatcher.java openjdk/jdk/src/solaris/classes/sun/nio/ch/FileDispatcher.java
---- openjdk.orig/jdk/src/solaris/classes/sun/nio/ch/FileDispatcher.java 2010-06-21 22:15:44.000000000 +0100
-+++ openjdk/jdk/src/solaris/classes/sun/nio/ch/FileDispatcher.java 2011-02-08 23:10:59.378265602 +0000
+--- openjdk.orig/jdk/src/solaris/classes/sun/nio/ch/FileDispatcher.java 2011-02-28 16:06:48.000000000 +0000
++++ openjdk/jdk/src/solaris/classes/sun/nio/ch/FileDispatcher.java 2011-05-23 23:20:58.660622971 +0100
@@ -35,6 +35,11 @@
class FileDispatcher extends NativeDispatcher
{
@@ -2031,8 +2032,8 @@
+
}
diff -Nru openjdk.orig/jdk/src/solaris/classes/sun/nio/ch/InheritedChannel.java openjdk/jdk/src/solaris/classes/sun/nio/ch/InheritedChannel.java
---- openjdk.orig/jdk/src/solaris/classes/sun/nio/ch/InheritedChannel.java 2010-06-21 22:15:44.000000000 +0100
-+++ openjdk/jdk/src/solaris/classes/sun/nio/ch/InheritedChannel.java 2011-02-08 23:10:59.382265644 +0000
+--- openjdk.orig/jdk/src/solaris/classes/sun/nio/ch/InheritedChannel.java 2011-02-28 16:06:48.000000000 +0000
++++ openjdk/jdk/src/solaris/classes/sun/nio/ch/InheritedChannel.java 2011-05-23 23:20:58.660622971 +0100
@@ -34,7 +34,8 @@
import java.nio.channels.SocketChannel;
import java.nio.channels.ServerSocketChannel;
@@ -2044,8 +2045,8 @@
class InheritedChannel {
diff -Nru openjdk.orig/jdk/src/solaris/native/sun/nio/ch/Net.c openjdk/jdk/src/solaris/native/sun/nio/ch/Net.c
---- openjdk.orig/jdk/src/solaris/native/sun/nio/ch/Net.c 2010-06-21 22:15:45.000000000 +0100
-+++ openjdk/jdk/src/solaris/native/sun/nio/ch/Net.c 2011-02-08 23:10:59.382265644 +0000
+--- openjdk.orig/jdk/src/solaris/native/sun/nio/ch/Net.c 2011-02-28 16:06:50.000000000 +0000
++++ openjdk/jdk/src/solaris/native/sun/nio/ch/Net.c 2011-05-23 23:20:58.660622971 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2007, Oracle and/or its affiliates. All rights reserved.
@@ -2728,8 +2729,8 @@
/* Declared in nio_util.h */
diff -Nru openjdk.orig/jdk/src/solaris/native/sun/nio/ch/nio_util.h openjdk/jdk/src/solaris/native/sun/nio/ch/nio_util.h
---- openjdk.orig/jdk/src/solaris/native/sun/nio/ch/nio_util.h 2010-06-21 22:15:45.000000000 +0100
-+++ openjdk/jdk/src/solaris/native/sun/nio/ch/nio_util.h 2011-02-08 23:10:59.382265644 +0000
+--- openjdk.orig/jdk/src/solaris/native/sun/nio/ch/nio_util.h 2011-02-28 16:06:50.000000000 +0000
++++ openjdk/jdk/src/solaris/native/sun/nio/ch/nio_util.h 2011-05-23 23:20:58.660622971 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2002, Oracle and/or its affiliates. All rights reserved.
@@ -2754,8 +2755,8 @@
/* NIO utility procedures */
diff -Nru openjdk.orig/jdk/src/windows/classes/sun/nio/ch/FileDispatcher.java openjdk/jdk/src/windows/classes/sun/nio/ch/FileDispatcher.java
---- openjdk.orig/jdk/src/windows/classes/sun/nio/ch/FileDispatcher.java 2010-06-21 22:15:46.000000000 +0100
-+++ openjdk/jdk/src/windows/classes/sun/nio/ch/FileDispatcher.java 2011-02-08 23:10:59.382265644 +0000
+--- openjdk.orig/jdk/src/windows/classes/sun/nio/ch/FileDispatcher.java 2011-02-28 16:06:51.000000000 +0000
++++ openjdk/jdk/src/windows/classes/sun/nio/ch/FileDispatcher.java 2011-05-23 23:20:58.660622971 +0100
@@ -36,6 +36,11 @@
class FileDispatcher extends NativeDispatcher
{
diff -r 2f549e3a4720 -r 3f040271ab87 patches/icedtea-xjc.patch
--- a/patches/icedtea-xjc.patch Fri Apr 15 15:51:17 2011 +0200
+++ b/patches/icedtea-xjc.patch Tue Jun 07 21:33:41 2011 +0100
@@ -1,19 +1,18 @@
diff -Nru openjdk.orig/jaxws/build.properties openjdk/jaxws/build.properties
---- openjdk.orig/jaxws/build.properties 2009-12-04 16:41:02.000000000 +0000
-+++ openjdk/jaxws/build.properties 2009-12-04 16:41:47.000000000 +0000
-@@ -73,6 +73,9 @@
- # Where patches to drop bundle sources live
+--- openjdk.orig/jaxws/build.properties 2011-05-23 23:27:25.858844463 +0100
++++ openjdk/jaxws/build.properties 2011-05-23 23:28:12.143588051 +0100
+@@ -78,7 +78,7 @@
patches.dir=patches
-+# Patches to apply
-+jaxws_src.patch.list=xjc.patch
-+
+ # Patches to apply
+-jaxws_src.patch.list=7013971.patch
++jaxws_src.patch.list=7013971.patch xjc.patch
+
# Sanity information
sanity.info= Sanity Settings:${line.separator}\
- ant.home=${ant.home}${line.separator}\
diff -Nru openjdk.orig/jaxws/patches/jaxws_src/xjc.patch openjdk/jaxws/patches/jaxws_src/xjc.patch
--- openjdk.orig/jaxws/patches/jaxws_src/xjc.patch 1970-01-01 01:00:00.000000000 +0100
-+++ openjdk/jaxws/patches/jaxws_src/xjc.patch 2009-12-04 16:40:10.000000000 +0000
++++ openjdk/jaxws/patches/jaxws_src/xjc.patch 2011-05-23 23:28:02.719436649 +0100
@@ -0,0 +1,17 @@
+--- src/com/sun/tools/internal/xjc/reader/xmlschema/parser/SchemaConstraintChecker.java.prev 2008-10-21 15:50:20.000000000 +0100
++++ src/com/sun/tools/internal/xjc/reader/xmlschema/parser/SchemaConstraintChecker.java 2008-10-21 15:57:37.000000000 +0100
diff -r 2f549e3a4720 -r 3f040271ab87 patches/security/20110607/6213702.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/security/20110607/6213702.patch Tue Jun 07 21:33:41 2011 +0100
@@ -0,0 +1,107 @@
+# HG changeset patch
+# User asaha
+# Date 1300988627 25200
+# Node ID bfc1a4516e20e13c84b6597d7bfcbd2fbc3e0c4d
+# Parent 16fbb8d0b834c3e0a95a4d51e22ec77b81192bb3
+6213702: (so) non-blocking sockets with TCP urgent disabled get still selected for read ops (win)
+Reviewed-by: alanb
+
+diff --git a/src/windows/classes/sun/nio/ch/WindowsSelectorImpl.java b/src/windows/classes/sun/nio/ch/WindowsSelectorImpl.java
+--- openjdk/jdk/src/windows/classes/sun/nio/ch/WindowsSelectorImpl.java
++++ openjdk/jdk/src/windows/classes/sun/nio/ch/WindowsSelectorImpl.java
+@@ -1,5 +1,5 @@
+ /*
+- * Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved.
++ * Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+@@ -308,14 +308,17 @@ final class WindowsSelectorImpl extends
+ private int processSelectedKeys(long updateCount) {
+ int numKeysUpdated = 0;
+ numKeysUpdated += processFDSet(updateCount, readFds,
+- PollArrayWrapper.POLLIN);
++ PollArrayWrapper.POLLIN,
++ false);
+ numKeysUpdated += processFDSet(updateCount, writeFds,
+ PollArrayWrapper.POLLCONN |
+- PollArrayWrapper.POLLOUT);
++ PollArrayWrapper.POLLOUT,
++ false);
+ numKeysUpdated += processFDSet(updateCount, exceptFds,
+ PollArrayWrapper.POLLIN |
+ PollArrayWrapper.POLLCONN |
+- PollArrayWrapper.POLLOUT);
++ PollArrayWrapper.POLLOUT,
++ true);
+ return numKeysUpdated;
+ }
+
+@@ -327,7 +330,8 @@ final class WindowsSelectorImpl extends
+ *
+ * me.updateCount <= me.clearedCount <= updateCount
+ */
+- private int processFDSet(long updateCount, int[] fds, int rOps) {
++ private int processFDSet(long updateCount, int[] fds, int rOps,
++ boolean isExceptFds) {
+ int numKeysUpdated = 0;
+ for (int i = 1; i <= fds[0]; i++) {
+ int desc = fds[i];
+@@ -343,6 +347,17 @@ final class WindowsSelectorImpl extends
+ if (me == null)
+ continue;
+ SelectionKeyImpl sk = me.ski;
++
++ // The descriptor may be in the exceptfds set because there is
++ // OOB data queued to the socket. If there is OOB data then it
++ // is discarded and the key is not added to the selected set.
++ if (isExceptFds &&
More information about the distro-pkg-dev
mailing list