Hello community, here is the log from the commit of package java-1_8_0-openjdk for openSUSE:Factory checked in at 2015-01-23 15:47:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/java-1_8_0-openjdk (Old) and /work/SRC/openSUSE:Factory/.java-1_8_0-openjdk.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "java-1_8_0-openjdk" Changes: -------- --- /work/SRC/openSUSE:Factory/java-1_8_0-openjdk/java-1_8_0-openjdk.changes 2015-01-14 11:44:54.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.java-1_8_0-openjdk.new/java-1_8_0-openjdk.changes 2015-01-23 15:48:04.000000000 +0100 @@ -1,0 +2,18 @@ +Thu Jan 22 09:42:50 UTC 2015 - fst...@suse.com + +- Upgrade to upstream tag jdk8u40-b22 + * Security update from 2015-01-20 + +------------------------------------------------------------------- +Wed Jan 21 08:22:26 UTC 2015 - fst...@suse.com + +- Upgrade to upstream tag jdk8u40-b21 +- Removed patch: + * aarch64-b12tob20.patch + - replaced by new version +- Added patch: + * aarch64-b12tob21.patch + - port the relevant changes between builds b12 and b21 to the + aarch64 tarball that is on the upstream tag of jdk8u40-b12 + +------------------------------------------------------------------- Old: ---- 445eceffc829.tar.bz2 4d240320929f.tar.bz2 7784dab075ed.tar.bz2 7bfc889330e0.tar.bz2 a21c4edfdf44.tar.bz2 aarch64-b12tob20.patch b31a07adaef5.tar.bz2 c3933f52eeb3.tar.bz2 c3d6d1a53399.tar.bz2 c47a4731e5e0.tar.bz2 New: ---- 06c52e8fd6d3.tar.bz2 0ee548a1cda0.tar.bz2 4c7421f74674.tar.bz2 54a13451ce24.tar.bz2 6e928fd91525.tar.bz2 79177246b3db.tar.bz2 aarch64-b12tob21.patch b6d03a810a61.tar.bz2 d168113f9841.tar.bz2 f9f70a0f60f4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ java-1_8_0-openjdk.spec ++++++ --- /var/tmp/diff_new_pack.5pAFcV/_old 2015-01-23 15:48:07.000000000 +0100 +++ /var/tmp/diff_new_pack.5pAFcV/_new 2015-01-23 15:48:07.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package java-1_8_0-openjdk # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,20 +30,20 @@ %global archname %{name} # Standard JPackage naming and versioning defines. %global updatever 40 -%global buildver b20 +%global buildver b22 %global root_project jdk8u %global root_repository jdk8u40 -%global root_revision b31a07adaef5 -%global corba_revision 445eceffc829 -%global hotspot_revision c3933f52eeb3 -%global jaxp_revision 7bfc889330e0 -%global jaxws_revision a21c4edfdf44 -%global jdk_revision 7784dab075ed -%global langtools_revision c3d6d1a53399 -%global nashorn_revision 4d240320929f +%global root_revision b6d03a810a61 +%global corba_revision 4c7421f74674 +%global hotspot_revision 0ee548a1cda0 +%global jaxp_revision 54a13451ce24 +%global jaxws_revision 6e928fd91525 +%global jdk_revision d168113f9841 +%global langtools_revision 79177246b3db +%global nashorn_revision f9f70a0f60f4 %global aarch64_project aarch64-port %global aarch64_repository jdk8 -%global aarch64_hotspot_revision c47a4731e5e0 +%global aarch64_hotspot_revision 06c52e8fd6d3 %global icedtea_sound_version 1.0.1 # priority must be 6 digits in total %global priority 180%{updatever} @@ -215,8 +215,8 @@ Patch9: aarch64-misc.patch # From icedtea: Increase default memory limits Patch10: memory-limits.patch -# Changes from b20 backported to aarch64 which is on b12 -Patch11: aarch64-b12tob20.patch +# Changes from b21 backported to aarch64 which is on b12 +Patch11: aarch64-b12tob21.patch # Fix use of unintialized memory in adlc parser Patch12: adlc-parser.patch # Fix: implicit-pointer-decl ++++++ 445eceffc829.tar.bz2 -> 06c52e8fd6d3.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/java-1_8_0-openjdk/445eceffc829.tar.bz2 /work/SRC/openSUSE:Factory/.java-1_8_0-openjdk.new/06c52e8fd6d3.tar.bz2 differ: char 11, line 1 ++++++ 445eceffc829.tar.bz2 -> 0ee548a1cda0.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/java-1_8_0-openjdk/445eceffc829.tar.bz2 /work/SRC/openSUSE:Factory/.java-1_8_0-openjdk.new/0ee548a1cda0.tar.bz2 differ: char 11, line 1 ++++++ 445eceffc829.tar.bz2 -> 4c7421f74674.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/corba-445eceffc829/.hg_archival.txt new/corba-4c7421f74674/.hg_archival.txt --- old/corba-445eceffc829/.hg_archival.txt 2014-12-17 19:43:36.000000000 +0100 +++ new/corba-4c7421f74674/.hg_archival.txt 2015-01-15 20:19:23.000000000 +0100 @@ -1,4 +1,4 @@ repo: 55540e827aef970ecc010b7e06b912d991c8e3ce -node: 445eceffc829e205037098115c26e38e85ea5f7c +node: 4c7421f74674ebefb8e91eba59ab2a2db8c1abd7 branch: default -tag: jdk8u40-b20 +tag: jdk8u40-b22 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/corba-445eceffc829/.hgtags new/corba-4c7421f74674/.hgtags --- old/corba-445eceffc829/.hgtags 2014-12-17 19:43:36.000000000 +0100 +++ new/corba-4c7421f74674/.hgtags 2015-01-15 20:19:23.000000000 +0100 @@ -312,6 +312,8 @@ 34c930eaa6b591621afde05ca2e24571c91cdc9b jdk8u20-b24 34c930eaa6b591621afde05ca2e24571c91cdc9b jdk8u20-b25 37bde23c96f66912c44b1b893c08d4ad4cff5f4e jdk8u20-b26 +83bebea0c36c6ee9e663b41f9103ddcf1216ef55 jdk8u20-b31 +117f50127c27826dbe4c9e6fe1916aeab4bceef9 jdk8u20-b32 08aa9f55fe5bce1f04cfd2958f71e8df18643e29 jdk8u25-b00 31f50e3c0dcbdfa7f11a895179065e6888c2cf3c jdk8u25-b01 162703b7c2f16ce00d1b54a8f95d12eda9753eba jdk8u25-b02 @@ -331,6 +333,21 @@ 28d7f90e04e46ce8c633a2fbf0157d9e77db17c3 jdk8u25-b16 f46df0af2ca8c7d896de375c8edac8ce09318318 jdk8u25-b17 ee069d67c12df902cdb06ecf1747f8ff9d495a61 jdk8u25-b18 +8d0faa0eac61c04c6a5bbff2e084c9da0bd5251c jdk8u25-b31 +69793b08060c9d216fa84d679c48b9e22d2400ac jdk8u31-b00 +fd5f8e3713803ca2d7898407a53996f3aa41521e jdk8u31-b01 +b6e2d1b1b24585bd02512e360d842d4713afa644 jdk8u31-b02 +1a7cc737d8081ffef73d88e94995f80d6a3dc8e0 jdk8u31-b03 +f24241b85fc90618d243f54202904ee202c44b7e jdk8u31-b04 +a3b616778301fe101bf3dcfa145d3bb4e8fc8941 jdk8u31-b05 +3de6161377bf492953260c7bf756f3ec0c6e6d60 jdk8u31-b06 +3d42c53301dd951992a32613173dd6fbb13a28a8 jdk8u31-b07 +b47677f7c1d122a2d05e03dec70de86feaedcd4c jdk8u31-b08 +95163f85c9e961c5bf37ceac645a0e7de505ca3e jdk8u31-b09 +474bf60980443dfae2fe6e121fef0caea4e014b3 jdk8u31-b10 +7e2056eba0b62247407e065f3f88a89358fc26a6 jdk8u31-b11 +285b0e589c50e46ca7ad3434221335901a547d66 jdk8u31-b12 +f89b454638d89ee5f44422b7a5b8e5651260e68f jdk8u31-b13 7d1e0f0b63f1d66c77924d8b2a1accdf8f7480db jdk8u40-b00 c5d9822a3c18cd9e274dfe99e91c33e02bd8f8f4 jdk8u40-b01 504b4455570e14b7fc0a837a09c6401c603516d9 jdk8u40-b02 @@ -351,3 +368,5 @@ bff1a326ac97c543b9c271adebc9deeda974edb1 jdk8u40-b17 a1e2c13de84e00f2aedf4c40e96347306ede84f3 jdk8u40-b18 8bbc2bb414b7e9331c2014c230553d72c9d161c5 jdk8u40-b19 +445eceffc829e205037098115c26e38e85ea5f7c jdk8u40-b20 +9c54cc92c0beb29179abbce272d3f5c8ba4ffd0e jdk8u40-b21 ++++++ 445eceffc829.tar.bz2 -> 54a13451ce24.tar.bz2 ++++++ ++++ 824357 lines of diff (skipped) ++++++ a21c4edfdf44.tar.bz2 -> 6e928fd91525.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaxws-a21c4edfdf44/.hg_archival.txt new/jaxws-6e928fd91525/.hg_archival.txt --- old/jaxws-a21c4edfdf44/.hg_archival.txt 2014-12-17 19:43:40.000000000 +0100 +++ new/jaxws-6e928fd91525/.hg_archival.txt 2015-01-15 20:20:46.000000000 +0100 @@ -1,4 +1,4 @@ repo: 0961a4a211765fea071b8dac419003ee0c3d5973 -node: a21c4edfdf4402f027183ac8c8aac2db49df3b7d +node: 6e928fd9152541eddf25694be89eb881434a5c5f branch: default -tag: jdk8u40-b20 +tag: jdk8u40-b22 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaxws-a21c4edfdf44/.hgtags new/jaxws-6e928fd91525/.hgtags --- old/jaxws-a21c4edfdf44/.hgtags 2014-12-17 19:43:40.000000000 +0100 +++ new/jaxws-6e928fd91525/.hgtags 2015-01-15 20:20:46.000000000 +0100 @@ -312,6 +312,8 @@ 1277c0d492fd9253f1ea2730eb160953397bd939 jdk8u20-b24 1277c0d492fd9253f1ea2730eb160953397bd939 jdk8u20-b25 7025a2c10ea4116ce8f31bb1e305f732aa1025f0 jdk8u20-b26 +7053deda0ffd69046ef480b3595cf13451b477ec jdk8u20-b31 +2f39063fee48f96fe9cacf704ce30c6fc333ae73 jdk8u20-b32 efc85d318f4697f40bdd1f3757677be97f1758d9 jdk8u25-b00 a76779e1b0376650dfc29a1f3b14760f05e0fc6d jdk8u25-b01 3d31955043b9f1807c9d695c7b5d604d11c132cf jdk8u25-b02 @@ -331,6 +333,21 @@ 4570a7d00aa9bd3df028f52d6f9d8c434163b689 jdk8u25-b16 d47a47f961ee423ce03623098f62d79254c6f328 jdk8u25-b17 cb0ad90bfe3c497c7236c5480447c4bde110934f jdk8u25-b18 +a345282d661be80f2cdee3c43e12fbe01e7ff6d5 jdk8u25-b31 +3a676fe898c93ad3afcaa55a71da96455e5f230e jdk8u31-b00 +1c73ca9179f22d4a73d1a248a3254f891c71ee30 jdk8u31-b01 +c1f1ed28e0bb68d7536fb30bb6f1a3623816b12a jdk8u31-b02 +31893650acaf8935ad395d04cbc1575bada97622 jdk8u31-b03 +60ee8e1e63aee861ea7606c5825c15209bb10aa2 jdk8u31-b04 +e4e3070ba39416ea1f20a6583276117c5498466f jdk8u31-b05 +90cd67a6b6e5e4db93155cc0260a94b55b35bc74 jdk8u31-b06 +06807f9a68358f9684ab59b249760ba2b47cc07b jdk8u31-b07 +45193c5ae26d67cd3dc6961506d8c06803ff646c jdk8u31-b08 +9a310a2276f9a01822b3cfc91268a67cbaaafd0a jdk8u31-b09 +dd0467f3fe130884849ad8fb226d76f02b4cbde4 jdk8u31-b10 +497c783d228ed188d61964edd409794af3ad3e5c jdk8u31-b11 +959e8fca46155528c8147da69a7c49edfb002cb1 jdk8u31-b12 +9d0c737694ece23547c0a27dcd0ba6cbcdf577f2 jdk8u31-b13 31d43d250c836c13fcc87025837783788c5cd0de jdk8u40-b00 262fb5353ffa661f88b4a9cf2581fcad8c2a43f7 jdk8u40-b01 8043f77ef8a4ded9505269a356c4e2f4f9604cd9 jdk8u40-b02 @@ -351,3 +368,5 @@ 83c4d5aca2ff8fd0c6b2a7091018b71313371176 jdk8u40-b17 fa07311627d085f1307f55298f59463bcf55db02 jdk8u40-b18 c8b402c28fe51e25f3298e1266f2ae48bda8d3e0 jdk8u40-b19 +a21c4edfdf4402f027183ac8c8aac2db49df3b7d jdk8u40-b20 +16485a38b6bc762b363f4e439047486742fbcfcb jdk8u40-b21 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/nav/Utils.java new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/nav/Utils.java --- old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/nav/Utils.java 2014-12-17 19:43:40.000000000 +0100 +++ new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/nav/Utils.java 2015-01-15 20:20:46.000000000 +0100 @@ -38,6 +38,9 @@ /** * Utils class. + * + * WARNING: If you are doing any changes don't forget to change other Utils classes in different packages. + * * Has *package private* access to avoid inappropriate usage. */ final class Utils { @@ -51,17 +54,20 @@ static { // we statically initializing REFLECTION_NAVIGATOR property try { - Class refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); - //noinspection unchecked - final Method getInstance = refNav.getDeclaredMethod("getInstance"); + final Class refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); // requires accessClassInPackage privilege - AccessController.doPrivileged( - new PrivilegedAction<Object>() { + final Method getInstance = AccessController.doPrivileged( + new PrivilegedAction<Method>() { @Override - public Object run() { - getInstance.setAccessible(true); - return null; + public Method run() { + try { + Method getInstance = refNav.getDeclaredMethod("getInstance"); + getInstance.setAccessible(true); + return getInstance; + } catch (NoSuchMethodException e) { + throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); + } } } ); @@ -69,16 +75,10 @@ //noinspection unchecked REFLECTION_NAVIGATOR = (Navigator<Type, Class, Field, Method>) getInstance.invoke(null); } catch (ClassNotFoundException e) { - e.printStackTrace(); throw new IllegalStateException("Can't find ReflectionNavigator class"); } catch (InvocationTargetException e) { - e.printStackTrace(); throw new IllegalStateException("ReflectionNavigator.getInstance throws the exception"); - } catch (NoSuchMethodException e) { - e.printStackTrace(); - throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); } catch (IllegalAccessException e) { - e.printStackTrace(); throw new IllegalStateException("ReflectionNavigator.getInstance method is inaccessible"); } catch (SecurityException e) { LOGGER.log(Level.FINE, "Unable to access ReflectionNavigator.getInstance", e); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/xml/internal/bind/api/Utils.java new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/xml/internal/bind/api/Utils.java --- old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/xml/internal/bind/api/Utils.java 2014-12-17 19:43:40.000000000 +0100 +++ new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/xml/internal/bind/api/Utils.java 2015-01-15 20:20:46.000000000 +0100 @@ -38,6 +38,9 @@ /** * Utils class. + * + * WARNING: If you are doing any changes don't forget to change other Utils classes in different packages. + * * Has *package private* access to avoid inappropriate usage. */ final class Utils { @@ -51,17 +54,20 @@ static { // we statically initializing REFLECTION_NAVIGATOR property try { - Class refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); - //noinspection unchecked - final Method getInstance = refNav.getDeclaredMethod("getInstance"); + final Class refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); // requires accessClassInPackage privilege - AccessController.doPrivileged( - new PrivilegedAction<Object>() { + final Method getInstance = AccessController.doPrivileged( + new PrivilegedAction<Method>() { @Override - public Object run() { - getInstance.setAccessible(true); - return null; + public Method run() { + try { + Method getInstance = refNav.getDeclaredMethod("getInstance"); + getInstance.setAccessible(true); + return getInstance; + } catch (NoSuchMethodException e) { + throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); + } } } ); @@ -69,16 +75,10 @@ //noinspection unchecked REFLECTION_NAVIGATOR = (Navigator<Type, Class, Field, Method>) getInstance.invoke(null); } catch (ClassNotFoundException e) { - e.printStackTrace(); throw new IllegalStateException("Can't find ReflectionNavigator class"); } catch (InvocationTargetException e) { - e.printStackTrace(); throw new IllegalStateException("ReflectionNavigator.getInstance throws the exception"); - } catch (NoSuchMethodException e) { - e.printStackTrace(); - throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); } catch (IllegalAccessException e) { - e.printStackTrace(); throw new IllegalStateException("ReflectionNavigator.getInstance method is inaccessible"); } catch (SecurityException e) { LOGGER.log(Level.FINE, "Unable to access ReflectionNavigator.getInstance", e); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeBuiltinLeafInfoImpl.java new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeBuiltinLeafInfoImpl.java --- old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeBuiltinLeafInfoImpl.java 2014-12-17 19:43:40.000000000 +0100 +++ new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeBuiltinLeafInfoImpl.java 2015-01-15 20:20:46.000000000 +0100 @@ -43,6 +43,8 @@ import java.net.URI; import java.net.URISyntaxException; import java.net.URL; +import java.security.AccessController; +import java.security.PrivilegedAction; import java.util.ArrayList; import java.util.Calendar; import java.util.Collections; @@ -197,7 +199,15 @@ static { - QName[] qnames = (System.getProperty(MAP_ANYURI_TO_URI) == null) ? new QName[] { + String MAP_ANYURI_TO_URI_VALUE = AccessController.doPrivileged( + new PrivilegedAction<String>() { + @Override + public String run() { + return System.getProperty(MAP_ANYURI_TO_URI); + } + } + ); + QName[] qnames = (MAP_ANYURI_TO_URI_VALUE == null) ? new QName[] { createXS("string"), createXS("anySimpleType"), createXS("normalizedString"), @@ -310,7 +320,7 @@ return v.toExternalForm(); } }); - if (System.getProperty(MAP_ANYURI_TO_URI) == null) { + if (MAP_ANYURI_TO_URI_VALUE == null) { secondaryList.add( new StringImpl<URI>(URI.class, createXS("string")) { public URI parse(CharSequence text) throws SAXException { @@ -774,17 +784,18 @@ } }); primaryList.add( - new StringImpl<BigDecimal>(BigDecimal.class, - createXS("decimal") + new StringImpl<BigDecimal>(BigDecimal.class, + createXS("decimal") ) { - public BigDecimal parse(CharSequence text) { - return DatatypeConverterImpl._parseDecimal(text.toString()); - } + public BigDecimal parse(CharSequence text) { + return DatatypeConverterImpl._parseDecimal(text.toString()); + } - public String print(BigDecimal v) { - return DatatypeConverterImpl._printDecimal(v); + public String print(BigDecimal v) { + return DatatypeConverterImpl._printDecimal(v); + } } - }); + ); primaryList.add( new StringImpl<QName>(QName.class, createXS("QName") @@ -812,7 +823,7 @@ w.getNamespaceContext().declareNamespace(v.getNamespaceURI(),v.getPrefix(),false); } }); - if (System.getProperty(MAP_ANYURI_TO_URI) != null) { + if (MAP_ANYURI_TO_URI_VALUE != null) { primaryList.add( new StringImpl<URI>(URI.class, createXS("anyURI")) { public URI parse(CharSequence text) throws SAXException { @@ -830,16 +841,17 @@ }); } primaryList.add( - new StringImpl<Duration>(Duration.class, createXS("duration")) { - public String print(Duration duration) { - return duration.toString(); - } + new StringImpl<Duration>(Duration.class, createXS("duration")) { + public String print(Duration duration) { + return duration.toString(); + } - public Duration parse(CharSequence lexical) { - TODO.checkSpec("JSR222 Issue #42"); - return DatatypeConverterImpl.getDatatypeFactory().newDuration(lexical.toString()); + public Duration parse(CharSequence lexical) { + TODO.checkSpec("JSR222 Issue #42"); + return DatatypeConverterImpl.getDatatypeFactory().newDuration(lexical.toString()); + } } - }); + ); primaryList.add( new StringImpl<Void>(Void.class) { // 'void' binding isn't defined by the spec, but when the JAX-RPC processes user-defined diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/Utils.java new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/Utils.java --- old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/Utils.java 2014-12-17 19:43:40.000000000 +0100 +++ new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/Utils.java 2015-01-15 20:20:46.000000000 +0100 @@ -38,6 +38,9 @@ /** * Utils class. + * + * WARNING: If you are doing any changes don't forget to change other Utils classes in different packages. + * * Has *package private* access to avoid inappropriate usage. */ final class Utils { @@ -51,17 +54,20 @@ static { // we statically initializing REFLECTION_NAVIGATOR property try { - Class refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); - //noinspection unchecked - final Method getInstance = refNav.getDeclaredMethod("getInstance"); + final Class refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); // requires accessClassInPackage privilege - AccessController.doPrivileged( - new PrivilegedAction<Object>() { + final Method getInstance = AccessController.doPrivileged( + new PrivilegedAction<Method>() { @Override - public Object run() { - getInstance.setAccessible(true); - return null; + public Method run() { + try { + Method getInstance = refNav.getDeclaredMethod("getInstance"); + getInstance.setAccessible(true); + return getInstance; + } catch (NoSuchMethodException e) { + throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); + } } } ); @@ -69,16 +75,10 @@ //noinspection unchecked REFLECTION_NAVIGATOR = (Navigator<Type, Class, Field, Method>) getInstance.invoke(null); } catch (ClassNotFoundException e) { - e.printStackTrace(); throw new IllegalStateException("Can't find ReflectionNavigator class"); } catch (InvocationTargetException e) { - e.printStackTrace(); throw new IllegalStateException("ReflectionNavigator.getInstance throws the exception"); - } catch (NoSuchMethodException e) { - e.printStackTrace(); - throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); } catch (IllegalAccessException e) { - e.printStackTrace(); throw new IllegalStateException("ReflectionNavigator.getInstance method is inaccessible"); } catch (SecurityException e) { LOGGER.log(Level.FINE, "Unable to access ReflectionNavigator.getInstance", e); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/Utils.java new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/Utils.java --- old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/Utils.java 2014-12-17 19:43:40.000000000 +0100 +++ new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/Utils.java 2015-01-15 20:20:46.000000000 +0100 @@ -38,6 +38,9 @@ /** * Utils class. + * + * WARNING: If you are doing any changes don't forget to change other Utils classes in different packages. + * * Has *package private* access to avoid inappropriate usage. */ final class Utils { @@ -51,17 +54,20 @@ static { // we statically initializing REFLECTION_NAVIGATOR property try { - Class refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); - //noinspection unchecked - final Method getInstance = refNav.getDeclaredMethod("getInstance"); + final Class refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); // requires accessClassInPackage privilege - AccessController.doPrivileged( - new PrivilegedAction<Object>() { + final Method getInstance = AccessController.doPrivileged( + new PrivilegedAction<Method>() { @Override - public Object run() { - getInstance.setAccessible(true); - return null; + public Method run() { + try { + Method getInstance = refNav.getDeclaredMethod("getInstance"); + getInstance.setAccessible(true); + return getInstance; + } catch (NoSuchMethodException e) { + throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); + } } } ); @@ -69,16 +75,10 @@ //noinspection unchecked REFLECTION_NAVIGATOR = (Navigator<Type, Class, Field, Method>) getInstance.invoke(null); } catch (ClassNotFoundException e) { - e.printStackTrace(); throw new IllegalStateException("Can't find ReflectionNavigator class"); } catch (InvocationTargetException e) { - e.printStackTrace(); throw new IllegalStateException("ReflectionNavigator.getInstance throws the exception"); - } catch (NoSuchMethodException e) { - e.printStackTrace(); - throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); } catch (IllegalAccessException e) { - e.printStackTrace(); throw new IllegalStateException("ReflectionNavigator.getInstance method is inaccessible"); } catch (SecurityException e) { LOGGER.log(Level.FINE, "Unable to access ReflectionNavigator.getInstance", e); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/Utils.java new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/Utils.java --- old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/Utils.java 2014-12-17 19:43:40.000000000 +0100 +++ new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/Utils.java 2015-01-15 20:20:46.000000000 +0100 @@ -38,6 +38,9 @@ /** * Utils class. + * + * WARNING: If you are doing any changes don't forget to change other Utils classes in different packages. + * * Has *package private* access to avoid inappropriate usage. */ final class Utils { @@ -51,17 +54,20 @@ static { // we statically initializing REFLECTION_NAVIGATOR property try { - Class refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); - //noinspection unchecked - final Method getInstance = refNav.getDeclaredMethod("getInstance"); + final Class refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); // requires accessClassInPackage privilege - AccessController.doPrivileged( - new PrivilegedAction<Object>() { + final Method getInstance = AccessController.doPrivileged( + new PrivilegedAction<Method>() { @Override - public Object run() { - getInstance.setAccessible(true); - return null; + public Method run() { + try { + Method getInstance = refNav.getDeclaredMethod("getInstance"); + getInstance.setAccessible(true); + return getInstance; + } catch (NoSuchMethodException e) { + throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); + } } } ); @@ -69,16 +75,10 @@ //noinspection unchecked REFLECTION_NAVIGATOR = (Navigator<Type, Class, Field, Method>) getInstance.invoke(null); } catch (ClassNotFoundException e) { - e.printStackTrace(); throw new IllegalStateException("Can't find ReflectionNavigator class"); } catch (InvocationTargetException e) { - e.printStackTrace(); throw new IllegalStateException("ReflectionNavigator.getInstance throws the exception"); - } catch (NoSuchMethodException e) { - e.printStackTrace(); - throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); } catch (IllegalAccessException e) { - e.printStackTrace(); throw new IllegalStateException("ReflectionNavigator.getInstance method is inaccessible"); } catch (SecurityException e) { LOGGER.log(Level.FINE, "Unable to access ReflectionNavigator.getInstance", e); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/Utils.java new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/Utils.java --- old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/Utils.java 2014-12-17 19:43:40.000000000 +0100 +++ new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/reflect/Utils.java 2015-01-15 20:20:46.000000000 +0100 @@ -38,6 +38,9 @@ /** * Utils class. + * + * WARNING: If you are doing any changes don't forget to change other Utils classes in different packages. + * * Has *package private* access to avoid inappropriate usage. */ final class Utils { @@ -51,17 +54,20 @@ static { // we statically initializing REFLECTION_NAVIGATOR property try { - Class refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); - //noinspection unchecked - final Method getInstance = refNav.getDeclaredMethod("getInstance"); + final Class refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); // requires accessClassInPackage privilege - AccessController.doPrivileged( - new PrivilegedAction<Object>() { + final Method getInstance = AccessController.doPrivileged( + new PrivilegedAction<Method>() { @Override - public Object run() { - getInstance.setAccessible(true); - return null; + public Method run() { + try { + Method getInstance = refNav.getDeclaredMethod("getInstance"); + getInstance.setAccessible(true); + return getInstance; + } catch (NoSuchMethodException e) { + throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); + } } } ); @@ -69,16 +75,10 @@ //noinspection unchecked REFLECTION_NAVIGATOR = (Navigator<Type, Class, Field, Method>) getInstance.invoke(null); } catch (ClassNotFoundException e) { - e.printStackTrace(); throw new IllegalStateException("Can't find ReflectionNavigator class"); } catch (InvocationTargetException e) { - e.printStackTrace(); throw new IllegalStateException("ReflectionNavigator.getInstance throws the exception"); - } catch (NoSuchMethodException e) { - e.printStackTrace(); - throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); } catch (IllegalAccessException e) { - e.printStackTrace(); throw new IllegalStateException("ReflectionNavigator.getInstance method is inaccessible"); } catch (SecurityException e) { LOGGER.log(Level.FINE, "Unable to access ReflectionNavigator.getInstance", e); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/util/XmlFactory.java new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/util/XmlFactory.java --- old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/util/XmlFactory.java 2014-12-17 19:43:40.000000000 +0100 +++ new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/util/XmlFactory.java 2015-01-15 20:20:46.000000000 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2014, 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 @@ -25,8 +25,10 @@ package com.sun.xml.internal.bind.v2.util; -import com.sun.xml.internal.bind.Util; import com.sun.xml.internal.bind.v2.Messages; + +import java.security.AccessController; +import java.security.PrivilegedAction; import java.util.logging.Level; import java.util.logging.Logger; import javax.xml.XMLConstants; @@ -43,8 +45,6 @@ import org.xml.sax.SAXNotRecognizedException; import org.xml.sax.SAXNotSupportedException; -import static com.sun.xml.internal.bind.Util.getSystemProperty; - /** * Provides helper methods for creating properly configured XML parser * factory instances with namespace support turned on and configured for @@ -68,7 +68,14 @@ */ private static final String DISABLE_XML_SECURITY = "com.sun.xml.internal.bind.disableXmlSecurity"; - public static final boolean XML_SECURITY_DISABLED = Boolean.parseBoolean(getSystemProperty(DISABLE_XML_SECURITY)); + private static final boolean XML_SECURITY_DISABLED = AccessController.doPrivileged( + new PrivilegedAction<Boolean>() { + @Override + public Boolean run() { + return Boolean.getBoolean(DISABLE_XML_SECURITY); + } + } + ); private static boolean isXMLSecurityDisabled(boolean runtimeSetting) { return XML_SECURITY_DISABLED || runtimeSetting; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/xml/internal/ws/model/Utils.java new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/xml/internal/ws/model/Utils.java --- old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/xml/internal/ws/model/Utils.java 2014-12-17 19:43:40.000000000 +0100 +++ new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/xml/internal/ws/model/Utils.java 2015-01-15 20:20:46.000000000 +0100 @@ -54,17 +54,20 @@ static { // we statically initializing REFLECTION_NAVIGATOR property try { - Class refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); - //noinspection unchecked - final Method getInstance = refNav.getDeclaredMethod("getInstance"); + final Class refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); // requires accessClassInPackage privilege - AccessController.doPrivileged( - new PrivilegedAction<Object>() { + final Method getInstance = AccessController.doPrivileged( + new PrivilegedAction<Method>() { @Override - public Object run() { - getInstance.setAccessible(true); - return null; + public Method run() { + try { + Method getInstance = refNav.getDeclaredMethod("getInstance"); + getInstance.setAccessible(true); + return getInstance; + } catch (NoSuchMethodException e) { + throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); + } } } ); @@ -72,16 +75,10 @@ //noinspection unchecked REFLECTION_NAVIGATOR = (Navigator<Type, Class, Field, Method>) getInstance.invoke(null); } catch (ClassNotFoundException e) { - e.printStackTrace(); throw new IllegalStateException("Can't find ReflectionNavigator class"); } catch (InvocationTargetException e) { - e.printStackTrace(); throw new IllegalStateException("ReflectionNavigator.getInstance throws the exception"); - } catch (NoSuchMethodException e) { - e.printStackTrace(); - throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); } catch (IllegalAccessException e) { - e.printStackTrace(); throw new IllegalStateException("ReflectionNavigator.getInstance method is inaccessible"); } catch (SecurityException e) { LOGGER.log(Level.FINE, "Unable to access ReflectionNavigator.getInstance", e); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/ProviderImpl.java new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/ProviderImpl.java --- old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/ProviderImpl.java 2014-12-17 19:43:40.000000000 +0100 +++ new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/ProviderImpl.java 2015-01-15 20:20:46.000000000 +0100 @@ -147,19 +147,12 @@ } public EndpointReference readEndpointReference(final Source eprInfoset) { - // EPR constructors are private, so we need privilege escalation. - // this unmarshalling can only access instances of a fixed, known set of classes, - // so doing that shouldn't introduce security vulnerability. - return AccessController.doPrivileged(new PrivilegedAction<EndpointReference>() { - public EndpointReference run() { - try { - Unmarshaller unmarshaller = eprjc.get().createUnmarshaller(); - return (EndpointReference) unmarshaller.unmarshal(eprInfoset); - } catch (JAXBException e) { - throw new WebServiceException("Error creating Marshaller or marshalling.", e); - } - } - }); + try { + Unmarshaller unmarshaller = eprjc.get().createUnmarshaller(); + return (EndpointReference) unmarshaller.unmarshal(eprInfoset); + } catch (JAXBException e) { + throw new WebServiceException("Error creating Marshaller or marshalling.", e); + } } public <T> T getPort(EndpointReference endpointReference, Class<T> clazz, WebServiceFeature... webServiceFeatures) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/Utils.java new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/Utils.java --- old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/Utils.java 2014-12-17 19:43:40.000000000 +0100 +++ new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/xml/internal/ws/spi/db/Utils.java 2015-01-15 20:20:46.000000000 +0100 @@ -54,17 +54,20 @@ static { // we statically initializing REFLECTION_NAVIGATOR property try { - Class refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); - //noinspection unchecked - final Method getInstance = refNav.getDeclaredMethod("getInstance"); + final Class refNav = Class.forName("com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator"); // requires accessClassInPackage privilege - AccessController.doPrivileged( - new PrivilegedAction<Object>() { + final Method getInstance = AccessController.doPrivileged( + new PrivilegedAction<Method>() { @Override - public Object run() { - getInstance.setAccessible(true); - return null; + public Method run() { + try { + Method getInstance = refNav.getDeclaredMethod("getInstance"); + getInstance.setAccessible(true); + return getInstance; + } catch (NoSuchMethodException e) { + throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); + } } } ); @@ -72,16 +75,10 @@ //noinspection unchecked REFLECTION_NAVIGATOR = (Navigator<Type, Class, Field, Method>) getInstance.invoke(null); } catch (ClassNotFoundException e) { - e.printStackTrace(); throw new IllegalStateException("Can't find ReflectionNavigator class"); } catch (InvocationTargetException e) { - e.printStackTrace(); throw new IllegalStateException("ReflectionNavigator.getInstance throws the exception"); - } catch (NoSuchMethodException e) { - e.printStackTrace(); - throw new IllegalStateException("ReflectionNavigator.getInstance can't be found"); } catch (IllegalAccessException e) { - e.printStackTrace(); throw new IllegalStateException("ReflectionNavigator.getInstance method is inaccessible"); } catch (SecurityException e) { LOGGER.log(Level.FINE, "Unable to access ReflectionNavigator.getInstance", e); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/XmlUtil.java new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/XmlUtil.java --- old/jaxws-a21c4edfdf44/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/XmlUtil.java 2014-12-17 19:43:40.000000000 +0100 +++ new/jaxws-6e928fd91525/src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/XmlUtil.java 2015-01-15 20:20:46.000000000 +0100 @@ -63,6 +63,8 @@ import java.io.OutputStreamWriter; import java.io.Writer; import java.net.URL; +import java.security.AccessController; +import java.security.PrivilegedAction; import java.util.ArrayList; import java.util.Enumeration; import java.util.Iterator; @@ -84,12 +86,16 @@ private static final Logger LOGGER = Logger.getLogger(XmlUtil.class.getName()); - private static boolean XML_SECURITY_DISABLED; + private static final String DISABLE_XML_SECURITY = "com.sun.xml.internal.ws.disableXmlSecurity"; - static { - String disableXmlSecurity = System.getProperty("com.sun.xml.internal.ws.disableXmlSecurity"); - XML_SECURITY_DISABLED = disableXmlSecurity == null || !Boolean.valueOf(disableXmlSecurity); - } + private static boolean XML_SECURITY_DISABLED = AccessController.doPrivileged( + new PrivilegedAction<Boolean>() { + @Override + public Boolean run() { + return Boolean.getBoolean(DISABLE_XML_SECURITY); + } + } + ); public static String getPrefix(String s) { int i = s.indexOf(':'); ++++++ 445eceffc829.tar.bz2 -> 79177246b3db.tar.bz2 ++++++ ++++ 807670 lines of diff (skipped) ++++++ aarch64-b12tob20.patch -> aarch64-b12tob21.patch ++++++ --- /work/SRC/openSUSE:Factory/java-1_8_0-openjdk/aarch64-b12tob20.patch 2015-01-14 11:44:53.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.java-1_8_0-openjdk.new/aarch64-b12tob21.patch 2015-01-23 15:47:57.000000000 +0100 @@ -5,7 +5,7 @@ HS_MAJOR_VER=25 HS_MINOR_VER=40 -HS_BUILD_NUMBER=16 -+HS_BUILD_NUMBER=23 ++HS_BUILD_NUMBER=24 JDK_MAJOR_VER=1 JDK_MINOR_VER=8 ++++++ 445eceffc829.tar.bz2 -> b6d03a810a61.tar.bz2 ++++++ ++++ 334456 lines of diff (skipped) ++++++ 445eceffc829.tar.bz2 -> d168113f9841.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/java-1_8_0-openjdk/445eceffc829.tar.bz2 /work/SRC/openSUSE:Factory/.java-1_8_0-openjdk.new/d168113f9841.tar.bz2 differ: char 11, line 1 ++++++ 445eceffc829.tar.bz2 -> f9f70a0f60f4.tar.bz2 ++++++ ++++ 606879 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org