/hg/release/icedtea7-2.3: Add latest security updates.
andrew at icedtea.classpath.org
andrew at icedtea.classpath.org
Tue Feb 19 18:20:55 PST 2013
changeset 3163f2f2b666 in /hg/release/icedtea7-2.3
details: http://icedtea.classpath.org/hg/release/icedtea7-2.3?cmd=changeset;node=3163f2f2b666
author: Andrew John Hughes <gnu_andrew at member.fsf.org>
date: Wed Feb 20 02:20:47 2013 +0000
Add latest security updates.
2013-02-20 Andrew John Hughes <gnu.andrew at member.fsf.org>
* Makefile.am,
(JDK_UPDATE_VERSION): Bump to 15.
(CORBA_CHANGESET): Update to IcedTea7 2.3 forest head,
bringing in latest security updates.
(JAXP_CHANGESET): Likewise.
(JAXWS_CHANGESET): Likewise.
(JDK_CHANGESET): Likewise.
(LANGTOOLS_CHANGESET): Likewise.
(OPENJDK_CHANGESET): Likewise.
(CORBA_SHA256SUM): Likewise.
(JAXP_SHA256SUM): Likewise.
(JAXWS_SHA256SUM): Likewise.
(JDK_SHA256SUM): Likewise.
(LANGTOOLS_SHA256SUM): Likewise.
(OPENJDK_SHA256SUM): Likewise.
* hotspot.map: Sync default with 2.3 HEAD as other
changes above.
* patches/boot/ecj-stringswitch.patch:
Update MethodHandleNatives case.
diffstat:
ChangeLog | 22 ++++++++++++++
Makefile.am | 24 +++++++-------
hotspot.map | 2 +-
patches/boot/ecj-stringswitch.patch | 57 ++++++++++++++++++++++--------------
4 files changed, 69 insertions(+), 36 deletions(-)
diffs (218 lines):
diff -r 40dd5e2d5be2 -r 3163f2f2b666 ChangeLog
--- a/ChangeLog Wed Feb 13 23:53:27 2013 +0000
+++ b/ChangeLog Wed Feb 20 02:20:47 2013 +0000
@@ -1,3 +1,25 @@
+2013-02-20 Andrew John Hughes <gnu.andrew at member.fsf.org>
+
+ * Makefile.am,
+ (JDK_UPDATE_VERSION): Bump to 15.
+ (CORBA_CHANGESET): Update to IcedTea7 2.3 forest head,
+ bringing in latest security updates.
+ (JAXP_CHANGESET): Likewise.
+ (JAXWS_CHANGESET): Likewise.
+ (JDK_CHANGESET): Likewise.
+ (LANGTOOLS_CHANGESET): Likewise.
+ (OPENJDK_CHANGESET): Likewise.
+ (CORBA_SHA256SUM): Likewise.
+ (JAXP_SHA256SUM): Likewise.
+ (JAXWS_SHA256SUM): Likewise.
+ (JDK_SHA256SUM): Likewise.
+ (LANGTOOLS_SHA256SUM): Likewise.
+ (OPENJDK_SHA256SUM): Likewise.
+ * hotspot.map: Sync default with 2.3 HEAD as other
+ changes above.
+ * patches/boot/ecj-stringswitch.patch:
+ Update MethodHandleNatives case.
+
2013-02-13 Andrew John Hughes <gnu.andrew at member.fsf.org>
* configure.ac: Bump to 2.3.7pre.
diff -r 40dd5e2d5be2 -r 3163f2f2b666 Makefile.am
--- a/Makefile.am Wed Feb 13 23:53:27 2013 +0000
+++ b/Makefile.am Wed Feb 20 02:20:47 2013 +0000
@@ -4,19 +4,19 @@
JDK_UPDATE_VERSION = 13
COMBINED_VERSION = $(JDK_UPDATE_VERSION)-$(OPENJDK_VERSION)
-CORBA_CHANGESET = 97a8b625f6e9
-JAXP_CHANGESET = d7feafb8427b
-JAXWS_CHANGESET = b900024eb4ba
-JDK_CHANGESET = 6bb01322bb5a
-LANGTOOLS_CHANGESET = e0739a8783d1
-OPENJDK_CHANGESET = dd8d1a8f222f
+CORBA_CHANGESET = 82e58144c3fb
+JAXP_CHANGESET = 1d46a56eb51c
+JAXWS_CHANGESET = b9590aa972b9
+JDK_CHANGESET = 6a3417030605
+LANGTOOLS_CHANGESET = b5006c3285c6
+OPENJDK_CHANGESET = 506161df1c48
-CORBA_SHA256SUM = 511f9517374babed86f9d3d60d06f0fb7614cff14431a4eb678967b6f1358b1d
-JAXP_SHA256SUM = 81f30228dfab5669b114841a0b797c6529a5e37ca52eb97c7f9bbfd29aae9941
-JAXWS_SHA256SUM = 276fcc2f7609dd5a9346f9faa317331e722c9c015fa19c61a1228d86cf231bc2
-JDK_SHA256SUM = a2d4557222eb72b9f1ecf6cfd19c73eb0a02e2f9755eacacabb4c43c682095e2
-LANGTOOLS_SHA256SUM = 85170ef7a68ef8e2895edffd9a4209f78b43887e8c782bebfe14997d06619bdb
-OPENJDK_SHA256SUM = a360299dd869d612b77a016967678716cb03dfddd0f484944a1619fda5fb6092
+CORBA_SHA256SUM = c438607d04e04439ca7df3d911f3cf46ac64066a5b21da98bea8070f98abdafe
+JAXP_SHA256SUM = fca2c95b3e60533a937e4f8d497a2934382d9f1f95cde874d926f3b4841407ce
+JAXWS_SHA256SUM = c6ca4f98b35acdb24a81721de0bee2686bb83917bd84b108775e586c5ae81136
+JDK_SHA256SUM = 2a8afd9ecb53e255e436885e6fe3e9882e8657c70482a90ef39aa33e024e79b0
+LANGTOOLS_SHA256SUM = 44d8bc14b213b7c218465a8859bd551feb6805857077ca6aa68aaa4c1b10b676
+OPENJDK_SHA256SUM = 704bdd40bc328183384272ee282310d8fc3216f3051e504141e7660fe50185a0
CACAO_VERSION = a567bcb7f589
CACAO_SHA256SUM = d49f79debc131a5694cae6ab3ba2864e7f3249ee8d9dc09aae8afdd4dc6b09f9
diff -r 40dd5e2d5be2 -r 3163f2f2b666 hotspot.map
--- a/hotspot.map Wed Feb 13 23:53:27 2013 +0000
+++ b/hotspot.map Wed Feb 20 02:20:47 2013 +0000
@@ -1,3 +1,3 @@
# version url changeset sha256sum
-default http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/hotspot bc0de5a0ece2 4b571c99b9dfdca6e8456a7d0d47eedb1a8e3c4863322cc853f959b1cb4bc068
+default http://icedtea.classpath.org/hg/release/icedtea7-forest-2.3/hotspot 104e2c65892d 203acf2f9737032fe4bb1096e2f81417fa8a92a7016d8220b54a70efd579711a
zero http://icedtea.classpath.org/hg/release/icedtea7-forest-2.1/hotspot 32569b4d36f4 455be170dcea6edbc9c74f9d67308bb6a1f39dadda0267e7d73ea6af3043f60c
diff -r 40dd5e2d5be2 -r 3163f2f2b666 patches/boot/ecj-stringswitch.patch
--- a/patches/boot/ecj-stringswitch.patch Wed Feb 13 23:53:27 2013 +0000
+++ b/patches/boot/ecj-stringswitch.patch Wed Feb 20 02:20:47 2013 +0000
@@ -1,6 +1,6 @@
diff -Nru openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/ClassReader.java openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/ClassReader.java
---- openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/ClassReader.java 2013-01-14 22:25:02.000000000 +0000
-+++ openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/ClassReader.java 2013-01-15 02:08:56.592702486 +0000
+--- openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/ClassReader.java 2013-02-17 18:47:55.000000000 +0000
++++ openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/ClassReader.java 2013-02-20 01:19:23.757194433 +0000
@@ -350,18 +350,15 @@
if (attrCommands != null) {
Attribute.Layout lkey = Attribute.keyForLookup(ctype, name);
@@ -30,8 +30,8 @@
}
// Find canonical instance of the requested attribute.
diff -Nru openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/Driver.java openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/Driver.java
---- openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/Driver.java 2013-01-14 22:25:02.000000000 +0000
-+++ openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/Driver.java 2013-01-15 02:08:56.608702746 +0000
+--- openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/Driver.java 2013-02-17 18:47:55.000000000 +0000
++++ openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/Driver.java 2013-02-20 01:19:23.757194433 +0000
@@ -73,16 +73,14 @@
{
// Non-standard, undocumented "--unpack" switch enables unpack mode.
@@ -89,8 +89,8 @@
if (logFile != null && !logFile.equals("")) {
diff -Nru openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/Package.java openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/Package.java
---- openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/Package.java 2013-01-14 22:25:02.000000000 +0000
-+++ openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/Package.java 2013-01-15 02:08:56.608702746 +0000
+--- openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/Package.java 2013-02-17 18:47:55.000000000 +0000
++++ openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/Package.java 2013-02-20 01:19:23.757194433 +0000
@@ -1107,30 +1107,25 @@
// what is one of { Debug, Compile, Constant, Exceptions, InnerClasses }
if (verbose > 0)
@@ -142,8 +142,8 @@
}
diff -Nru openjdk-boot.orig/jdk/src/share/classes/com/sun/security/ntlm/NTLM.java openjdk-boot/jdk/src/share/classes/com/sun/security/ntlm/NTLM.java
---- openjdk-boot.orig/jdk/src/share/classes/com/sun/security/ntlm/NTLM.java 2013-01-14 22:25:02.000000000 +0000
-+++ openjdk-boot/jdk/src/share/classes/com/sun/security/ntlm/NTLM.java 2013-01-15 02:08:56.612702810 +0000
+--- openjdk-boot.orig/jdk/src/share/classes/com/sun/security/ntlm/NTLM.java 2013-02-17 18:47:55.000000000 +0000
++++ openjdk-boot/jdk/src/share/classes/com/sun/security/ntlm/NTLM.java 2013-02-20 01:19:23.757194433 +0000
@@ -64,17 +64,23 @@
protected NTLM(String version) throws NTLMException {
@@ -180,17 +180,22 @@
fac = SecretKeyFactory.getInstance ("DES");
cipher = Cipher.getInstance ("DES/ECB/NoPadding");
diff -Nru openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/MethodHandleNatives.java openjdk-boot/jdk/src/share/classes/java/lang/invoke/MethodHandleNatives.java
---- openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/MethodHandleNatives.java 2013-01-14 22:25:02.000000000 +0000
-+++ openjdk-boot/jdk/src/share/classes/java/lang/invoke/MethodHandleNatives.java 2013-01-15 02:19:34.315049222 +0000
-@@ -411,104 +411,99 @@
+--- openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/MethodHandleNatives.java 2013-02-17 18:47:55.000000000 +0000
++++ openjdk-boot/jdk/src/share/classes/java/lang/invoke/MethodHandleNatives.java 2013-02-20 01:35:29.564524781 +0000
+@@ -411,111 +411,106 @@
static boolean isCallerSensitive(MemberName mem) {
- assert(mem.isInvocable());
+ if (!mem.isInvocable()) return false; // fields are not caller sensitive
Class<?> defc = mem.getDeclaringClass();
- switch (mem.getName()) {
- case "doPrivileged":
+- case "doPrivilegedWithCombiner":
+ String memName = mem.getName();
-+ if ("doPrivileged".equals(memName)) {
++ if ("doPrivileged".equals(memName) ||
++ "doPrivilegedWithCombiner".equals(memName)) {
return defc == java.security.AccessController.class;
+- case "checkMemberAccess":
++ } else if ("checkMemberAccess".equals(memName)) {
+ return canBeCalledVirtual(mem, java.lang.SecurityManager.class);
- case "getUnsafe":
+ } else if ("getUnsafe".equals(memName)) {
return defc == sun.misc.Unsafe.class;
@@ -320,7 +325,7 @@
- break;
- case "getContextClassLoader":
+ } else if ("getContextClassLoader".equals(memName)) {
- return defc == java.lang.Thread.class;
+ return canBeCalledVirtual(mem, java.lang.Thread.class);
- case "getPackage":
- case "getPackages":
+ } else if ("getPackage".equals(memName) ||
@@ -346,11 +351,17 @@
- case "getCallerClassLoader":
+ } else if ("getCallerClassLoader".equals(memName)) {
return defc == java.lang.ClassLoader.class;
+- case "registerAsParallelCapable":
++ } else if ("registerAsParallelCapable".equals(memName)) {
+ return canBeCalledVirtual(mem, java.lang.ClassLoader.class);
- case "getProxyClass":
- case "newProxyInstance":
+ } else if ("getProxyClass".equals(memName) ||
+ "newProxyInstance".equals(memName)) {
return defc == java.lang.reflect.Proxy.class;
+- case "asInterfaceInstance":
++ } else if ("asInterfaceInstance".equals(memName)) {
+ return defc == java.lang.invoke.MethodHandleProxies.class;
- case "getBundle":
- case "clearCache":
+ } else if ("getBundle".equals(memName) ||
@@ -359,9 +370,9 @@
}
return false;
diff -Nru openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/MethodHandleProxies.java openjdk-boot/jdk/src/share/classes/java/lang/invoke/MethodHandleProxies.java
---- openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/MethodHandleProxies.java 2013-01-14 22:25:02.000000000 +0000
-+++ openjdk-boot/jdk/src/share/classes/java/lang/invoke/MethodHandleProxies.java 2013-01-15 02:08:56.620702941 +0000
-@@ -219,14 +219,16 @@
+--- openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/MethodHandleProxies.java 2013-02-17 18:47:55.000000000 +0000
++++ openjdk-boot/jdk/src/share/classes/java/lang/invoke/MethodHandleProxies.java 2013-02-20 01:19:23.757194433 +0000
+@@ -268,14 +268,16 @@
private static
boolean isObjectMethod(Method m) {
@@ -382,7 +393,7 @@
return (m.getReturnType() == boolean.class
&& m.getParameterTypes().length == 1
&& m.getParameterTypes()[0] == Object.class);
-@@ -237,12 +239,14 @@
+@@ -286,12 +288,14 @@
private static
Object callObjectMethod(Object self, Method m, Object[] args) {
assert(isObjectMethod(m)) : m;
@@ -402,9 +413,9 @@
}
return null;
diff -Nru openjdk-boot.orig/jdk/src/share/classes/sun/launcher/LauncherHelper.java openjdk-boot/jdk/src/share/classes/sun/launcher/LauncherHelper.java
---- openjdk-boot.orig/jdk/src/share/classes/sun/launcher/LauncherHelper.java 2013-01-14 22:25:02.000000000 +0000
-+++ openjdk-boot/jdk/src/share/classes/sun/launcher/LauncherHelper.java 2013-01-15 02:08:56.624703006 +0000
-@@ -117,24 +117,20 @@
+--- openjdk-boot.orig/jdk/src/share/classes/sun/launcher/LauncherHelper.java 2013-02-17 18:47:55.000000000 +0000
++++ openjdk-boot/jdk/src/share/classes/sun/launcher/LauncherHelper.java 2013-02-20 01:19:23.757194433 +0000
+@@ -119,24 +119,20 @@
String optStr = (opts.length > 1 && opts[1] != null)
? opts[1].trim()
: "all";
@@ -441,8 +452,8 @@
/*
diff -Nru openjdk-boot.orig/jdk/src/share/classes/sun/security/util/DisabledAlgorithmConstraints.java openjdk-boot/jdk/src/share/classes/sun/security/util/DisabledAlgorithmConstraints.java
---- openjdk-boot.orig/jdk/src/share/classes/sun/security/util/DisabledAlgorithmConstraints.java 2013-01-14 22:25:02.000000000 +0000
-+++ openjdk-boot/jdk/src/share/classes/sun/security/util/DisabledAlgorithmConstraints.java 2013-01-15 02:08:56.628703070 +0000
+--- openjdk-boot.orig/jdk/src/share/classes/sun/security/util/DisabledAlgorithmConstraints.java 2013-02-17 18:47:55.000000000 +0000
++++ openjdk-boot/jdk/src/share/classes/sun/security/util/DisabledAlgorithmConstraints.java 2013-02-20 01:19:23.757194433 +0000
@@ -378,19 +378,23 @@
GE; // ">="
More information about the distro-pkg-dev
mailing list