From andrew at icedtea.classpath.org Tue Apr 1 01:59:54 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 01 Apr 2014 01:59:54 +0000 Subject: /hg/icedtea: 6 new changesets Message-ID: changeset 80e121d36c8b in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=80e121d36c8b author: Andrew John Hughes date: Fri Sep 30 04:25:29 2011 +0100 Use IcedTea server for CACAO downloads, as with 6. 2010-11-19 Andrew John Hughes * Makefile.am: (CACAO_BASE_URL): Switch to using IcedTea server for CACAO drops too. (CACAO_URL): Likewise. changeset 0d3e101af018 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=0d3e101af018 author: Andrew John Hughes date: Tue Apr 01 01:36:29 2014 +0100 CACAO: Updated to 2011-08-08 revision. 2011-08-09 Xerxes R?nby CACAO - CA159: Exception handler blocks / register mixup. - Set thread to RUNNABLE during Thread.start. - Removed state-setting function call that would be done by the thread itself, creating a nasty race. * Makefile.am (CACAO_VERSION): Updated CACAO to 2011-08-08 revision. (CACAO_SHA256SUM): Updated. changeset 138d6c171019 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=138d6c171019 author: Xerxes Ranby date: Tue Aug 30 12:30:04 2011 +0200 CACAO: CA149: Used wrong class loader, Updated to 2011-08-29 revision. 2011-08-30 Xerxes Ranby CACAO - CA149: Used wrong class loader. - src/vm/javaobjects.cpp (java_lang_reflect_Method::invoke): [OPENJDK] stack index of caller was off by one, causing many apt (Annotation Processing Tool) failures. * NEWS: Updated. * Makefile.am (CACAO_VERSION): Updated CACAO to 2011-08-29 revision. (CACAO_SHA256SUM): Updated. changeset 95ec73579840 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=95ec73579840 author: Xerxes Ranby date: Tue Apr 01 01:50:23 2014 +0100 CACAO support for OpenJDK7 2012-02-10 Xerxes Ranby * Makefile.am (CACAO_VERSION): Updated CACAO to 2012-02-09 revision. (CACAO_SHA256SUM): Updated. (stamps/cacao.stamp): Use --with-java-runtime-library=openjdk7. Add -f when creating client and server symlinks to handle repeat builds. Link the fake libjsig.so to CACAO libjvm.so, and touch fake Xusage.txt to work with latest OpenJDK ALT_HOTSPOT_IMPORT_PATH functionality. * patches/cacao/version.patch: Removed, replaced by upstream CACAO changeset 30edcde287d9. changeset c0e1199f441b in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=c0e1199f441b author: Andrew John Hughes date: Tue Apr 01 01:51:51 2014 +0100 Update CACAO to latest tip. 2013-04-24 Andrew John Hughes * patches/cacao/jsig.patch: Removed. * Makefile.am: (CACAO_VERSION): Bump to current tip. (CACAO_SHA256SUM): Likewise. (ICEDTEA_PATCHES): Drop unneeded jsig patch. changeset 4acb21372190 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=4acb21372190 author: Andrew John Hughes date: Tue Apr 01 01:58:21 2014 +0100 Actually delete file removed in 1128225eff23 diffstat: ChangeLog | 49 ++++++++++++++++++++++++++++++++++++ Makefile.am | 16 +++++----- patches/cacao/arm-arch-defines.patch | 18 ------------- patches/cacao/jsig.patch | 18 ------------- patches/cacao/version.patch | 21 --------------- 5 files changed, 57 insertions(+), 65 deletions(-) diffs (171 lines): diff -r 102993442e37 -r 4acb21372190 ChangeLog --- a/ChangeLog Mon Mar 24 17:19:19 2014 -0400 +++ b/ChangeLog Tue Apr 01 01:58:21 2014 +0100 @@ -1,3 +1,52 @@ +2013-04-24 Andrew John Hughes + + * patches/cacao/jsig.patch: + Removed. + * Makefile.am: + (CACAO_VERSION): Bump to current tip. + (CACAO_SHA256SUM): Likewise. + (ICEDTEA_PATCHES): Drop unneeded jsig patch. + +2012-02-10 Xerxes R??nby + + * Makefile.am + (CACAO_VERSION): Updated CACAO to 2012-02-09 revision. + (CACAO_SHA256SUM): Updated. + (stamps/cacao.stamp): Use --with-java-runtime-library=openjdk7. + Add -f when creating client and server symlinks to handle repeat builds. + Link the fake libjsig.so to CACAO libjvm.so, and touch fake Xusage.txt + to work with latest OpenJDK ALT_HOTSPOT_IMPORT_PATH functionality. + * patches/cacao/version.patch: Removed, replaced by upstream CACAO changeset 30edcde287d9. + +2011-08-30 Xerxes R??nby + + CACAO + - CA149: Used wrong class loader. + - src/vm/javaobjects.cpp (java_lang_reflect_Method::invoke): + [OPENJDK] stack index of caller was off by one, causing many apt + (Annotation Processing Tool) failures. + * Makefile.am + (CACAO_VERSION): Updated CACAO to 2011-08-29 revision. + (CACAO_SHA256SUM): Updated. + +2011-08-09 Xerxes R??nby + + CACAO + - CA159: Exception handler blocks / register mixup. + - Set thread to RUNNABLE during Thread.start. + - Removed state-setting function call that would be done by the thread + itself, creating a nasty race. + * Makefile.am + (CACAO_VERSION): Updated CACAO to 2011-08-08 revision. + (CACAO_SHA256SUM): Updated. + +2010-11-19 Andrew John Hughes + + * Makefile.am: + (CACAO_BASE_URL): Switch to using IcedTea + server for CACAO drops too. + (CACAO_URL): Likewise. + 2014-03-24 Pavel Tisnovsky * contrib/jck/compile-native-code.sh: diff -r 102993442e37 -r 4acb21372190 Makefile.am --- a/Makefile.am Mon Mar 24 17:19:19 2014 -0400 +++ b/Makefile.am Tue Apr 01 01:58:21 2014 +0100 @@ -20,10 +20,10 @@ HS_CHANGESET = "`$(AWK) 'version==$$1 {print $$3}' version=$(HSBUILD) $(abs_top_srcdir)/hotspot.map`" HS_URL = "`$(AWK) 'version==$$1 {print $$2}' version=$(HSBUILD) $(abs_top_srcdir)/hotspot.map`" -CACAO_VERSION = d6264eb66506 -CACAO_SHA256SUM = 94ea7899e806ccbc33a732b5113a8f969d8b1f4ce7ffd27cf04577054f65f63c -CACAO_BASE_URL = http://mips.complang.tuwien.ac.at/hg/cacao/archive -CACAO_URL = $(CACAO_BASE_URL)/$(CACAO_VERSION).tar.bz2 +CACAO_VERSION = e215e36be9fc +CACAO_SHA256SUM = 4966514c72ee7ed108b882d9b6e65c3adf8a8f9c2dccb029f971b3c8cb4870ab +CACAO_BASE_URL = http://icedtea.classpath.org/download/drops/cacao +CACAO_URL = $(CACAO_BASE_URL)/$(CACAO_VERSION).tar.gz CACAO_SRC_ZIP = cacao-$(CACAO_VERSION).tar.bz2 JAMVM_VERSION = ec18fb9e49e62dce16c5094ef1527eed619463aa @@ -229,8 +229,6 @@ if BUILD_CACAO ICEDTEA_PATCHES += \ patches/cacao/launcher.patch \ - patches/cacao/version.patch \ - patches/cacao/jsig.patch \ patches/cacao/6714758.patch \ patches/cacao/memory.patch endif @@ -1785,14 +1783,16 @@ --build=$(build_alias) \ --target=$(target_alias) \ --prefix=$(abs_top_builddir)/cacao/install \ - --with-java-runtime-library=openjdk \ + --with-java-runtime-library=openjdk7 \ --with-java-runtime-library-prefix=$(abs_top_builddir)/openjdk \ --with-java-runtime-library-classes=$(RUNTIME) \ --enable-jre-layout $(CACAO_CONFIGURE_ARGS); \ $(ARCH_PREFIX) $(MAKE) -j$(PARALLEL_JOBS) install mkdir -p $(abs_top_builddir)/cacao/install/lib touch $(abs_top_builddir)/cacao/install/hotspot/lib/sa-jdi.jar - ln -s server $(abs_top_builddir)/cacao/install/jre/lib/$(INSTALL_ARCH_DIR)/client + ln -sf server $(abs_top_builddir)/cacao/install/jre/lib/$(INSTALL_ARCH_DIR)/client + touch $(abs_top_builddir)/cacao/install/jre/lib/$(INSTALL_ARCH_DIR)/server/Xusage.txt + ln -sf client/libjvm.so $(abs_top_builddir)/cacao/install/jre/lib/$(INSTALL_ARCH_DIR)/libjsig.so endif endif mkdir -p stamps diff -r 102993442e37 -r 4acb21372190 patches/cacao/arm-arch-defines.patch --- a/patches/cacao/arm-arch-defines.patch Mon Mar 24 17:19:19 2014 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -diff -Nru cacao.orig/cacao/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/arm.h cacao/cacao/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/arm.h ---- cacao.orig/cacao/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/arm.h 2010-05-19 12:14:46.000000000 +0100 -+++ cacao/cacao/src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/arm.h 2010-06-21 18:35:53.000000000 +0100 -@@ -33,7 +33,13 @@ - - /* NEC LE-IT: gcc has no way to easily check the arm architecture - * but defines only one of __ARM_ARCH_x__ to be true */ --#if defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_7__) -+#if defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) \ -+ || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) \ -+ || defined(__ARM_ARCH_6ZK__) || defined(__ARM_ARCH_6T2__) \ -+ || defined(__ARM_ARCH_6M__) \ -+ || defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) \ -+ || defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) -+ - AO_INLINE void - AO_nop_full() - { diff -r 102993442e37 -r 4acb21372190 patches/cacao/jsig.patch --- a/patches/cacao/jsig.patch Mon Mar 24 17:19:19 2014 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -diff -Nru cacao.orig/Makefile.am cacao/Makefile.am ---- cacao.orig/cacao/src/cacao/Makefile.am 2008-08-04 17:51:28.000000000 +0100 -+++ cacao/cacao/src/cacao/Makefile.am 2010-05-11 10:29:35.000000000 +0100 -@@ -96,12 +96,12 @@ - $(mkdir_p) $(prefix)/jre/lib/$(JAVA_ARCH)/server - $(LN_S) -f $(libdir)/libjvm.so $(prefix)/jre/lib/$(JAVA_ARCH)/server - $(ECHO) $(ECHO_N) > $(prefix)/jre/lib/$(JAVA_ARCH)/server/Xusage.txt -- $(ECHO) $(ECHO_N) > $(prefix)/jre/lib/$(JAVA_ARCH)/server/libjsig.so -+ $(ECHO) $(ECHO_N) > $(prefix)/jre/lib/$(JAVA_ARCH)/libjsig.so - - uninstall-local: - rm -f $(prefix)/jre/lib/$(JAVA_ARCH)/server/libjvm.so - rm -f $(prefix)/jre/lib/$(JAVA_ARCH)/server/Xusage.txt -- rm -f $(prefix)/jre/lib/$(JAVA_ARCH)/server/libjsig.so -+ rm -f $(prefix)/jre/lib/$(JAVA_ARCH)/libjsig.so - endif - - diff -r 102993442e37 -r 4acb21372190 patches/cacao/version.patch --- a/patches/cacao/version.patch Mon Mar 24 17:19:19 2014 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -diff -Nru cacao.orig2/cacao/src/vm/global.h cacao2/cacao/src/vm/global.h ---- cacao.orig/cacao/src/vm/global.h 2009-08-05 01:12:02.000000000 +0100 -+++ cacao/cacao/src/vm/global.h 2009-08-05 01:51:01.000000000 +0100 -@@ -132,14 +132,14 @@ - - /* some Java related defines **************************************************/ - --#define JAVA_VERSION "1.5.0" /* this version is supported by CACAO */ --#define CLASS_VERSION "50.0" -+#define JAVA_VERSION "1.7.0" /* this version is supported by CACAO */ -+#define CLASS_VERSION "51.0" - - - /* Java class file constants **************************************************/ - - #define MAGIC 0xCAFEBABE --#define MAJOR_VERSION 50 -+#define MAJOR_VERSION 51 - #define MINOR_VERSION 0 - - From jvanek at icedtea.classpath.org Tue Apr 1 09:20:41 2014 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Tue, 01 Apr 2014 09:20:41 +0000 Subject: /hg/icedtea-web: Restricted CodebaseMatcher to not match aaexamp... Message-ID: changeset 70d23452ac83 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=70d23452ac83 author: Jiri Vanek date: Tue Apr 01 11:20:26 2014 +0200 Restricted CodebaseMatcher to not match aaexample.com by *.example.com expression but still match example.com - as in specification. diffstat: ChangeLog | 12 +++ netx/net/sourceforge/jnlp/util/ClasspathMatcher.java | 18 ++++- tests/netx/unit/net/sourceforge/jnlp/util/ClasspathMatcherTest.java | 31 +++++++++- 3 files changed, 54 insertions(+), 7 deletions(-) diffs (96 lines): diff -r dc0a77856cb4 -r 70d23452ac83 ChangeLog --- a/ChangeLog Mon Mar 31 13:27:48 2014 -0400 +++ b/ChangeLog Tue Apr 01 11:20:26 2014 +0200 @@ -1,3 +1,15 @@ +2013-04-01 Jiri Vanek + + Restricted CodebaseMatcher to not match aaexample.com by *.example.com expression + but still match example.com - as in specification. + * netx/net/sourceforge/jnlp/util/ClasspathMatcher.java: (domainToRegEx) consists + of original regex connected by or with second one in case of *. start. + (sourceToRegExString) part of the logic extracted to quote method. + * tests/netx/unit/net/sourceforge/jnlp/util/ClasspathMatcherTest.java: + (matchTest5) adapted. (wildCardSubdomainDoesNotMatchParentDomainPaths) new test, + focusing on aaexample.com/example.com/aaa.example.com in *.example.com both + path and domain. + 2013-03-31 Omair Majid * netx/net/sourceforge/jnlp/resources/Messages.properties diff -r dc0a77856cb4 -r 70d23452ac83 netx/net/sourceforge/jnlp/util/ClasspathMatcher.java --- a/netx/net/sourceforge/jnlp/util/ClasspathMatcher.java Mon Mar 31 13:27:48 2014 -0400 +++ b/netx/net/sourceforge/jnlp/util/ClasspathMatcher.java Tue Apr 01 11:20:26 2014 +0200 @@ -146,12 +146,16 @@ } private static Pattern domainToRegEx(String domain) { - // Although I have conisdered the "dot" as bug in specification, - // to many applications are depnding on it - while (domain.startsWith("*.")) { - domain = "*" + domain.substring(2); + String pre = ""; + String post = ""; + if (domain.startsWith("*.")) { + //this is handling case, when *.abc.xy + //should match also abc.xy except whatever.abc.xz + //but NOT whatewerabc.xy + pre = "(" + quote(domain.substring(2)) + ")|("; + post = ")"; } - return ClasspathMatcher.sourceToRegEx(domain); + return Pattern.compile(pre + ClasspathMatcher.sourceToRegExString(domain) + post); } } @@ -316,6 +320,10 @@ if (s.equals("*")) { return ".*"; } + return quote(s); + } + + private static String quote(String s) { /* * coment for lazybones: * \Q is start of citation diff -r dc0a77856cb4 -r 70d23452ac83 tests/netx/unit/net/sourceforge/jnlp/util/ClasspathMatcherTest.java --- a/tests/netx/unit/net/sourceforge/jnlp/util/ClasspathMatcherTest.java Mon Mar 31 13:27:48 2014 -0400 +++ b/tests/netx/unit/net/sourceforge/jnlp/util/ClasspathMatcherTest.java Tue Apr 01 11:20:26 2014 +0200 @@ -427,8 +427,35 @@ Assert.assertFalse(p.match(urls[17])); //reasons for alowing "dot" issue Assert.assertTrue(p.match(new URL("http://www.example.com"))); - Assert.assertTrue(p.match(new URL("http://example.com"))); //yah, this is really nasty - //still the DOT issue is an BUG + Assert.assertTrue(p.match(new URL("http://example.com"))); + //reason for restricting dost issue + Assert.assertFalse(p.match(new URL("http://aaaexample.com"))); + } + + @Test + public void wildCardSubdomainDoesNotMatchParentDomainPaths() throws MalformedURLException { + ClasspathMatchers p1 = ClasspathMatchers.compile("*.example.com*/*.abc.cde*", true); + Assert.assertFalse(p1.matches(new URL("http://aaaexample.com/xyz.abc.cde"))); + + Assert.assertTrue(p1.matches(new URL("http://www.example.com/.abc.cde"))); + Assert.assertTrue(p1.matches(new URL("http://www.example.com/xyz.abc.cde"))); + Assert.assertFalse(p1.matches(new URL("http://www.example.com/abc.cde"))); + Assert.assertTrue(p1.matches(new URL("http://example.com/xyz.abc.cdeefg"))); + Assert.assertTrue(p1.matches(new URL("http://example.com/xyz.abc.cde.efg"))); + Assert.assertFalse(p1.matches(new URL("http://example.com/abc.cde.efg"))); + Assert.assertFalse(p1.matches(new URL("http://example.com"))); + + + ClasspathMatchers p = ClasspathMatchers.compile("*.example.com*/*.abc.cde*", false); + Assert.assertFalse(p.matches(new URL("http://aaaexample.com/xyz.abc.cde"))); + + Assert.assertTrue(p.matches(new URL("http://www.example.com/.abc.cde"))); + Assert.assertTrue(p.matches(new URL("http://www.example.com/xyz.abc.cde"))); + Assert.assertTrue(p.matches(new URL("http://www.example.com/abc.cde"))); + Assert.assertTrue(p.matches(new URL("http://example.com/xyz.abc.cdeefg"))); + Assert.assertTrue(p.matches(new URL("http://example.com/xyz.abc.cde.efg"))); + Assert.assertTrue(p.matches(new URL("http://example.com/abc.cde.efg"))); + Assert.assertTrue(p.matches(new URL("http://example.com"))); } @Test From jvanek at icedtea.classpath.org Tue Apr 1 09:28:03 2014 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Tue, 01 Apr 2014 09:28:03 +0000 Subject: /hg/icedtea-web: Manual quotation in ClasspathMatcher regex repl... Message-ID: changeset d84effce2642 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=d84effce2642 author: Jiri Vanek date: Tue Apr 01 11:27:53 2014 +0200 Manual quotation in ClasspathMatcher regex replaced by Pattern.quote diffstat: ChangeLog | 6 ++++++ netx/net/sourceforge/jnlp/util/ClasspathMatcher.java | 13 ++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diffs (45 lines): diff -r 70d23452ac83 -r d84effce2642 ChangeLog --- a/ChangeLog Tue Apr 01 11:20:26 2014 +0200 +++ b/ChangeLog Tue Apr 01 11:27:53 2014 +0200 @@ -1,3 +1,9 @@ +2013-04-01 Jiri Vanek + + Manual quotation in ClasspathMatcher regex replaced by Pattern.quote + * netx/net/sourceforge/jnlp/util/ClasspathMatcher.java: (quote) + is now using Pattern.quote instead manual \Q + original + \E + 2013-04-01 Jiri Vanek Restricted CodebaseMatcher to not match aaexample.com by *.example.com expression diff -r 70d23452ac83 -r d84effce2642 netx/net/sourceforge/jnlp/util/ClasspathMatcher.java --- a/netx/net/sourceforge/jnlp/util/ClasspathMatcher.java Tue Apr 01 11:20:26 2014 +0200 +++ b/netx/net/sourceforge/jnlp/util/ClasspathMatcher.java Tue Apr 01 11:27:53 2014 +0200 @@ -326,22 +326,21 @@ private static String quote(String s) { /* * coment for lazybones: - * \Q is start of citation - * \E is end of citation - * - all characters in citation are threated as are without any special meaning + * Pattern.quote - all characters in citation are threated as are without any special meaning + * Citation is based on \Q and \E marks wwith escapped inner \Q and \E * ^ is start of th e line * $ is end of the line */ if (s.startsWith("*") && s.endsWith("*")) { - return "^.*\\Q" + s.substring(1, s.length() - 1) + "\\E.*$"; + return "^.*" + Pattern.quote(s.substring(1, s.length() - 1)) + ".*$"; } else if (s.endsWith("*")) { - return "^\\Q" + s.substring(0, s.length() - 1) + "\\E.*$"; + return "^" + Pattern.quote(s.substring(0, s.length() - 1)) + ".*$"; } else if (s.startsWith("*")) { - return "^.*\\Q" + s.substring(1) + "\\E$"; + return "^.*" + Pattern.quote(s.substring(1)) + "$"; } else { - return "^\\Q" + s + "\\E$"; + return "^" + Pattern.quote(s) + "$"; } } From jvanek at icedtea.classpath.org Tue Apr 1 09:34:25 2014 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Tue, 01 Apr 2014 09:34:25 +0000 Subject: /hg/icedtea-web: Messages_cs.properties adapted to match newest ... Message-ID: changeset 2670820a9609 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=2670820a9609 author: Jiri Vanek date: Tue Apr 01 11:34:16 2014 +0200 Messages_cs.properties adapted to match newest state diffstat: ChangeLog | 6 +++ netx/net/sourceforge/jnlp/resources/Messages_cs.properties | 27 ++++++++++--- 2 files changed, 27 insertions(+), 6 deletions(-) diffs (53 lines): diff -r d84effce2642 -r 2670820a9609 ChangeLog --- a/ChangeLog Tue Apr 01 11:27:53 2014 +0200 +++ b/ChangeLog Tue Apr 01 11:34:16 2014 +0200 @@ -1,3 +1,9 @@ +2013-04-01 Jiri Vanek + + * netx/net/sourceforge/jnlp/resources/Messages_cs.properties: adapted to match newest state. + (MissingPermissionsMainTitle) (MissingPermissionsInfo) (ALACAMissingMainTitle) (ALACAMissingInfo) + (ALACAMatchingMainTitle) (ALACAMatchingInfo) removed codebase word, used text in all hrefs. + 2013-04-01 Jiri Vanek Manual quotation in ClasspathMatcher regex replaced by Pattern.quote diff -r d84effce2642 -r 2670820a9609 netx/net/sourceforge/jnlp/resources/Messages_cs.properties --- a/netx/net/sourceforge/jnlp/resources/Messages_cs.properties Tue Apr 01 11:27:53 2014 +0200 +++ b/netx/net/sourceforge/jnlp/resources/Messages_cs.properties Tue Apr 01 11:34:16 2014 +0200 @@ -51,15 +51,30 @@ AboutDialogueTabGPLv2=GPLv2 # missing permissions dialogue -MissingPermissionsMainTitle=Aplikace {0} se z\u00e1kladnou k\u00f3du (codebase) {1} postr\u00e1d\u00e1 element \u201epermissions\u201c. Aplikaci bez tohoto elementu byste nem\u011bli v\u011b\u0159it. Chcete povolit b\u011bh t\u00e9to aplikace? -MissingPermissionsInfo=Chcete-li z\u00edskat v\u00edce informac\u00ed, nav\u0161tivte n\u00e1sleduj\u00edc\u00ed weby:
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#permissions
a
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/no_redeploy.html +MissingPermissionsMainTitle=Aplikace {0} z {1} postr\u00e1d\u00e1 atribut \u201epermissions\u201c. Aplikaci bez tohoto elementu byste nem\u011bli v\u011b\u0159it. Chcete povolit b\u011bh t\u00e9to aplikace? +MissingPermissionsInfo=Chcete-li z\u00edskat v\u00edce informac\u00ed, nav\u0161tivte n\u00e1sleduj\u00edc\u00ed weby:
\ +\ +Atributy Manifestu souboru JAR
\ + a
\ +\ +Zabr\u00e1n\u011bn\u00ed zneu\u017e\u00edv\u00e1n\u00ed aplikac\u00ed # missing Application-Library-Allowable-Codebase dialogue -ALACAMissingMainTitle=Aplikace {0} se z\u00e1kladnou k\u00f3du (codebase) {1} postr\u00e1d\u00e1 element \u201eapplication-library-allowable-codebase\u201c. Tato aplikace pou\u017e\u00edv\u00e1 zdroje z n\u00e1sleduj\u00edc\u00edho vzd\u00e1len\u00e9ho um\u00edst\u011bn\u00ed:
{2} Skute\u010dn\u011b chcete spustit tuto aplikaci? -ALACAMissingInfo=Chcete-li z\u00edskat v\u00edce informac\u00ed, nav\u0161tivte n\u00e1sleduj\u00edc\u00ed weby:
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#app_library
a
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/no_redeploy.html +ALACAMissingMainTitle=Aplikace {0} z {1} postr\u00e1d\u00e1 atribut \u201eapplication-library-allowable-codebase\u201c. Tato aplikace pou\u017e\u00edv\u00e1 zdroje z n\u00e1sleduj\u00edc\u00edho vzd\u00e1len\u00e9ho um\u00edst\u011bn\u00ed:
{2} Skute\u010dn\u011b chcete spustit tuto aplikaci? +ALACAMissingInfo=Chcete-li z\u00edskat v\u00edce informac\u00ed, nav\u0161tivte n\u00e1sleduj\u00edc\u00ed weby:
\ +\ +Atributy Manifestu souboru JAR
\ + a
\ +\ +Zabr\u00e1n\u011bn\u00ed zneu\u017e\u00edv\u00e1n\u00ed aplikac\u00ed # matching Application-Library-Allowable-Codebase dialogue -ALACAMatchingMainTitle=Aplikace {0} se z\u00e1kladnou k\u00f3du (codebase) {1} vy\u017eaduje platn\u00e9 zdroje z r\u016fzn\u00fdch um\u00edst\u011bn\u00ed:
{2}
O\u010dek\u00e1v\u00e1 se na\u010dten\u00ed t\u011bchto zdroj\u016f. Souhlas\u00edte se spu\u0161t\u011bn\u00edm t\u00e9to aplikace? -ALACAMatchingInfo=Chcete-li z\u00edskat v\u00edce informac\u00ed, nav\u0161tivte n\u00e1sleduj\u00edc\u00ed weby:
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#app_library
a
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/no_redeploy.html +ALACAMatchingMainTitle=Aplikace {0} z {1} vy\u017eaduje platn\u00e9 zdroje z r\u016fzn\u00fdch um\u00edst\u011bn\u00ed:
{2}
Na\u010dten\u00ed t\u011bchto zdroj\u016f se o\u010dek\u00e1v\u00e1. Souhlas\u00edte se spu\u0161t\u011bn\u00edm t\u00e9to aplikace? +ALACAMatchingInfo=Chcete-li z\u00edskat v\u00edce informac\u00ed, nav\u0161tivte n\u00e1sleduj\u00edc\u00ed weby:
\ +\ +Atributy Manifestu souboru JAR
\ + a
\ +\ +Zabr\u00e1n\u011bn\u00ed zneu\u017e\u00edv\u00e1n\u00ed aplikac\u00ed # LS - Severity LSMinor=Mal\u00e1 From jvanek at redhat.com Tue Apr 1 09:36:51 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 01 Apr 2014 11:36:51 +0200 Subject: [fyi][icedtea-web] adapting cz localisation for future changes. In-Reply-To: <5339A011.2060405@redhat.com> References: <5339A011.2060405@redhat.com> Message-ID: <533A88B3.8000906@redhat.com> Looks like I have not attached the patch :-/ Alexandr, please updater your cache. J pushed: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=2670820a9609 On 03/31/2014 07:04 PM, Jiri Vanek wrote: > With: > > http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-March/026995.html > http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-March/026997.html > and > http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-March/027000.html > > approved. > > > This is adaptation of current CZ messages. > > I will push this in short time. > > > J. From ptisnovs at icedtea.classpath.org Tue Apr 1 09:40:34 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Tue, 01 Apr 2014 09:40:34 +0000 Subject: /hg/gfx-test: Eight new tests added into BitBltAffineQuadrantRot... Message-ID: changeset 026d5f07528c in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=026d5f07528c author: Pavel Tisnovsky date: Tue Apr 01 11:41:18 2014 +0200 Eight new tests added into BitBltAffineQuadrantRotateTransformOp. diffstat: ChangeLog | 5 + src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java | 112 ++++++++++ 2 files changed, 117 insertions(+), 0 deletions(-) diffs (134 lines): diff -r ab61c1a09c99 -r 026d5f07528c ChangeLog --- a/ChangeLog Fri Mar 28 10:45:48 2014 +0100 +++ b/ChangeLog Tue Apr 01 11:41:18 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-01 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java: + Eight new tests added into BitBltAffineQuadrantRotateTransformOp. + 2014-03-28 Pavel Tisnovsky * src/org/gfxtest/testsuites/BitBltBasicTests.java: diff -r ab61c1a09c99 -r 026d5f07528c src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java --- a/src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java Fri Mar 28 10:45:48 2014 +0100 +++ b/src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java Tue Apr 01 11:41:18 2014 +0200 @@ -1173,6 +1173,118 @@ } /** + * Test basic BitBlt operation for empty buffered image with type TYPE_USHORT_565_RGB. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltEmptyBufferedImageTypeUshort565RGBRotateTransformation4Nearest1Op(TestImage image, Graphics2D graphics2d) + { + return doBitBltEmptyBufferedImageTypeUshort565RGB(image, graphics2d, RotateTransformationNearest1Op[4]); + } + + /** + Test basic BitBlt operation for empty buffered image with type TYPE_USHORT_565_RGB. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltEmptyBufferedImageTypeUshort565RGBRotateTransformation5Nearest1Op(TestImage image, Graphics2D graphics2d) + { + return doBitBltEmptyBufferedImageTypeUshort565RGB(image, graphics2d, RotateTransformationNearest1Op[5]); + } + + /** + * Test basic BitBlt operation for empty buffered image with type TYPE_USHORT_GRAY. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltEmptyBufferedImageTypeUshortGrayRotateTransformation0Nearest1Op(TestImage image, Graphics2D graphics2d) + { + return doBitBltEmptyBufferedImageTypeUshortGray(image, graphics2d, RotateTransformationNearest1Op[0]); + } + + /** + * Test basic BitBlt operation for empty buffered image with type TYPE_USHORT_GRAY. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltEmptyBufferedImageTypeUshortGrayRotateTransformation1Nearest1Op(TestImage image, Graphics2D graphics2d) + { + return doBitBltEmptyBufferedImageTypeUshortGray(image, graphics2d, RotateTransformationNearest1Op[1]); + } + + /** + * Test basic BitBlt operation for empty buffered image with type TYPE_USHORT_GRAY. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltEmptyBufferedImageTypeUshortGrayRotateTransformation2Nearest1Op(TestImage image, Graphics2D graphics2d) + { + return doBitBltEmptyBufferedImageTypeUshortGray(image, graphics2d, RotateTransformationNearest1Op[2]); + } + + /** + * Test basic BitBlt operation for empty buffered image with type TYPE_USHORT_GRAY. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltEmptyBufferedImageTypeUshortGrayRotateTransformation3Nearest1Op(TestImage image, Graphics2D graphics2d) + { + return doBitBltEmptyBufferedImageTypeUshortGray(image, graphics2d, RotateTransformationNearest1Op[3]); + } + + /** + * Test basic BitBlt operation for empty buffered image with type TYPE_USHORT_GRAY. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltEmptyBufferedImageTypeUshortGrayRotateTransformation4Nearest1Op(TestImage image, Graphics2D graphics2d) + { + return doBitBltEmptyBufferedImageTypeUshortGray(image, graphics2d, RotateTransformationNearest1Op[4]); + } + + /** + Test basic BitBlt operation for empty buffered image with type TYPE_USHORT_GRAY. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltEmptyBufferedImageTypeUshortGrayRotateTransformation5Nearest1Op(TestImage image, Graphics2D graphics2d) + { + return doBitBltEmptyBufferedImageTypeUshortGray(image, graphics2d, RotateTransformationNearest1Op[5]); + } + + /** * Test basic BitBlt operation for checker buffered image with type TYPE_3BYTE_BGR. * * @param image From ptisnovs at icedtea.classpath.org Tue Apr 1 09:43:18 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Tue, 01 Apr 2014 09:43:18 +0000 Subject: /hg/rhino-tests: Added new tests testGetResourceAsStreamPositive... Message-ID: changeset e08cdeaa1aee in /hg/rhino-tests details: http://icedtea.classpath.org/hg/rhino-tests?cmd=changeset;node=e08cdeaa1aee author: Pavel Tisnovsky date: Tue Apr 01 11:44:02 2014 +0200 Added new tests testGetResourceAsStreamPositiveTest into ScriptEngineFactoryClassTest. diffstat: ChangeLog | 8 ++- src/org/RhinoTests/ScriptEngineFactoryClassTest.java | 61 ++++++++++++++++++++ 2 files changed, 68 insertions(+), 1 deletions(-) diffs (93 lines): diff -r 9d409b2379c5 -r e08cdeaa1aee ChangeLog --- a/ChangeLog Fri Mar 28 10:48:43 2014 +0100 +++ b/ChangeLog Tue Apr 01 11:44:02 2014 +0200 @@ -1,3 +1,9 @@ +2014-04-01 Pavel Tisnovsky + + * src/org/RhinoTests/ScriptEngineFactoryClassTest.java: + Added new tests testGetResourceAsStreamPositiveTest + into ScriptEngineFactoryClassTest. + 2014-03-28 Pavel Tisnovsky * src/org/RhinoTests/ScriptEngineClassTest.java: @@ -6,7 +12,7 @@ 2014-03-27 Pavel Tisnovsky * src/org/RhinoTests/ScriptEngineClassTest.java: - Added new tests testGetResourceAsStreamPositioveTest + Added new tests testGetResourceAsStreamPositiveTest into ScriptEngineClassTest. 2014-03-26 Pavel Tisnovsky diff -r 9d409b2379c5 -r e08cdeaa1aee src/org/RhinoTests/ScriptEngineFactoryClassTest.java --- a/src/org/RhinoTests/ScriptEngineFactoryClassTest.java Fri Mar 28 10:48:43 2014 +0100 +++ b/src/org/RhinoTests/ScriptEngineFactoryClassTest.java Tue Apr 01 11:44:02 2014 +0200 @@ -1880,6 +1880,67 @@ } /** + * Test for method javax.script.ScriptEngineFactory.getClass().getResourcePositiveTest() + */ + protected void testGetResourcePositiveTest() { + Object resource; + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/AbstractScriptEngineClassTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/AbstractScriptEngineClassTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/BaseRhinoTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/BaseRhinoTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/BindingsClassTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/BindingsClassTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/BindingsTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/BindingsTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/CompilableClassTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/CompilableClassTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/CompilableTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/CompilableTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/CompiledScriptClassTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/CompiledScriptClassTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/CompiledScriptTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/CompiledScriptTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/Constants.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/Constants.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/InvocableClassTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/InvocableClassTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/InvocableTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/InvocableTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/JavaScriptSnippets.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/JavaScriptSnippets.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/JavaScriptsTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/JavaScriptsTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/ScriptContextClassTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/ScriptContextClassTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/ScriptContextTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/ScriptContextTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/ScriptEngineClassTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/ScriptEngineClassTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/ScriptEngineFactoryClassTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/ScriptEngineFactoryClassTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/ScriptEngineFactoryTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/ScriptEngineFactoryTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/ScriptEngineManagerClassTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/ScriptEngineManagerClassTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/ScriptEngineManagerTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/ScriptEngineManagerTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/ScriptEngineTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/ScriptEngineTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/ScriptExceptionClassTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/ScriptExceptionClassTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/ScriptExceptionTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/ScriptExceptionTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/SimpleBindingsClassTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/SimpleBindingsClassTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/SimpleBindingsTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/SimpleBindingsTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/SimpleScriptContextClassTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/SimpleScriptContextClassTest.class\") returns null"); + resource = this.scriptEngineFactoryClass.getResource("/org/RhinoTests/SimpleScriptContextTest.class"); + assertNotNull(resource, "getResource(\"/org/RhinoTests/SimpleScriptContextTest.class\") returns null"); + } + + /** * Test for method javax.script.ScriptEngineFactory.getClass().getResourceAsStreamNegativeTest() */ protected void testGetResourceAsStreamNegativeTest() { From jvanek at redhat.com Tue Apr 1 09:45:36 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 01 Apr 2014 11:45:36 +0200 Subject: [rfc][icedtea-web] Translation of 1.5 In-Reply-To: <5339D12E.6060900@gmx.de> References: <53306BD5.8040902@redhat.com> <5339BACC.9060300@gmx.de> <5339C13C.4040807@redhat.com> <5339D12E.6060900@gmx.de> Message-ID: <533A8AC0.5080007@redhat.com> On 03/31/2014 10:33 PM, Jacob Wisor wrote: > On 03/31/2014 09:25 PM, Jiri Vanek wrote: >> On 03/31/2014 08:58 PM, Jacob Wisor wrote: >> Hello and thank you very much! >> >> >> Few nits: >> >> -BOredirect = Allow to follow 301, 302, 303, 307 and 308 redirections >> +BOredirect = Follows HTTP redirects. >> >> There are even ore then those 4 redirections. The missing two are *not* >> follwoed. So I would ratehr keep the numbers eg in brackets att the end of string. > > No. Remember KISS? Those HTTP response codes are a piece of information for the documentation (not > the UI). If anyone really needs to know the exact codes affected by this switch, this is where they > should/would look. I thought you will say something like this. So ok from my side (the CZ adaptation will follow after your push. > >> >> ... -> Expunge .. >> >> Expunge??? Isnt this error? :)) > > Does it sound too radical? :-D Well, "Purge" would be another suitable term. In any case, "Clear all > cache" sounds simply ..., lets say somehow awkward. So, this should better be adapted. > Oh regardless of the final text; there should really be a message box popping up and asking the user > to affirm this action, to prevent any accidental hitting of the button. ;-) > >> You yourself renamed it: >> -CONSOLEClean=Clean all >> +CONSOLEClean=Clear >> >> Which I personally probably do not care, but et least it should be used instead >> of Expunge, or not? I overlooekd: -CVCPCleanCache=Clean all cache +CVCPCleanCache=Expunge So ok on my side. > > Yeah, we could stick to "Clear" everywhere where applicable. This would make the language more > streamlined. > >>> Phew, I have finally made it. 1.5.1 has seen a lot new messages, far more than >>> I have initially >>> expected. But here they are. >>> >>> However, I was again occasionally grinding over the quite poor quality of many >>> English sources. >>> Therefore, I have made some tiny modifications to Messages.properties. The >>> modifications are meant >>> as proposals only and by far do not encompass all modification I would like to >>> make. >>> >>> As usual, localized messages are preceded by its original message as a comment >>> for your convenience >>> only while reviewing, and will be removed before committing. >> >> hmhmh - >> >> MissingPermissionsMainTitle >> ALACAMatchingMainTitle >> ALACAMissingMainTitle >> >> Are missing. I think the other ALACA nd Permission strings are also missing - >> are you ging to fix those? > > I have left those out on purpose because I was not sure whether these would change before release or > not, or maybe even after release. I think they are now final. > >> Also - how PL? > > I have made it through partially so far. So, as you can see, quite a lot of stuff has accumulated > since the last release, so it won't be before some time. Of course! For PL transaltion 1.5.1 can be released :) > >> >> >> whole test log: >> >> Warning! Items equals for: AboutDialogueTabGPLv2 = GPLv2 but are in allowed subset >> Warning! Items equals for: ButOk = OK but are in allowed subset >> Warning! Items equals for: LSFatal = Fatal but are in allowed subset >> Warning! Items equals for: COPcode = Code but are in allowed subset >> Warning! Items equals for: CVSystem = System but are in allowed subset >> Warning! Items equals for: COPinfo = Info but are in allowed subset >> Warning! Items equals for: CVDetails = Details but are in allowed subset >> Warning! Items equals for: PEOpenMenuItemMnemonic = 79 but are in allowed subset >> Warning! Items equals for: PEExitMenuItemMnemonic = 88 but are in allowed subset >> Warning! Items equals for: PESaveMenuItemMnemonic = 83 but are in allowed subset >> Warning! Items equals for: APSLabelFTP = FTP but are in allowed subset >> Warning! Items equals for: APPEXTSECguiPanelAppletInfoHederPart1 = {0} {1} but >> are in allowed subset >> Warning! Items equals for: PEAddCodebaseMnemonic = 78 but are in allowed subset >> Warning! Items equals for: APSLabelSocks = Socks but are in allowed subset >> Warning! Items equals for: SPLASHurlLooks = >> http://icedtea.classpath.org/wiki/IcedTea-Web but are in allowed subset >> Warning! Items equals for: COPjava = Java but are in allowed subset >> Warning! Items equals for: SPLASHurl = >> http://icedtea.classpath.org/wiki/IcedTea-Web#Filing_bugs but are in allowed subset >> Warning! Items equals for: Version = Version but are in allowed subset >> Warning! Items equals for: SPLASHhomepage = Homepage but are in allowed subset >> Warning! Items equals for: CVCPColName = Name but are in allowed subset > > Many of these seem to occur twice. Yes, even in the sources??? :-o > >> Warning! Items equals for: BAboutITW = The IcedTea-Web project provides a Free >> Software web browser plugin running applets written in the Java programming >> language and an implementation of Java Web Start, originally based on the NetX >> project. Visit the IcedTea-Web homepage: >> http://icedtea.classpath.org/wiki/IcedTea-Web . Use "man javaws" or "javaws >> -help" for more information. but are in allowed subset > > Yeah, I have realized that I had missed this one just after hitting the send button on my last e-mail. > >> Warning! Items equals for: COPitw = IcedTea-Web but are in allowed subset >> Warning! Items equals for: APSLabelHTTP = HTTP but are in allowed subset >> Warning! Items equals for: Name = Name but are in allowed subset >> Error! Items equals for: MissingPermissionsMainTitle = Application > color='red'> {0} from {1} is missing the >> permissions attribute. Applications without this attribute should not be >> trusted. Do you wish to allow this application to run? >> Warning! Items equals for: MissingPermissionsInfo = For more information you can >> visit:
> href="http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#permissions"> >> JAR File Manifest Attributes
and
> href="http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/no_redeploy.html"> >> Preventing the repurposing of Applications but are in allowed subset >> Warning! Items equals for: ALACAMissingInfo = For more information see:
> href="http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#app_library"> >> JAR File Manifest Attributes
and
> href="http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/no_redeploy.html"> >> Preventing the Repurposing of an Application but are in allowed subset >> Error! Items equals for: ALACAMatchingMainTitle = The application > color='red'> {0} from {1} uses resources from >> the following remote locations:
{2}
Are you sure you want to run this >> application? >> Warning! Items equals for: ALACAMatchingInfo = For more information you can >> visit:
> href="http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#app_library"> >> JAR File Manifest Attributes
and
> href="http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/no_redeploy.html"> >> Preventing the Repurposing of an Application but are in allowed subset >> Error! Items equals for: ALACAMissingMainTitle = The application > color='red'> {0} from {1} uses resources from >> the following remote locations: {2} Are you sure you want to run this application? > > These seem to have been added just recently. Well, at least after I started localizing. > > So, back to work! :-D Sure! No worries! Looking forward for email and do as you wish! J. the origianlly attache daptch is ok to push. Thanx! From jvanek at redhat.com Tue Apr 1 11:38:12 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 01 Apr 2014 13:38:12 +0200 Subject: [rfc][icedtea-web] Permissions manifest attribute fix In-Reply-To: <20140331213014.GD15901@redhat.com> References: <5339A5AC.1070004@redhat.com> <5339CBCC.4000508@redhat.com> <5339D185.5080905@redhat.com> <20140331213014.GD15901@redhat.com> Message-ID: <533AA524.8000405@redhat.com> On 03/31/2014 11:30 PM, Omair Majid wrote: > * Andrew Azores [2014-03-31 16:35]: >> On 03/31/2014 04:10 PM, Andrew Azores wrote: >>> On 03/31/2014 01:28 PM, Andrew Azores wrote: >>> Small refactor. Rather than the new RequestedPermissionLevel being >>> available from SecurityDesc and PluginBridge only, it's also >>> available from JNLPFile. PluginBridge, being a JNLPFile subclass, >>> then overrides the method and provides the correct implementation >>> for HTML applets. This just makes things more coherent IMO. >>> >>> Thanks, >>> >> >> And another, as discussed with Omair on IRC. Just extracted the >> common checks for HTML and JNLP into a new method and call this >> method once, before the split check for HTML/JNLP divergence. So >> long as the spec doesn't diverge the two any further, then this >> should be okay. Also remove an unnecessary typecast (made >> unnecessary in the last refactor due to new method and override, but >> forgot to fix). > > I am far from an expert on this code, so please take this 'review' with > a grain of salt. > > Also, I am a little hesitant about such (potentially) invasive code > going in at the last minute. > >> +++ b/netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java > >> + final RequestedPermissionLevel requested = file.getRequestedPermissionLevel(); >> + validateRequestedPermissionLevelMatchesManifestPermissions(requested, permissions); >> + if (file instanceof PluginBridge) { // HTML applet >> + if (requested == RequestedPermissionLevel.NONE) { >> + if (permissions == ManifestBoolean.TRUE && signing != SigningState.NONE) { >> + // http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#permissions >> + // FIXME: attempting to follow the spec, but it is too late now to actually set the applet >> + // to run in sandbox, so the applet will not be run at all, rather than run sandboxed! >> + //securityDelegate.setRunInSandbox(); > > I read this comment a few times and I couldn't figure out (without > asking you) how it relates to the current state. > > The "applet will not be run at all" bit completely threw me off. I read > this comment as: we can not set the sandbox state now (for some reason) > so by leaving this commented out, the applet will not run at all. Can > you clarify that not calling sandbox will let it run without any issues? > >> + if (requested == RequestedPermissionLevel.NONE) { >> + if (permissions == ManifestBoolean.TRUE && signing != SigningState.NONE) { > > Maybe call this variable `sandbox` rather than `permissions` to clarify > that TRUE means sandbox? I think that all *except* changes in ManifestAttributesChecker can go in as seaprate changeset. They are good an necessary to go. Nits - public enum RequestedPermissionLevel { + NONE, SANDBOX, J2SE, ALL + } may have toString, or if differe - toJnlpString and toHtmlString which will return the correct values, from which are created. NONE = > null or "null" SANDBOX => "sandbox" J2SE ALL It is defintley necessary to avoid duplicated, hardcoded strings. I also think that those strings already *are* somewhere in ITW! Well, I have not found it. So this can go later as separate chnageset, which will replace all hardcoed Strings with RequestedPermissionLevel.toString (including new, tests) Unittests for above functionality are attached As for ManifestAttributesChecker itself - why it is so complex??? I would expect you just repalce AppletSecurityLevel level = AppletStartupSecuritySettings.getInstance().getSecurityLevel(); by new getRequestedPermissionLevel Why the if nstacneof ? it seesm tome completely redundant... Thax for checking thi sissue and quick fix! J. -------------- next part -------------- diff -r 2670820a9609 tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java --- a/tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java Tue Apr 01 11:34:16 2014 +0200 +++ b/tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java Tue Apr 01 13:34:24 2014 +0200 @@ -277,4 +277,65 @@ Assert.assertFalse(downloadOptions.useExplicitPack()); Assert.assertFalse(downloadOptions.useExplicitVersion()); } + + + String minimalJnlp = "\n" + + "\n" + + " \n" + + " Parsing Test\n" + + " IcedTea\n" + + " \n" + + "\n" + + " \n" + + "SECURITY" + + ""; + + @Test + public void testGetRequestedPermissionLevel1() throws MalformedURLException, ParseException { + String jnlpContents = minimalJnlp.replace("SECURITY", ""); + URL codeBase = new URL("http://icedtea.classpath.org"); + InputStream is = new ByteArrayInputStream(jnlpContents.getBytes()); + JNLPFile jnlpFile = new JNLPFile(is, codeBase, new ParserSettings(false, false, false)); + Assert.assertEquals(SecurityDesc.RequestedPermissionLevel.NONE, jnlpFile.getRequestedPermissionLevel()); + } + + @Test + public void testGetRequestedPermissionLevel2() throws MalformedURLException, ParseException { + String jnlpContents = minimalJnlp.replace("SECURITY", ""); + + URL codeBase = new URL("http://icedtea.classpath.org"); + InputStream is = new ByteArrayInputStream(jnlpContents.getBytes()); + JNLPFile jnlpFile = new JNLPFile(is, codeBase, new ParserSettings(false, false, false)); + Assert.assertEquals(SecurityDesc.RequestedPermissionLevel.ALL, jnlpFile.getRequestedPermissionLevel()); + } + + @Test + public void testGetRequestedPermissionLevel3() throws MalformedURLException, ParseException { + String jnlpContents = minimalJnlp.replace("SECURITY", ""); + + URL codeBase = new URL("http://icedtea.classpath.org"); + InputStream is = new ByteArrayInputStream(jnlpContents.getBytes()); + JNLPFile jnlpFile = new JNLPFile(is, codeBase, new ParserSettings(false, false, false)); + Assert.assertEquals(SecurityDesc.RequestedPermissionLevel.NONE, jnlpFile.getRequestedPermissionLevel()); + } + + @Test + public void testGetRequestedPermissionLevel4() throws MalformedURLException, ParseException { + String jnlpContents = minimalJnlp.replace("SECURITY", "whatever"); + + URL codeBase = new URL("http://icedtea.classpath.org"); + InputStream is = new ByteArrayInputStream(jnlpContents.getBytes()); + JNLPFile jnlpFile = new JNLPFile(is, codeBase, new ParserSettings(false, false, false)); + Assert.assertEquals(SecurityDesc.RequestedPermissionLevel.NONE, jnlpFile.getRequestedPermissionLevel()); + } + + @Test + public void testGetRequestedPermissionLevel5() throws MalformedURLException, ParseException { + String jnlpContents = minimalJnlp.replace("SECURITY", ""); + + URL codeBase = new URL("http://icedtea.classpath.org"); + InputStream is = new ByteArrayInputStream(jnlpContents.getBytes()); + JNLPFile jnlpFile = new JNLPFile(is, codeBase, new ParserSettings(false, false, false)); + Assert.assertEquals(SecurityDesc.RequestedPermissionLevel.J2SE, jnlpFile.getRequestedPermissionLevel()); + } } diff -r 2670820a9609 tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java --- a/tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java Tue Apr 01 11:34:16 2014 +0200 +++ b/tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java Tue Apr 01 13:34:24 2014 +0200 @@ -107,6 +107,35 @@ assertEquals(desiredDomain + relativeLocation, mockCreator.getJNLPHref().toExternalForm()); } + + @Test + public void testgetRequestedPermissionLevel() throws MalformedURLException, Exception { + String desiredDomain = "http://desired.absolute.codebase.com"; + URL codeBase = new URL(desiredDomain + "/undesired/sub/dir"); + String relativeLocation = "/app/test/test.jnlp"; + PluginParameters params = createValidParamObject(); + params.put("jnlp_href", relativeLocation); + MockJNLPCreator mockCreator = new MockJNLPCreator(); + PluginBridge pb = new PluginBridge(codeBase, null, "", "", 0, 0, params, mockCreator); + assertEquals(pb.getRequestedPermissionLevel(), SecurityDesc.RequestedPermissionLevel.NONE); + + params.put("permissions","all-permissions"); + pb = new PluginBridge(codeBase, null, "", "", 0, 0, params, mockCreator); + assertEquals(pb.getRequestedPermissionLevel(), SecurityDesc.RequestedPermissionLevel.ALL); + + //unknown for applets! + params.put("permissions","j2ee-application-client-permissions"); + pb = new PluginBridge(codeBase, null, "", "", 0, 0, params, mockCreator); + assertEquals(pb.getRequestedPermissionLevel(), SecurityDesc.RequestedPermissionLevel.NONE); + + params.put("permissions","sandbox"); + pb = new PluginBridge(codeBase, null, "", "", 0, 0, params, mockCreator); + assertEquals(pb.getRequestedPermissionLevel(), SecurityDesc.RequestedPermissionLevel.SANDBOX); + + params.put("permissions","default"); + pb = new PluginBridge(codeBase, null, "", "", 0, 0, params, mockCreator); + assertEquals(pb.getRequestedPermissionLevel(), SecurityDesc.RequestedPermissionLevel.NONE); + } @Test public void testBase64StringDecoding() throws Exception { From gitne at gmx.de Tue Apr 1 12:08:58 2014 From: gitne at gmx.de (Jacob Wisor) Date: Tue, 01 Apr 2014 14:08:58 +0200 Subject: [icedtea-web] RFC: Minor fixes to ALACA dialog In-Reply-To: <53399BCC.4080808@redhat.com> References: <20140328222303.GE2812@redhat.com> <53397350.7030001@redhat.com> <20140331162651.GG2669@redhat.com> <53399BCC.4080808@redhat.com> Message-ID: <533AAC5A.3050805@gmx.de> On 03/31/2014 06:46 PM, Jiri Vanek wrote: > On 03/31/2014 06:26 PM, Omair Majid wrote: >> * Jiri Vanek [2014-03-31 09:54]: >>> Yes. This is ok to go. Also I'm for the compression of info >>> attribute. I think it is more wide spread. Then jsut in alaca. >> >> There is one other link with full link text: MissingPermissionsInfo. The >> attached patch fixes that. >> >> Thanks, >> Omair >> > I think you mat also fix the: > > form codebase {1} is missing the permissions > attribute. \ > > to rmeove the codebase word, in same manner as in case of ALACA. Err, why did you remove "codebase" here? Isn't {1} supposed to be substituted with the current Applet/Application's codebase? I'm asking because I am trying to figure out the meaning and purpose of these ALACA (btw, a terrible acronym :D ) messages while localizing. Jacob From gitne at gmx.de Tue Apr 1 12:20:51 2014 From: gitne at gmx.de (Jacob Wisor) Date: Tue, 01 Apr 2014 14:20:51 +0200 Subject: [icedtea-web] RFC: Minor fixes to ALACA dialog In-Reply-To: <20140331162651.GG2669@redhat.com> References: <20140328222303.GE2812@redhat.com> <53397350.7030001@redhat.com> <20140331162651.GG2669@redhat.com> Message-ID: <533AAF23.2040501@gmx.de> On 03/31/2014 06:26 PM, Omair Majid wrote: > * Jiri Vanek [2014-03-31 09:54]: >> Yes. This is ok to go. Also I'm for the compression of info >> attribute. I think it is more wide spread. Then jsut in alaca. > > There is one other link with full link text: MissingPermissionsInfo. The > attached patch fixes that. > > diff --git a/netx/net/sourceforge/jnlp/resources/Messages.properties b/netx > /net/sourceforge/jnlp/resources/Messages.properties > --- a/netx/net/sourceforge/jnlp/resources/Messages.properties > +++ b/netx/net/sourceforge/jnlp/resources/Messages.properties > @@ -56,9 +56,9 @@ > Applications without this attribute should not be trusted. Do you wish to > allow this application to run? > MissingPermissionsInfo=For more information you can visit:
\ > \ Don't you want to escape those href attribute's quotes (") with a backslash (\)? I am afraid the property file loader will get confused. And, that number sign character (#) should probably be escaped too so it doesn't get interpreted as a comment escape. I have not tested it yet, but this may also get the property file loader confused. > -http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security > /manifest.html#permissions
\ > +JAR File Manifest Attributes
\ > and
\ > -http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security > /no_redeploy.html > +Preventing the repurposing of Applications Same goes here. Jacob From aazores at redhat.com Tue Apr 1 13:12:22 2014 From: aazores at redhat.com (Andrew Azores) Date: Tue, 01 Apr 2014 09:12:22 -0400 Subject: [rfc][icedtea-web] Permissions manifest attribute fix In-Reply-To: <533AA524.8000405@redhat.com> References: <5339A5AC.1070004@redhat.com> <5339CBCC.4000508@redhat.com> <5339D185.5080905@redhat.com> <20140331213014.GD15901@redhat.com> <533AA524.8000405@redhat.com> Message-ID: <533ABB36.4000405@redhat.com> On 04/01/2014 07:38 AM, Jiri Vanek wrote: > On 03/31/2014 11:30 PM, Omair Majid wrote: >> * Andrew Azores [2014-03-31 16:35]: >>> On 03/31/2014 04:10 PM, Andrew Azores wrote: >>>> On 03/31/2014 01:28 PM, Andrew Azores wrote: >>>> Small refactor. Rather than the new RequestedPermissionLevel being >>>> available from SecurityDesc and PluginBridge only, it's also >>>> available from JNLPFile. PluginBridge, being a JNLPFile subclass, >>>> then overrides the method and provides the correct implementation >>>> for HTML applets. This just makes things more coherent IMO. >>>> >>>> Thanks, >>>> >>> >>> And another, as discussed with Omair on IRC. Just extracted the >>> common checks for HTML and JNLP into a new method and call this >>> method once, before the split check for HTML/JNLP divergence. So >>> long as the spec doesn't diverge the two any further, then this >>> should be okay. Also remove an unnecessary typecast (made >>> unnecessary in the last refactor due to new method and override, but >>> forgot to fix). >> >> I am far from an expert on this code, so please take this 'review' with >> a grain of salt. >> >> Also, I am a little hesitant about such (potentially) invasive code >> going in at the last minute. So am I, but it's because it's a fix for a security feature implementation that didn't quite work right, which was discovered with last minute testing... >> >>> +++ b/netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java >> >>> + final RequestedPermissionLevel requested = >>> file.getRequestedPermissionLevel(); >>> + >>> validateRequestedPermissionLevelMatchesManifestPermissions(requested, permissions); >>> >>> + if (file instanceof PluginBridge) { // HTML applet >>> + if (requested == RequestedPermissionLevel.NONE) { >>> + if (permissions == ManifestBoolean.TRUE && signing >>> != SigningState.NONE) { >>> + // >>> http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#permissions >>> + // FIXME: attempting to follow the spec, but it >>> is too late now to actually set the applet >>> + // to run in sandbox, so the applet will not be >>> run at all, rather than run sandboxed! >>> + //securityDelegate.setRunInSandbox(); >> >> I read this comment a few times and I couldn't figure out (without >> asking you) how it relates to the current state. >> >> The "applet will not be run at all" bit completely threw me off. I read >> this comment as: we can not set the sandbox state now (for some reason) >> so by leaving this commented out, the applet will not run at all. Can >> you clarify that not calling sandbox will let it run without any issues? The comment was meant to convey that if we did perform the sandbox call, in its current state, then it would block the applet from running at all, so it is commented out. The applet will currently be allowed to run, however it will not be automatically run sandboxed as defined in the spec. I edited the comment, hopefully it's clearer now. >> >>> + if (requested == RequestedPermissionLevel.NONE) { >>> + if (permissions == ManifestBoolean.TRUE && signing >>> != SigningState.NONE) { >> >> Maybe call this variable `sandbox` rather than `permissions` to clarify >> that TRUE means sandbox? > > I think that all *except* changes in ManifestAttributesChecker can go > in as seaprate changeset. They are good an necessary to go. > > Nits - > > public enum RequestedPermissionLevel { > + NONE, SANDBOX, J2SE, ALL > + } > > > may have toString, or if differe - toJnlpString and toHtmlString > which will return the correct values, from which are created. > > > > NONE = > null or "null" > SANDBOX => "sandbox" > J2SE > ALL Done in newest patch. > > It is defintley necessary to avoid duplicated, hardcoded strings. I > also think that those strings already *are* somewhere in ITW! Well, I > have not found it. So this can go later as separate chnageset, which > will replace all hardcoed Strings with > RequestedPermissionLevel.toString (including new, tests) > > > Unittests for above functionality are attached > > > As for ManifestAttributesChecker itself - why it is so complex??? Because the spec has a lot of cases? > > I would expect you just repalce > AppletSecurityLevel level = > AppletStartupSecuritySettings.getInstance().getSecurityLevel(); > by > new getRequestedPermissionLevel No, these do completely different things. The first one gets the security setting from itweb-settings and the second one tells you if the applet requested sandbox vs all-permission vs not requesting anything at all. > > > Why the if nstacneof ? it seesm tome completely redundant... The spec makes a distinction between applets which use JNLP and those which do not (so plugin applets). Do you have a proposal for dealing with this distinction otherwise? > > > Thax for checking thi sissue and quick fix! > > > J. > I also renamed a few of the variables in the ManifestAttributesChecker so that it should hopefully be more intuitive to read. If this is all still OK then I will go ahead and push everything minus the ManifestAttributesChecker, which I guess with more thorough testing can make it for 1.5.1. Until then, signed applets requesting sandbox permissions will be broken - unless the user chooses to employ the nifty new Sandbox button ;) Thanks, -- Andrew A -------------- next part -------------- A non-text attachment was scrubbed... Name: permissions-attr-check-4.patch Type: text/x-patch Size: 17991 bytes Desc: not available URL: From gitne at gmx.de Tue Apr 1 13:31:32 2014 From: gitne at gmx.de (Jacob Wisor) Date: Tue, 01 Apr 2014 15:31:32 +0200 Subject: [icedtea-web] RFC: Minor fixes to ALACA dialog In-Reply-To: <533AAF23.2040501@gmx.de> References: <20140328222303.GE2812@redhat.com> <53397350.7030001@redhat.com> <20140331162651.GG2669@redhat.com> <533AAF23.2040501@gmx.de> Message-ID: <533ABFB4.3010106@gmx.de> On 04/01/2014 02:20 PM, Jacob Wisor wrote: > On 03/31/2014 06:26 PM, Omair Majid wrote: >> * Jiri Vanek [2014-03-31 09:54]: >>> Yes. This is ok to go. Also I'm for the compression of info >>> attribute. I think it is more wide spread. Then jsut in alaca. >> >> There is one other link with full link text: MissingPermissionsInfo. The >> attached patch fixes that. > > > > diff --git a/netx/net/sourceforge/jnlp/resources/Messages.properties b/netx > > /net/sourceforge/jnlp/resources/Messages.properties > > --- a/netx/net/sourceforge/jnlp/resources/Messages.properties > > +++ b/netx/net/sourceforge/jnlp/resources/Messages.properties > > @@ -56,9 +56,9 @@ > > Applications without this attribute should not be trusted. Do you wish to > > allow this application to run? > > MissingPermissionsInfo=For more information you can visit:
\ > > \ > > Don't you want to escape those href attribute's quotes (") with a backslash (\)? > I am afraid the property file loader will get confused. > And, that number sign character (#) should probably be escaped too so it doesn't > get interpreted as a comment escape. I have not tested it yet, but this may also > get the property file loader confused. Tested it. It turns out my worries were needless. Sorry for bothering. Jacob From jvanek at redhat.com Tue Apr 1 14:03:04 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 01 Apr 2014 16:03:04 +0200 Subject: [icedtea-web] RFC: Minor fixes to ALACA dialog In-Reply-To: <533AAC5A.3050805@gmx.de> References: <20140328222303.GE2812@redhat.com> <53397350.7030001@redhat.com> <20140331162651.GG2669@redhat.com> <53399BCC.4080808@redhat.com> <533AAC5A.3050805@gmx.de> Message-ID: <533AC718.8060907@redhat.com> On 04/01/2014 02:08 PM, Jacob Wisor wrote: > On 03/31/2014 06:46 PM, Jiri Vanek wrote: >> On 03/31/2014 06:26 PM, Omair Majid wrote: >>> * Jiri Vanek [2014-03-31 09:54]: >>>> Yes. This is ok to go. Also I'm for the compression of info >>>> attribute. I think it is more wide spread. Then jsut in alaca. >>> >>> There is one other link with full link text: MissingPermissionsInfo. The >>> attached patch fixes that. >>> >>> Thanks, >>> Omair >>> >> I think you mat also fix the: >> >> form codebase {1} is missing the permissions >> attribute. \ >> >> to rmeove the codebase word, in same manner as in case of ALACA. > > Err, why did you remove "codebase" here? Isn't {1} supposed to be substituted with the current As the codebase is only provided url; in this text, it is a bit in extra. So it was removed for simplicity. > Applet/Application's codebase? > > I'm asking because I am trying to figure out the meaning and purpose of these ALACA (btw, a terrible > acronym :D ) messages while localizing. Best descritpion isunluckilly the http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#app_library itself :( > > Jacob > From aazores at icedtea.classpath.org Tue Apr 1 14:27:34 2014 From: aazores at icedtea.classpath.org (aazores at icedtea.classpath.org) Date: Tue, 01 Apr 2014 14:27:34 +0000 Subject: /hg/icedtea-web: Add RequestedPermissionLevel enum Message-ID: changeset fc9ab70d0b32 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=fc9ab70d0b32 author: Andrew Azores date: Tue Apr 01 10:27:16 2014 -0400 Add RequestedPermissionLevel enum Allows for the ability to distinguish between an applet being granted the default permissions for its signing state, and an applet explicitly requesting this permission level in its JNLP/HTML. eg signed plugin applet specifying all-permissions in its permissions param vs signed plugin applet with no permissions param at all. * netx/net/sourceforge/jnlp/SecurityDesc.java: (RequestedPermissionLevel) new enum to describe the permission level requested in an applet's JNLP/HTML. (requestedPermissionLevel) new field. (SecurityDesc) new constructor with RequestedPermissionLevel added. (getRequestedPermissionLevel) new method. * netx/net/sourceforge/jnlp/JNLPFile.java: (getRequestedPermissionLevel) new method * netx/net/sourceforge/jnlp/Parser.java: (getSecurity) construct SecurityDescs with correct RequestedPermissionLevel * netx/net/sourceforge/jnlp/PluginBridge.java: (getRequestedPermissionLevel) new overridden method * netx/net/sourceforge/jnlp/PluginParameters.java: (getPermissions) new method diffstat: ChangeLog | 30 ++++++- netx/net/sourceforge/jnlp/JNLPFile.java | 5 + netx/net/sourceforge/jnlp/Parser.java | 23 ++++-- netx/net/sourceforge/jnlp/PluginBridge.java | 17 ++++ netx/net/sourceforge/jnlp/PluginParameters.java | 4 + netx/net/sourceforge/jnlp/SecurityDesc.java | 92 ++++++++++++++++++++++++- 6 files changed, 155 insertions(+), 16 deletions(-) diffs (326 lines): diff -r 2670820a9609 -r fc9ab70d0b32 ChangeLog --- a/ChangeLog Tue Apr 01 11:34:16 2014 +0200 +++ b/ChangeLog Tue Apr 01 10:27:16 2014 -0400 @@ -1,16 +1,32 @@ -2013-04-01 Jiri Vanek +2014-04-01 Andrew Azores * netx/net/sourceforge/jnlp/resources/Messages_cs.properties: adapted to match newest state. (MissingPermissionsMainTitle) (MissingPermissionsInfo) (ALACAMissingMainTitle) (ALACAMissingInfo) (ALACAMatchingMainTitle) (ALACAMatchingInfo) removed codebase word, used text in all hrefs. -2013-04-01 Jiri Vanek +2014-04-01 Jiri Vanek Manual quotation in ClasspathMatcher regex replaced by Pattern.quote * netx/net/sourceforge/jnlp/util/ClasspathMatcher.java: (quote) is now using Pattern.quote instead manual \Q + original + \E -2013-04-01 Jiri Vanek +2014-04-01 Jiri Vanek Restricted CodebaseMatcher to not match aaexample.com by *.example.com expression but still match example.com - as in specification. @@ -22,13 +38,13 @@ focusing on aaexample.com/example.com/aaa.example.com in *.example.com both path and domain. -2013-03-31 Omair Majid +2014-03-31 Omair Majid * netx/net/sourceforge/jnlp/resources/Messages.properties (MissingPermissionsMainTitle): Remove 'codebase' (MissingPermissionsInfo): Use simple link title. -2013-03-31 Omair Majid +2014-03-31 Omair Majid * netx/net/sourceforge/jnlp/resources/Messages.properties (ALACAMissingMainTitle, ALACAMissingInfo ALACAMatchingMainTitle) @@ -37,7 +53,7 @@ * netx/net/sourceforge/jnlp/util/UrlUtils.java (setOfUrlsToHtmlList): Enclose list in 'ul' element. -2013-03-31 Jiri Vanek +2014-03-31 Jiri Vanek Allowed wrong match of the aaaexample.com by *.example.com expression as in specification. @@ -46,7 +62,7 @@ * tests/netx/unit/net/sourceforge/jnlp/util/ClasspathMatcherTest.java: (matchTest) uncommented and added tests of/for dot issue. -2013-03-31 Jiri Vanek +2014-03-31 Jiri Vanek Alexandr Kolouch Fixed cz_CS locales and adapted tests diff -r 2670820a9609 -r fc9ab70d0b32 netx/net/sourceforge/jnlp/JNLPFile.java --- a/netx/net/sourceforge/jnlp/JNLPFile.java Tue Apr 01 11:34:16 2014 +0200 +++ b/netx/net/sourceforge/jnlp/JNLPFile.java Tue Apr 01 10:27:16 2014 -0400 @@ -29,6 +29,7 @@ import java.util.Locale; import java.util.jar.Attributes; +import net.sourceforge.jnlp.SecurityDesc.RequestedPermissionLevel; import net.sourceforge.jnlp.cache.ResourceTracker; import net.sourceforge.jnlp.cache.UpdatePolicy; import net.sourceforge.jnlp.runtime.JNLPClassLoader; @@ -488,6 +489,10 @@ return security; } + public RequestedPermissionLevel getRequestedPermissionLevel() { + return this.security.getRequestedPermissionLevel(); + } + /** * Returns the resources section of the JNLP file as viewed * through the default locale and the os.name and os.arch diff -r 2670820a9609 -r fc9ab70d0b32 netx/net/sourceforge/jnlp/Parser.java --- a/netx/net/sourceforge/jnlp/Parser.java Tue Apr 01 11:34:16 2014 +0200 +++ b/netx/net/sourceforge/jnlp/Parser.java Tue Apr 01 10:27:16 2014 -0400 @@ -25,6 +25,7 @@ import java.net.*; import java.util.*; +import net.sourceforge.jnlp.SecurityDesc.RequestedPermissionLevel; import net.sourceforge.jnlp.UpdateDesc.Check; import net.sourceforge.jnlp.UpdateDesc.Policy; import net.sourceforge.jnlp.runtime.JNLPRuntime; @@ -595,20 +596,26 @@ throw new ParseException(R("PTwoSecurity")); Object type = SecurityDesc.SANDBOX_PERMISSIONS; + RequestedPermissionLevel requestedPermissionLevel = RequestedPermissionLevel.NONE; - if (nodes.length == 0) + if (nodes.length == 0) { type = SecurityDesc.SANDBOX_PERMISSIONS; - else if (null != getChildNode(nodes[0], "all-permissions")) + requestedPermissionLevel = RequestedPermissionLevel.NONE; + } else if (null != getChildNode(nodes[0], "all-permissions")) { type = SecurityDesc.ALL_PERMISSIONS; - else if (null != getChildNode(nodes[0], "j2ee-application-client-permissions")) + requestedPermissionLevel = RequestedPermissionLevel.ALL; + } else if (null != getChildNode(nodes[0], "j2ee-application-client-permissions")) { type = SecurityDesc.J2EE_PERMISSIONS; - else if (strict) + requestedPermissionLevel = RequestedPermissionLevel.J2EE; + } else if (strict) { throw new ParseException(R("PEmptySecurity")); + } - if (base != null) - return new SecurityDesc(file, type, base.getHost()); - else - return new SecurityDesc(file, type, null); + if (base != null) { + return new SecurityDesc(file, requestedPermissionLevel, type, base.getHost()); + } else { + return new SecurityDesc(file, requestedPermissionLevel, type, null); + } } /** diff -r 2670820a9609 -r fc9ab70d0b32 netx/net/sourceforge/jnlp/PluginBridge.java --- a/netx/net/sourceforge/jnlp/PluginBridge.java Tue Apr 01 11:34:16 2014 +0200 +++ b/netx/net/sourceforge/jnlp/PluginBridge.java Tue Apr 01 10:27:16 2014 -0400 @@ -36,6 +36,7 @@ import java.util.Map; import java.util.Set; +import net.sourceforge.jnlp.SecurityDesc.RequestedPermissionLevel; import net.sourceforge.jnlp.runtime.JNLPRuntime; import net.sourceforge.jnlp.util.logging.OutputController; import net.sourceforge.jnlp.util.replacements.BASE64Decoder; @@ -226,6 +227,22 @@ return useJNLPHref; } + @Override + public RequestedPermissionLevel getRequestedPermissionLevel() { + final String level = params.getPermissions(); + if (level == null) { + return RequestedPermissionLevel.NONE; + } else if (level.equals("default")) { + return RequestedPermissionLevel.NONE; + } else if (level.equals("sandbox")) { + return RequestedPermissionLevel.SANDBOX; + } else if (level.equals("all-permissions")) { + return RequestedPermissionLevel.ALL; + } else { + return RequestedPermissionLevel.NONE; + } + } + /** * {@inheritDoc } */ diff -r 2670820a9609 -r fc9ab70d0b32 netx/net/sourceforge/jnlp/PluginParameters.java --- a/netx/net/sourceforge/jnlp/PluginParameters.java Tue Apr 01 11:34:16 2014 +0200 +++ b/netx/net/sourceforge/jnlp/PluginParameters.java Tue Apr 01 10:27:16 2014 -0400 @@ -156,6 +156,10 @@ return Integer.valueOf(heightStr); } + public String getPermissions() { + return get("permissions"); + } + public void updateSize(int width, int height) { parameters.put("width", Integer.toString(width)); parameters.put("height", Integer.toString(height)); diff -r 2670820a9609 -r fc9ab70d0b32 netx/net/sourceforge/jnlp/SecurityDesc.java --- a/netx/net/sourceforge/jnlp/SecurityDesc.java Tue Apr 01 11:34:16 2014 +0200 +++ b/netx/net/sourceforge/jnlp/SecurityDesc.java Tue Apr 01 10:27:16 2014 -0400 @@ -34,6 +34,73 @@ */ public class SecurityDesc { + /** + * Represents the security level requested by an applet/application, as specified in its JNLP or HTML. + */ + public enum RequestedPermissionLevel { + NONE(null, null), + SANDBOX(null, "sandbox"), + J2EE("j2ee-applitcation-client-permissions", null), + ALL("all-permissions", "all-permissions"); + + private final String jnlpString, htmlString; + + private RequestedPermissionLevel(final String jnlpString, final String htmlString) { + this.jnlpString = jnlpString; + this.htmlString = htmlString; + } + + /** + * This permission level, as it would appear requested in a JNLP file. null if this level + * is NONE (unspecified) or cannot be requested in a JNLP file. + * @return the String level + */ + public String toJnlpString() { + return this.jnlpString; + } + + /** + * This permission level, as it would appear requested in an HTML file. null if this level + * is NONE (unspecified) or cannot be requested in an HTML file. + * @return the String level + */ + public String toHtmlString() { + return this.htmlString; + } + + /** + * The JNLP permission level corresponding to the given String. If null is given, null comes + * back. If there is no permission level that can be granted in JNLP matching the given String, + * null is also returned. + * @param jnlpString the JNLP permission String + * @return the matching RequestedPermissionLevel + */ + public RequestedPermissionLevel fromJnlpString(final String jnlpString) { + for (final RequestedPermissionLevel level : RequestedPermissionLevel.values()) { + if (level.jnlpString != null && level.jnlpString.equals(jnlpString)) { + return level; + } + } + return null; + } + + /** + * The HTML permission level corresponding to the given String. If null is given, null comes + * back. If there is no permission level that can be granted in HTML matching the given String, + * null is also returned. + * @param jnlpString the JNLP permission String + * @return the matching RequestedPermissionLevel + */ + public RequestedPermissionLevel fromHtmlString(final String htmlString) { + for (final RequestedPermissionLevel level : RequestedPermissionLevel.values()) { + if (level.htmlString != null && level.htmlString.equals(htmlString)) { + return level; + } + } + return null; + } + } + /* * We do not verify security here, the classloader deals with security */ @@ -47,6 +114,9 @@ /** J2EE permissions. */ public static final Object J2EE_PERMISSIONS = "J2SE"; + /** requested permissions type according to HTML or JNLP */ + private final RequestedPermissionLevel requestedPermissionLevel; + /** permissions type */ private Object type; @@ -147,14 +217,16 @@ * Create a security descriptor. * * @param file the JNLP file + * @param requestedPermissionLevel the permission level specified in the JNLP * @param type the type of security * @param downloadHost the download host (can always connect to) */ - public SecurityDesc(JNLPFile file, Object type, String downloadHost) { + public SecurityDesc(JNLPFile file, RequestedPermissionLevel requestedPermissionLevel, Object type, String downloadHost) { if (file == null) { throw new NullJnlpFileException(); } this.file = file; + this.requestedPermissionLevel = requestedPermissionLevel; this.type = type; this.downloadHost = downloadHost; @@ -165,6 +237,17 @@ } /** + * Create a security descriptor. + * + * @param file the JNLP file + * @param type the type of security + * @param downloadHost the download host (can always connect to) + */ + public SecurityDesc(JNLPFile file, Object type, String downloadHost) { + this(file, RequestedPermissionLevel.NONE, type, downloadHost); + } + + /** * Returns a Policy object that represents a custom policy to use instead * of granting {@link AllPermission} to a {@link CodeSource} * @@ -226,6 +309,13 @@ } /** + * @return the permission level requested in the JNLP + */ + public RequestedPermissionLevel getRequestedPermissionLevel() { + return requestedPermissionLevel; + } + + /** * Returns a PermissionCollection containing the sandbox permissions */ public PermissionCollection getSandBoxPermissions() { From jvanek at redhat.com Tue Apr 1 15:02:59 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 01 Apr 2014 17:02:59 +0200 Subject: [rfc][icedtea-web] Permissions manifest attribute fix In-Reply-To: <533ABB36.4000405@redhat.com> References: <5339A5AC.1070004@redhat.com> <5339CBCC.4000508@redhat.com> <5339D185.5080905@redhat.com> <20140331213014.GD15901@redhat.com> <533AA524.8000405@redhat.com> <533ABB36.4000405@redhat.com> Message-ID: <533AD523.5080900@redhat.com> On 04/01/2014 03:12 PM, Andrew Azores wrote: > On 04/01/2014 07:38 AM, Jiri Vanek wrote: >> On 03/31/2014 11:30 PM, Omair Majid wrote: >>> * Andrew Azores [2014-03-31 16:35]: >>>> On 03/31/2014 04:10 PM, Andrew Azores wrote: >>>>> On 03/31/2014 01:28 PM, Andrew Azores wrote: >>>>> Small refactor. Rather than the new RequestedPermissionLevel being >>>>> available from SecurityDesc and PluginBridge only, it's also >>>>> available from JNLPFile. PluginBridge, being a JNLPFile subclass, >>>>> then overrides the method and provides the correct implementation >>>>> for HTML applets. This just makes things more coherent IMO. >>>>> >>>>> Thanks, >>>>> >>>> >>>> And another, as discussed with Omair on IRC. Just extracted the >>>> common checks for HTML and JNLP into a new method and call this >>>> method once, before the split check for HTML/JNLP divergence. So >>>> long as the spec doesn't diverge the two any further, then this >>>> should be okay. Also remove an unnecessary typecast (made >>>> unnecessary in the last refactor due to new method and override, but >>>> forgot to fix). >>> >>> I am far from an expert on this code, so please take this 'review' with >>> a grain of salt. >>> >>> Also, I am a little hesitant about such (potentially) invasive code >>> going in at the last minute. > > So am I, but it's because it's a fix for a security feature implementation that didn't quite work > right, which was discovered with last minute testing... > >>> >>>> +++ b/netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java >>> >>>> + final RequestedPermissionLevel requested = file.getRequestedPermissionLevel(); >>>> + validateRequestedPermissionLevelMatchesManifestPermissions(requested, permissions); >>>> + if (file instanceof PluginBridge) { // HTML applet >>>> + if (requested == RequestedPermissionLevel.NONE) { >>>> + if (permissions == ManifestBoolean.TRUE && signing != SigningState.NONE) { >>>> + // >>>> http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#permissions >>>> + // FIXME: attempting to follow the spec, but it is too late now to actually >>>> set the applet >>>> + // to run in sandbox, so the applet will not be run at all, rather than run >>>> sandboxed! >>>> + //securityDelegate.setRunInSandbox(); >>> >>> I read this comment a few times and I couldn't figure out (without >>> asking you) how it relates to the current state. >>> >>> The "applet will not be run at all" bit completely threw me off. I read >>> this comment as: we can not set the sandbox state now (for some reason) >>> so by leaving this commented out, the applet will not run at all. Can >>> you clarify that not calling sandbox will let it run without any issues? > > The comment was meant to convey that if we did perform the sandbox call, in its current state, then > it would block the applet from running at all, so it is commented out. The applet will currently be > allowed to run, however it will not be automatically run sandboxed as defined in the spec. I edited > the comment, hopefully it's clearer now. > >>> >>>> + if (requested == RequestedPermissionLevel.NONE) { >>>> + if (permissions == ManifestBoolean.TRUE && signing != SigningState.NONE) { >>> >>> Maybe call this variable `sandbox` rather than `permissions` to clarify >>> that TRUE means sandbox? >> >> I think that all *except* changes in ManifestAttributesChecker can go in as seaprate changeset. >> They are good an necessary to go. >> >> Nits - >> >> public enum RequestedPermissionLevel { >> + NONE, SANDBOX, J2SE, ALL >> + } >> >> >> may have toString, or if differe - toJnlpString and toHtmlString which will return the correct >> values, from which are created. >> >> >> >> NONE = > null or "null" >> SANDBOX => "sandbox" >> J2SE >> ALL > > Done in newest patch. > >> >> It is defintley necessary to avoid duplicated, hardcoded strings. I also think that those strings >> already *are* somewhere in ITW! Well, I have not found it. So this can go later as separate >> chnageset, which will replace all hardcoed Strings with RequestedPermissionLevel.toString >> (including new, tests) >> >> >> Unittests for above functionality are attached >> >> >> As for ManifestAttributesChecker itself - why it is so complex??? > > Because the spec has a lot of cases? > >> >> I would expect you just repalce >> AppletSecurityLevel level = AppletStartupSecuritySettings.getInstance().getSecurityLevel(); >> by >> new getRequestedPermissionLevel > > No, these do completely different things. The first one gets the security setting from > itweb-settings and the second one tells you if the applet requested sandbox vs all-permission vs not > requesting anything at all. > >> >> >> Why the if nstacneof ? it seesm tome completely redundant... > > The spec makes a distinction between applets which use JNLP and those which do not (so plugin > applets). Do you have a proposal for dealing with this distinction otherwise? > >> >> >> Thax for checking thi sissue and quick fix! >> >> >> J. >> > > I also renamed a few of the variables in the ManifestAttributesChecker so that it should hopefully > be more intuitive to read. If this is all still OK then I will go ahead and push everything minus > the ManifestAttributesChecker, which I guess with more thorough testing can make it for 1.5.1. Until > then, signed applets requesting sandbox permissions will be broken - unless the user chooses to > employ the nifty new Sandbox button ;) > > Thanks, So here are the tests and small refactroiun using toHtml/toJnlp string where it had sense. Once approved, do you mind to post the main part of your patch? J. > -------------- next part -------------- A non-text attachment was scrubbed... Name: refactoredHardcodedStringsAndABitMore.patch Type: text/x-patch Size: 13190 bytes Desc: not available URL: From gitne at gmx.de Tue Apr 1 15:14:51 2014 From: gitne at gmx.de (Jacob Wisor) Date: Tue, 01 Apr 2014 17:14:51 +0200 Subject: [rfc][icedtea-web] DE translation of 1.5 (complete) In-Reply-To: <5339BACC.9060300@gmx.de> References: <53306BD5.8040902@redhat.com> <5339BACC.9060300@gmx.de> Message-ID: <533AD7EB.6000202@gmx.de> On 03/31/2014 08:58 PM, Jacob Wisor wrote: > Hello there! > > On 03/24/2014 06:31 PM, Jiri Vanek wrote: >> Hi guys! >> >> Is there any progress/eta or whatever? >> >> If not, Then I will probably release 1.5 with missing lines, and hope for 1.5.1 >> to bring the fix. >> >> Anyway for any case, I need some feedback to sync with you and rest of ITW. >> >> Thanx in advance, >> All the best >> J. > > Phew, I have finally made it. 1.5.1 has seen a lot new messages, far more than I > have initially expected. But here they are. > > However, I was again occasionally grinding over the quite poor quality of many > English sources. Therefore, I have made some tiny modifications to > Messages.properties. The modifications are meant as proposals only and by far do > not encompass all modification I would like to make. > > As usual, localized messages are preceded by its original message as a comment > for your convenience only while reviewing, and will be removed before committing. Superseding the previous rfc patch, here is my final complete patch for rfc. Thank you for reviewing. Jacob -------------- next part -------------- A non-text attachment was scrubbed... Name: DE localization for IcedTea-Web 1.5.patch Type: text/x-patch Size: 48126 bytes Desc: not available URL: From jvanek at redhat.com Tue Apr 1 15:27:17 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 01 Apr 2014 17:27:17 +0200 Subject: [rfc][icedtea-web] DE translation of 1.5 (complete) In-Reply-To: <533AD7EB.6000202@gmx.de> References: <53306BD5.8040902@redhat.com> <5339BACC.9060300@gmx.de> <533AD7EB.6000202@gmx.de> Message-ID: <533ADAD5.8040801@redhat.com> On 04/01/2014 05:14 PM, Jacob Wisor wrote: > On 03/31/2014 08:58 PM, Jacob Wisor wrote: >> Hello there! >> >> On 03/24/2014 06:31 PM, Jiri Vanek wrote: >>> Hi guys! >>> >>> Is there any progress/eta or whatever? >>> >>> If not, Then I will probably release 1.5 with missing lines, and hope for 1.5.1 >>> to bring the fix. >>> >>> Anyway for any case, I need some feedback to sync with you and rest of ITW. >>> >>> Thanx in advance, >>> All the best >>> J. >> >> Phew, I have finally made it. 1.5.1 has seen a lot new messages, far more than I >> have initially expected. But here they are. >> >> However, I was again occasionally grinding over the quite poor quality of many >> English sources. Therefore, I have made some tiny modifications to >> Messages.properties. The modifications are meant as proposals only and by far do >> not encompass all modification I would like to make. >> >> As usual, localized messages are preceded by its original message as a comment >> for your convenience only while reviewing, and will be removed before committing. > > Superseding the previous rfc patch, here is my final complete patch for rfc. > > Thank you for reviewing. > Magnificent! Do I recall correctly that we should not wait for PL?-( Only nit - Pelase remove "CPButPolicy" key and value from both DE and PL, it is removed from man file (and soa lso from CZ transaltion) After it. Ok to push! Thank *you* J. From aazores at redhat.com Tue Apr 1 15:28:50 2014 From: aazores at redhat.com (Andrew Azores) Date: Tue, 01 Apr 2014 11:28:50 -0400 Subject: [rfc][icedtea-web] Permissions manifest attribute fix In-Reply-To: <533AD523.5080900@redhat.com> References: <5339A5AC.1070004@redhat.com> <5339CBCC.4000508@redhat.com> <5339D185.5080905@redhat.com> <20140331213014.GD15901@redhat.com> <533AA524.8000405@redhat.com> <533ABB36.4000405@redhat.com> <533AD523.5080900@redhat.com> Message-ID: <533ADB32.9040502@redhat.com> On 04/01/2014 11:02 AM, Jiri Vanek wrote: > + public void testgetRequestedPermissionLevel() throws MalformedURLException, Exception { Capitalize the 'g' in 'get' please. Otherwise ok. Attached patch should be applied on top of yours. The differences from the previous versions are that it makes ManifestAttributesChecker 1) account for the DEFAULT value 2) attempt to setRunInSandbox, and if it fails, show an exception indicating to try the Sandbox button manually. As usual, testcase can be [0]. Without the patch applied, the applet is blocked due to being signed but requesting sandbox permissions. With the patch applied, choosing to run it normally gives a failure, suggesting you try running it in Sandbox manually. Running it in Sandbox manually allows the applet to run as expected. [0] http://docs.oracle.com/javase/tutorial/deployment/deploymentInDepth/examples/dist/depltoolkit_Java2Demo/DeployUsingJNLP.html Thanks, -- Andrew A -------------- next part -------------- A non-text attachment was scrubbed... Name: permissions-attr-check-fix-2.patch Type: text/x-patch Size: 8530 bytes Desc: not available URL: From jvanek at icedtea.classpath.org Tue Apr 1 15:45:55 2014 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Tue, 01 Apr 2014 15:45:55 +0000 Subject: /hg/icedtea-web: RequestedPermissionLevel - used instead of hard... Message-ID: changeset 0b2c5e69cb55 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=0b2c5e69cb55 author: Jiri Vanek date: Tue Apr 01 17:45:43 2014 +0200 RequestedPermissionLevel - used instead of hardcoded strings, aded tests for it, added DEFAULT, fixed J2EE diffstat: ChangeLog | 16 +- netx/net/sourceforge/jnlp/JNLPFile.java | 10 +- netx/net/sourceforge/jnlp/PluginBridge.java | 6 +- netx/net/sourceforge/jnlp/SecurityDesc.java | 4 +- tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java | 83 ++++++++++ tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java | 29 +++ tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java | 3 +- 7 files changed, 140 insertions(+), 11 deletions(-) diffs (239 lines): diff -r fc9ab70d0b32 -r 0b2c5e69cb55 ChangeLog --- a/ChangeLog Tue Apr 01 10:27:16 2014 -0400 +++ b/ChangeLog Tue Apr 01 17:45:43 2014 +0200 @@ -1,4 +1,18 @@ -2014-04-01 Andrew Azores + + * netx/net/sourceforge/jnlp/JNLPFile.java: hardcoded strings replaced by + SecurityDesc.RequestedPermissionLevel values. + * netx/net/sourceforge/jnlp/PluginBridge.java: likewise + * tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java: likewise + * tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java: added new tests + (testGetRequestedPermissionLevel1) - (testGetRequestedPermissionLevel7). + Added (minimalJnlp) field. + * tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java: added new + (testGetRequestedPermissionLevel) test. + * netx/net/sourceforge/jnlp/SecurityDesc.java: added (DEFAULT) into + (RequestedPermissionLevel) and fixed typo in (J2EE) jnlpValue + +2014-04-01 Andrew Azores * netx/net/sourceforge/jnlp/SecurityDesc.java: (RequestedPermissionLevel) new enum to describe the permission level requested in an applet's diff -r fc9ab70d0b32 -r 0b2c5e69cb55 netx/net/sourceforge/jnlp/JNLPFile.java --- a/netx/net/sourceforge/jnlp/JNLPFile.java Tue Apr 01 10:27:16 2014 -0400 +++ b/netx/net/sourceforge/jnlp/JNLPFile.java Tue Apr 01 17:45:43 2014 +0200 @@ -965,12 +965,12 @@ String s = getAttribute(PERMISSIONS); if (s == null) { return ManifestBoolean.UNDEFINED; - } else if (s.trim().equalsIgnoreCase("sandbox")) { + } else if (s.trim().equalsIgnoreCase(SecurityDesc.RequestedPermissionLevel.SANDBOX.toHtmlString())) { return ManifestBoolean.TRUE; - } else if (s.trim().equalsIgnoreCase("all-permissions")) { + } else if (s.trim().equalsIgnoreCase(SecurityDesc.RequestedPermissionLevel.ALL.toHtmlString())) { return ManifestBoolean.FALSE; } else { - throw new IllegalArgumentException("Unknown value of " + PERMISSIONS + " attribute " + s + ". Expected sandbox or all-permissions"); + throw new IllegalArgumentException("Unknown value of " + PERMISSIONS + " attribute " + s + ". Expected "+SecurityDesc.RequestedPermissionLevel.SANDBOX.toHtmlString()+" or "+SecurityDesc.RequestedPermissionLevel.ALL.toHtmlString()); } @@ -982,9 +982,9 @@ String s = getAttribute(PERMISSIONS); if (s == null) { return "Not defined"; - } else if (s.trim().equalsIgnoreCase("sandbox")) { + } else if (s.trim().equalsIgnoreCase(SecurityDesc.RequestedPermissionLevel.SANDBOX.toHtmlString())) { return s.trim(); - } else if (s.trim().equalsIgnoreCase("all-permissions")) { + } else if (s.trim().equalsIgnoreCase(SecurityDesc.RequestedPermissionLevel.ALL.toHtmlString())) { return s.trim(); } else { return "illegal"; diff -r fc9ab70d0b32 -r 0b2c5e69cb55 netx/net/sourceforge/jnlp/PluginBridge.java --- a/netx/net/sourceforge/jnlp/PluginBridge.java Tue Apr 01 10:27:16 2014 -0400 +++ b/netx/net/sourceforge/jnlp/PluginBridge.java Tue Apr 01 17:45:43 2014 +0200 @@ -232,11 +232,11 @@ final String level = params.getPermissions(); if (level == null) { return RequestedPermissionLevel.NONE; - } else if (level.equals("default")) { + } else if (level.equals(SecurityDesc.RequestedPermissionLevel.DEFAULT.toHtmlString())) { return RequestedPermissionLevel.NONE; - } else if (level.equals("sandbox")) { + } else if (level.equals(SecurityDesc.RequestedPermissionLevel.SANDBOX.toHtmlString())) { return RequestedPermissionLevel.SANDBOX; - } else if (level.equals("all-permissions")) { + } else if (level.equals(SecurityDesc.RequestedPermissionLevel.ALL.toHtmlString())) { return RequestedPermissionLevel.ALL; } else { return RequestedPermissionLevel.NONE; diff -r fc9ab70d0b32 -r 0b2c5e69cb55 netx/net/sourceforge/jnlp/SecurityDesc.java --- a/netx/net/sourceforge/jnlp/SecurityDesc.java Tue Apr 01 10:27:16 2014 -0400 +++ b/netx/net/sourceforge/jnlp/SecurityDesc.java Tue Apr 01 17:45:43 2014 +0200 @@ -39,10 +39,12 @@ */ public enum RequestedPermissionLevel { NONE(null, null), + DEFAULT(null, "default"), SANDBOX(null, "sandbox"), - J2EE("j2ee-applitcation-client-permissions", null), + J2EE("j2ee-application-client-permissions", null), ALL("all-permissions", "all-permissions"); + public static final String PERMISSIONS_NAME = "permissions"; private final String jnlpString, htmlString; private RequestedPermissionLevel(final String jnlpString, final String htmlString) { diff -r fc9ab70d0b32 -r 0b2c5e69cb55 tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java --- a/tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java Tue Apr 01 10:27:16 2014 -0400 +++ b/tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java Tue Apr 01 17:45:43 2014 +0200 @@ -277,4 +277,87 @@ Assert.assertFalse(downloadOptions.useExplicitPack()); Assert.assertFalse(downloadOptions.useExplicitVersion()); } + + + public static final String minimalJnlp = "\n" + + "\n" + + " \n" + + " Parsing Test\n" + + " IcedTea\n" + + " \n" + + "\n" + + " \n" + + "SECURITY" + + ""; + + @Test + public void testGetRequestedPermissionLevel1() throws MalformedURLException, ParseException { + String jnlpContents = minimalJnlp.replace("SECURITY", ""); + URL codeBase = new URL("http://icedtea.classpath.org"); + InputStream is = new ByteArrayInputStream(jnlpContents.getBytes()); + JNLPFile jnlpFile = new JNLPFile(is, codeBase, new ParserSettings(false, false, false)); + Assert.assertEquals(SecurityDesc.RequestedPermissionLevel.NONE, jnlpFile.getRequestedPermissionLevel()); + } + + @Test + public void testGetRequestedPermissionLevel2() throws MalformedURLException, ParseException { + String jnlpContents = minimalJnlp.replace("SECURITY", "<"+SecurityDesc.RequestedPermissionLevel.ALL.toJnlpString()+"/>"); + + URL codeBase = new URL("http://icedtea.classpath.org"); + InputStream is = new ByteArrayInputStream(jnlpContents.getBytes()); + JNLPFile jnlpFile = new JNLPFile(is, codeBase, new ParserSettings(false, false, false)); + Assert.assertEquals(SecurityDesc.RequestedPermissionLevel.ALL, jnlpFile.getRequestedPermissionLevel()); + } + + @Test + public void testGetRequestedPermissionLevel3() throws MalformedURLException, ParseException { + String jnlpContents = minimalJnlp.replace("SECURITY", ""); + + URL codeBase = new URL("http://icedtea.classpath.org"); + InputStream is = new ByteArrayInputStream(jnlpContents.getBytes()); + JNLPFile jnlpFile = new JNLPFile(is, codeBase, new ParserSettings(false, false, false)); + Assert.assertEquals(SecurityDesc.RequestedPermissionLevel.NONE, jnlpFile.getRequestedPermissionLevel()); + } + + @Test + public void testGetRequestedPermissionLevel4() throws MalformedURLException, ParseException { + String jnlpContents = minimalJnlp.replace("SECURITY", "whatever"); + + URL codeBase = new URL("http://icedtea.classpath.org"); + InputStream is = new ByteArrayInputStream(jnlpContents.getBytes()); + JNLPFile jnlpFile = new JNLPFile(is, codeBase, new ParserSettings(false, false, false)); + Assert.assertEquals(SecurityDesc.RequestedPermissionLevel.NONE, jnlpFile.getRequestedPermissionLevel()); + } + + @Test + public void testGetRequestedPermissionLevel5() throws MalformedURLException, ParseException { + String jnlpContents = minimalJnlp.replace("SECURITY", "<"+SecurityDesc.RequestedPermissionLevel.J2EE.toJnlpString()+"/>"); + + URL codeBase = new URL("http://icedtea.classpath.org"); + InputStream is = new ByteArrayInputStream(jnlpContents.getBytes()); + JNLPFile jnlpFile = new JNLPFile(is, codeBase, new ParserSettings(false, false, false)); + Assert.assertEquals(SecurityDesc.RequestedPermissionLevel.J2EE, jnlpFile.getRequestedPermissionLevel()); + } + + @Test + //unknown for jnlp + public void testGetRequestedPermissionLevel6() throws MalformedURLException, ParseException { + String jnlpContents = minimalJnlp.replace("SECURITY", "<" + SecurityDesc.RequestedPermissionLevel.SANDBOX.toHtmlString() + "/>"); + + URL codeBase = new URL("http://icedtea.classpath.org"); + InputStream is = new ByteArrayInputStream(jnlpContents.getBytes()); + JNLPFile jnlpFile = new JNLPFile(is, codeBase, new ParserSettings(false, false, false)); + Assert.assertEquals(SecurityDesc.RequestedPermissionLevel.NONE, jnlpFile.getRequestedPermissionLevel()); + } + + @Test + //unknown for jnlp + public void testGetRequestedPermissionLevel7() throws MalformedURLException, ParseException { + String jnlpContents = minimalJnlp.replace("SECURITY", "<" + SecurityDesc.RequestedPermissionLevel.DEFAULT.toHtmlString() + "/>"); + + URL codeBase = new URL("http://icedtea.classpath.org"); + InputStream is = new ByteArrayInputStream(jnlpContents.getBytes()); + JNLPFile jnlpFile = new JNLPFile(is, codeBase, new ParserSettings(false, false, false)); + Assert.assertEquals(SecurityDesc.RequestedPermissionLevel.NONE, jnlpFile.getRequestedPermissionLevel()); + } } diff -r fc9ab70d0b32 -r 0b2c5e69cb55 tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java --- a/tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java Tue Apr 01 10:27:16 2014 -0400 +++ b/tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java Tue Apr 01 17:45:43 2014 +0200 @@ -107,6 +107,35 @@ assertEquals(desiredDomain + relativeLocation, mockCreator.getJNLPHref().toExternalForm()); } + + @Test + public void testGetRequestedPermissionLevel() throws MalformedURLException, Exception { + String desiredDomain = "http://desired.absolute.codebase.com"; + URL codeBase = new URL(desiredDomain + "/undesired/sub/dir"); + String relativeLocation = "/app/test/test.jnlp"; + PluginParameters params = createValidParamObject(); + params.put("jnlp_href", relativeLocation); + MockJNLPCreator mockCreator = new MockJNLPCreator(); + PluginBridge pb = new PluginBridge(codeBase, null, "", "", 0, 0, params, mockCreator); + assertEquals(pb.getRequestedPermissionLevel(), SecurityDesc.RequestedPermissionLevel.NONE); + + params.put(SecurityDesc.RequestedPermissionLevel.PERMISSIONS_NAME,SecurityDesc.RequestedPermissionLevel.ALL.toHtmlString()); + pb = new PluginBridge(codeBase, null, "", "", 0, 0, params, mockCreator); + assertEquals(pb.getRequestedPermissionLevel(), SecurityDesc.RequestedPermissionLevel.ALL); + + //unknown for applets! + params.put(SecurityDesc.RequestedPermissionLevel.PERMISSIONS_NAME, SecurityDesc.RequestedPermissionLevel.J2EE.toJnlpString()); + pb = new PluginBridge(codeBase, null, "", "", 0, 0, params, mockCreator); + assertEquals(pb.getRequestedPermissionLevel(), SecurityDesc.RequestedPermissionLevel.NONE); + + params.put(SecurityDesc.RequestedPermissionLevel.PERMISSIONS_NAME, SecurityDesc.RequestedPermissionLevel.SANDBOX.toHtmlString()); + pb = new PluginBridge(codeBase, null, "", "", 0, 0, params, mockCreator); + assertEquals(pb.getRequestedPermissionLevel(), SecurityDesc.RequestedPermissionLevel.SANDBOX); + + params.put(SecurityDesc.RequestedPermissionLevel.PERMISSIONS_NAME, SecurityDesc.RequestedPermissionLevel.DEFAULT.toHtmlString()); + pb = new PluginBridge(codeBase, null, "", "", 0, 0, params, mockCreator); + assertEquals(pb.getRequestedPermissionLevel(), SecurityDesc.RequestedPermissionLevel.NONE); + } @Test public void testBase64StringDecoding() throws Exception { diff -r fc9ab70d0b32 -r 0b2c5e69cb55 tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java --- a/tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java Tue Apr 01 10:27:16 2014 -0400 +++ b/tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java Tue Apr 01 17:45:43 2014 +0200 @@ -44,6 +44,7 @@ import java.util.jar.Manifest; import net.sourceforge.jnlp.InformationDesc; import net.sourceforge.jnlp.JNLPFile; +import net.sourceforge.jnlp.SecurityDesc; import net.sourceforge.jnlp.cache.UpdatePolicy; import net.sourceforge.jnlp.config.DeploymentConfiguration; import net.sourceforge.jnlp.mock.DummyJNLPFileWithJar; @@ -175,7 +176,7 @@ Assert.assertEquals("*.com https://*.cz", jnlpFile.getManifestsAttributes().getAttribute(new Attributes.Name(JNLPFile.ManifestsAttributes.APP_LIBRARY_ALLOWABLE))); Assert.assertEquals("*.net ftp://*uu.co.uk", jnlpFile.getManifestsAttributes().getAttribute(new Attributes.Name(JNLPFile.ManifestsAttributes.CALLER_ALLOWABLE))); Assert.assertEquals("*.com *.net *.cz *.co.uk", jnlpFile.getManifestsAttributes().getAttribute(new Attributes.Name(JNLPFile.ManifestsAttributes.CODEBASE))); - Assert.assertEquals("sandbox", jnlpFile.getManifestsAttributes().getAttribute(new Attributes.Name(JNLPFile.ManifestsAttributes.PERMISSIONS))); + Assert.assertEquals(SecurityDesc.RequestedPermissionLevel.SANDBOX.toHtmlString(), jnlpFile.getManifestsAttributes().getAttribute(new Attributes.Name(JNLPFile.ManifestsAttributes.PERMISSIONS))); Assert.assertEquals("false", jnlpFile.getManifestsAttributes().getAttribute(new Attributes.Name(JNLPFile.ManifestsAttributes.TRUSTED_LIBRARY))); Assert.assertEquals("false", jnlpFile.getManifestsAttributes().getAttribute(new Attributes.Name(JNLPFile.ManifestsAttributes.TRUSTED_ONLY))); From jvanek at redhat.com Tue Apr 1 15:46:57 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 01 Apr 2014 17:46:57 +0200 Subject: [rfc][icedtea-web] Permissions manifest attribute fix In-Reply-To: <533ADB32.9040502@redhat.com> References: <5339A5AC.1070004@redhat.com> <5339CBCC.4000508@redhat.com> <5339D185.5080905@redhat.com> <20140331213014.GD15901@redhat.com> <533AA524.8000405@redhat.com> <533ABB36.4000405@redhat.com> <533AD523.5080900@redhat.com> <533ADB32.9040502@redhat.com> Message-ID: <533ADF71.70708@redhat.com> On 04/01/2014 05:28 PM, Andrew Azores wrote: > On 04/01/2014 11:02 AM, Jiri Vanek wrote: >> + public void testgetRequestedPermissionLevel() throws MalformedURLException, Exception { > > Capitalize the 'g' in 'get' please. Otherwise ok. > > Attached patch should be applied on top of yours. The differences from the previous versions are > that it makes ManifestAttributesChecker 1) account for the DEFAULT value 2) attempt to > setRunInSandbox, and if it fails, show an exception indicating to try the Sandbox button manually. > As usual, testcase can be [0]. Without the patch applied, the applet is blocked due to being signed > but requesting sandbox permissions. With the patch applied, choosing to run it normally gives a > failure, suggesting you try running it in Sandbox manually. Running it in Sandbox manually allows > the applet to run as expected. > > [0] > http://docs.oracle.com/javase/tutorial/deployment/deploymentInDepth/examples/dist/depltoolkit_Java2Demo/DeployUsingJNLP.html > > > Thanks, > ok. My part pushed. An I think your patch is the best what we can do for now. Ok for head. J. From aazores at icedtea.classpath.org Tue Apr 1 15:51:24 2014 From: aazores at icedtea.classpath.org (aazores at icedtea.classpath.org) Date: Tue, 01 Apr 2014 15:51:24 +0000 Subject: /hg/icedtea-web: Fix Permissions manifest attribute check Message-ID: changeset c310c9e44597 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=c310c9e44597 author: Andrew Azores date: Tue Apr 01 11:51:13 2014 -0400 Fix Permissions manifest attribute check * netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java: (isNoneOrDefault) new method. (validateRequestedPermissionLevelMatchesManifestPermissions) new method. (checkPermissionsAttribute) rework to closer match spec and fix bug in not allowing signed applets to request sandbox permissions. diffstat: ChangeLog | 9 + netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java | 83 ++++++--- 2 files changed, 62 insertions(+), 30 deletions(-) diffs (126 lines): diff -r 0b2c5e69cb55 -r c310c9e44597 ChangeLog --- a/ChangeLog Tue Apr 01 17:45:43 2014 +0200 +++ b/ChangeLog Tue Apr 01 11:51:13 2014 -0400 @@ -1,3 +1,12 @@ +2014-04-01 Andrew Azores + + Fix Permissions manifest attribute check + * netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java: + (isNoneOrDefault) new method. + (validateRequestedPermissionLevelMatchesManifestPermissions) new method. + (checkPermissionsAttribute) rework to closer match spec and fix bug in not + allowing signed applets to request sandbox permissions. + 2014-04-01 Jiri Vanek * netx/net/sourceforge/jnlp/JNLPFile.java: hardcoded strings replaced by diff -r 0b2c5e69cb55 -r c310c9e44597 netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java --- a/netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java Tue Apr 01 17:45:43 2014 +0200 +++ b/netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java Tue Apr 01 11:51:13 2014 -0400 @@ -44,6 +44,7 @@ import net.sourceforge.jnlp.JARDesc; import net.sourceforge.jnlp.JNLPFile; import net.sourceforge.jnlp.JNLPFile.ManifestBoolean; +import net.sourceforge.jnlp.SecurityDesc.RequestedPermissionLevel; import net.sourceforge.jnlp.LaunchException; import net.sourceforge.jnlp.PluginBridge; import net.sourceforge.jnlp.ResourcesDesc; @@ -167,46 +168,68 @@ * http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#permissions */ private void checkPermissionsAttribute() throws LaunchException { - final ManifestBoolean permissions = file.getManifestsAttributes().isSandboxForced(); - AppletSecurityLevel level = AppletStartupSecuritySettings.getInstance().getSecurityLevel(); - if (level == AppletSecurityLevel.ALLOW_UNSIGNED || securityDelegate.getRunInSandbox()) { + final ManifestBoolean sandboxForced = file.getManifestsAttributes().isSandboxForced(); + final AppletSecurityLevel itwSecurityLevel = AppletStartupSecuritySettings.getInstance().getSecurityLevel(); + if (itwSecurityLevel == AppletSecurityLevel.ALLOW_UNSIGNED || securityDelegate.getRunInSandbox()) { OutputController.getLogger().log(OutputController.Level.WARNING_ALL, "Although 'permissions' attribute of this application is '" + file.getManifestsAttributes().permissionsToString() + "' Your Extended applets security is at 'low', or you have specifically chosen to run the applet Sandboxed. Continuing"); return; } - switch (permissions) { - case UNDEFINED: { - if (level == AppletSecurityLevel.DENY_UNSIGNED) { - throw new LaunchException("Your Extended applets security is at 'Very high', and this application is missing the 'permissions' attribute in manifest. This is fatal"); + + if (sandboxForced == ManifestBoolean.UNDEFINED) { + if (itwSecurityLevel == AppletSecurityLevel.DENY_UNSIGNED) { + throw new LaunchException("Your Extended applets security is at 'Very high', and this application is missing the 'permissions' attribute in manifest. This is fatal"); + } + if (itwSecurityLevel == AppletSecurityLevel.ASK_UNSIGNED) { + final boolean userApproved = SecurityDialogs.showMissingPermissionsAttributeDialogue(file.getTitle(), file.getCodeBase()); + if (!userApproved) { + throw new LaunchException("Your Extended applets security is at 'high' and this application is missing the 'permissions' attribute in manifest. And you have refused to run it."); + } else { + OutputController.getLogger().log("Your Extended applets security is at 'high' and this application is missing the 'permissions' attribute in manifest. And you have allowed to run it."); + return; } - if (level == AppletSecurityLevel.ASK_UNSIGNED) { - boolean a = SecurityDialogs.showMissingPermissionsAttributeDialogue(file.getTitle(), file.getCodeBase()); - if (!a) { - throw new LaunchException("Your Extended applets security is at 'high' and this applicationis missing the 'permissions' attribute in manifest. And you have refused to run it."); - } else { - OutputController.getLogger().log("Your Extended applets security is at 'high' and this applicationis missing the 'permissions' attribute in manifest. And you have allowed to run it."); + } + } + + final RequestedPermissionLevel requestedPermissions = file.getRequestedPermissionLevel(); + validateRequestedPermissionLevelMatchesManifestPermissions(requestedPermissions, sandboxForced); + if (file instanceof PluginBridge) { // HTML applet + if (isNoneOrDefault(requestedPermissions)) { + if (sandboxForced == ManifestBoolean.TRUE && signing != SigningState.NONE) { + // http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#permissions + // FIXME: attempting to follow the spec, but it is too late now to actually set the applet + // to run in sandbox. If we do this the applet will not be run at all, rather than run sandboxed! + try { + securityDelegate.setRunInSandbox(); + } catch (final LaunchException e) { + OutputController.getLogger().log(e); + throw new LaunchException("The applet is signed but its manifest specifies Sandbox permissions. This is not yet supported. Try running the applet again, but choose the Sandbox run option.", e); } } - //default for missing is sandbox - if (!SecurityDesc.SANDBOX_PERMISSIONS.equals(security.getSecurityType())) { - throw new LaunchException("The 'permissions' attribute is not specified, and application is requesting permissions. This is fatal"); + } + } else { // JNLP + if (isNoneOrDefault(requestedPermissions)) { + if (sandboxForced == ManifestBoolean.TRUE && signing != SigningState.NONE) { + throw new LaunchException("The 'permissions' attribute is '" + file.getManifestsAttributes().permissionsToString() + "' and the applet is signed. This is fatal."); } - break; - } - case TRUE: { - if (SecurityDesc.SANDBOX_PERMISSIONS.equals(security.getSecurityType())) { - OutputController.getLogger().log("The permissions attribute of this application is " + file.getManifestsAttributes().permissionsToString() + "' and security is '" + security.getSecurityType() + "'. Thats correct"); - } else { - throw new LaunchException("The 'permissions' attribute is '" + file.getManifestsAttributes().permissionsToString() + "' but security is '" + security.getSecurityType() + "'. This is fatal"); + if (sandboxForced == ManifestBoolean.FALSE && signing == SigningState.NONE) { + throw new LaunchException("The 'permissions' attribute is '" + file.getManifestsAttributes().permissionsToString() + "' and the applet is unsigned. This is fatal."); } } - case FALSE: { - if (SecurityDesc.SANDBOX_PERMISSIONS.equals(security.getSecurityType())) { - throw new LaunchException("The 'permissions' attribute is '" + file.getManifestsAttributes().permissionsToString() + "' but security is' " + security.getSecurityType() + "'. This is fatal"); - } else { - OutputController.getLogger().log("The permissions attribute of this application is '" + file.getManifestsAttributes().permissionsToString() + "' and security is '" + security.getSecurityType() + "'. Thats correct"); - } - } + } + } + + private static boolean isNoneOrDefault(final RequestedPermissionLevel requested) { + return requested == RequestedPermissionLevel.NONE || requested == RequestedPermissionLevel.DEFAULT; + } + + private void validateRequestedPermissionLevelMatchesManifestPermissions(final RequestedPermissionLevel requested, final ManifestBoolean sandboxForced) throws LaunchException { + if (requested == RequestedPermissionLevel.ALL && sandboxForced != ManifestBoolean.FALSE) { + throw new LaunchException("The 'permissions' attribute is '" + file.getManifestsAttributes().permissionsToString() + "' but the applet requested " + requested + ". This is fatal"); + } + + if (requested == RequestedPermissionLevel.SANDBOX && sandboxForced != ManifestBoolean.TRUE) { + throw new LaunchException("The 'permissions' attribute is '" + file.getManifestsAttributes().permissionsToString() + "' but the applet requested " + requested + ". This is fatal"); } } From gitne at gmx.de Tue Apr 1 17:13:41 2014 From: gitne at gmx.de (Jacob Wisor) Date: Tue, 01 Apr 2014 19:13:41 +0200 Subject: [rfc][icedtea-web] DE translation of 1.5 (complete) In-Reply-To: <533ADAD5.8040801@redhat.com> References: <53306BD5.8040902@redhat.com> <5339BACC.9060300@gmx.de> <533AD7EB.6000202@gmx.de> <533ADAD5.8040801@redhat.com> Message-ID: <533AF3C5.2010707@gmx.de> On 04/01/2014 05:27 PM, Jiri Vanek wrote: > On 04/01/2014 05:14 PM, Jacob Wisor wrote: >> On 03/31/2014 08:58 PM, Jacob Wisor wrote: >>> Hello there! >>> >>> On 03/24/2014 06:31 PM, Jiri Vanek wrote: >>>> Hi guys! >>>> >>>> Is there any progress/eta or whatever? >>>> >>>> If not, Then I will probably release 1.5 with missing lines, and hope for 1.5.1 >>>> to bring the fix. >>>> >>>> Anyway for any case, I need some feedback to sync with you and rest of ITW. >>>> >>>> Thanx in advance, >>>> All the best >>>> J. >>> >>> Phew, I have finally made it. 1.5.1 has seen a lot new messages, far more than I >>> have initially expected. But here they are. >>> >>> However, I was again occasionally grinding over the quite poor quality of many >>> English sources. Therefore, I have made some tiny modifications to >>> Messages.properties. The modifications are meant as proposals only and by far do >>> not encompass all modification I would like to make. >>> >>> As usual, localized messages are preceded by its original message as a comment >>> for your convenience only while reviewing, and will be removed before >>> committing. >> >> Superseding the previous rfc patch, here is my final complete patch for rfc. >> >> Thank you for reviewing. >> > > Magnificent! > > Do I recall correctly that we should not wait for PL?-( I'm on it. Anyway, while fixes are still coming in, I would advise to wait. Use this "extra" time! ;-) I have never understood the prevalent rush-to-release culture just because someone has set an arbitrary release date. Does a writer or painter unveil his art work just because the clock just struck twelve? No, they keep on working and polish it (unless of course working against the clock is part of the art). I am an old fashioned guy when it comes to release culture and quality of software, and I'm proud of it. I don't like rushing things. If people call me "slow" because of this, then it's their problem. :-P > Only nit - Pelase remove "CPButPolicy" key and value from both DE and PL, it is > removed from man file (and soa lso from CZ transaltion) > > After it. Ok to push! Okay, but please let us have the patch just sit there for some more time, just for review, at least until I have posted the PL localization patch for rfc. Well, this is what I am going to do. I won't push this patch until I have the PL patch ready for rfc. Of course, I cannot hold back anybody from pushing this patch themselves, so it is as it is. Jacob From andrew at icedtea.classpath.org Wed Apr 2 01:20:24 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 02 Apr 2014 01:20:24 +0000 Subject: /hg/release/icedtea7-forest-2.5: 11 new changesets Message-ID: changeset d4397128f8b6 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=d4397128f8b6 author: katleman date: Thu Jan 16 11:51:48 2014 -0800 Added tag jdk7u60-b03 for changeset 87f2193da40d changeset ea798405286d in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=ea798405286d author: katleman date: Wed Jan 22 12:33:35 2014 -0800 Added tag jdk7u60-b04 for changeset d4397128f8b6 changeset b0940b205cab in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=b0940b205cab author: katleman date: Wed Feb 05 12:30:49 2014 -0800 Added tag jdk7u60-b05 for changeset ea798405286d changeset cae7bacaa13b in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=cae7bacaa13b author: katleman date: Wed Feb 12 14:56:09 2014 -0800 Added tag jdk7u60-b06 for changeset b0940b205cab changeset 1af056061146 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=1af056061146 author: katleman date: Wed Feb 19 14:03:56 2014 -0800 Added tag jdk7u60-b07 for changeset cae7bacaa13b changeset 662dc3b64674 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=662dc3b64674 author: katleman date: Wed Feb 26 12:46:02 2014 -0800 Added tag jdk7u60-b08 for changeset 1af056061146 changeset 023f8eb40d37 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=023f8eb40d37 author: katleman date: Wed Mar 05 12:26:38 2014 -0800 Added tag jdk7u60-b09 for changeset 662dc3b64674 changeset 798468b91bcb in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=798468b91bcb author: katleman date: Wed Mar 12 14:35:12 2014 -0700 Added tag jdk7u60-b10 for changeset 023f8eb40d37 changeset e40360c10b2c in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=e40360c10b2c author: katleman date: Wed Mar 19 10:04:00 2014 -0700 Added tag jdk7u60-b11 for changeset 798468b91bcb changeset 5e540a4d5591 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=5e540a4d5591 author: katleman date: Wed Mar 26 09:27:55 2014 -0700 Added tag jdk7u60-b12 for changeset e40360c10b2c changeset 9e3f6f4585c5 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=9e3f6f4585c5 author: andrew date: Wed Apr 02 02:15:57 2014 +0100 Merge jdk7u60-b12 diffstat: .hgtags | 25 + .jcheck/conf | 2 - README-ppc.html | 689 +++++++++++++++++++++++++++++++++++++++++++++++++ make/Defs-internal.gmk | 15 +- make/hotspot-rules.gmk | 14 + make/jdk-rules.gmk | 4 + 6 files changed, 746 insertions(+), 3 deletions(-) diffs (truncated from 881 to 500 lines): diff -r 87f2193da40d -r 9e3f6f4585c5 .hgtags --- a/.hgtags Tue Dec 31 09:38:17 2013 -0800 +++ b/.hgtags Wed Apr 02 02:15:57 2014 +0100 @@ -50,6 +50,7 @@ 3ac6dcf7823205546fbbc3d4ea59f37358d0b0d4 jdk7-b73 2c88089b6e1c053597418099a14232182c387edc jdk7-b74 d1516b9f23954b29b8e76e6f4efc467c08c78133 jdk7-b75 +f0bfd9bd1a0e674288a8a4d17dcbb9e632b42e6d icedtea7-1.12 c8b63075403d53a208104a8a6ea5072c1cb66aab jdk7-b76 1f17ca8353babb13f4908c1f87d11508232518c8 jdk7-b77 ab4ae8f4514693a9fe17ca2fec0239d8f8450d2c jdk7-b78 @@ -63,6 +64,7 @@ 433a60a9c0bf1b26ee7e65cebaa89c541f497aed jdk7-b86 6b1069f53fbc30663ccef49d78c31bb7d6967bde jdk7-b87 82135c848d5fcddb065e98ae77b81077c858f593 jdk7-b88 +195fcceefddce1963bb26ba32920de67806ed2db icedtea7-1.13 7f1ba4459972bf84b8201dc1cc4f62b1fe1c74f4 jdk7-b89 425ba3efabbfe0b188105c10aaf7c3c8fa8d1a38 jdk7-b90 97d8b6c659c29c8493a8b2b72c2796a021a8cf79 jdk7-b91 @@ -111,6 +113,7 @@ ddc2fcb3682ffd27f44354db666128827be7e3c3 jdk7-b134 783bd02b4ab4596059c74b10a1793d7bd2f1c157 jdk7-b135 2fe76e73adaa5133ac559f0b3c2c0707eca04580 jdk7-b136 +d4aea1a51d625f5601c840714c7c94f1de5bc1af icedtea-1.14 7654afc6a29e43cb0a1343ce7f1287bf690d5e5f jdk7-b137 fc47c97bbbd91b1f774d855c48a7e285eb1a351a jdk7-b138 7ed6d0b9aaa12320832a7ddadb88d6d8d0dda4c1 jdk7-b139 @@ -123,6 +126,7 @@ 2d38c2a79c144c30cd04d143d83ee7ec6af40771 jdk7-b146 3ac30b3852876ccad6bd61697b5f9efa91ca7bc6 jdk7u1-b01 d91364304d7c4ecd34caffdba2b840aeb0d10b51 jdk7-b147 +3defd24c2671eb2e7796b5dc45b98954341d73a7 icedtea-2.0-branchpoint 34451dc0580d5c95d97b95a564e6198f36545d68 jdk7u1-b02 bf735d852f79bdbb3373c777eec3ff27e035e7ba jdk7u1-b03 f66a2bada589f4157789e6f66472954d2f1c114e jdk7u1-b04 @@ -141,6 +145,7 @@ b2deaf5bde5ec455a06786e8e2aea2e673be13aa jdk7u2-b12 c95558e566ac3605c480a3d070b1102088dab07f jdk7u2-b13 e30fd289f0019700575593ee4e1635fbc5c9a484 jdk7u2-b21 +a66b58021165f5a43e3974fe5fb9fead29824098 icedtea-2.1-branchpoint e30fd289f0019700575593ee4e1635fbc5c9a484 jdk7u3-b02 becd013ae6072a6633ba015fc4f5862fca589cee jdk7u3-b03 d64361a28584728aa25dca3781cffbaf4199e088 jdk7u3-b04 @@ -157,6 +162,7 @@ 2b07c262a8a9ff78dc908efb9d7b3bb099df9ac4 jdk7u4-b10 1abfee16e8cc7e3950052befa78dbf14a5ca9cfc jdk7u4-b11 e6f915094dccbba16df6ebeb002e6867392eda40 jdk7u4-b12 +e7886f5ad6cc837092386fa513e670d4a770456c icedtea-2.2-branchpoint 9108e3c2f07ffa218641d93893ac9928e95d213a jdk7u4-b13 d9580838fd08872fc0da648ecfc6782704b4aac1 jdk7u4-b14 008753000680a2008175d14b25373356f531aa07 jdk7u4-b15 @@ -186,11 +192,15 @@ 5f3645aa920d373b26d01b21f3b8b30fc4e10a0d jdk7u6-b10 cd64596c2dd7f195a6d38b6269bab23e7fad4361 jdk7u6-b11 61cfcee1d00cb4af288e640216af2bccbc3c9ef0 jdk7u6-b12 +cdab3bfb573b8832d539a8fa3e9c20f9f4965132 ppc-aix-port-b01 +06179726206f1411ed254f786be3477ca5763e37 ppc-aix-port-b02 +50f2b3cacf77467befb95b7d4fea15bbdb4d650a ppc-aix-port-b03 9b9a6d318e8aa5b8f0e42d2d3d2c0c34cb3f986d jdk7u6-b13 eff9ea1ca63df8656ebef9fedca0c647a210d807 jdk7u6-b14 528f1589f5f2adf18d5d21384ba668b9aa79841e jdk7u6-b15 7b77364eb09faac4c37ce9dd2c2308ca5525f18f jdk7u6-b16 b7c1b441d131c70278de299b5d1e59dce0755dc5 jdk7u6-b17 +0e7b94bd450d4270d4e9bd6c040c94fa4be714a6 icedtea-2.3-branchpoint 9c41f7b1460b106d18676899d24b6ea07de5a369 jdk7u6-b18 56291720b5e578046bc02761dcad2a575f99fd8e jdk7u6-b19 e79fa743fe5a801db4acc7a7daa68f581423e5d3 jdk7u6-b20 @@ -258,11 +268,13 @@ c3e42860af1cfd997fe1895594f652f0d1e9984e jdk7u12-b07 1a03ef4794dc8face4de605ae480d4c763e6b494 jdk7u12-b08 87cf81226f2012e5c21131adac7880f7e4da1133 jdk7u12-b09 +8a10a3c51f1cd88009008cf1b82071797b5f516d icedtea-2.4-branchpoint 745a15bb6d94765bb5c68048ff146590df9b8441 jdk7u14-b10 2d8fdaa5bb55b937028e385633ce58de4dcdb69c jdk7u14-b11 594dbbbb84add4aa310d51af7e298470d8cda458 jdk7u14-b12 ae5c1b29297dae0375277a0b6428c266d8d77c71 jdk7u14-b13 bb97ad0c9e5a0566e82b3b4bc43eabe680b89d97 jdk7u14-b14 +a20ac67cdbc245d1c14fec3061703232501f8334 ppc-aix-port-b04 b534282bd377e3886b9d0d4760f6fdaa1804bdd3 jdk7u14-b15 0e52db2d9bb8bc789f6c66f2cfb7cd2d3b0b16c6 jdk7u15-b01 0324fca94d073b3aad77658224f17679f25c18b1 jdk7u15-b02 @@ -379,6 +391,7 @@ f0cdb08a4624a623bdd178b04c4bf5a2fa4dc39a jdk7u45-b18 82f1f76c44124c31cb1151833fc15c13547ab280 jdk7u45-b30 f4373de4b75ba8d7f7a5d9c1f77e7884d9064b7e jdk7u45-b31 +11147a12bd8c6b02f98016a8d1151e56f42a43b6 jdk7u60-b00 b73c006b5d81528dfb4104a79b994b56675bf75d jdk7u45-b33 05742477836cb30235328181c8e6cae5d4bb06fd jdk7u45-b34 f2479abad143d2d9f33b6c872890ca0c5dd52530 jdk7u51-b00 @@ -400,3 +413,15 @@ 11147a12bd8c6b02f98016a8d1151e56f42a43b6 jdk7u60-b00 88113cabda386320a087b288d43e792f523cc0ba jdk7u60-b01 6bdacebbc97f0a03be45be48a6d5b5cf2f7fe77d jdk7u60-b02 +ba9872fc05cc333e3960551ae9fa61d51b8d5e06 icedtea-2.5pre01 +fc5d15cc35b4b47fe403c57fe4bf224fcfe1426c icedtea-2.5pre02 +87f2193da40d3a2eedca95108ae78403c7bdcd49 jdk7u60-b03 +d4397128f8b65eb96287128575dd1a3da6a7825b jdk7u60-b04 +ea798405286d97f643ef809abcb1e13024b4f951 jdk7u60-b05 +b0940b205cab942512b5bca1338ab96a45a67832 jdk7u60-b06 +cae7bacaa13bb8c42a42fa35b156a7660874e907 jdk7u60-b07 +1af0560611469ad2a068a03774ecd0d7790db7b7 jdk7u60-b08 +662dc3b6467488b8c175a4423ba7a4991ad87d94 jdk7u60-b09 +023f8eb40d371d5cb761f7e60ba7b396b3fdf886 jdk7u60-b10 +798468b91bcbb81684aea8620dbb31eaceb24c6c jdk7u60-b11 +e40360c10b2ce5b24b1eea63160b78e112aa5d3f jdk7u60-b12 diff -r 87f2193da40d -r 9e3f6f4585c5 .jcheck/conf --- a/.jcheck/conf Tue Dec 31 09:38:17 2013 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -project=jdk7 -bugids=dup diff -r 87f2193da40d -r 9e3f6f4585c5 README-ppc.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README-ppc.html Wed Apr 02 02:15:57 2014 +0100 @@ -0,0 +1,689 @@ + + + + + + OpenJDK PowerPC/AIX Port + + + + + +

OpenJDK PowerPC Port

+ +

+This file contains some additional build instructions for +the OpenJDK PowerPC +Port for Linux and AIX. It complements the general +OpenJDK +README-builds.html file. +

+ +

Building on Linux/PPC64

+ +

+Currently, i.e. all versions after +revision ppc-aix-port-b01, +should successfully build and run on Linux/PPC64. Passing +CORE_BUILD=true on the build comamnd line will instruct the build +system to create an interpreter-only version of the VM which is in general about +an order of magnitude slower than a corresponding server VM with JIT +compiler. But it is still fully functional (e.g. it passes JVM98) and can even +be used to bootstrap itself. Starting with +revision ppc-aix-port-b03, +it is possible to build without CORE_BUILD=true and create a +JIT-enabled version of the VM (containing the C2 "Server" JIT +compiler). +

+ +

+Our current build system is a Power6 box running +SLES 10.3 with gcc version 4.1.2 (in general, more recent Linux distributions +should work as well). +

+ +

Building with the OpenJDK Linux/PPC64 port as bootstrap JDK

+ +

+A precompiled build of ppc-aix-port-b03 is available +for download. +With it and together with the other build dependencies fulfilled as described +in the +main +README-builds.html file you can build a debug version of the JDK from the +top-level source directory with the following command line (additionally +pass CORE_BUILD=true to build an interpreter-only version of the VM): +

+ +
+> make FT_CFLAGS=-m64 LANG=C \
+  ALT_BOOTDIR=<path_to>/jdk1.7.0-ppc-aix-port-b01 \
+  ARCH_DATA_MODEL=64 \
+  HOTSPOT_BUILD_JOBS=8 \
+  PARALLEL_COMPILE_JOBS=8 \
+  ALT_FREETYPE_LIB_PATH=/usr/local/lib \
+  ALT_FREETYPE_HEADERS_PATH=/usr/local/include \
+  ANT_HOME=/usr/local/apache-ant-1.8.4 \
+  VERBOSE=true \
+  CC_INTERP=true \
+  OPENJDK=true \
+  debug_build 2>&1 | tee build_ppc-aix-port_dbg.log
+
+ +

+After the build finished successfully the results can be found under +./build/linux-ppc64-debug/. Product and fastdebug versions can be +build with the make targets product_build and +fastdebug_build respectively (the build results will be located under +./build/linux-ppc64/ and ./build/linux-ppc64-fastdebug/). On +our transitional ppc-aix-port +project page you can find the build logs of our regular nightly makes. +

+ +

Problems with pre-installed ANT on newer Linux distros

+ +

+Notice that pre-installed ANT version (i.e. ANT versions installed with the +corresponding system package manager) may cause problems in conjunction with +our bootstrap JDK. This is because they use various scripts from the +jpackage project to locate specific Java +libraries and jar files. These scripts (in particular +set_jvm_dirs() +in /usr/share/java-utils/java-functions) expect that executing +"java -fullversion" will return a string starting with "java" but +our OpenJDK port returns a string starting with "openjdk" instead. +

+ +

+The problem can be easily solved by either editing the regular expressions +which parse the version string +in /usr/share/java-utils/java-functions (or the respective file of +your Linux distribution) or by installing a plain version of ANT +from http://ant.apache.org/bindownload.cgi +and passing its installation directory to the build via +the ANT_HOME environment variable. +

+ +

Building with the IBM JDK for Linux/PPC64 as bootstrap JDK

+ +

+It is also possible to build with an IBM +JDK 7 bootstrap JDK (after all this is how we initially bootstrapped the +port). But because the IBM JDK uses a different default implementation of the +idlj and rmic compilers you will have to add the following +two additional variables to the build command line to force the IBM JDK to +fall back to the default Sun/Oracle version of the mentioned compilers (notice +that the single quotes are crucial here to prevent the immediate expansion of +$(ALT_BOOTDIR)): +

+ +
+IDLJ='$(ALT_BOOTDIR)/bin/java -cp $(ALT_BOOTDIR)/lib/tools.jar com.sun.tools.corba.se.idl.toJavaPortable.Compile'
+RMIC='$(ALT_BOOTDIR)/bin/java -cp $(ALT_BOOTDIR)/lib/tools.jar sun.rmi.rmic.Main'
+
+ +

+We successfully used build pxp6470-20110827_01 of the IBM JDK but +there have been reports +on the ppc-aix-port-dev +mailing list that newer version of the IBM JDK (starting with build pxp6470sr1-20120330_01(SR1)) require some additional +tweaking. Neil Richards advised in that mail thread to "Just rename lib/ibmorbtools.jar to be something else. +As the tools.jar tries to chain onto a file of that name, and that file +contains the rmicext.properties files with the IBM-impl settings, moving +that file off to one side should consistently cause rmic invocations to +use the OpenJDK rmic IIOP generator. +Approaching things this way would also mean one would not need to use +the RMIC setting. +(NB: One still need to use the IDLJ setting to use the OpenJDK idlj +implementation, especially as moving the ibmorbtools.jar file aside also +eliminates the IBM idlj implementation from the classpath)." +

+ +

+For historical reasons two old build logs of a debug and a product build +bootstrapped with the IBM JDK are still available for inspection: output_ppc-aix-port_dbg.log, +output_ppc-aix-port_opt.log. +

+ +

Running the OpenJDK Linux/PPC64 port

From andrew at icedtea.classpath.org Wed Apr 2 01:20:32 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 02 Apr 2014 01:20:32 +0000 Subject: /hg/release/icedtea7-forest-2.5/corba: 12 new changesets Message-ID: changeset 1a3aa4637b80 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=1a3aa4637b80 author: katleman date: Thu Jan 16 11:51:53 2014 -0800 Added tag jdk7u60-b03 for changeset d7e98ed925a3 changeset 753698a91016 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=753698a91016 author: katleman date: Wed Jan 22 12:33:37 2014 -0800 Added tag jdk7u60-b04 for changeset 1a3aa4637b80 changeset 9852efe6d6b9 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=9852efe6d6b9 author: katleman date: Wed Feb 05 12:30:51 2014 -0800 Added tag jdk7u60-b05 for changeset 753698a91016 changeset 84a18429f247 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=84a18429f247 author: katleman date: Wed Feb 12 14:56:11 2014 -0800 Added tag jdk7u60-b06 for changeset 9852efe6d6b9 changeset 8469bc00ddca in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=8469bc00ddca author: katleman date: Wed Feb 19 14:03:58 2014 -0800 Added tag jdk7u60-b07 for changeset 84a18429f247 changeset 7abca119f954 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=7abca119f954 author: katleman date: Wed Feb 26 12:46:04 2014 -0800 Added tag jdk7u60-b08 for changeset 8469bc00ddca changeset e9aa813a3345 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=e9aa813a3345 author: katleman date: Wed Mar 05 12:26:44 2014 -0800 Added tag jdk7u60-b09 for changeset 7abca119f954 changeset 015ce293909d in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=015ce293909d author: mfang date: Wed Mar 05 09:12:38 2014 -0800 8035988: 7u60 l10n resource file translation update 1 Reviewed-by: naoto, yhuang changeset 1861f1f59972 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=1861f1f59972 author: lana date: Wed Mar 05 16:24:49 2014 -0800 Merge changeset a429ff635395 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=a429ff635395 author: katleman date: Wed Mar 12 14:35:15 2014 -0700 Added tag jdk7u60-b10 for changeset 1861f1f59972 changeset d581875525aa in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=d581875525aa author: katleman date: Wed Mar 19 10:04:02 2014 -0700 Added tag jdk7u60-b11 for changeset a429ff635395 changeset 3a7c12d7b1cf in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=3a7c12d7b1cf author: andrew date: Wed Apr 02 02:15:58 2014 +0100 Merge jdk7u60-b12 diffstat: .hgtags | 24 + .jcheck/conf | 2 - make/Makefile | 2 +- make/common/Defs-aix.gmk | 397 ++++++++++ make/common/shared/Defs-java.gmk | 8 +- make/common/shared/Platform.gmk | 9 + src/share/classes/com/sun/corba/se/impl/orbutil/resources/sunorb_pt_BR.properties | 2 +- 7 files changed, 438 insertions(+), 6 deletions(-) diffs (truncated from 587 to 500 lines): diff -r d7e98ed925a3 -r 3a7c12d7b1cf .hgtags --- a/.hgtags Tue Dec 31 09:42:19 2013 -0800 +++ b/.hgtags Wed Apr 02 02:15:58 2014 +0100 @@ -50,6 +50,7 @@ b751c528c55560cf2adeaeef24b39ca1f4d1cbf7 jdk7-b73 5d0cf59a3203b9f57aceebc33ae656b884987955 jdk7-b74 0fb137085952c8e47878e240d1cb40f14de463c4 jdk7-b75 +d728db3889da23d9f74e45154b9261a43b4acd8d icedtea7-1.12 937144222e2219939101b0129d26a872a7956b13 jdk7-b76 6881f0383f623394b5ec73f27a5f329ff55d0467 jdk7-b77 a7f7276b48cd74d8eb1baa83fbf3d1ef4a2603c8 jdk7-b78 @@ -63,6 +64,7 @@ 6253e28826d16cf1aecc39ce04c8de1f6bf2df5f jdk7-b86 09a41111a401d327f65e453384d976a10154d9ea jdk7-b87 39e14d2da687c7e592142137517aaf689544820f jdk7-b88 +e805b4155d76f76d40ffae36a74546f79218c539 icedtea7-1.13 bb4424c5e778b842c064a8b1aa902b35f4397654 jdk7-b89 56ce07b0eb47b93a98a72adef0f21e602c460623 jdk7-b90 bcd2fc089227559ac5be927923609fac29f067fa jdk7-b91 @@ -111,6 +113,7 @@ 918003855fa0dba5acf4bf1fe36526d2fc4c1ba8 jdk7-b134 e0b72ae5dc5e824b342801c8d1d336a55eb54e2c jdk7-b135 48ef0c712e7cbf272f47f9224db92a3c6a9e2612 jdk7-b136 +b62418551e20fa19fbf57c49d4378b7096809e60 icedtea-1.14 a66c01d8bf895261715955df0b95545c000ed6a8 jdk7-b137 78d8cf04697e9df54f7f11e195b7da29b8e345a2 jdk7-b138 60b074ec6fcf5cdf9efce22fdfb02326ed8fa2d3 jdk7-b139 @@ -123,6 +126,7 @@ 770227a4087e4e401fe87ccd19738440111c3948 jdk7-b146 36f0efbc66ef8ace3cca8aa8d0c88f3334080f8a jdk7u1-b01 73323cb3396260d93e0ab731fd2d431096ceed0f jdk7-b147 +d034cc90ecc266d78b87d1429c426669431fcc1f icedtea-2.0-branchpoint 9515a2d034b4727c11aeea36354a549fbc469c4f jdk7u1-b02 dd71cb354c573c1addcda269a7dd9144bfce9587 jdk7u1-b03 eaee830124aa453627591d8f9eccb39d7e040876 jdk7u1-b04 @@ -141,6 +145,7 @@ 56b02f8ef70391a67c9fa71157a8faafbdff4b74 jdk7u2-b12 456ff1f14b14ef8cfe47cef95c8094f8443fa092 jdk7u2-b13 62b846b0c3259cae732e75df50a1b180a2541178 jdk7u2-b21 +ecb9fc90dea4720f5c1ba1354364ed610f463e41 icedtea-2.1-branchpoint 1b648adeeefa9b1fb022459e8e4f590b736c0fdd jdk7u3-b02 730fa05af5a9d10a3a7a1626d248b96d09f8069f jdk7u3-b03 7f7a9b1addb4925f4f6e17f6eb5cce986c3b626d jdk7u3-b04 @@ -157,6 +162,7 @@ 23777178e7eb61859be3f7240561aa1034ff9221 jdk7u4-b10 bdc37f3c09b6008667aff77432bb6d31cbae945e jdk7u4-b11 fddc26b35a31884d64315cf7c296570245e9c481 jdk7u4-b12 +9ffa2340e018131c900e9cc12c9f3a10698aa191 icedtea-2.2-branchpoint f7119745898016a98cddab3e69efb41c5a5aaf78 jdk7u4-b13 6a262c36caebb43972cbae5032cff632ce31d2cc jdk7u4-b14 d9bf21b76f093abfe451880d5db29e4932b1e72e jdk7u4-b15 @@ -186,11 +192,15 @@ c9f6750370c9a99d149d73fd32c363d9959d19d1 jdk7u6-b10 a2089d3bf5a00be50764e1ced77e270ceddddb5d jdk7u6-b11 34354c623c450dc9f2f58981172fa3d66f51e89c jdk7u6-b12 +325250aef90af0f5cd04b141f83a81638ae1e478 ppc-aix-port-b01 +325250aef90af0f5cd04b141f83a81638ae1e478 ppc-aix-port-b02 +325250aef90af0f5cd04b141f83a81638ae1e478 ppc-aix-port-b03 76bee3576f61d4d96fef118902d5d237a4f3d219 jdk7u6-b13 731d5dbd7020dca232023f2e6c3e3e22caccccfb jdk7u6-b14 8da4015f405b0fa267cca4780d20cd012d0a9cb4 jdk7u6-b15 7674c7ed99a53a8dcf654ab8a6963199ef562a08 jdk7u6-b16 e4a676826cb3fe2f84e19105a027c15c097f98f1 jdk7u6-b17 +68c35d6e9548bc7be9c3ce73774c6d53b0d72d3b icedtea-2.3-branchpoint b3d767dbd67f518168c561e078be5e860bc60cfc jdk7u6-b18 5c046510b9308bf514f078d48fcf0112a376ad41 jdk7u6-b19 f0c51b691d34b4a06c1e22c7960be71e0d0ee84e jdk7u6-b20 @@ -258,11 +268,13 @@ 7969d5f219248de033c296ef75fff7aae7545bbd jdk7u12-b07 6f4d4c7a254d4aca3a7f2caabb75e6559a290393 jdk7u12-b08 c8c261b2220c5b966c07784682057a915defb0da jdk7u12-b09 +efbe4cef7fe2d46a197c39eb7a94e127e0bb4c5d icedtea-2.4-branchpoint 3877f9ae971eefbfbbcb16f2ff79c72ac10ac4bd jdk7u14-b10 3bd891cd98773cf841ad65f52f25e3e6fa185cef jdk7u14-b11 fbb83600db33de6211fc58ba2a2bbb6b356aa9c2 jdk7u14-b12 cd7aaec5accf3f8fbb693153f8d9be846e0f8a05 jdk7u14-b13 9e8bde2586a1a7fd95f654c7d0043d1eb18f0793 jdk7u14-b14 +70af8b7907a504f7b6e4be1882054ca9f3ad1875 ppc-aix-port-b04 2b1fcbe4e78557822b2269b43c8b589aa1f0b522 jdk7u14-b15 622e370c2d1e8c5f48d8f520f486dc6fcc1239c5 jdk7u15-b01 30188388048333e213a839363329ac2cb0cf0e0d jdk7u15-b02 @@ -381,6 +393,7 @@ 80f65a8f58500ef5d93ddf4426d9c1909b79fadf jdk7u45-b18 a15e4a54504471f1e34a494ed66235870722a0f5 jdk7u45-b30 b7fb35bbe70d88eced3725b6e9070ad0b5b621ad jdk7u45-b31 +c5b5886004e6446b8b27ccdc1fd073354c1dc614 jdk7u60-b00 d641ac83157ec86219519c0cbaf3122bdc997136 jdk7u45-b33 aa24e046a2da95637257c9effeaabe254db0aa0b jdk7u45-b34 b1f069eb48edfa6fb7428dc045a53e287215ef4a jdk7u51-b00 @@ -402,3 +415,14 @@ c5b5886004e6446b8b27ccdc1fd073354c1dc614 jdk7u60-b00 a531112cc6d0b0a1e7d4ffdaa3ba53addcd25cf4 jdk7u60-b01 d81370c5b863acc19e8fb07315b1ec687ac1136a jdk7u60-b02 +47343904e95d315b5d2828cb3d60716e508656a9 icedtea-2.5pre01 +16906c5a09dab5f0f081a218f20be4a89137c8b1 icedtea-2.5pre02 +d7e98ed925a3885380226f8375fe109a9a25397f jdk7u60-b03 +1a3aa4637b80fabbd069ae88c241efcb3520fc49 jdk7u60-b04 +753698a910167cc29c01490648a2adbcea1314cc jdk7u60-b05 +9852efe6d6b992b73fdbf59e36fb3547a9535051 jdk7u60-b06 +84a18429f247774fc7f1bc81de271da20b40845b jdk7u60-b07 +8469bc00ddca4de366b20b32d42548c882656cd8 jdk7u60-b08 +7abca119f9543489280d560dc11256d439004f0f jdk7u60-b09 +1861f1f599728c4f15a85a5980edef916552747b jdk7u60-b10 +a429ff635395688ded6c52cd21c0b4ce75e62168 jdk7u60-b11 diff -r d7e98ed925a3 -r 3a7c12d7b1cf .jcheck/conf --- a/.jcheck/conf Tue Dec 31 09:42:19 2013 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -project=jdk7 -bugids=dup diff -r d7e98ed925a3 -r 3a7c12d7b1cf make/Makefile --- a/make/Makefile Tue Dec 31 09:42:19 2013 -0800 +++ b/make/Makefile Wed Apr 02 02:15:58 2014 +0100 @@ -150,7 +150,7 @@ #----- bin.zip -BIN_ZIP_FILES = $(BUILD_DIR/lib/orb.idl $(BUILD_DIR)/lib/ir.idl +BIN_ZIP_FILES = $(BUILD_DIR)/lib/orb.idl $(BUILD_DIR)/lib/ir.idl BIN_ZIP = $(LIB_DIR)/bin.zip $(BIN_ZIP): $(BIN_ZIP_FILES) diff -r d7e98ed925a3 -r 3a7c12d7b1cf make/common/Defs-aix.gmk --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/make/common/Defs-aix.gmk Wed Apr 02 02:15:58 2014 +0100 @@ -0,0 +1,397 @@ +# +# Copyright (c) 1995, 2012, 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 +# under the terms of the GNU General Public License version 2 only, as +# published by the Free Software Foundation. Oracle designates this +# particular file as subject to the "Classpath" exception as provided +# by Oracle in the LICENSE file that accompanied this code. +# +# This code is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# version 2 for more details (a copy is included in the LICENSE file that +# accompanied this code). +# +# You should have received a copy of the GNU General Public License version +# 2 along with this work; if not, write to the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA +# or visit www.oracle.com if you need additional information or have any +# questions. +# + +# +# Makefile to specify compiler flags for programs and libraries +# targeted to Solaris. Should not contain any rules. +# +# WARNING: This file is shared with other workspaces. +# So when it includes other files, it must use JDK_TOPDIR. +# + +# Warning: the following variables are overridden by Defs.gmk. Set +# values will be silently ignored: +# CFLAGS (set $(OTHER_CFLAGS) instead) +# CPPFLAGS (set $(OTHER_CPPFLAGS) instead) +# CXXFLAGS (set $(OTHER_CXXFLAGS) instead) +# LDFLAGS (set $(OTHER_LDFAGS) instead) +# LDLIBS (set $(EXTRA_LIBS) instead) +# LDLIBS_COMMON (set $(EXTRA_LIBS) instead) +# LINTFLAGS (set $(OTHER_LINTFLAGS) instead) +# +# Note: CPPFLAGS are used in C and C++ compiles. +# + +# Get shared JDK settings +include $(JDK_MAKE_SHARED_DIR)/Defs.gmk + +# define these to avoid picking up ones from aliases or from +# non-standard locations +# + +AR = $(USRBIN_PATH)ar +BASENAME = $(UNIXCOMMAND_PATH)basename +CAT = $(UNIXCOMMAND_PATH)cat +# SAPJVM: Moved to shared/Compiler-aix.gmk +#CC = $(COMPILER_PATH)xlc_r +#CPP = $(COMPILER_PATH)xlc_r -E +#CXX = $(COMPILER_PATH)xlC_r +CD = cd # intrinsic unix command +CHMOD = $(UNIXCOMMAND_PATH)chmod +CMP = $(USRBIN_PATH)cmp +COMPRESS = $(USRBIN_PATH)compress +CP = $(UNIXCOMMAND_PATH)cp +CPIO = $(UNIXCOMMAND_PATH)cpio +CUT = $(USRBIN_PATH)cut +DATE = $(UNIXCOMMAND_PATH)date +DF = $(UNIXCOMMAND_PATH)df +DIFF = $(USRBIN_PATH)diff +DIRNAME = $(USRBIN_PATH)dirname +ECHO = echo # intrinsic unix command, with backslash-escaped character interpretation +EGREP = $(UNIXCOMMAND_PATH)egrep +EXPR = $(USRBIN_PATH)expr + +FIND = $(UNIXCOMMAND_PATH)find + +HEAD = $(USRBIN_PATH)head +GREP = $(UNIXCOMMAND_PATH)grep +GUNZIP = $(UNIXCOMMAND_PATH)gunzip +LEX = $(USRBIN_PATH)lex +LN = $(UNIXCOMMAND_PATH)ln +LS = $(UNIXCOMMAND_PATH)ls +M4 = $(USRBIN_PATH)m4 +MKDIR = $(UNIXCOMMAND_PATH)mkdir +MV = $(UNIXCOMMAND_PATH)mv +NAWK = $(USRBIN_PATH)awk +PWD = $(UNIXCOMMAND_PATH)pwd +#RM is defined by GNU Make as 'rm -f' +RMDIR = $(UNIXCOMMAND_PATH)rmdir +RPM = $(UNIXCOMMAND_PATH)rpm +SED = $(UNIXCOMMAND_PATH)sed +SH = $(UNIXCOMMAND_PATH)sh +SORT = $(UNIXCOMMAND_PATH)sort +STRIP = $(USRBIN_PATH)strip +TAIL = $(USRBIN_PATH)tail + +# SAPJVM: catch (gnu) tool by PATH environment variable +TAR = /usr/local/bin/tar + +TEST = $(USRBIN_PATH)test +TOUCH = $(UNIXCOMMAND_PATH)touch +TR = $(USRBIN_PATH)tr +TRUE = $(UNIXCOMMAND_PATH)true +UNAME = $(UNIXCOMMAND_PATH)uname +UNIQ = $(USRBIN_PATH)uniq +UNZIPSFX = $(USRBIN_PATH)unzipsfx +YACC = $(USRBIN_PATH)yacc + +# SAPJVM: catch (gnu) tool by PATH environment variable +ZIPEXE = $(UNIXCOMMAND_PATH)zip + +OS_VERSION = $(shell $(UNAME) -v) +OS_NAME = aix + +ARCH_DATA_MODEL=64 + +LIBARCH = ppc64 + +# Value of Java os.arch property +ARCHPROP = $(LIBARCH) + +BINDIR = $(OUTPUTDIR)/bin + +# where is unwanted output to be delivered? +DEV_NULL = /dev/null +export DEV_NULL + +CLASSPATH_SEPARATOR = : + +ifndef PLATFORM_SRC + PLATFORM_SRC = $(BUILDDIR)/../src/solaris +endif # PLATFORM_SRC + +# Location of the various .properties files specific to Linux platform +ifndef PLATFORM_PROPERTIES + PLATFORM_PROPERTIES = $(BUILDDIR)/../src/solaris/lib +endif # PLATFORM_SRC + +# Platform specific closed sources +ifndef OPENJDK + ifndef CLOSED_PLATFORM_SRC + CLOSED_PLATFORM_SRC = $(BUILDDIR)/../src/closed/solaris + endif +endif + +# SAPJVM: Set the source for the platform dependent sources of express +SAPJVMEXPRESS_PLATFORM_SRC=$(JDK_TOPDIR)/../../common/j2se/src/solaris + +# platform specific include files +PLATFORM_INCLUDE_NAME = $(PLATFORM) +PLATFORM_INCLUDE = $(INCLUDEDIR)/$(PLATFORM_INCLUDE_NAME) + +# SAPJVM: OBJECT_SUFFIX, LIBRARY_SUFFIX, EXE_SUFFICS etc. are set in +# j2se/make/common/shared/Platform.gmk . Just override those which differ for AIX. +# suffix used for make dependencies files. +# SAPJVM AIX: -qmakedep outputs .u, not .d +override DEPEND_SUFFIX = u +# suffix used for lint files +LINT_SUFFIX = ln +# The suffix applied to the library name for FDLIBM +FDDLIBM_SUFFIX = a +# The suffix applied to scripts (.bat for windows, nothing for unix) +SCRIPT_SUFFIX = +# CC compiler object code output directive flag value +CC_OBJECT_OUTPUT_FLAG = -o #trailing blank required! +CC_PROGRAM_OUTPUT_FLAG = -o #trailing blank required! + +# On AIX we don't have any issues using javah and javah_g. +JAVAH_SUFFIX = $(SUFFIX) + +# +# Default optimization +# + +ifndef OPTIMIZATION_LEVEL + ifeq ($(PRODUCT), java) + OPTIMIZATION_LEVEL = HIGHER + else + OPTIMIZATION_LEVEL = LOWER + endif +endif +ifndef FASTDEBUG_OPTIMIZATION_LEVEL + FASTDEBUG_OPTIMIZATION_LEVEL = LOWER +endif + +CC_OPT/LOWER = -O2 +CC_OPT/HIGHER = -O3 + +CC_OPT = $(CC_OPT/$(OPTIMIZATION_LEVEL)) + +# +# Selection of warning messages +# +CFLAGS_SHARED_OPTION=-qmkshrobj +CXXFLAGS_SHARED_OPTION=-qmkshrobj + +# +# If -Xa is in CFLAGS_COMMON it will end up ahead of $(POPT) for the +# optimized build, and that ordering of the flags completely freaks +# out cc. Hence, -Xa is instead in each CFLAGS variant. +# The extra options to the C++ compiler prevent it from: +# - adding runpath (dump -Lv) to *your* C++ compile install dir +# - adding stubs to various things such as thr_getspecific (hence -nolib) +# - creating Templates.DB in current directory (arch specific) +CFLAGS_COMMON = -qchars=signed +PIC_CODE_LARGE = -qpic=large +PIC_CODE_SMALL = -qpic=small +GLOBAL_KPIC = $(PIC_CODE_LARGE) +CFLAGS_COMMON += $(GLOBAL_KPIC) $(GCC_WARNINGS) +# SAPJVM: +# save compiler options into object file +CFLAGS_COMMON += -qsaveopt + +# SAPJVM +# preserve absolute source file infos in debug infos +CFLAGS_COMMON += -qfullpath + +# SAPJVM +# We want to be able to debug an opt build as well. +CFLAGS_OPT = -g $(POPT) +CFLAGS_DBG = -g + +CXXFLAGS_COMMON = $(GLOBAL_KPIC) -DCC_NOEX $(GCC_WARNINGS) +# SAPJVM +# We want to be able to debug an opt build as well. +CXXFLAGS_OPT = -g $(POPT) +CXXFLAGS_DBG = -g + +# FASTDEBUG: Optimize the code in the -g versions, gives us a faster debug java +ifeq ($(FASTDEBUG), true) + CFLAGS_DBG += -O2 + CXXFLAGS_DBG += -O2 +endif + +CPP_ARCH_FLAGS = -DARCH='"$(ARCH)"' + +# Alpha arch does not like "alpha" defined (potential general arch cleanup issue here) +ifneq ($(ARCH),alpha) + CPP_ARCH_FLAGS += -D$(ARCH) +else + CPP_ARCH_FLAGS += -D_$(ARCH)_ +endif + +# SAPJVM. turn `=' into `+='. +CPPFLAGS_COMMON += -D$(ARCH) -DARCH='"$(ARCH)"' -DAIX $(VERSION_DEFINES) \ + -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT + +# SAPJVM: AIX port: zip lib +CPPFLAGS_COMMON += -DSTDC + +# turn on USE_PTHREADS +CPPFLAGS_COMMON += -DUSE_PTHREADS +CFLAGS_COMMON += -DUSE_PTHREADS + +CFLAGS_COMMON += -q64 +CPPFLAGS_COMMON += -q64 + +# SAPJVM. define PPC64 +CFLAGS_COMMON += -DPPC64 +CPPFLAGS_COMMON += -DPPC64 + +# SAPJVM +LDFLAGS_COMMON += -b64 + +# SAPJVM: enable dynamic runtime linking & strip the absolute paths from the coff section +LDFLAGS_COMMON += -brtl -bnolibpath + +# SAPJVM: Additional link parameters for AIX +LDFLAGS_COMMON += -liconv + +CPPFLAGS_OPT = +CPPFLAGS_DBG += -DDEBUG + +LDFLAGS_COMMON += -L$(LIBDIR)/$(LIBARCH) +LDFLAGS_OPT = +LDFLAGS_DBG = + +# SAPJVM +# Export symbols +OTHER_LDFLAGS += -bexpall + +# +# Post Processing of libraries/executables +# +ifeq ($(VARIANT), OPT) + ifneq ($(NO_STRIP), true) + ifneq ($(DEBUG_BINARIES), true) + # Debug 'strip -g' leaves local function Elf symbols (better stack + # traces) + # SAPJVM + # We want to be able to debug an opt build as well. + # POST_STRIP_PROCESS = $(STRIP) -g + endif + endif +endif + +# javac Boot Flags +JAVAC_BOOT_FLAGS = -J-Xmx128m + +# +# Use: ld $(LD_MAPFILE_FLAG) mapfile *.o +# +LD_MAPFILE_FLAG = -Xlinker --version-script -Xlinker + +# +# Support for Quantify. +# +ifdef QUANTIFY +QUANTIFY_CMD = quantify +QUANTIFY_OPTIONS = -cache-dir=/tmp/quantify -always-use-cache-dir=yes +LINK_PRE_CMD = $(QUANTIFY_CMD) $(QUANTIFY_OPTIONS) +endif + +# +# Path and option to link against the VM, if you have to. Note that +# there are libraries that link against only -ljava, but they do get +# -L to the -ljvm, this is because -ljava depends on -ljvm, whereas +# the library itself should not. +# +VM_NAME = server +JVMLIB = -L$(LIBDIR)/$(LIBARCH)/$(VM_NAME) -ljvm$(SUFFIX) +JAVALIB = -ljava$(SUFFIX) $(JVMLIB) + +# Part of INCREMENTAL_BUILD mechanism. +# Compiler emits things like: path/file.o: file.h +# We want something like: relative_path/file.o relative_path/file.d: file.h +CC_DEPEND = -qmakedep +#CC_DEPEND_FILTER = $(SED) -e 's!$*\.$(OBJECT_SUFFIX)!$(dir $@)& $(dir $@)$*.$(DEPEND_SUFFIX)!g' +CC_DEPEND_FILTER = $(SED) -e '/:[ ]*[/]/d' -e 's!$*\.$(OBJECT_SUFFIX)!$(dir $@)& $(dir $@)$*.$(DEPEND_SUFFIX)!g' | $(SORT) -u + +# Runtime graphics library search paths... +OPENWIN_RUNTIME_LIB = +AWT_RUNPATH = + +# +# We want to privatize JVM symbols on Solaris. This is so the user can +# write a function called FindClass and this should not override the +# FindClass that is inside the JVM. At this point in time we are not +# concerned with other JNI libraries because we hope that there will +# not be as many clashes there. +# +PRIVATIZE_JVM_SYMBOLS = false + +USE_PTHREADS = true +#override ALT_CODESET_KEY = _NL_CTYPE_CODESET_NAME +override AWT_RUNPATH = +override HAVE_ALTZONE = false +override HAVE_FILIOH = false +override HAVE_GETHRTIME = false +override HAVE_GETHRVTIME = false +override HAVE_SIGIGNORE = true +override LEX_LIBRARY = -lfl +ifeq ($(STATIC_CXX),true) +override LIBCXX = -Wl,-bstatic -lc_r -Wl,-bdynamic +else +override LIBCXX = +endif +override LIBPOSIX4 = +override LIBSOCKET = +override LIBNSL = +override LIBTHREAD = +override MOOT_PRIORITIES = true +override OPENWIN_LIB = $(OPENWIN_HOME)/lib +override SUN_CMM_SUBDIR = +override THREADS_FLAG = native +override USE_GNU_M4 = true +override USING_GNU_TAR = true +override WRITE_LIBVERSION = false + +# USE_EXECNAME forces the launcher to look up argv[0] on $PATH, and put the +# resulting resolved absolute name of the executable in the environment +# variable EXECNAME. That executable name is then used that to locate the +# installation area. From andrew at icedtea.classpath.org Wed Apr 2 01:20:51 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 02 Apr 2014 01:20:51 +0000 Subject: /hg/release/icedtea7-forest-2.5/jaxp: 10 new changesets Message-ID: changeset 7215972c2c30 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=7215972c2c30 author: katleman date: Thu Jan 16 11:52:08 2014 -0800 Added tag jdk7u60-b03 for changeset 359b79d99538 changeset 673ea3822e59 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=673ea3822e59 author: katleman date: Wed Jan 22 12:34:06 2014 -0800 Added tag jdk7u60-b04 for changeset 7215972c2c30 changeset fd1cb0040a1d in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=fd1cb0040a1d author: katleman date: Wed Feb 05 12:31:10 2014 -0800 Added tag jdk7u60-b05 for changeset 673ea3822e59 changeset cd7c8fa7a057 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=cd7c8fa7a057 author: katleman date: Wed Feb 12 14:56:29 2014 -0800 Added tag jdk7u60-b06 for changeset fd1cb0040a1d changeset b19c0f18b5a5 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=b19c0f18b5a5 author: katleman date: Wed Feb 19 14:04:14 2014 -0800 Added tag jdk7u60-b07 for changeset cd7c8fa7a057 changeset 4bfece8a5148 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=4bfece8a5148 author: katleman date: Wed Feb 26 12:46:35 2014 -0800 Added tag jdk7u60-b08 for changeset b19c0f18b5a5 changeset 28a6c0b3b225 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=28a6c0b3b225 author: katleman date: Wed Mar 05 12:27:10 2014 -0800 Added tag jdk7u60-b09 for changeset 4bfece8a5148 changeset e57490e0b999 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=e57490e0b999 author: katleman date: Wed Mar 12 14:35:39 2014 -0700 Added tag jdk7u60-b10 for changeset 28a6c0b3b225 changeset a9574b35f0af in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=a9574b35f0af author: katleman date: Wed Mar 19 10:04:16 2014 -0700 Added tag jdk7u60-b11 for changeset e57490e0b999 changeset 1fef0a819b0a in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=1fef0a819b0a author: andrew date: Wed Apr 02 02:15:59 2014 +0100 Merge jdk7u60-b12 diffstat: .hgtags | 24 ++++++++++++++++++++++++ .jcheck/conf | 2 -- 2 files changed, 24 insertions(+), 2 deletions(-) diffs (111 lines): diff -r 359b79d99538 -r 1fef0a819b0a .hgtags --- a/.hgtags Thu Jan 02 09:44:24 2014 -0800 +++ b/.hgtags Wed Apr 02 02:15:59 2014 +0100 @@ -50,6 +50,7 @@ feb05980f9f2964e6bc2b3a8532f9b3054c2289b jdk7-b73 ea7b88c676dd8b269bc858a4a17c14dc96c8aed1 jdk7-b74 555fb78ee4cebed082ca7ddabff46d2e5b4c9026 jdk7-b75 +fb68fd18eb9f9d94bd7f307097b98a5883018da8 icedtea7-1.12 233a4871d3364ec305efd4a58cfd676620a03a90 jdk7-b76 bfadab8c7b1bf806a49d3e1bc19ec919717f057a jdk7-b77 7a12d3789e1b07a560fc79568b991818d617ede2 jdk7-b78 @@ -63,6 +64,7 @@ 81c0f115bbe5d3bcf59864465b5eca5538567c79 jdk7-b86 8b493f1aa136d86de0885fcba15262c4fa2b1412 jdk7-b87 d8ebd15910034f2ba50b2f129f959f86cca01419 jdk7-b88 +826bafcb6c4abbf24887bfc5a78868e13cddd068 icedtea7-1.13 d2818fd2b036f3b3154a9a7de41afcf4ac679c1b jdk7-b89 c5d932ee326d6f7fd4634b11c7185ea82d184df2 jdk7-b90 b89b2c3044a298d542f84a2e9d957202b7d8cdb9 jdk7-b91 @@ -111,6 +113,7 @@ d56b326ae0544fc16c3e0d0285876f3c82054db2 jdk7-b134 4aa9916693dc1078580c1865e6f2584046851e5a jdk7-b135 1759daa85d33800bd578853f9531f9de73f70fc7 jdk7-b136 +1c2f25bf36b1d43920e94fb82a0afdafd29b1735 icedtea-1.14 1d87f7460cde7f8f30af668490f82b52b879bfd8 jdk7-b137 be3758943770a0a3dd4be6a1cb4063507c4d7062 jdk7-b138 28c7c0ed2444607829ba11ad827f8d52197a2830 jdk7-b139 @@ -123,6 +126,7 @@ bcd31fa1e3c6f51b4fdd427ef905188cdac57164 jdk7-b146 067fb18071e3872698f6218724958bd0cebf30a3 jdk7u1-b01 fc268cd1dd5d2e903ccd4b0275e1f9c2461ed30c jdk7-b147 +b8d01501956a0d41f5587ff1bebbfe5a9b8fea5a icedtea-2.0-branchpoint 104ca42e1e7ca66b074a4619ce6420f15d8f454d jdk7u1-b02 64e323faadf65018c1ffc8bb9c97f7b664e87347 jdk7u1-b03 2256c20e66857f80cacda14ffdbc0979c929d7f8 jdk7u1-b04 @@ -141,6 +145,7 @@ 0e61ef309edd2deb71f53f2bdaf6dcff1c80bfb8 jdk7u2-b12 d9ac427e5149d1db12c6f3e4aa4280587c06aed5 jdk7u2-b13 0efaf5c97fba2ee7864240efaa0df651a2635ae5 jdk7u2-b21 +7300d2ab9fb2068250a96ca4afc481c4beb6a42b icedtea-2.1-branchpoint 0efaf5c97fba2ee7864240efaa0df651a2635ae5 jdk7u3-b02 604dd391203960d0028fc95bc70b0ae161e09d99 jdk7u3-b03 551c076358f6691999f613db9b155c83ec9a648d jdk7u3-b04 @@ -157,6 +162,7 @@ 7a37651d304de62b18b343b3ae675ab1b08fc5fe jdk7u4-b10 3fbd87d50fbf4de3987e36ec5f3e8ce1c383ce3d jdk7u4-b11 b4e5df5b18bb75db15ed97da02e5df086d2c7930 jdk7u4-b12 +c51876b27811ba0f6ea3409ba19d357b7400908a icedtea-2.2-branchpoint 7d18bccaec3781f3d4f2d71879f91e257db2f0f7 jdk7u4-b13 82c5b3166b3194e7348b2a9d146b6760c9a77128 jdk7u4-b14 36490d49683f7be9d8fbbe1f8eefa1fe9fe550fa jdk7u5-b01 @@ -186,11 +192,15 @@ f4e80156296e43182a0fea5f54032d8c0fd0b41f jdk7u6-b10 5078a73b3448849f3328af5e0323b3e1b8d2d26c jdk7u6-b11 c378e596fb5b2ebeb60b89da7ad33f329d407e2d jdk7u6-b12 +15b71daf5e69c169fcbd383c0251cfc99e558d8a ppc-aix-port-b01 +15b71daf5e69c169fcbd383c0251cfc99e558d8a ppc-aix-port-b02 +15b71daf5e69c169fcbd383c0251cfc99e558d8a ppc-aix-port-b03 15b71daf5e69c169fcbd383c0251cfc99e558d8a jdk7u6-b13 da79c0fdf9a8b5403904e6ffdd8f5dc335d489d0 jdk7u6-b14 94474d6f28284a1ef492984dd6d6f66f8787de80 jdk7u6-b15 0b329a8d325b6a58d89c6042dac62ce5852380ab jdk7u6-b16 5eb867cdd08ca299fe03b31760acd57aac2b5673 jdk7u6-b17 +445dd0b578fc2ed12c539eb6f9a71cbd40bed4f6 icedtea-2.3-branchpoint 1c4b9671de5c7ed5713f55509cb2ada38b36dffe jdk7u6-b18 3ba4c395d2cf973c8c603b2aedc846bd4ae54656 jdk7u6-b19 4f7b77cc3b252098f52a8f30a74f603783a2e0f1 jdk7u6-b20 @@ -258,12 +268,14 @@ 1b914599a6d5560e743b9fecd390924ed0bf7d15 jdk7u12-b07 427a603569db59f61721e709fcb8a73390d468ae jdk7u12-b08 366ebbf581df0134d9039b649abc315e87f23772 jdk7u12-b09 +14adb683be4ebc49ee729f0253d012795a4a2ae4 icedtea-2.4-branchpoint 23191c790e12841f81ac1cf956e7dbc0b45914ee jdk7u14-b10 825eda7553590ce19eb4fa0686c4405d97daafdb jdk7u14-b11 560e5cf5b57fc91e2bc6dd1809badd58c6eb25bd jdk7u14-b12 937bae61a48febcc948b7e10ae781c9077360241 jdk7u14-b13 7038ca4959e50a02f797e639daffe6b2b4065f86 jdk7u14-b14 aa6fb94c5e7bc645f478b6f60c5e6e06bebcc2bf jdk7u14-b15 +1d1e1fc3b88d2fda0c7da55ee3abb2b455e0d317 ppc-aix-port-b04 99c114990b191f32e72c6158072033aec5816aaf jdk7u15-b01 edbaa584f09a78d0ad3c73389faf20409a552e46 jdk7u15-b02 14a9b60a2086f4e2f6ec43bee3375042946f6510 jdk7u15-b30 @@ -382,6 +394,7 @@ 4beb90ab48f7fd46c7a9afbe66f8cccb230699ba jdk7u45-b18 a456c78a50e201a65c9f63565c8291b84a4fbd32 jdk7u45-b30 3c34f244296e98d8ebb94973c752f3395612391a jdk7u45-b31 +d9b92749a0f4c8e6c6f4fe11210c2a02d70bae74 jdk7u60-b00 056494e83d15cd1c546d32a3b35bdb6f670b3876 jdk7u45-b33 b5a83862ed2ab9cc2de3719e38c72519481a4bbb jdk7u45-b34 0a8b95184728548be4b20876e05f76e0262e4195 jdk7u51-b00 @@ -403,3 +416,14 @@ d9b92749a0f4c8e6c6f4fe11210c2a02d70bae74 jdk7u60-b00 ad39e88c503948fc4fc01e97c75b6e3c24599d23 jdk7u60-b01 050986fd54e3ec4515032ee938bc59e86772b6c0 jdk7u60-b02 +74093b75ddd4fc2e578a3469d32b8bb2de3692d5 icedtea-2.5pre01 +d7085aad637fa90d027840c7f7066dba82b21667 icedtea-2.5pre02 +359b79d99538d17eeb90927a1e4883fcec31661f jdk7u60-b03 +7215972c2c30d0fa469a459a3e4fcee6bc93991d jdk7u60-b04 +673ea3822e59de18ae5771de7a280c6ae435ef86 jdk7u60-b05 +fd1cb0040a1d05086ca3bf32f10e1efd43f05116 jdk7u60-b06 +cd7c8fa7a057e62e094cdde78dd632de54cedb8c jdk7u60-b07 +b19c0f18b5a508be894aead53617688342690b01 jdk7u60-b08 +4bfece8a5148947d268611cc1b4485e92960064e jdk7u60-b09 +28a6c0b3b22580101bf750383c2e48d34dea2124 jdk7u60-b10 +e57490e0b99917ea8e1da1bb4d0c57fd5b7705f9 jdk7u60-b11 diff -r 359b79d99538 -r 1fef0a819b0a .jcheck/conf --- a/.jcheck/conf Thu Jan 02 09:44:24 2014 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -project=jdk7 -bugids=dup From andrew at icedtea.classpath.org Wed Apr 2 01:21:12 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 02 Apr 2014 01:21:12 +0000 Subject: /hg/release/icedtea7-forest-2.5/jaxws: 10 new changesets Message-ID: changeset bef313c7ff7a in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=bef313c7ff7a author: katleman date: Thu Jan 16 11:52:10 2014 -0800 Added tag jdk7u60-b03 for changeset d4ba4e1ed3ec changeset 30afd3e2e704 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=30afd3e2e704 author: katleman date: Wed Jan 22 12:34:09 2014 -0800 Added tag jdk7u60-b04 for changeset bef313c7ff7a changeset dc6017fb9cde in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=dc6017fb9cde author: katleman date: Wed Feb 05 12:31:12 2014 -0800 Added tag jdk7u60-b05 for changeset 30afd3e2e704 changeset 0380cb9d4dc2 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=0380cb9d4dc2 author: katleman date: Wed Feb 12 14:56:32 2014 -0800 Added tag jdk7u60-b06 for changeset dc6017fb9cde changeset d3896e59b04d in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=d3896e59b04d author: katleman date: Wed Feb 19 14:04:17 2014 -0800 Added tag jdk7u60-b07 for changeset 0380cb9d4dc2 changeset c85645aa77ce in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=c85645aa77ce author: katleman date: Wed Feb 26 12:46:38 2014 -0800 Added tag jdk7u60-b08 for changeset d3896e59b04d changeset 79501d4561e4 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=79501d4561e4 author: katleman date: Wed Mar 05 12:27:14 2014 -0800 Added tag jdk7u60-b09 for changeset c85645aa77ce changeset 5d848774565b in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=5d848774565b author: katleman date: Wed Mar 12 14:35:40 2014 -0700 Added tag jdk7u60-b10 for changeset 79501d4561e4 changeset 9d34f726e35b in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=9d34f726e35b author: katleman date: Wed Mar 19 10:04:21 2014 -0700 Added tag jdk7u60-b11 for changeset 5d848774565b changeset c3f7dc317cdb in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=c3f7dc317cdb author: andrew date: Wed Apr 02 02:16:00 2014 +0100 Merge jdk7u60-b12 diffstat: .hgtags | 24 ++++++++++ .jcheck/conf | 2 - build.properties | 3 + build.xml | 14 ++++- src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/parser/SchemaConstraintChecker.java | 8 +++ 5 files changed, 45 insertions(+), 6 deletions(-) diffs (172 lines): diff -r d4ba4e1ed3ec -r c3f7dc317cdb .hgtags --- a/.hgtags Thu Jan 02 09:45:01 2014 -0800 +++ b/.hgtags Wed Apr 02 02:16:00 2014 +0100 @@ -50,6 +50,7 @@ 558985e26fe16f5a6ebb2edb9180a42e1c8e8202 jdk7-b73 f4466e1b608088c90e11beaa4b600f102608c6a1 jdk7-b74 fcf2b8b5d606641659419f247fcee4b284c45e6e jdk7-b75 +0dc08d528c998ca993e759b311e7b54c98e0ef28 icedtea7-1.12 765d2077d1e652e234d27fe85ba58a986b488503 jdk7-b76 5b4968c110476085225d3a71c4210fad2c1116c1 jdk7-b77 fc1c72d1dfbb17db7d46bba8db9afc39cbbb9299 jdk7-b78 @@ -63,6 +64,7 @@ 512b0e924a5ae0c0b7ad326182cae0dc0e4d1aa8 jdk7-b86 3febd6fab2ac8ffddbaf7bed00d11290262af153 jdk7-b87 8c666f8f3565974e301ccb58b7538912551a6e26 jdk7-b88 +1661166c82dc2102f3f0364e28d1e4211f25a4cf icedtea7-1.13 bf3675aa7f20fc6f241ce95760005aef2a30ff41 jdk7-b89 ead7c4566a0017bcb44b468b3ac03b60dc5333ce jdk7-b90 cf4686bf35abd1e573f09fa43cbec66403160ae9 jdk7-b91 @@ -111,6 +113,7 @@ 545de8303fec939db3892f7c324dd7df197e8f09 jdk7-b134 d5fc61f18043765705ef22b57a68c924ab2f1a5b jdk7-b135 c81d289c9a532d6e94af3c09d856a2a20529040f jdk7-b136 +339c2d381d80dbf9b74604e6ba43ead276b8024e icedtea-1.14 ccea3282991ce8b678e188cf32a8239f76ff3bfa jdk7-b137 cc956c8a8255583535597e9a63db23c510e9a063 jdk7-b138 c025078c8362076503bb83b8e4da14ba7b347940 jdk7-b139 @@ -123,6 +126,7 @@ 05469dd4c3662c454f8a019e492543add60795cc jdk7-b146 c01bfd68d0528bc88348813c4d75d7f5c62bc4e2 jdk7u1-b01 d13b1f877bb5ed8dceb2f7ec10365d1db5f70b2d jdk7-b147 +e6cd09c7ef22bbabe31c9f2a32c7e13cfa713fd3 icedtea-2.0-branchpoint 4c24f7019ce939a452154a83151294ad7da66a9d jdk7u1-b02 272778f529d11081f548f37fcd6a7aec0b11a8dd jdk7u1-b03 48b06a6e6f46e5bcd610f4bed57cd5067cf31f8c jdk7u1-b04 @@ -141,6 +145,7 @@ 21131044a61353ac20e360bce52d8f480e08d7a2 jdk7u2-b12 9728fd833e01faa5e51484aeaf3c51d32d1175fb jdk7u2-b13 d6db86a7ca32e6d97844f633badc0d516e55694f jdk7u2-b21 +d26ff33070cb75a0a7349d965ec4f0930ded418d icedtea-2.1-branchpoint d6db86a7ca32e6d97844f633badc0d516e55694f jdk7u3-b02 44e824502fa24440f907205ccdc3959d01bd8109 jdk7u3-b03 6e1cc321aacea944691aa06558f2bbad89baf5b3 jdk7u3-b04 @@ -157,6 +162,7 @@ 3891fe529057431278394c6341cfabaacd5061f5 jdk7u4-b10 2df5cd83fab91f050c4bac54aa06e174ecee38f4 jdk7u4-b11 4d3a9fe44f7531642bc739ec3c8efb2e6d9e08c7 jdk7u4-b12 +1854d8e2547cb18ebcf84db13c22d0987c49c274 icedtea-2.2-branchpoint c3b6659aa169b3f249246497a8d5a87baa1e798a jdk7u4-b13 0f8963feaefda21e72f84b8ea49834a289d537f3 jdk7u4-b14 61516652b59ec411678b38a232a84413652a4172 jdk7u5-b01 @@ -186,11 +192,15 @@ c08f88f5ae98917254cd38e204393adac22823a6 jdk7u6-b10 a37ad8f90c7bd215d11996480e37f03eb2776ce2 jdk7u6-b11 95a96a879b8c974707a7ddb94e4fcd00e93d469c jdk7u6-b12 +4325d1311d5511da36cae81332af6840af1c0fed ppc-aix-port-b01 +4325d1311d5511da36cae81332af6840af1c0fed ppc-aix-port-b02 +4325d1311d5511da36cae81332af6840af1c0fed ppc-aix-port-b03 e0a71584b8d84d28feac9594d7bb1a981d862d7c jdk7u6-b13 9ae31559fcce636b8c219180e5db1d54556db5d9 jdk7u6-b14 f1dba7ebe6a50c22ffcaf85b14b31462ce008556 jdk7u6-b15 e1d2afbb63d27600dd8c8a021eadff84a901a73c jdk7u6-b16 401bdbbf89c9187b51dc8906c0e2700ef0ffc8a3 jdk7u6-b17 +8888d2790217c31edbf13ea81d9ac06210092ad2 icedtea-2.3-branchpoint a1daf7097c61181216233e4850ef6ec56b0fe6b6 jdk7u6-b18 58c1c6ecf8f1e59db9b575ae57b2894d0152d319 jdk7u6-b19 6d17242f12edc643ecab4263e656003a1ca44c03 jdk7u6-b20 @@ -258,11 +268,13 @@ 42ba62cdc1f3c357b6d192612dd1c4b209df2662 jdk7u12-b07 66f36438f54812e44327d38129d9488e5ea59e73 jdk7u12-b08 c130f21b16a2b2e2b961362bc4baf40fde2be458 jdk7u12-b09 +a653d06d5b50cacf58aebbab8b55e7e00587cd4c icedtea-2.4-branchpoint 9207c72345c9e82d4445764df57706f7b33a7981 jdk7u14-b10 444aa84f38df2607140e9ce35a21fef0965d27a6 jdk7u14-b11 40afea757379cfaaadca13eeb7dcbc0fe195f73d jdk7u14-b12 4fe9a362c3277cd4c7a5149853e5cf59dbba7cb7 jdk7u14-b13 a2b2e716637acdb9884d21fc4b9aef3c8b59e702 jdk7u14-b14 +53bd8e6a5ffabdc878a312509cf84a72020ddf9a ppc-aix-port-b04 b5c8ac5253ef735e5aa770b7325843ec89b56633 jdk7u14-b15 abcaebcead605f89cd0919add20d8ac16637ddc2 jdk7u15-b01 62f9e7f5eb644fedd93dd93bd36bcf817a8d9c8a jdk7u15-b02 @@ -381,6 +393,7 @@ 65b0f3ccdc8bcff0d79e1b543a8cefb817529b3f jdk7u45-b18 c32c6a662d18d7195fc02125178c7543ce09bb00 jdk7u45-b30 6802a1c098c48b2c8336e06f1565254759025bab jdk7u45-b31 +cb5f95263f620967f5097c5ff8e0b27cfb9e8c44 jdk7u60-b00 e040abab3625fbced33b30cba7c0307236268211 jdk7u45-b33 e7df5d6b23c64509672d262187f51cde14db4e66 jdk7u45-b34 5524cced32d3959d95ed414add230273bc10c38d jdk7u51-b00 @@ -402,3 +415,14 @@ cb5f95263f620967f5097c5ff8e0b27cfb9e8c44 jdk7u60-b00 f675dfce1e61a6ed01732ae7cfbae941791cba74 jdk7u60-b01 8a3b9e8492a5ac4e2e0c166dbfc5d058be244377 jdk7u60-b02 +3f7212cae6eb1fe4b257adfbd05a7fce47c84bf0 icedtea-2.5pre01 +4aeccc3040fa45d7156dccb03984320cb75a0d73 icedtea-2.5pre02 +d4ba4e1ed3ecdef1ef7c3b7aaf62ff69fc105cb2 jdk7u60-b03 +bef313c7ff7a7a829f8f6a305bf0c3738ad99795 jdk7u60-b04 +30afd3e2e7044b2aa87ce00ab4301990e6d94d27 jdk7u60-b05 +dc6017fb9cde43bce92d403abc2821b741cf977c jdk7u60-b06 +0380cb9d4dc27ed8e2c4fc3502e3d94b0ae0c02d jdk7u60-b07 +d3896e59b04dc4022c3e0d04e8750b281249bbd2 jdk7u60-b08 +c85645aa77cedabeeb6e01373cdd81afd56c602e jdk7u60-b09 +79501d4561e4cfa96fd77e2e92eb6a1b6ad61005 jdk7u60-b10 +5d848774565b5e188d7ba915ce1cb09d8f3fdb87 jdk7u60-b11 diff -r d4ba4e1ed3ec -r c3f7dc317cdb .jcheck/conf --- a/.jcheck/conf Thu Jan 02 09:45:01 2014 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -project=jdk7 -bugids=dup diff -r d4ba4e1ed3ec -r c3f7dc317cdb build.properties --- a/build.properties Thu Jan 02 09:45:01 2014 -0800 +++ b/build.properties Wed Apr 02 02:16:00 2014 +0100 @@ -58,6 +58,9 @@ build.dir=${output.dir}/build build.classes.dir=${build.dir}/classes +# JAXP built files +jaxp.classes.dir=${output.dir}/../jaxp/build/classes + # Distributed results dist.dir=${output.dir}/dist dist.lib.dir=${dist.dir}/lib diff -r d4ba4e1ed3ec -r c3f7dc317cdb build.xml --- a/build.xml Thu Jan 02 09:45:01 2014 -0800 +++ b/build.xml Wed Apr 02 02:16:00 2014 +0100 @@ -135,9 +135,15 @@ - + - + diff -r d4ba4e1ed3ec -r c3f7dc317cdb src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/parser/SchemaConstraintChecker.java --- a/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/parser/SchemaConstraintChecker.java Thu Jan 02 09:45:01 2014 -0800 +++ b/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/parser/SchemaConstraintChecker.java Wed Apr 02 02:16:00 2014 +0100 @@ -67,6 +67,14 @@ SchemaFactory sf = SchemaFactory.newInstance(W3C_XML_SCHEMA_NS_URI); sf.setErrorHandler(errorFilter); + try { + // By default the SchemaFactory imposes a limit of 5000 on + // xsd:sequence maxOccurs if a SecurityManager is + // installed. This breaks the specification of xjc, + // causing TCK failures. + sf.setProperty("http://apache.org/xml/properties/security-manager", null); + } catch (SAXException e) { + } if( entityResolver != null ) { sf.setResourceResolver(new LSResourceResolver() { public LSInput resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI) { From andrew at icedtea.classpath.org Wed Apr 2 01:21:22 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 02 Apr 2014 01:21:22 +0000 Subject: /hg/release/icedtea7-forest-2.5/langtools: 16 new changesets Message-ID: changeset 772aad4e9681 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=772aad4e9681 author: katleman date: Thu Jan 16 11:52:25 2014 -0800 Added tag jdk7u60-b03 for changeset 4170784840d5 changeset 744287fccf3b in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=744287fccf3b author: katleman date: Wed Jan 22 12:34:48 2014 -0800 Added tag jdk7u60-b04 for changeset 772aad4e9681 changeset 8f6db72756f3 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=8f6db72756f3 author: katleman date: Wed Feb 05 12:31:51 2014 -0800 Added tag jdk7u60-b05 for changeset 744287fccf3b changeset e63a64c50c0c in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=e63a64c50c0c author: katleman date: Wed Feb 12 14:57:01 2014 -0800 Added tag jdk7u60-b06 for changeset 8f6db72756f3 changeset ff6a1c2be8b8 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=ff6a1c2be8b8 author: bpatel date: Mon Feb 10 09:50:12 2014 -0800 8016328: Regression : Javadoc i18n regression caused by fix for 8012375 Reviewed-by: jjg changeset da87f2bc8fd9 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=da87f2bc8fd9 author: vromero date: Tue Feb 11 21:01:12 2014 +0000 8033294: javac, spurious warning for instanceof operator Reviewed-by: jjg, jlahoda changeset 02f050bc5569 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=02f050bc5569 author: lana date: Sat Feb 15 17:58:10 2014 -0800 Merge changeset be8e34e4920e in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=be8e34e4920e author: katleman date: Wed Feb 19 14:04:42 2014 -0800 Added tag jdk7u60-b07 for changeset 02f050bc5569 changeset 3f8b585403e5 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=3f8b585403e5 author: katleman date: Wed Feb 26 12:47:21 2014 -0800 Added tag jdk7u60-b08 for changeset be8e34e4920e changeset 5048b510be42 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=5048b510be42 author: katleman date: Wed Mar 05 12:27:59 2014 -0800 Added tag jdk7u60-b09 for changeset 3f8b585403e5 changeset f5883f43767d in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=f5883f43767d author: mfang date: Wed Mar 05 09:16:34 2014 -0800 8035988: 7u60 l10n resource file translation update 1 Reviewed-by: naoto, yhuang changeset 661c81c7f560 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=661c81c7f560 author: kizune date: Wed Feb 26 17:51:19 2014 +0400 7186887: Test T6567415.java can fail on a slow machine Reviewed-by: jjg, ksrini changeset 3ee98cd07065 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=3ee98cd07065 author: lana date: Wed Mar 05 16:26:11 2014 -0800 Merge changeset 3cc64ba8cf85 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=3cc64ba8cf85 author: katleman date: Wed Mar 12 14:36:05 2014 -0700 Added tag jdk7u60-b10 for changeset 3ee98cd07065 changeset b79b8b1dc88f in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=b79b8b1dc88f author: katleman date: Wed Mar 19 10:04:37 2014 -0700 Added tag jdk7u60-b11 for changeset 3cc64ba8cf85 changeset f38810d86876 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=f38810d86876 author: andrew date: Wed Apr 02 02:16:03 2014 +0100 Merge jdk7u60-b12 diffstat: .hgtags | 24 +++ .jcheck/conf | 2 - make/Makefile | 4 + make/build.properties | 3 +- make/build.xml | 2 +- src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlDocWriter.java | 8 +- src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlTree.java | 45 ++++++- src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlWriter.java | 11 +- src/share/classes/com/sun/tools/doclets/formats/html/resources/standard_ja.properties | 14 +- src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_ja.properties | 46 ++++-- src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_zh_CN.properties | 14 +- src/share/classes/com/sun/tools/javac/code/Type.java | 6 +- src/share/classes/com/sun/tools/javac/code/Types.java | 52 ++++--- src/share/classes/com/sun/tools/javac/resources/javac_ja.properties | 10 +- src/share/classes/com/sun/tools/javah/resources/l10n_ja.properties | 4 +- src/share/classes/com/sun/tools/javap/resources/javap_ja.properties | 63 ++++++++++ src/share/classes/com/sun/tools/javap/resources/javap_zh_CN.properties | 63 ++++++++++ test/com/sun/javadoc/testHref/TestHref.java | 12 +- test/com/sun/javadoc/testJavascript/TestJavascript.java | 13 +- test/com/sun/javadoc/testLinkTaglet/TestLinkTaglet.java | 10 +- test/com/sun/javadoc/testPrivateClasses/TestPrivateClasses.java | 6 +- test/tools/javac/6567415/T6567415.java | 4 +- test/tools/javac/T5090006/broken.jar | Bin test/tools/javac/T8033294/RedundantWarningInIntersectionTest.java | 58 +++++++++ 24 files changed, 386 insertions(+), 88 deletions(-) diffs (truncated from 918 to 500 lines): diff -r 4170784840d5 -r f38810d86876 .hgtags --- a/.hgtags Thu Jan 02 10:11:59 2014 -0800 +++ b/.hgtags Wed Apr 02 02:16:03 2014 +0100 @@ -50,6 +50,7 @@ 9596dff460935f09684c11d156ce591f92584f0d jdk7-b73 1a66b08deed0459054b5b1bea3dfbead30d258fa jdk7-b74 2485f5641ed0829205aaaeb31ad711c2c2ef0de3 jdk7-b75 +83367f01297bf255f511f5291bbbbaa24a9c8459 icedtea7-1.12 8fb9b4be3cb1574302acde90549a4d333ef51e93 jdk7-b76 0398ae15b90ac76d87ee21844453e95ff8613e43 jdk7-b77 acc1e40a5874ebf32bebcb6ada565b3b40b7461c jdk7-b78 @@ -63,6 +64,7 @@ ef07347428f2198ae6b8144ac0b9086bbe39fd16 jdk7-b86 409db93d19c002333980df5b797c6b965150c7a0 jdk7-b87 f9b5d4867a26f8c4b90ad37fe2c345b721e93d6b jdk7-b88 +681f1f51926faf4c73d8905a429ff4ead6e9d622 icedtea7-1.13 6cea9a143208bc1185ced046942c0f4e45dbeba5 jdk7-b89 71c2c23a7c35b2896c87004023b9743b6d1b7758 jdk7-b90 97b6fa97b8ddb3a49394011c2a0ec5d6535e594c jdk7-b91 @@ -111,6 +113,7 @@ 3d7acdbb72cab55deedfd35f60d4732abc9d6ac4 jdk7-b134 9d0a61ac567b983da7cc8f4a7030f2245bb6dbab jdk7-b135 ed0f7f1f9511db4f9615b1426d22f8b961629275 jdk7-b136 +8e26c4aee63c04ee129bf9068f5eea47cc385177 icedtea-1.14 a15c9b058ae007d4ccb7e35ce44e4dfa977f090b jdk7-b137 53f212bed4f4304dce7f0bf0fa01c998c65bacd6 jdk7-b138 853b6bb99f9b58eb7cf8211c67d3b6e4f1228a3e jdk7-b139 @@ -123,6 +126,7 @@ 9425dd4f53d5bfcd992d9aecea0eb7d8b2d4f62b jdk7-b146 d34578643d1c6c752d4a6b5e79c6ab1b60850b4a jdk7u1-b01 58bc532d63418ac3c9b42460d89cdaf595c6f3e1 jdk7-b147 +fb7fb3071b642334520e5b9f4a87ce28717af61c icedtea-2.0-branchpoint cd2cc8b5edb045b950aed46d159b4fb8fc2fd1df jdk7u1-b02 82820a30201dbf4b80f1916f3d0f4a92ad21b61a jdk7u1-b03 baa2c13c70fea3d6e259a34f0903197fdceb64b5 jdk7u1-b04 @@ -141,6 +145,7 @@ f0802d8a0909f66ce19d3d44b33ddf4943aee076 jdk7u2-b12 f474527e77e4797d78bd6c3b31923fddcfd9d5c6 jdk7u2-b13 fc0769df8cd03fffc38c7a1ab6b2e2e7cc2506a8 jdk7u2-b21 +58f6a950cd726220e81eddb126ca5c57e3b368f2 icedtea-2.1-branchpoint fc0769df8cd03fffc38c7a1ab6b2e2e7cc2506a8 jdk7u3-b02 0ffc4995457773085f61c39f6d33edc242b41bcf jdk7u3-b03 f6de36b195cd315646213c7affd2cc15702edbfb jdk7u3-b04 @@ -157,6 +162,7 @@ 8919b2b02fcba65f833c68374f3bfdd9bc3ba814 jdk7u4-b10 4672e092f0968d503dc37f860b15ae7e2653f8d7 jdk7u4-b11 a4bf6a1aff54a98e9ff2b3fb53c719f658bec677 jdk7u4-b12 +e3537a4f75c7fcca16c349c3175bb0cdc2fbc29c icedtea-2.2-branchpoint 56eb9150d9ffdb71c47d72871e8ecc98b5f402de jdk7u4-b13 0e55881c2ee2984048c179d1e031cefb56a36bec jdk7u4-b14 0bea057f7ce1577e1b0306f2027c057e35394398 jdk7u5-b01 @@ -186,11 +192,15 @@ 21d2313dfeac8c52a04b837d13958c86346a4b12 jdk7u6-b10 13d3c624291615593b4299a273085441b1dd2f03 jdk7u6-b11 f0be10a26af08c33d9afe8fe51df29572d431bac jdk7u6-b12 +e3eeee75b861baf378d41adcd29ae70ed047eae7 ppc-aix-port-b01 +e3eeee75b861baf378d41adcd29ae70ed047eae7 ppc-aix-port-b02 +e3eeee75b861baf378d41adcd29ae70ed047eae7 ppc-aix-port-b03 fcebf337f5c1d342973573d9c6f758443c8aefcf jdk7u6-b13 35b2699c6243e9fb33648c2c25e97ec91d0e3553 jdk7u6-b14 47ae28da508861d77ee6dd408d822acf507b28ec jdk7u6-b15 5c7763489f4d2727c6d9de11f4114fb8ed839042 jdk7u6-b16 66c671f28cb2840ceec5b44c44bac073fc0b4256 jdk7u6-b17 +cee31ee38a190f77b1e21c0515bb28802dcd9678 icedtea-2.3-branchpoint 6aa859ef42876c51bb1b1d7fb4db32a916a7dcaa jdk7u6-b18 474a52eeeafb1feccffda68b96f651e65415c01d jdk7u6-b19 32acb67a79531daf678577c7ef1bde1867da807d jdk7u6-b20 @@ -258,11 +268,13 @@ 382bab6d9682eefa2185a1643dfa32d65b6c20e5 jdk7u12-b07 7c0c3aeb2c603baba2cabba9adc5a0a49afb4f47 jdk7u12-b08 96c4f3ec63552a87a825baabd7f0dfafec299483 jdk7u12-b09 +85fb9d7ce4af53f0a47d2b73d983c96239f9ff33 icedtea-2.4-branchpoint e5b1403fa68abe3ac7174c031f19e6ecf77624a0 jdk7u14-b10 db94066df63468172e074d59e71d82dc874ed7cb jdk7u14-b11 f9a326e92fafc4724f0af550c2cba82fea202a31 jdk7u14-b12 5a52c6cc8db94b68eaacb42a9b4df30a40b09d82 jdk7u14-b13 5febc4e479fad801424cdcce90a0d463a2ef9223 jdk7u14-b14 +d52538e72925a1da7b1fcff051b591beeb2452b4 ppc-aix-port-b04 5fdb509d1f1a0533b14c61c92d77ff21e0ce2488 jdk7u14-b15 1298307076c2f0c2a4acd3a2a132cbe98d399009 jdk7u15-b01 8db0105f00ce9fe6899ece52d46d78995111c456 jdk7u15-b02 @@ -382,6 +394,7 @@ ba3ff27d4082f2cf0d06e635b2b6e01f80e78589 jdk7u45-b18 164cf7491ba2f371354ba343a604eee4c61c529d jdk7u45-b30 7f5cfaedb25c2c2774d6839810d6ae543557ca01 jdk7u45-b31 +849b17bc6e9a08fa41e0ef631e51366a09842e64 jdk7u60-b00 ef7bdbe7f1fa42fd58723e541d9cdedcacb2649a jdk7u45-b33 bcb3e939d046d75436c7c8511600b6edce42e6da jdk7u45-b34 18d1864abca976ca68cb71612e9b20c908455d3d jdk7u51-b00 @@ -403,3 +416,14 @@ 849b17bc6e9a08fa41e0ef631e51366a09842e64 jdk7u60-b00 b19e375d9829daf207b1bdc7f908a3e1d548462c jdk7u60-b01 954e1616449af74f68aed57261cbeb62403377f1 jdk7u60-b02 +0d89cc5766d72e870eaf16696ec9b7b1ca4901fd icedtea-2.5pre01 +f75a642c2913e1ecbd22fc46812cffa2e7739169 icedtea-2.5pre02 +4170784840d510b4e8ae7ae250b92279aaf5eb25 jdk7u60-b03 +772aad4e9681828b8ee193b9ed971cbfe6c7f347 jdk7u60-b04 +744287fccf3b2c4fba2abf105863f0a44c3bd4da jdk7u60-b05 +8f6db72756f3e4c3cca8731d20e978fb741846d2 jdk7u60-b06 +02f050bc5569fb058ace44ed705bbb0f9022a6fe jdk7u60-b07 +be8e34e4920ebd1cfb89739d636e363c7881a548 jdk7u60-b08 +3f8b585403e596b7eadc231484f5480361c52c4b jdk7u60-b09 +3ee98cd07065dfa9a982e6692a3e875684a7e820 jdk7u60-b10 +3cc64ba8cf85942929b15c5ef21360f96db3b99c jdk7u60-b11 diff -r 4170784840d5 -r f38810d86876 .jcheck/conf --- a/.jcheck/conf Thu Jan 02 10:11:59 2014 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -project=jdk7 -bugids=dup diff -r 4170784840d5 -r f38810d86876 make/Makefile --- a/make/Makefile Thu Jan 02 10:11:59 2014 -0800 +++ b/make/Makefile Wed Apr 02 02:16:03 2014 +0100 @@ -111,6 +111,10 @@ ANT_OPTIONS += -Ddebug.classfiles=true endif +ifeq ($(JAVAC_WARNINGS_FATAL), false) + ANT_OPTIONS += -Djavac.warnings.fatal= +endif + # Note: jdk/make/common/Defs.gmk uses LANGUAGE_VERSION (-source NN) # and the somewhat misnamed CLASS_VERSION (-target NN) ifdef TARGET_CLASS_VERSION diff -r 4170784840d5 -r f38810d86876 make/build.properties --- a/make/build.properties Thu Jan 02 10:11:59 2014 -0800 +++ b/make/build.properties Wed Apr 02 02:16:03 2014 +0100 @@ -68,7 +68,8 @@ # set the following to -version to verify the versions of javac being used javac.version.opt = # in time, there should be no exceptions to -Xlint:all -javac.lint.opts = -Xlint:all,-deprecation -Werror +javac.warnings.fatal = -Werror +javac.lint.opts = -Xlint:all,-deprecation ${javac.warnings.fatal} # options for the task for javac #javadoc.jls3.url=http://java.sun.com/docs/books/jls/ diff -r 4170784840d5 -r f38810d86876 make/build.xml --- a/make/build.xml Thu Jan 02 10:11:59 2014 -0800 +++ b/make/build.xml Wed Apr 02 02:16:03 2014 +0100 @@ -877,7 +877,7 @@ + classpath="${build.toolclasses.dir}:${build.bootstrap.dir}/classes:${ant.home}/lib/ant.jar"/> diff -r 4170784840d5 -r f38810d86876 src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlDocWriter.java --- a/src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlDocWriter.java Thu Jan 02 10:11:59 2014 -0800 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlDocWriter.java Wed Apr 02 02:16:03 2014 +0100 @@ -181,12 +181,14 @@ String label, boolean strong, String stylename, String title, String target) { StringBuffer retlink = new StringBuffer(); + StringBuilder lnk = new StringBuilder(); retlink.append(" 127) {" + DocletConstants.NL + " allowNumber = true;" + DocletConstants.NL + " allowSep = true;" + DocletConstants.NL + " } else if ('0' <= ch && ch <= '9'" + DocletConstants.NL + diff -r 4170784840d5 -r f38810d86876 src/share/classes/com/sun/tools/doclets/formats/html/resources/standard_ja.properties --- a/src/share/classes/com/sun/tools/doclets/formats/html/resources/standard_ja.properties Thu Jan 02 10:11:59 2014 -0800 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/resources/standard_ja.properties Wed Apr 02 02:16:03 2014 +0100 @@ -25,7 +25,7 @@ doclet.Href_Enum_Title={0}\u5185\u306E\u5217\u6319\u578B doclet.Href_Type_Param_Title={0}\u5185\u306E\u578B\u30D1\u30E9\u30E1\u30FC\u30BF doclet.Href_Class_Or_Interface_Title={0}\u5185\u306E\u30AF\u30E9\u30B9\u307E\u305F\u306F\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9 -doclet.Summary=\u6982\u8981: +doclet.Summary=\u30B5\u30DE\u30EA\u30FC: doclet.Detail=\u8A73\u7D30: doclet.navNested=\u30CD\u30B9\u30C8 doclet.navAnnotationTypeOptionalMember=\u30AA\u30D7\u30B7\u30E7\u30F3 @@ -68,7 +68,7 @@ doclet.see.class_or_package_not_found=\u30BF\u30B0{0}: \u53C2\u7167\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093: {1} doclet.see.class_or_package_not_accessible=\u30BF\u30B0{0}: \u53C2\u7167\u306B\u30A2\u30AF\u30BB\u30B9\u3067\u304D\u307E\u305B\u3093: {1} doclet.see.malformed_tag={0}\u30BF\u30B0: \u4E0D\u6B63\u306A{1}\u30BF\u30B0 -doclet.Inherited_API_Summary=\u7D99\u627F\u3055\u308C\u305FAPI\u306E\u6982\u8981 +doclet.Inherited_API_Summary=\u7D99\u627F\u3055\u308C\u305FAPI\u306E\u30B5\u30DE\u30EA\u30FC doclet.Deprecated_API=\u975E\u63A8\u5968\u306EAPI doclet.Deprecated_Packages=\u975E\u63A8\u5968\u306E\u30D1\u30C3\u30B1\u30FC\u30B8 doclet.Deprecated_Classes=\u975E\u63A8\u5968\u306E\u30AF\u30E9\u30B9 @@ -135,18 +135,18 @@ doclet.Help_title=API\u30D8\u30EB\u30D7 doclet.Window_Help_title=API\u30D8\u30EB\u30D7 doclet.Help_line_1=API\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306E\u69CB\u6210 -doclet.Help_line_2=\u3053\u306EAPI(Application Programming Interface)\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306B\u306F\u3001\u6B21\u306B\u8AAC\u660E\u3059\u308B\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3\u30FB\u30D0\u30FC\u306B\u3042\u308B\u9805\u76EE\u306B\u5BFE\u5FDC\u3059\u308B\u30DA\u30FC\u30B8\u304C\u542B\u307E\u308C\u307E\u3059\u3002 -doclet.Help_line_3={0}\u30DA\u30FC\u30B8\u306FAPI\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306E\u30D5\u30ED\u30F3\u30C8\u30FB\u30DA\u30FC\u30B8\u3067\u3001\u5404\u30D1\u30C3\u30B1\u30FC\u30B8\u306E\u6982\u8981\u3092\u542B\u3080\u5168\u30D1\u30C3\u30B1\u30FC\u30B8\u306E\u30EA\u30B9\u30C8\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002\u4E00\u9023\u306E\u30D1\u30C3\u30B1\u30FC\u30B8\u306E\u6982\u8981\u8AAC\u660E\u3082\u8868\u793A\u3055\u308C\u307E\u3059\u3002 -doclet.Help_line_4=\u5404\u30D1\u30C3\u30B1\u30FC\u30B8\u306B\u306F\u3001\u305D\u306E\u30D1\u30C3\u30B1\u30FC\u30B8\u306E\u30AF\u30E9\u30B9\u304A\u3088\u3073\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u306E\u30EA\u30B9\u30C8\u3068\u3001\u305D\u308C\u305E\u308C\u306E\u6982\u8981\u3092\u542B\u3080\u30DA\u30FC\u30B8\u304C\u3042\u308A\u307E\u3059\u3002\u3053\u306E\u30DA\u30FC\u30B8\u306F6\u3064\u306E\u30AB\u30C6\u30B4\u30EA\u3067\u69CB\u6210\u3055\u308C\u307E\u3059\u3002 +doclet.Help_line_2=\u3053\u306EAPI (Application Programming Interface)\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306B\u306F\u3001\u6B21\u306B\u8AAC\u660E\u3059\u308B\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3\u30FB\u30D0\u30FC\u306B\u3042\u308B\u9805\u76EE\u306B\u5BFE\u5FDC\u3059\u308B\u30DA\u30FC\u30B8\u304C\u542B\u307E\u308C\u307E\u3059\u3002 +doclet.Help_line_3={0}\u30DA\u30FC\u30B8\u306FAPI\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306E\u30D5\u30ED\u30F3\u30C8\u30FB\u30DA\u30FC\u30B8\u3067\u3001\u5404\u30D1\u30C3\u30B1\u30FC\u30B8\u306E\u30B5\u30DE\u30EA\u30FC\u3092\u542B\u3080\u5168\u30D1\u30C3\u30B1\u30FC\u30B8\u306E\u30EA\u30B9\u30C8\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002\u4E00\u9023\u306E\u30D1\u30C3\u30B1\u30FC\u30B8\u306E\u5168\u4F53\u7684\u306A\u8AAC\u660E\u3082\u8868\u793A\u3055\u308C\u307E\u3059\u3002 +doclet.Help_line_4=\u5404\u30D1\u30C3\u30B1\u30FC\u30B8\u306B\u306F\u3001\u305D\u306E\u30D1\u30C3\u30B1\u30FC\u30B8\u306E\u30AF\u30E9\u30B9\u304A\u3088\u3073\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u306E\u30EA\u30B9\u30C8\u3068\u3001\u305D\u308C\u305E\u308C\u306E\u30B5\u30DE\u30EA\u30FC\u3092\u542B\u3080\u30DA\u30FC\u30B8\u304C\u3042\u308A\u307E\u3059\u3002\u3053\u306E\u30DA\u30FC\u30B8\u306F6\u3064\u306E\u30AB\u30C6\u30B4\u30EA\u3067\u69CB\u6210\u3055\u308C\u307E\u3059\u3002 doclet.Help_line_5=\u30AF\u30E9\u30B9\u307E\u305F\u306F\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9 -doclet.Help_line_6=\u5404\u30AF\u30E9\u30B9\u3001\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u3001\u30CD\u30B9\u30C8\u3055\u308C\u305F\u30AF\u30E9\u30B9\u304A\u3088\u3073\u30CD\u30B9\u30C8\u3055\u308C\u305F\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u306B\u306F\u500B\u5225\u306E\u30DA\u30FC\u30B8\u304C\u3042\u308A\u307E\u3059\u3002\u5404\u30DA\u30FC\u30B8\u306B\u306F\u6B21\u306E\u3088\u3046\u306B\u3001\u30AF\u30E9\u30B9\u307E\u305F\u306F\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u306E\u8AAC\u660E\u3068\u3001\u6982\u8981\u8868\u304A\u3088\u3073\u30E1\u30F3\u30D0\u30FC\u306E\u8A73\u7D30\u8AAC\u660E\u304C\u542B\u307E\u308C\u307E\u3059\u3002 +doclet.Help_line_6=\u5404\u30AF\u30E9\u30B9\u3001\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u3001\u30CD\u30B9\u30C8\u3055\u308C\u305F\u30AF\u30E9\u30B9\u304A\u3088\u3073\u30CD\u30B9\u30C8\u3055\u308C\u305F\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u306B\u306F\u500B\u5225\u306E\u30DA\u30FC\u30B8\u304C\u3042\u308A\u307E\u3059\u3002\u5404\u30DA\u30FC\u30B8\u306B\u306F\u6B21\u306E\u3088\u3046\u306B\u3001\u30AF\u30E9\u30B9\u307E\u305F\u306F\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u306E\u8AAC\u660E\u3068\u3001\u30B5\u30DE\u30EA\u30FC\u8868\u304A\u3088\u3073\u30E1\u30F3\u30D0\u30FC\u306E\u8A73\u7D30\u8AAC\u660E\u304C\u542B\u307E\u308C\u307E\u3059\u3002 doclet.Help_line_7=\u30AF\u30E9\u30B9\u968E\u5C64\u8868\u793A doclet.Help_line_8=\u76F4\u7CFB\u306E\u30B5\u30D6\u30AF\u30E9\u30B9 doclet.Help_line_9=\u65E2\u77E5\u306E\u30B5\u30D6\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u306E\u30EA\u30B9\u30C8 doclet.Help_line_10=\u65E2\u77E5\u306E\u5B9F\u88C5\u30AF\u30E9\u30B9\u306E\u30EA\u30B9\u30C8 doclet.Help_line_11=\u30AF\u30E9\u30B9\u307E\u305F\u306F\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u306E\u5BA3\u8A00 doclet.Help_line_12=\u30AF\u30E9\u30B9\u307E\u305F\u306F\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u306E\u8AAC\u660E -doclet.Help_line_13=\u5404\u6982\u8981\u30A8\u30F3\u30C8\u30EA\u306B\u306F\u3001\u305D\u306E\u9805\u76EE\u306E\u8A73\u7D30\u306A\u8AAC\u660E\u306E\u4E2D\u304B\u30891\u884C\u76EE\u306E\u6587\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002\u8A73\u7D30\u306A\u8AAC\u660E\u306F\u30BD\u30FC\u30B9\u30FB\u30B3\u30FC\u30C9\u306B\u73FE\u308C\u308B\u9806\u306B\u4E26\u3079\u3089\u308C\u307E\u3059\u304C\u3001\u6982\u8981\u30A8\u30F3\u30C8\u30EA\u306F\u30A2\u30EB\u30D5\u30A1\u30D9\u30C3\u30C8\u9806\u306B\u4E26\u3079\u3089\u308C\u307E\u3059\u3002\u3053\u308C\u306B\u3088\u3063\u3066\u3001\u30D7\u30ED\u30B0\u30E9\u30DE\u304C\u8A2D\u5B9A\u3057\u305F\u8AD6\u7406\u7684\u306A\u30B0\u30EB\u30FC\u30D7\u5206\u3051\u304C\u4FDD\u6301\u3055\u308C\u307E\u3059\u3002 +doclet.Help_line_13=\u5404\u30B5\u30DE\u30EA\u30FC\u30FB\u30A8\u30F3\u30C8\u30EA\u306B\u306F\u3001\u305D\u306E\u9805\u76EE\u306E\u8A73\u7D30\u8AAC\u660E\u306E\u4E2D\u304B\u30891\u884C\u76EE\u306E\u6587\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002\u30B5\u30DE\u30EA\u30FC\u30FB\u30A8\u30F3\u30C8\u30EA\u306F\u30A2\u30EB\u30D5\u30A1\u30D9\u30C3\u30C8\u9806\u3067\u3059\u304C\u3001\u8A73\u7D30\u8AAC\u660E\u306F\u30BD\u30FC\u30B9\u30FB\u30B3\u30FC\u30C9\u306B\u73FE\u308C\u308B\u9806\u306B\u306A\u3063\u3066\u3044\u307E\u3059\u3002\u3053\u308C\u306B\u3088\u3063\u3066\u3001\u30D7\u30ED\u30B0\u30E9\u30DE\u304C\u8A2D\u5B9A\u3057\u305F\u8AD6\u7406\u7684\u306A\u30B0\u30EB\u30FC\u30D7\u5206\u3051\u304C\u4FDD\u6301\u3055\u308C\u307E\u3059\u3002 doclet.Help_line_14=\u4F7F\u7528 doclet.Help_line_15=\u5404\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u5316\u3055\u308C\u305F\u30D1\u30C3\u30B1\u30FC\u30B8\u3001\u30AF\u30E9\u30B9\u304A\u3088\u3073\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u306B\u306F\u305D\u308C\u305E\u308C\u300C\u4F7F\u7528\u300D\u30DA\u30FC\u30B8\u304C\u3042\u308A\u307E\u3059\u3002\u3053\u306E\u30DA\u30FC\u30B8\u306B\u306F\u3001\u3069\u306E\u3088\u3046\u306A\u30D1\u30C3\u30B1\u30FC\u30B8\u3001\u30AF\u30E9\u30B9\u3001\u30E1\u30BD\u30C3\u30C9\u3001\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u304A\u3088\u3073\u30D5\u30A3\u30FC\u30EB\u30C9\u304C\u3001\u7279\u5B9A\u306E\u30AF\u30E9\u30B9\u307E\u305F\u306F\u30D1\u30C3\u30B1\u30FC\u30B8\u306E\u4E00\u90E8\u3092\u4F7F\u7528\u3057\u3066\u3044\u308B\u304B\u304C\u8A18\u8FF0\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u305F\u3068\u3048\u3070\u3001\u30AF\u30E9\u30B9A\u307E\u305F\u306F\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9A\u306E\u5834\u5408\u3001\u305D\u306E\u300C\u4F7F\u7528\u300D\u30DA\u30FC\u30B8\u306B\u306F\u3001A\u306E\u30B5\u30D6\u30AF\u30E9\u30B9\u3001A\u3068\u3057\u3066\u5BA3\u8A00\u3055\u308C\u308B\u30D5\u30A3\u30FC\u30EB\u30C9\u3001A\u3092\u8FD4\u3059\u30E1\u30BD\u30C3\u30C9\u3068\u3001\u578BA\u3092\u6301\u3064\u30E1\u30BD\u30C3\u30C9\u304A\u3088\u3073\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u304C\u542B\u307E\u308C\u307E\u3059\u3002\u3053\u306E\u30DA\u30FC\u30B8\u306B\u30A2\u30AF\u30BB\u30B9\u3059\u308B\u306B\u306F\u3001\u307E\u305A\u305D\u306E\u30D1\u30C3\u30B1\u30FC\u30B8\u3001\u30AF\u30E9\u30B9\u307E\u305F\u306F\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u306B\u79FB\u52D5\u3057\u3001\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3\u30FB\u30D0\u30FC\u306E\u300C\u4F7F\u7528\u300D\u30EA\u30F3\u30AF\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u304F\u3060\u3055\u3044\u3002 doclet.Help_line_16=\u968E\u5C64\u30C4\u30EA\u30FC(\u30AF\u30E9\u30B9\u968E\u5C64) diff -r 4170784840d5 -r f38810d86876 src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_ja.properties --- a/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_ja.properties Thu Jan 02 10:11:59 2014 -0800 +++ b/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_ja.properties Wed Apr 02 02:16:03 2014 +0100 @@ -66,22 +66,22 @@ doclet.malformed_html_link_tag= \u30BF\u30B0\u306E\u5F62\u5F0F\u304C\u4E0D\u6B63:\n"{0}" doclet.tag_misuse={0}\u30BF\u30B0\u306F{1}\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u5185\u3067\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002\u4F7F\u7528\u3067\u304D\u308B\u306E\u306F\u6B21\u306E\u30BF\u30A4\u30D7\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u5185\u306E\u307F\u3067\u3059: {2}\u3002 doclet.javafx_tag_misuse=\u30BF\u30B0 at propertyGetter\u3001 at propertySetter\u304A\u3088\u3073 at propertyDescription\u306F\u3001JavaFX\u306E\u30D7\u30ED\u30D1\u30C6\u30A3getter\u3068setter\u306E\u307F\u3067\u4F7F\u7528\u3067\u304D\u307E\u3059\u3002 -doclet.Package_Summary=\u30D1\u30C3\u30B1\u30FC\u30B8\u306E\u6982\u8981 -doclet.Interface_Summary=\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u306E\u6982\u8981 -doclet.Annotation_Types_Summary=\u6CE8\u91C8\u578B\u306E\u6982\u8981 -doclet.Enum_Summary=\u5217\u6319\u578B\u306E\u6982\u8981 -doclet.Exception_Summary=\u4F8B\u5916\u306E\u6982\u8981 -doclet.Error_Summary=\u30A8\u30E9\u30FC\u306E\u6982\u8981 -doclet.Class_Summary=\u30AF\u30E9\u30B9\u306E\u6982\u8981 -doclet.Nested_Class_Summary=\u30CD\u30B9\u30C8\u3055\u308C\u305F\u30AF\u30E9\u30B9\u306E\u6982\u8981 -doclet.Annotation_Type_Optional_Member_Summary=\u4EFB\u610F\u8981\u7D20\u306E\u6982\u8981 -doclet.Annotation_Type_Required_Member_Summary=\u5FC5\u9808\u8981\u7D20\u306E\u6982\u8981 -doclet.Field_Summary=\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u6982\u8981 -doclet.Property_Summary=\u30D7\u30ED\u30D1\u30C6\u30A3\u306E\u6982\u8981 -doclet.Enum_Constant_Summary=\u5217\u6319\u578B\u5B9A\u6570\u306E\u6982\u8981 -doclet.Constructor_Summary=\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u306E\u6982\u8981 -doclet.Method_Summary=\u30E1\u30BD\u30C3\u30C9\u306E\u6982\u8981 -doclet.Factory_Method_Summary=static\u30D5\u30A1\u30AF\u30C8\u30EA\u30FB\u30E1\u30BD\u30C3\u30C9\u306E\u6982\u8981 +doclet.Package_Summary=\u30D1\u30C3\u30B1\u30FC\u30B8\u306E\u30B5\u30DE\u30EA\u30FC +doclet.Interface_Summary=\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9\u306E\u30B5\u30DE\u30EA\u30FC +doclet.Annotation_Types_Summary=\u6CE8\u91C8\u578B\u306E\u30B5\u30DE\u30EA\u30FC +doclet.Enum_Summary=\u5217\u6319\u578B\u306E\u30B5\u30DE\u30EA\u30FC +doclet.Exception_Summary=\u4F8B\u5916\u306E\u30B5\u30DE\u30EA\u30FC +doclet.Error_Summary=\u30A8\u30E9\u30FC\u306E\u30B5\u30DE\u30EA\u30FC +doclet.Class_Summary=\u30AF\u30E9\u30B9\u306E\u30B5\u30DE\u30EA\u30FC +doclet.Nested_Class_Summary=\u30CD\u30B9\u30C8\u3055\u308C\u305F\u30AF\u30E9\u30B9\u306E\u30B5\u30DE\u30EA\u30FC +doclet.Annotation_Type_Optional_Member_Summary=\u4EFB\u610F\u8981\u7D20\u306E\u30B5\u30DE\u30EA\u30FC +doclet.Annotation_Type_Required_Member_Summary=\u5FC5\u9808\u8981\u7D20\u306E\u30B5\u30DE\u30EA\u30FC +doclet.Field_Summary=\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u30B5\u30DE\u30EA\u30FC +doclet.Property_Summary=\u30D7\u30ED\u30D1\u30C6\u30A3\u306E\u30B5\u30DE\u30EA\u30FC +doclet.Enum_Constant_Summary=\u5217\u6319\u578B\u5B9A\u6570\u306E\u30B5\u30DE\u30EA\u30FC +doclet.Constructor_Summary=\u30B3\u30F3\u30B9\u30C8\u30E9\u30AF\u30BF\u306E\u30B5\u30DE\u30EA\u30FC +doclet.Method_Summary=\u30E1\u30BD\u30C3\u30C9\u306E\u30B5\u30DE\u30EA\u30FC +doclet.Factory_Method_Summary=static\u30D5\u30A1\u30AF\u30C8\u30EA\u30FB\u30E1\u30BD\u30C3\u30C9\u306E\u30B5\u30DE\u30EA\u30FC doclet.Interfaces=\u30A4\u30F3\u30BF\u30D5\u30A7\u30FC\u30B9 doclet.Enums=\u5217\u6319\u578B doclet.AnnotationTypes=\u6CE8\u91C8\u578B @@ -180,6 +180,16 @@ doclet.0_and_1={0}\u3068{1} #Documentation for Enums -doclet.enum_values_doc=\n\u3053\u306E\u5217\u6319\u578B\u306E\u5B9A\u6570\u3092\u542B\u3080\u914D\u5217\u3092\u5BA3\u8A00\u3055\u308C\u3066\u3044\u308B\u9806\u5E8F\u3067\u8FD4\u3057\u307E\u3059\u3002\n\u3053\u306E\u30E1\u30BD\u30C3\u30C9\u306F\u6B21\u306E\u3088\u3046\u306B\u3057\u3066\u5B9A\u6570\u3092\u53CD\u5FA9\u3059\u308B\u305F\u3081\u306B\n\u4F7F\u7528\u3067\u304D\u307E\u3059:\n
\nfor({0} c: {0}.values())\n  System.out.println(c);\n
\n at return \u3053\u306E\u5217\u6319\u578B\u306E\u5B9A\u6570\u3092\u5BA3\u8A00\u3055\u308C\u3066\u3044\u308B\u9806\u5E8F\u3067\n\u542B\u3080\u914D\u5217 +doclet.enum_values_doc.main=\n\u3053\u306E\u5217\u6319\u578B\u306E\u5B9A\u6570\u3092\u542B\u3080\u914D\u5217\u3092\u5BA3\u8A00\u3055\u308C\u3066\u3044\u308B\u9806\u5E8F\u3067\u8FD4\u3057\u307E\u3059\u3002\n\u3053\u306E\u30E1\u30BD\u30C3\u30C9\u306F\u6B21\u306E\u3088\u3046\u306B\u3057\u3066\u5B9A\u6570\u3092\u53CD\u5FA9\u3059\u308B\u305F\u3081\u306B\n\u4F7F\u7528\u3067\u304D\u307E\u3059:\n
\nfor({0} c: {0}.values())\n  System.out.println(c);\n
\n -doclet.enum_valueof_doc=\n\u6307\u5B9A\u3057\u305F\u540D\u524D\u3092\u6301\u3064\u3053\u306E\u578B\u306E\u5217\u6319\u578B\u5B9A\u6570\u3092\u8FD4\u3057\u307E\u3059\u3002\n\u6587\u5B57\u5217\u306F\u3001\u3053\u306E\u578B\u306E\u5217\u6319\u578B\u5B9A\u6570\u3092\u5BA3\u8A00\u3059\u308B\u306E\u306B\u4F7F\u7528\u3057\u305F\u8B58\u5225\u5B50\u3068\u6B63\u78BA\u306B\n\u4E00\u81F4\u3057\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\n(\u4F59\u5206\u306A\u7A7A\u767D\u6587\u5B57\u3092\u542B\u3081\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002)\n\n at param name \u8FD4\u3055\u308C\u308B\u5217\u6319\u578B\u5B9A\u6570\u306E\u540D\u524D\n at return \u6307\u5B9A\u3055\u308C\u305F\u540D\u524D\u3092\u6301\u3064\u5217\u6319\u578B\u5B9A\u6570\n at throws IllegalArgumentException \u6307\u5B9A\u3055\u308C\u305F\u540D\u524D\u3092\u6301\u3064\u5B9A\u6570\u3092\n\u3053\u306E\u5217\u6319\u578B\u304C\u6301\u3063\u3066\u3044\u306A\u3044\u5834\u5408\n at throws NullPointerException \u5F15\u6570\u304Cnull\u306E\u5834\u5408 +doclet.enum_values_doc.return=\n\u3053\u306E\u5217\u6319\u578B\u306E\u5B9A\u6570\u3092\u542B\u3080\u3001\u5BA3\u8A00\u3055\u308C\u3066\u3044\u308B\u9806\u5E8F\u3067\u306E\u914D\u5217 + +doclet.enum_valueof_doc.main=\n\u6307\u5B9A\u3057\u305F\u540D\u524D\u3092\u6301\u3064\u3053\u306E\u578B\u306E\u5217\u6319\u578B\u5B9A\u6570\u3092\u8FD4\u3057\u307E\u3059\u3002\n\u6587\u5B57\u5217\u306F\u3001\u3053\u306E\u578B\u306E\u5217\u6319\u578B\u5B9A\u6570\u3092\u5BA3\u8A00\u3059\u308B\u306E\u306B\u4F7F\u7528\u3057\u305F\u8B58\u5225\u5B50\u3068\u6B63\u78BA\u306B\n\u4E00\u81F4\u3057\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\n(\u4F59\u5206\u306A\u7A7A\u767D\u6587\u5B57\u3092\u542B\u3081\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002)\n + +doclet.enum_valueof_doc.param_name=\u8FD4\u3055\u308C\u308B\u5217\u6319\u578B\u5B9A\u6570\u306E\u540D\u524D\u3002 + +doclet.enum_valueof_doc.return=\u6307\u5B9A\u3057\u305F\u540D\u524D\u306E\u5217\u6319\u578B\u5B9A\u6570 + +doclet.enum_valueof_doc.throws_ila=\u3053\u306E\u5217\u6319\u578B\u306B\u3001\u6307\u5B9A\u3057\u305F\u540D\u524D\u306E\u5B9A\u6570\u304C\u306A\u3044\u5834\u5408 + +doclet.enum_valueof_doc.throws_npe=\u5F15\u6570\u304Cnull\u306E\u5834\u5408 diff -r 4170784840d5 -r f38810d86876 src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_zh_CN.properties --- a/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_zh_CN.properties Thu Jan 02 10:11:59 2014 -0800 +++ b/src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_zh_CN.properties Wed Apr 02 02:16:03 2014 +0100 @@ -180,6 +180,16 @@ doclet.0_and_1={0}\u548C{1} #Documentation for Enums -doclet.enum_values_doc=\n\u6309\u7167\u58F0\u660E\u8BE5\u679A\u4E3E\u7C7B\u578B\u7684\u5E38\u91CF\u7684\u987A\u5E8F, \u8FD4\u56DE\n\u5305\u542B\u8FD9\u4E9B\u5E38\u91CF\u7684\u6570\u7EC4\u3002\u8BE5\u65B9\u6CD5\u53EF\u7528\u4E8E\u8FED\u4EE3\n\u5E38\u91CF, \u5982\u4E0B\u6240\u793A:\n
\nfor ({0} c : {0}.values())\n    System.out.println(c);\n
\n at return \u6309\u7167\u58F0\u660E\u8BE5\u679A\u4E3E\u7C7B\u578B\u7684\u5E38\u91CF\u7684\u987A\u5E8F, \u8FD4\u56DE\n\u5305\u542B\u8FD9\u4E9B\u5E38\u91CF\u7684\u6570\u7EC4 +doclet.enum_values_doc.main=\n\u6309\u7167\u58F0\u660E\u8BE5\u679A\u4E3E\u7C7B\u578B\u7684\u5E38\u91CF\u7684\u987A\u5E8F, \u8FD4\u56DE\n\u5305\u542B\u8FD9\u4E9B\u5E38\u91CF\u7684\u6570\u7EC4\u3002\u8BE5\u65B9\u6CD5\u53EF\u7528\u4E8E\u8FED\u4EE3\n\u5E38\u91CF, \u5982\u4E0B\u6240\u793A:\n
\nfor ({0} c : {0}.values())\n    System.out.println(c);\n
-doclet.enum_valueof_doc=\n\u8FD4\u56DE\u5E26\u6709\u6307\u5B9A\u540D\u79F0\u7684\u8BE5\u7C7B\u578B\u7684\u679A\u4E3E\u5E38\u91CF\u3002\n\u5B57\u7B26\u4E32\u5FC5\u987B\u4E0E\u7528\u4E8E\u58F0\u660E\u8BE5\u7C7B\u578B\u7684\u679A\u4E3E\u5E38\u91CF\u7684\n\u6807\u8BC6\u7B26\u5B8C\u5168\u5339\u914D\u3002(\u4E0D\u5141\u8BB8\u6709\u591A\u4F59\n\u7684\u7A7A\u683C\u5B57\u7B26\u3002)\n\n at param name \u8981\u8FD4\u56DE\u7684\u679A\u4E3E\u5E38\u91CF\u7684\u540D\u79F0\u3002\n at return \u8FD4\u56DE\u5E26\u6709\u6307\u5B9A\u540D\u79F0\u7684\u679A\u4E3E\u5E38\u91CF\n at throws IllegalArgumentException \u5982\u679C\u8BE5\u679A\u4E3E\u7C7B\u578B\u6CA1\u6709\u5E26\u6709\u6307\u5B9A\u540D\u79F0\u7684\u5E38\u91CF, \n\u5219\u629B\u51FA IllegalArgumentException\n at throws NullPointerException \u5982\u679C\u53C2\u6570\u4E3A\u7A7A\u503C, \u5219\u629B\u51FA NullPointerException +doclet.enum_values_doc.return=\n\u6309\u7167\u58F0\u660E\u8BE5\u679A\u4E3E\u7C7B\u578B\u7684\u5E38\u91CF\u7684\u987A\u5E8F\u8FD4\u56DE\u7684\u5305\u542B\u8FD9\u4E9B\u5E38\u91CF\u7684\u6570\u7EC4 + +doclet.enum_valueof_doc.main=\n\u8FD4\u56DE\u5E26\u6709\u6307\u5B9A\u540D\u79F0\u7684\u8BE5\u7C7B\u578B\u7684\u679A\u4E3E\u5E38\u91CF\u3002\n\u5B57\u7B26\u4E32\u5FC5\u987B\u4E0E\u7528\u4E8E\u58F0\u660E\u8BE5\u7C7B\u578B\u7684\u679A\u4E3E\u5E38\u91CF\u7684\n\u6807\u8BC6\u7B26\u5B8C\u5168\u5339\u914D\u3002(\u4E0D\u5141\u8BB8\u6709\u591A\u4F59\n\u7684\u7A7A\u683C\u5B57\u7B26\u3002) + +doclet.enum_valueof_doc.param_name=\u8981\u8FD4\u56DE\u7684\u679A\u4E3E\u5E38\u91CF\u7684\u540D\u79F0\u3002 + +doclet.enum_valueof_doc.return=\u8FD4\u56DE\u5E26\u6709\u6307\u5B9A\u540D\u79F0\u7684\u679A\u4E3E\u5E38\u91CF + +doclet.enum_valueof_doc.throws_ila=\u5982\u679C\u8BE5\u679A\u4E3E\u7C7B\u578B\u6CA1\u6709\u5E26\u6709\u6307\u5B9A\u540D\u79F0\u7684\u5E38\u91CF + +doclet.enum_valueof_doc.throws_npe=\u5982\u679C\u53C2\u6570\u4E3A\u7A7A\u503C diff -r 4170784840d5 -r f38810d86876 src/share/classes/com/sun/tools/javac/code/Type.java --- a/src/share/classes/com/sun/tools/javac/code/Type.java Thu Jan 02 10:11:59 2014 -0800 +++ b/src/share/classes/com/sun/tools/javac/code/Type.java Wed Apr 02 02:16:03 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 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 @@ -597,6 +597,10 @@ }; } + public List getComponents() { + return interfaces_field.prepend(supertype_field); + } + /** The Java source which this type represents. */ public String toString() { diff -r 4170784840d5 -r f38810d86876 src/share/classes/com/sun/tools/javac/code/Types.java --- a/src/share/classes/com/sun/tools/javac/code/Types.java Thu Jan 02 10:11:59 2014 -0800 +++ b/src/share/classes/com/sun/tools/javac/code/Types.java Wed Apr 02 02:16:03 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 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 @@ -1012,23 +1012,10 @@ } } - if (t.isCompound()) { - Warner oldWarner = warnStack.head; - warnStack.head = Warner.noWarnings; - if (!visit(supertype(t), s)) - return false; - for (Type intf : interfaces(t)) { - if (!visit(intf, s)) - return false; - } - if (warnStack.head.hasLint(LintCategory.UNCHECKED)) - oldWarner.warn(LintCategory.UNCHECKED); - return true; - } - - if (s.isCompound()) { - // call recursively to reuse the above code - return visitClassType((ClassType)s, t); + if (t.isCompound() || s.isCompound()) { + return !t.isCompound() ? + visitIntersectionType((ClassType)s, t, true) : + visitIntersectionType(t, s, false); } if (s.tag == CLASS || s.tag == ARRAY) { @@ -1106,6 +1093,18 @@ return false; } + boolean visitIntersectionType(ClassType ict, Type s, boolean reverse) { + Warner warn = Warner.noWarnings; + for (Type c : ict.getComponents()) { + warn.clear(); + if (reverse ? !isCastable(s, c, warn) : !isCastable(c, s, warn)) + return false; + } + if (warn.hasLint(LintCategory.UNCHECKED)) + warnStack.head.warn(LintCategory.UNCHECKED); + return true; + } + @Override public Boolean visitArrayType(ArrayType t, Type s) { switch (s.tag) { @@ -3369,11 +3368,18 @@ } private boolean giveWarning(Type from, Type to) { - Type subFrom = asSub(from, to.tsym); - return to.isParameterized() && - (!(isUnbounded(to) || - isSubtype(from, to) || - ((subFrom != null) && containsType(to.allparams(), subFrom.allparams())))); + List bounds = to.isCompound() ? + ((ClassType)to).getComponents() : List.of(to); + for (Type b : bounds) { + Type subFrom = asSub(from, b.tsym); + if (b.isParameterized() && + (!(isUnbounded(b) || + isSubtype(from, b) || + ((subFrom != null) && containsType(b.allparams(), subFrom.allparams()))))) { From andrew at icedtea.classpath.org Wed Apr 2 01:21:50 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 02 Apr 2014 01:21:50 +0000 Subject: /hg/release/icedtea7-forest-2.5/hotspot: 65 new changesets Message-ID: changeset 09e3feebb48f in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=09e3feebb48f author: katleman date: Thu Jan 16 11:51:59 2014 -0800 Added tag jdk7u60-b03 for changeset 2c971ed884ce changeset 3cc7ee9d8bf4 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=3cc7ee9d8bf4 author: amurillo date: Mon Jan 06 11:13:26 2014 -0800 8031061: new hotspot build - hs24.60-b07 Reviewed-by: jcoomes changeset a3cb61e9abbc in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=a3cb61e9abbc author: ccheung date: Wed Jul 17 12:22:57 2013 -0700 8017498: JVM crashes when native code calls sigaction(sig) where sig>=0x20 Summary: Added (sig < MAXSIGNUM) check in jsig.c Reviewed-by: dholmes, acorn changeset 90cc2265078e in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=90cc2265078e author: ccheung date: Fri Jul 19 14:54:54 2013 -0700 8020791: [TESTBUG] runtime/jsig/Test8017498.sh failed to compile native code Summary: Added -DLINUX to the gcc command and improved the .sh script Reviewed-by: dcubed, dholmes, minqi changeset 3ff8394ad1fa in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=3ff8394ad1fa author: ccheung date: Tue Jul 30 14:14:25 2013 -0700 8021296: [TESTBUG] Test8017498.sh fails to find "gcc" and fails to compile on some Linux releases Summary: Added checking for gcc and simplified the sig_handler() in the test case Reviewed-by: dcubed, coleenp, minqi, dlong changeset 1afbeb8cb558 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=1afbeb8cb558 author: amurillo date: Thu Jan 16 14:52:12 2014 -0800 Merge changeset 05fe7a87d149 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=05fe7a87d149 author: amurillo date: Thu Jan 16 14:52:13 2014 -0800 Added tag hs24.60-b07 for changeset 1afbeb8cb558 changeset cff7d6378568 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=cff7d6378568 author: katleman date: Wed Jan 22 12:33:48 2014 -0800 Added tag jdk7u60-b04 for changeset 05fe7a87d149 changeset 4f390a6d423b in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=4f390a6d423b author: amurillo date: Thu Jan 16 14:58:08 2014 -0800 8032013: new hotspot build - hs24.60-b08 Reviewed-by: jcoomes changeset f232cfa3fef2 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=f232cfa3fef2 author: sspitsyn date: Tue Jan 21 20:43:55 2014 -0800 7194607: VerifyLocalVariableTableOnRetransformTest.sh fails after JSR-292 merge Summary: Use verifier_max_size instead of max_size to get code attribute max stack size. Reviewed-by: dcubed, minqi Contributed-by: serguei.spitsyn at oracle.com changeset 33f4829de8eb in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=33f4829de8eb author: sspitsyn date: Tue Jan 21 20:44:20 2014 -0800 8005128: JSR 292: the mlvm redefineClassInBootstrap test crashes in ConstantPool::compare_entry_to Summary: When constant pool is copied in merge_constant_pools the invokedynamic operands must be copied before. Reviewed-by: coleenp, twisti Contributed-by: serguei.spitsyn at oracle.com changeset 191481960846 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=191481960846 author: sspitsyn date: Tue Jan 21 20:44:52 2014 -0800 8006542: JSR 292: the VM_RedefineClasses::append_entry() must support invokedynamic entry kinds Summary: Need a support for invokedynamic entry kinds when new and old constant pools are merged. Reviewed-by: coleenp, twisti Contributed-by: serguei.spitsyn at oracle.com changeset 4baf20879672 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=4baf20879672 author: sspitsyn date: Tue Jan 21 20:45:28 2014 -0800 8006546: JSR 292: typos in the ConstantPool::copy_cp_impl() Summary: Simple typos that need to be fixed Reviewed-by: coleenp, twisti Contributed-by: serguei.spitsyn at oracle.com changeset 8816e9af562c in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=8816e9af562c author: sspitsyn date: Tue Jan 21 20:46:07 2014 -0800 8006731: JSR 292: the VM_RedefineClasses::rewrite_cp_refs_in_method() must support invokedynamic Summary: The invokedynamic bytecode ref to a CP entry needs to be checked and fixed as well. Reviewed-by: coleenp, twisti Contributed-by: serguei.spitsyn at oracle.com changeset 02529fb8a820 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=02529fb8a820 author: dsamersoff date: Mon Jan 27 20:29:41 2014 +0400 8031764: tmtools/jmap/heap_config tests fail on Linux-ia32 because it Cant attach to the core file Summary: Backport of JDK-8025812. We have to round addresses to page boundary. Reviewed-by: sla, dholmes changeset 2b97745f0735 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=2b97745f0735 author: johnc date: Thu Dec 19 09:21:16 2013 +0100 8011343: Add new flag for verifying the heap during startup Summary: Perform verification during VM startup under control of new flag and within a VMOperation. Reviewed-by: stefank, jmasa, brutisso changeset a4bcd7d65291 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=a4bcd7d65291 author: stefank date: Thu Dec 19 09:21:18 2013 +0100 8013132: Add a flag to turn off the output of the verbose verification code Reviewed-by: johnc, brutisso changeset 1534133741c2 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=1534133741c2 author: tschatzl date: Thu Dec 19 09:21:18 2013 +0100 8014240: G1: Add remembered set size information to output of G1PrintRegionLivenessInfo Summary: Improve the output of G1PrintRegionLivenessInfo by adding a per-region remembered set size information column Reviewed-by: jwilhelm, johnc changeset dc5ea6e27195 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=dc5ea6e27195 author: tschatzl date: Thu Dec 19 09:21:19 2013 +0100 8013895: G1: G1SummarizeRSetStats output on Linux needs improvement Summary: Fixed the output of G1SummarizeRSetStats: too small datatype for the number of concurrently processed cards, added concurrent remembered set thread time retrieval for Linux and Windows (BSD uses os::elapsedTime() now), and other cleanup. The information presented during VM operation is now relative to the previous output, not always cumulative if G1SummarizeRSetStatsPeriod > 0. At VM exit, the code prints a cumulative summary. Reviewed-by: johnc, jwilhelm changeset 7afe50dc6b9f in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=7afe50dc6b9f author: johnc date: Thu Dec 19 09:21:20 2013 +0100 8015244: G1: Verification after a full GC is incorrectly placed. Summary: In a full GC, move the verification after the GC to after RSet rebuilding. Verify RSet entries during a full GC under control of a flag. Reviewed-by: tschatzl, brutisso changeset 0114a0a4434c in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=0114a0a4434c author: johnc date: Wed Jan 22 13:28:27 2014 +0100 7145569: G1: optimize nmethods scanning Summary: Add a list of nmethods to the RSet for a region that contain references into the region. Skip scanning the code cache during root scanning and scan the nmethod lists during RSet scanning instead. Reviewed-by: tschatzl, brutisso, mgerdin, twisti, kvn changeset 4923cab3640c in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=4923cab3640c author: brutisso date: Thu Dec 19 09:22:30 2013 +0100 8023145: G1: G1CollectedHeap::mark_strong_code_roots() needs to handle ParallelGCThreads=0 Reviewed-by: stefank, mgerdin changeset 03ecf4784ddd in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=03ecf4784ddd author: tschatzl date: Thu Dec 19 09:22:30 2013 +0100 8014078: G1: improve remembered set summary information by providing per region type information Summary: Add memory consumption breakdown on a per region type in the G1 remembered set summary statistics. This simplifies remembered set memory consumption analysis. Reviewed-by: brutisso changeset f6c3b2632e00 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=f6c3b2632e00 author: tschatzl date: Thu Dec 19 09:22:30 2013 +0100 8025541: G1: assert "assert(thread < _num_vtimes) failed: just checking" fails when G1ConcRefinementThreads > ParallelGCThreads Summary: The initialization for the remembered set summary data structures used the wrong thread count, i.e. number of worker threads instead of number of refinement threads. Reviewed-by: brutisso changeset e4bcd3d62466 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=e4bcd3d62466 author: sjohanss date: Thu Dec 19 09:22:30 2013 +0100 8026848: -XX:+G1SummarizeRSetStats can result in wrong exit code and crash Summary: Changed the use of %d to SIZE_FORMAT macro in format string when printing size_t values. Reviewed-by: stefank, ehelin changeset 05e7f9c0c822 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=05e7f9c0c822 author: tschatzl date: Thu Dec 19 09:22:30 2013 +0100 8027756: assert(!hr->isHumongous()) failed: code root in humongous region? Summary: Change checks for isHumongous() to continuesHumongous() as installing a code root for a humongous object is valid, but not for continuations of humongous objects. Cleaned up asserts. Reviewed-by: jmasa, tamao changeset 81194fd56a9d in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=81194fd56a9d author: tschatzl date: Thu Dec 19 09:22:30 2013 +0100 8020123: Test gc/g1/TestPrintRegionRememberedSetInfo.java fails with "test result: Error. No action after @build" Summary: Remove the @build tag and replace it by a @run tag so that the test gets executed Reviewed-by: brutisso, mgerdin changeset ad77e76008f3 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=ad77e76008f3 author: vkempik date: Thu Jan 30 19:53:46 2014 +0400 8020530: Non heap memory size calculated incorrectly Reviewed-by: coleenp, sla changeset 4dfeceda1ba7 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=4dfeceda1ba7 author: miroslawzn date: Thu Jan 30 10:50:11 2014 -0800 8022452: Hotspot needs to know about Windows 8.1 and Windows Server 2012 R2 Reviewed-by: coleenp, ctornqvi changeset 8820d6ecaa4e in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=8820d6ecaa4e author: amurillo date: Thu Jan 30 13:12:29 2014 -0800 Merge changeset c76437921025 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=c76437921025 author: tschatzl date: Fri Jan 31 10:08:49 2014 +0100 8027476: Improve performance of Stringtable unlink 8027455: Improve symbol table scan times during gc pauses Summary: Parallelize string table and symbol table scan during remark and full GC. Some additional statistics output if the experimental flag G1TraceStringSymbolTableScrubbing is set. Reviewed-by: mgerdin, coleenp, brutisso changeset d2782fe9769e in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=d2782fe9769e author: tschatzl date: Fri Jan 31 10:09:02 2014 +0100 8027454: Do not traverse string table during G1 remark when treating them as strong roots during initial mark Summary: Do not try to unlink string table entries unconditionally during remark. This is without side effects as the preceding initial mark always uses the string table as strong roots. Needs to be fixed with class unloading during concurrent mark. Reviewed-by: brutisso, mgerdin changeset b6d3ebe42303 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=b6d3ebe42303 author: tschatzl date: Fri Jan 31 10:09:11 2014 +0100 8032771: The flag VerifySilently misses a test case Summary: Add test case for the VerifySilently flag. Reviewed-by: brutisso changeset f52b5452d424 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=f52b5452d424 author: amurillo date: Fri Jan 31 10:53:59 2014 -0800 Merge changeset 462db155547e in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=462db155547e author: amurillo date: Fri Jan 31 10:54:00 2014 -0800 Added tag hs24.60-b08 for changeset f52b5452d424 changeset 0cc4550bd9c5 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=0cc4550bd9c5 author: katleman date: Wed Feb 05 12:30:59 2014 -0800 Added tag jdk7u60-b05 for changeset 462db155547e changeset 2d75b3d4ca1d in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=2d75b3d4ca1d author: katleman date: Wed Feb 12 14:56:19 2014 -0800 Added tag jdk7u60-b06 for changeset 0cc4550bd9c5 changeset 0c64f87917b4 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=0c64f87917b4 author: amurillo date: Fri Jan 31 11:07:43 2014 -0800 8032986: new hotspot build - hs24.60-b09 Reviewed-by: jcoomes changeset eacc90e71427 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=eacc90e71427 author: mgerdin date: Tue Sep 24 14:46:29 2013 +0200 8025305: Cleanup CardTableModRefBS usage in G1 Summary: Move some G1 specific code from CardTableModRefBS to G1SATBCardTableModRefBS. Reviewed-by: brutisso, tschatzl, ehelin changeset 5afc5a089c2c in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=5afc5a089c2c author: mgerdin date: Tue Oct 08 17:35:51 2013 +0200 8014555: G1: Memory ordering problem with Conc refinement and card marking Summary: Add a StoreLoad barrier in the G1 post-barrier to fix a race with concurrent refinement. Reviewed-by: brutisso, tschatzl, roland changeset 406e002ed1e1 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=406e002ed1e1 author: jwilhelm date: Tue Feb 04 16:11:51 2014 +0100 8028391: Make the Min/MaxHeapFreeRatio flags manageable Summary: Made the flags Min- and MaxHeapFreeRatio manageable, and implemented support for these flags in ParallelGC. Reviewed-by: sla, mgerdin, brutisso changeset 2472efeb0599 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=2472efeb0599 author: sspitsyn date: Thu Feb 06 16:23:02 2014 -0800 8019389: SA-JDI JSR292: sun.jvm.hotspot.jdi.StackFrame.thisObject() throws sun.jvm.hotspot.utilities.AssertionFailure: sanity check Summary: SA should have a knowledge about the invokehandle bytecode Reviewed-by: twisti, sla, sspitsyn, sjiang, dsamersoff Contributed-by: olivier.lagneau at oracle.com changeset 04e3a3cc0f87 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=04e3a3cc0f87 author: johnc date: Tue Feb 19 16:22:28 2013 -0800 8006628: NEED_TEST for JDK-8002870 Summary: Regression test for 8000311. Verifies that PLABStats works with zero parallel GC threads. Reviewed-by: jmasa, johnc Contributed-by: Filipp Zhinkin changeset 7baccd19a1ae in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=7baccd19a1ae author: tschatzl date: Fri Feb 07 12:44:16 2014 +0100 8033443: Test8000311 fails after latest changes to parallelize string and symbol table unlink Summary: When string and symbol table unlink are not performed in parallel, the claim index we check is not updated, and so a guarantee fails. Take this into account when checking the guarantee. Reviewed-by: brutisso, jwilhelm changeset 2d053c4fd767 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=2d053c4fd767 author: lana date: Sat Feb 15 17:57:06 2014 -0800 Merge changeset 45d0a54c0df1 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=45d0a54c0df1 author: katleman date: Wed Feb 19 14:04:05 2014 -0800 Added tag jdk7u60-b07 for changeset 2d053c4fd767 changeset 587a054a1d39 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=587a054a1d39 author: sspitsyn date: Fri Feb 07 16:06:44 2014 -0800 8008511: JSR 292: MemberName vmtarget refs to methods must be updated at class redefinition Summary: Lazily create and maintain the MemberNameTable to be able to update MemberName's Reviewed-by: coleenp, jrose, dholmes, twisti Contributed-by: serguei.spitsyn at oracle.com changeset 07ddad7ad2ac in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=07ddad7ad2ac author: sspitsyn date: Fri Feb 07 16:08:18 2014 -0800 8007037: JSR 292: the VM_RedefineClasses::append_entry() should do cross-checks with indy operands Summary: References from operands to CP entries and back must be correct after CP merge Reviewed-by: coleenp, twisti Contributed-by: serguei.spitsyn at oracle.com changeset e5ef592bb7e0 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=e5ef592bb7e0 author: sspitsyn date: Fri Feb 07 16:10:06 2014 -0800 8014288: perf regression in nashorn JDK-8008448.js test after 8008511 changes Summary: The fix of perf regression is to use method_idnum() for direct indexing into NMT Reviewed-by: twisti, kvn, coleenp, dholmes Contributed-by: serguei.spitsyn at oracle.com changeset 2628a61dff77 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=2628a61dff77 author: sspitsyn date: Fri Feb 07 16:11:17 2014 -0800 8013945: CMS fatal error: must own lock MemberNameTable_lock Summary: The "delete mnt" needs to grab MemberNameTable_lock if !SafepointSynchronize::is_at_safepoint() Reviewed-by: sla, mgerdin, dholmes, jmasa, twisti Contributed-by: serguei.spitsyn at oracle.com changeset ec4a087088bf in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=ec4a087088bf author: sspitsyn date: Fri Feb 07 16:12:22 2014 -0800 8014052: JSR292: assert(end_offset == next_offset) failed: matched ending Summary: A call to the finalize_operands_merge() must be unconditional Reviewed-by: kvn, twisti Contributed-by: serguei.spitsyn at oracle.com changeset 5001d047e6ac in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=5001d047e6ac author: sspitsyn date: Wed Feb 12 03:57:09 2014 -0800 8023004: JSR 292: java.lang.RuntimeException: Original target method was called. Reviewed-by: jrose Contributed-by: vladimir.ivanov at oracle.com, serguei.spitsyn at oracle.com changeset 092aa7bb9868 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=092aa7bb9868 author: johnc date: Wed Dec 12 12:07:32 2012 -0800 8033487: Improve GC option handling Summary: If there are not enough native resources to create the ReferenceHandler or Finalizer Java threads, the VM will attempt to throw an OOME before the java.lang.Class class has been initialized. This can result in assertion failures and other crashes. Move the initialization of the java.lang.Class class to just before the initialization of the java.lang.ref.Finalizer class. Reviewed-by: jwilhelm, dholmes, coleenp changeset a198787e7b9b in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=a198787e7b9b author: sspitsyn date: Fri Feb 14 01:52:08 2014 -0800 7187554: JSR 292: JVMTI PopFrame needs to handle appendix arguments Summary: Restore the appendix argument after PopFrame() call Reviewed-by: twisti, coleenp Contributed-by: serguei.spitsyn at oracle.com changeset 61a6cbd2a433 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=61a6cbd2a433 author: katleman date: Wed Feb 26 12:46:22 2014 -0800 Added tag jdk7u60-b08 for changeset a198787e7b9b changeset 9790755de9a6 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=9790755de9a6 author: dsimms date: Wed Sep 25 13:58:13 2013 +0200 8023956: Provide a work-around to broken Linux 32 bit "Exec Shield" using CS for NX emulation (crashing with SI_KERNEL) Summary: Execute some code at a high virtual address value, and keep mapped Reviewed-by: coleenp, zgu changeset 72a923f20b6f in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=72a923f20b6f author: iveresov date: Fri Jan 17 18:09:08 2014 -0800 8032207: C2: assert(VerifyOops || MachNode::size(ra_) <= (3+1)*4) failed: bad fixed size Summary: Fix the sizing of loadUS2L_immI16 and loadI2L_immI Reviewed-by: kvn, azeemj changeset 63bf5b308fc7 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=63bf5b308fc7 author: iveresov date: Tue Jan 21 20:05:28 2014 -0800 8031743: C2: loadI2L_immI broken for negative memory values Summary: Restrict loadI2L_imm optimizations to positive values of mask Reviewed-by: kvn, dlong changeset 8695497c703c in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=8695497c703c author: poonam date: Mon Feb 17 18:14:21 2014 -0800 6412968: CMS: Long initial mark pauses 6990419: CMS: Remaining work for 6572569: consistently skewed work distribution in (long) re-mark pauses Summary: Backport of fixes for 6412968 and 6990419 Reviewed-by: jmasa changeset d788d77bc087 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=d788d77bc087 author: andrew date: Thu Feb 20 08:30:35 2014 -0800 8024648: 7141246 & 8016131 break Zero port Reviewed-by: dholmes, coleenp changeset 22cae361773d in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=22cae361773d author: lana date: Thu Feb 27 01:03:45 2014 -0800 Merge changeset 6f74afd8577e in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=6f74afd8577e author: katleman date: Wed Mar 05 12:26:56 2014 -0800 Added tag jdk7u60-b09 for changeset 22cae361773d changeset a2ac67a2c1cc in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=a2ac67a2c1cc author: katleman date: Wed Mar 12 14:35:26 2014 -0700 Added tag jdk7u60-b10 for changeset 6f74afd8577e changeset cae50351dcec in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=cae50351dcec author: katleman date: Wed Mar 19 10:04:08 2014 -0700 Added tag jdk7u60-b11 for changeset a2ac67a2c1cc changeset 903304e152fc in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=903304e152fc author: andrew date: Wed Apr 02 02:16:06 2014 +0100 Merge jdk7u60-b12 diffstat: .hgtags | 28 + .jcheck/conf | 2 - agent/src/os/linux/Makefile | 11 +- agent/src/os/linux/libproc.h | 31 +- agent/src/os/linux/ps_core.c | 84 +- agent/src/share/classes/sun/jvm/hotspot/interpreter/Bytecodes.java | 10 +- make/Makefile | 37 + make/aix/Makefile | 376 + make/aix/adlc_updater | 20 + make/aix/build.sh | 99 + make/aix/makefiles/adjust-mflags.sh | 87 + make/aix/makefiles/adlc.make | 234 + make/aix/makefiles/build_vm_def.sh | 18 + make/aix/makefiles/buildtree.make | 510 + make/aix/makefiles/compiler2.make | 32 + make/aix/makefiles/core.make | 33 + make/aix/makefiles/defs.make | 233 + make/aix/makefiles/dtrace.make | 27 + make/aix/makefiles/fastdebug.make | 73 + make/aix/makefiles/jsig.make | 95 + make/aix/makefiles/jvmg.make | 42 + make/aix/makefiles/jvmti.make | 118 + make/aix/makefiles/launcher.make | 97 + make/aix/makefiles/mapfile-vers-debug | 270 + make/aix/makefiles/mapfile-vers-jsig | 38 + make/aix/makefiles/mapfile-vers-product | 265 + make/aix/makefiles/ppc64.make | 108 + make/aix/makefiles/product.make | 59 + make/aix/makefiles/rules.make | 203 + make/aix/makefiles/sa.make | 116 + make/aix/makefiles/saproc.make | 125 + make/aix/makefiles/top.make | 144 + make/aix/makefiles/trace.make | 121 + make/aix/makefiles/vm.make | 384 + make/aix/makefiles/xlc.make | 180 + make/aix/platform_ppc64 | 17 + make/bsd/makefiles/buildtree.make | 4 +- make/bsd/makefiles/gcc.make | 5 +- make/bsd/makefiles/vm.make | 10 +- make/defs.make | 25 +- make/hotspot_version | 6 +- make/linux/makefiles/adlc.make | 2 + make/linux/makefiles/buildtree.make | 20 +- make/linux/makefiles/defs.make | 62 +- make/linux/makefiles/gcc.make | 38 +- make/linux/makefiles/jsig.make | 6 +- make/linux/makefiles/ppc64.make | 55 + make/linux/makefiles/rules.make | 15 +- make/linux/makefiles/saproc.make | 6 +- make/linux/makefiles/vm.make | 70 +- make/linux/makefiles/zero.make | 4 + make/linux/makefiles/zeroshark.make | 37 + make/linux/platform_ppc64 | 17 + make/linux/platform_zero.in | 2 +- make/solaris/makefiles/adlc.make | 6 +- make/solaris/makefiles/dtrace.make | 16 + make/solaris/makefiles/gcc.make | 4 +- make/solaris/makefiles/jsig.make | 4 + make/solaris/makefiles/rules.make | 10 - make/solaris/makefiles/saproc.make | 4 + make/solaris/makefiles/vm.make | 12 + make/windows/makefiles/vm.make | 8 + src/cpu/ppc/vm/assembler_ppc.cpp | 699 + src/cpu/ppc/vm/assembler_ppc.hpp | 1987 + src/cpu/ppc/vm/assembler_ppc.inline.hpp | 828 + src/cpu/ppc/vm/bytecodeInterpreter_ppc.hpp | 105 + src/cpu/ppc/vm/bytecodeInterpreter_ppc.inline.hpp | 290 + src/cpu/ppc/vm/bytecodes_ppc.cpp | 31 + src/cpu/ppc/vm/bytecodes_ppc.hpp | 31 + src/cpu/ppc/vm/bytes_ppc.hpp | 155 + src/cpu/ppc/vm/c2_globals_ppc.hpp | 95 + src/cpu/ppc/vm/c2_init_ppc.cpp | 48 + src/cpu/ppc/vm/codeBuffer_ppc.hpp | 35 + src/cpu/ppc/vm/compile_ppc.cpp | 117 + src/cpu/ppc/vm/compile_ppc.hpp | 42 + src/cpu/ppc/vm/copy_ppc.hpp | 171 + src/cpu/ppc/vm/cppInterpreterGenerator_ppc.hpp | 43 + src/cpu/ppc/vm/cppInterpreter_ppc.cpp | 3031 ++ src/cpu/ppc/vm/cppInterpreter_ppc.hpp | 39 + src/cpu/ppc/vm/debug_ppc.cpp | 35 + src/cpu/ppc/vm/depChecker_ppc.hpp | 31 + src/cpu/ppc/vm/disassembler_ppc.hpp | 37 + src/cpu/ppc/vm/dump_ppc.cpp | 62 + src/cpu/ppc/vm/frame_ppc.cpp | 304 + src/cpu/ppc/vm/frame_ppc.hpp | 448 + src/cpu/ppc/vm/frame_ppc.inline.hpp | 236 + src/cpu/ppc/vm/globalDefinitions_ppc.hpp | 40 + src/cpu/ppc/vm/globals_ppc.hpp | 130 + src/cpu/ppc/vm/icBuffer_ppc.cpp | 71 + src/cpu/ppc/vm/icache_ppc.cpp | 77 + src/cpu/ppc/vm/icache_ppc.hpp | 52 + src/cpu/ppc/vm/interp_masm_ppc_64.cpp | 497 + src/cpu/ppc/vm/interp_masm_ppc_64.hpp | 92 + src/cpu/ppc/vm/interpreterGenerator_ppc.hpp | 37 + src/cpu/ppc/vm/interpreterRT_ppc.cpp | 150 + src/cpu/ppc/vm/interpreterRT_ppc.hpp | 62 + src/cpu/ppc/vm/interpreter_ppc.cpp | 800 + src/cpu/ppc/vm/interpreter_ppc.hpp | 42 + src/cpu/ppc/vm/javaFrameAnchor_ppc.hpp | 82 + src/cpu/ppc/vm/jniFastGetField_ppc.cpp | 75 + src/cpu/ppc/vm/jniTypes_ppc.hpp | 110 + src/cpu/ppc/vm/jni_ppc.h | 55 + src/cpu/ppc/vm/macroAssembler_ppc.cpp | 2993 ++ src/cpu/ppc/vm/macroAssembler_ppc.hpp | 651 + src/cpu/ppc/vm/macroAssembler_ppc.inline.hpp | 387 + src/cpu/ppc/vm/methodHandles_ppc.cpp | 543 + src/cpu/ppc/vm/methodHandles_ppc.hpp | 64 + src/cpu/ppc/vm/nativeInst_ppc.cpp | 378 + src/cpu/ppc/vm/nativeInst_ppc.hpp | 395 + src/cpu/ppc/vm/ppc.ad | 12832 ++++++++++ src/cpu/ppc/vm/ppc_64.ad | 24 + src/cpu/ppc/vm/registerMap_ppc.hpp | 45 + src/cpu/ppc/vm/register_definitions_ppc.cpp | 42 + src/cpu/ppc/vm/register_ppc.cpp | 77 + src/cpu/ppc/vm/register_ppc.hpp | 632 + src/cpu/ppc/vm/relocInfo_ppc.cpp | 139 + src/cpu/ppc/vm/relocInfo_ppc.hpp | 46 + src/cpu/ppc/vm/runtime_ppc.cpp | 183 + src/cpu/ppc/vm/sharedRuntime_ppc.cpp | 3214 ++ src/cpu/ppc/vm/stubGenerator_ppc.cpp | 2075 + src/cpu/ppc/vm/stubRoutines_ppc_64.cpp | 40 + src/cpu/ppc/vm/stubRoutines_ppc_64.hpp | 40 + src/cpu/ppc/vm/vmStructs_ppc.hpp | 41 + src/cpu/ppc/vm/vm_version_ppc.cpp | 479 + src/cpu/ppc/vm/vm_version_ppc.hpp | 96 + src/cpu/ppc/vm/vmreg_ppc.cpp | 51 + src/cpu/ppc/vm/vmreg_ppc.hpp | 35 + src/cpu/ppc/vm/vmreg_ppc.inline.hpp | 71 + src/cpu/ppc/vm/vtableStubs_ppc_64.cpp | 269 + src/cpu/sparc/vm/assembler_sparc.cpp | 8 +- src/cpu/sparc/vm/c1_Runtime1_sparc.cpp | 11 +- src/cpu/sparc/vm/compile_sparc.hpp | 39 + src/cpu/sparc/vm/globals_sparc.hpp | 5 + src/cpu/sparc/vm/methodHandles_sparc.hpp | 6 +- src/cpu/sparc/vm/sharedRuntime_sparc.cpp | 10 +- src/cpu/sparc/vm/sparc.ad | 47 +- src/cpu/sparc/vm/templateInterpreter_sparc.cpp | 21 +- src/cpu/x86/vm/assembler_x86.cpp | 9 +- src/cpu/x86/vm/c1_Runtime1_x86.cpp | 11 +- src/cpu/x86/vm/c2_globals_x86.hpp | 2 +- src/cpu/x86/vm/compile_x86.hpp | 39 + src/cpu/x86/vm/globals_x86.hpp | 7 +- src/cpu/x86/vm/methodHandles_x86.hpp | 6 +- src/cpu/x86/vm/sharedRuntime_x86_32.cpp | 11 +- src/cpu/x86/vm/sharedRuntime_x86_64.cpp | 11 +- src/cpu/x86/vm/templateInterpreter_x86_32.cpp | 23 +- src/cpu/x86/vm/templateInterpreter_x86_64.cpp | 23 +- src/cpu/x86/vm/x86_32.ad | 31 +- src/cpu/x86/vm/x86_64.ad | 31 +- src/cpu/zero/vm/arm_cas.S | 31 + src/cpu/zero/vm/asm_helper.cpp | 745 + src/cpu/zero/vm/bytecodes_arm.def | 7850 ++++++ src/cpu/zero/vm/bytecodes_zero.cpp | 52 +- src/cpu/zero/vm/bytecodes_zero.hpp | 41 +- src/cpu/zero/vm/compile_zero.hpp | 40 + src/cpu/zero/vm/cppInterpreter_arm.S | 7384 +++++ src/cpu/zero/vm/cppInterpreter_zero.cpp | 51 +- src/cpu/zero/vm/cppInterpreter_zero.hpp | 2 + src/cpu/zero/vm/entryFrame_zero.hpp | 6 +- src/cpu/zero/vm/frame_zero.inline.hpp | 4 +- src/cpu/zero/vm/globals_zero.hpp | 10 +- src/cpu/zero/vm/methodHandles_zero.hpp | 12 +- src/cpu/zero/vm/sharedRuntime_zero.cpp | 10 +- src/cpu/zero/vm/shark_globals_zero.hpp | 1 - src/cpu/zero/vm/thumb2.cpp | 7985 ++++++ src/cpu/zero/vm/vm_version_zero.hpp | 11 + src/os/aix/vm/attachListener_aix.cpp | 574 + src/os/aix/vm/c2_globals_aix.hpp | 37 + src/os/aix/vm/chaitin_aix.cpp | 38 + src/os/aix/vm/decoder_aix.hpp | 48 + src/os/aix/vm/globals_aix.hpp | 63 + src/os/aix/vm/interfaceSupport_aix.hpp | 35 + src/os/aix/vm/jsig.c | 233 + src/os/aix/vm/jvm_aix.cpp | 201 + src/os/aix/vm/jvm_aix.h | 123 + src/os/aix/vm/libperfstat_aix.cpp | 124 + src/os/aix/vm/libperfstat_aix.hpp | 59 + src/os/aix/vm/loadlib_aix.cpp | 185 + src/os/aix/vm/loadlib_aix.hpp | 128 + src/os/aix/vm/mutex_aix.inline.hpp | 33 + src/os/aix/vm/osThread_aix.cpp | 58 + src/os/aix/vm/osThread_aix.hpp | 144 + src/os/aix/vm/os_aix.cpp | 5131 +++ src/os/aix/vm/os_aix.hpp | 381 + src/os/aix/vm/os_aix.inline.hpp | 294 + src/os/aix/vm/os_share_aix.hpp | 37 + src/os/aix/vm/perfMemory_aix.cpp | 1026 + src/os/aix/vm/porting_aix.cpp | 369 + src/os/aix/vm/porting_aix.hpp | 81 + src/os/aix/vm/threadCritical_aix.cpp | 68 + src/os/aix/vm/thread_aix.inline.hpp | 42 + src/os/aix/vm/vmError_aix.cpp | 122 + src/os/bsd/vm/os_bsd.cpp | 4 +- src/os/linux/vm/decoder_linux.cpp | 6 + src/os/linux/vm/jsig.c | 10 +- src/os/linux/vm/os_linux.cpp | 233 +- src/os/linux/vm/os_linux.hpp | 3 + src/os/posix/launcher/java_md.c | 13 +- src/os/posix/vm/os_posix.cpp | 491 +- src/os/posix/vm/os_posix.hpp | 28 +- src/os/solaris/vm/os_solaris.hpp | 3 + src/os/windows/vm/os_windows.cpp | 125 +- src/os/windows/vm/os_windows.hpp | 3 + src/os_cpu/aix_ppc/vm/aix_ppc_64.ad | 24 + src/os_cpu/aix_ppc/vm/atomic_aix_ppc.inline.hpp | 401 + src/os_cpu/aix_ppc/vm/globals_aix_ppc.hpp | 54 + src/os_cpu/aix_ppc/vm/orderAccess_aix_ppc.inline.hpp | 151 + src/os_cpu/aix_ppc/vm/os_aix_ppc.cpp | 568 + src/os_cpu/aix_ppc/vm/os_aix_ppc.hpp | 35 + src/os_cpu/aix_ppc/vm/prefetch_aix_ppc.inline.hpp | 58 + src/os_cpu/aix_ppc/vm/threadLS_aix_ppc.cpp | 40 + src/os_cpu/aix_ppc/vm/threadLS_aix_ppc.hpp | 36 + src/os_cpu/aix_ppc/vm/thread_aix_ppc.cpp | 36 + src/os_cpu/aix_ppc/vm/thread_aix_ppc.hpp | 79 + src/os_cpu/aix_ppc/vm/vmStructs_aix_ppc.hpp | 66 + src/os_cpu/linux_ppc/vm/atomic_linux_ppc.inline.hpp | 401 + src/os_cpu/linux_ppc/vm/globals_linux_ppc.hpp | 54 + src/os_cpu/linux_ppc/vm/linux_ppc_64.ad | 24 + src/os_cpu/linux_ppc/vm/orderAccess_linux_ppc.inline.hpp | 149 + src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp | 622 + src/os_cpu/linux_ppc/vm/os_linux_ppc.hpp | 35 + src/os_cpu/linux_ppc/vm/prefetch_linux_ppc.inline.hpp | 50 + src/os_cpu/linux_ppc/vm/threadLS_linux_ppc.cpp | 40 + src/os_cpu/linux_ppc/vm/threadLS_linux_ppc.hpp | 36 + src/os_cpu/linux_ppc/vm/thread_linux_ppc.cpp | 36 + src/os_cpu/linux_ppc/vm/thread_linux_ppc.hpp | 83 + src/os_cpu/linux_ppc/vm/vmStructs_linux_ppc.hpp | 66 + src/os_cpu/linux_sparc/vm/assembler_linux_sparc.cpp | 11 +- src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp | 31 +- src/os_cpu/linux_x86/vm/os_linux_x86.cpp | 43 + src/os_cpu/linux_x86/vm/os_linux_x86.hpp | 13 + src/os_cpu/linux_zero/vm/atomic_linux_zero.inline.hpp | 14 + src/os_cpu/linux_zero/vm/globals_linux_zero.hpp | 8 +- src/os_cpu/linux_zero/vm/os_linux_zero.cpp | 47 +- src/os_cpu/linux_zero/vm/os_linux_zero.hpp | 6 + src/share/tools/hsdis/Makefile | 11 +- src/share/tools/hsdis/hsdis-demo.c | 9 +- src/share/tools/hsdis/hsdis.c | 8 + src/share/vm/adlc/adlparse.cpp | 188 +- src/share/vm/adlc/adlparse.hpp | 4 +- src/share/vm/adlc/archDesc.hpp | 2 + src/share/vm/adlc/formssel.cpp | 89 +- src/share/vm/adlc/formssel.hpp | 3 + src/share/vm/adlc/main.cpp | 7 + src/share/vm/adlc/output_c.cpp | 187 +- src/share/vm/adlc/output_h.cpp | 41 +- src/share/vm/asm/assembler.cpp | 33 +- src/share/vm/asm/assembler.hpp | 22 +- src/share/vm/asm/codeBuffer.cpp | 15 +- src/share/vm/asm/codeBuffer.hpp | 6 +- src/share/vm/c1/c1_FrameMap.cpp | 2 +- src/share/vm/c1/c1_Runtime1.cpp | 26 +- src/share/vm/c1/c1_globals.hpp | 3 + src/share/vm/ci/ciTypeFlow.cpp | 2 +- src/share/vm/classfile/classLoader.cpp | 3 + src/share/vm/classfile/javaClasses.cpp | 33 +- src/share/vm/classfile/javaClasses.hpp | 29 +- src/share/vm/classfile/symbolTable.cpp | 133 +- src/share/vm/classfile/symbolTable.hpp | 41 +- src/share/vm/classfile/systemDictionary.cpp | 8 +- src/share/vm/classfile/systemDictionary.hpp | 3 +- src/share/vm/classfile/vmSymbols.hpp | 4 +- src/share/vm/code/compiledIC.cpp | 11 +- src/share/vm/code/compiledIC.hpp | 4 + src/share/vm/code/nmethod.cpp | 44 +- src/share/vm/code/nmethod.hpp | 4 +- src/share/vm/code/relocInfo.cpp | 31 + src/share/vm/code/relocInfo.hpp | 46 +- src/share/vm/code/stubs.hpp | 3 + src/share/vm/code/vmreg.hpp | 15 +- src/share/vm/compiler/disassembler.hpp | 3 + src/share/vm/compiler/methodLiveness.cpp | 12 +- src/share/vm/gc_implementation/concurrentMarkSweep/cmsAdaptiveSizePolicy.cpp | 3 + src/share/vm/gc_implementation/concurrentMarkSweep/cmsCollectorPolicy.cpp | 3 + src/share/vm/gc_implementation/concurrentMarkSweep/cmsOopClosures.hpp | 18 +- src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp | 28 +- src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp | 295 +- src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp | 12 +- src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp | 3 + src/share/vm/gc_implementation/g1/concurrentG1Refine.cpp | 12 + src/share/vm/gc_implementation/g1/concurrentG1Refine.hpp | 9 +- src/share/vm/gc_implementation/g1/concurrentMark.cpp | 98 +- src/share/vm/gc_implementation/g1/concurrentMark.hpp | 6 + src/share/vm/gc_implementation/g1/concurrentMark.inline.hpp | 2 +- src/share/vm/gc_implementation/g1/dirtyCardQueue.cpp | 3 + src/share/vm/gc_implementation/g1/g1AllocRegion.hpp | 7 +- src/share/vm/gc_implementation/g1/g1CardCounts.cpp | 4 +- src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp | 752 +- src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp | 199 +- src/share/vm/gc_implementation/g1/g1CollectedHeap.inline.hpp | 3 +- src/share/vm/gc_implementation/g1/g1EvacFailure.hpp | 4 +- src/share/vm/gc_implementation/g1/g1GCPhaseTimes.cpp | 20 + src/share/vm/gc_implementation/g1/g1GCPhaseTimes.hpp | 23 + src/share/vm/gc_implementation/g1/g1MarkSweep.cpp | 21 +- src/share/vm/gc_implementation/g1/g1OopClosures.inline.hpp | 1 + src/share/vm/gc_implementation/g1/g1RemSet.cpp | 168 +- src/share/vm/gc_implementation/g1/g1RemSet.hpp | 47 +- src/share/vm/gc_implementation/g1/g1RemSetSummary.cpp | 354 + src/share/vm/gc_implementation/g1/g1RemSetSummary.hpp | 118 + src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.cpp | 105 +- src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.hpp | 48 +- src/share/vm/gc_implementation/g1/g1_globals.hpp | 12 +- src/share/vm/gc_implementation/g1/heapRegion.cpp | 452 +- src/share/vm/gc_implementation/g1/heapRegion.hpp | 23 +- src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp | 140 +- src/share/vm/gc_implementation/g1/heapRegionRemSet.hpp | 40 +- src/share/vm/gc_implementation/g1/ptrQueue.cpp | 3 + src/share/vm/gc_implementation/g1/ptrQueue.hpp | 4 + src/share/vm/gc_implementation/parNew/parNewGeneration.cpp | 2 +- src/share/vm/gc_implementation/parallelScavenge/parMarkBitMap.cpp | 5 +- src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.cpp | 48 + src/share/vm/gc_implementation/parallelScavenge/psAdaptiveSizePolicy.hpp | 7 +- src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp | 6 +- src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp | 10 +- src/share/vm/gc_implementation/parallelScavenge/psPermGen.cpp | 2 +- src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.inline.hpp | 1 + src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp | 24 +- src/share/vm/gc_implementation/parallelScavenge/psVirtualspace.cpp | 3 + src/share/vm/gc_implementation/shared/mutableNUMASpace.cpp | 3 + src/share/vm/gc_interface/collectedHeap.cpp | 11 + src/share/vm/gc_interface/collectedHeap.hpp | 6 + src/share/vm/gc_interface/collectedHeap.inline.hpp | 3 + src/share/vm/interpreter/abstractInterpreter.hpp | 6 + src/share/vm/interpreter/bytecodeInterpreter.cpp | 857 +- src/share/vm/interpreter/bytecodeInterpreter.hpp | 25 +- src/share/vm/interpreter/bytecodeInterpreterProfiling.hpp | 306 + src/share/vm/interpreter/interpreterRuntime.cpp | 65 +- src/share/vm/interpreter/interpreterRuntime.hpp | 21 +- src/share/vm/interpreter/invocationCounter.hpp | 14 +- src/share/vm/interpreter/linkResolver.cpp | 3 + src/share/vm/libadt/port.hpp | 5 +- src/share/vm/memory/allocation.cpp | 3 + src/share/vm/memory/barrierSet.hpp | 4 +- src/share/vm/memory/barrierSet.inline.hpp | 6 +- src/share/vm/memory/cardTableModRefBS.cpp | 58 +- src/share/vm/memory/cardTableModRefBS.hpp | 35 +- src/share/vm/memory/collectorPolicy.cpp | 21 +- src/share/vm/memory/defNewGeneration.cpp | 14 +- src/share/vm/memory/gcLocker.hpp | 4 + src/share/vm/memory/genCollectedHeap.cpp | 19 +- src/share/vm/memory/genMarkSweep.cpp | 3 + src/share/vm/memory/generation.hpp | 1 + src/share/vm/memory/iterator.cpp | 2 +- src/share/vm/memory/modRefBarrierSet.hpp | 2 +- src/share/vm/memory/resourceArea.cpp | 3 + src/share/vm/memory/resourceArea.hpp | 3 + src/share/vm/memory/sharedHeap.cpp | 8 +- src/share/vm/memory/sharedHeap.hpp | 3 +- src/share/vm/memory/space.hpp | 3 + src/share/vm/memory/threadLocalAllocBuffer.cpp | 5 +- src/share/vm/memory/universe.cpp | 18 +- src/share/vm/memory/universe.hpp | 10 +- src/share/vm/oops/constantPoolKlass.cpp | 3 + src/share/vm/oops/constantPoolOop.cpp | 241 +- src/share/vm/oops/constantPoolOop.hpp | 44 +- src/share/vm/oops/cpCacheOop.cpp | 4 +- src/share/vm/oops/cpCacheOop.hpp | 32 +- src/share/vm/oops/instanceKlass.cpp | 48 +- src/share/vm/oops/instanceKlass.hpp | 10 +- src/share/vm/oops/markOop.cpp | 3 + src/share/vm/oops/methodDataOop.cpp | 6 + src/share/vm/oops/methodDataOop.hpp | 191 + src/share/vm/oops/methodOop.hpp | 5 +- src/share/vm/oops/objArrayKlass.inline.hpp | 4 +- src/share/vm/oops/oop.cpp | 3 + src/share/vm/oops/oop.inline.hpp | 16 +- src/share/vm/oops/oopsHierarchy.cpp | 3 + src/share/vm/oops/typeArrayOop.hpp | 3 + src/share/vm/opto/block.cpp | 359 +- src/share/vm/opto/block.hpp | 8 +- src/share/vm/opto/c2_globals.hpp | 12 +- src/share/vm/opto/c2compiler.cpp | 7 +- src/share/vm/opto/callGenerator.cpp | 2 +- src/share/vm/opto/callnode.cpp | 4 +- src/share/vm/opto/chaitin.cpp | 8 +- src/share/vm/opto/compile.cpp | 41 +- src/share/vm/opto/compile.hpp | 9 +- src/share/vm/opto/gcm.cpp | 8 +- src/share/vm/opto/generateOptoStub.cpp | 71 +- src/share/vm/opto/graphKit.cpp | 47 +- src/share/vm/opto/graphKit.hpp | 46 +- src/share/vm/opto/idealGraphPrinter.cpp | 4 +- src/share/vm/opto/idealKit.cpp | 8 +- src/share/vm/opto/idealKit.hpp | 3 +- src/share/vm/opto/lcm.cpp | 43 +- src/share/vm/opto/library_call.cpp | 28 +- src/share/vm/opto/locknode.hpp | 7 +- src/share/vm/opto/loopTransform.cpp | 25 +- src/share/vm/opto/machnode.cpp | 14 + src/share/vm/opto/machnode.hpp | 28 + src/share/vm/opto/macro.cpp | 2 +- src/share/vm/opto/matcher.cpp | 72 +- src/share/vm/opto/matcher.hpp | 5 + src/share/vm/opto/memnode.cpp | 61 +- src/share/vm/opto/memnode.hpp | 175 +- src/share/vm/opto/node.cpp | 10 +- src/share/vm/opto/node.hpp | 14 +- src/share/vm/opto/output.cpp | 27 +- src/share/vm/opto/output.hpp | 7 +- src/share/vm/opto/parse.hpp | 7 + src/share/vm/opto/parse1.cpp | 7 +- src/share/vm/opto/parse2.cpp | 4 +- src/share/vm/opto/parse3.cpp | 42 +- src/share/vm/opto/postaloc.cpp | 7 +- src/share/vm/opto/reg_split.cpp | 11 + src/share/vm/opto/regalloc.cpp | 4 +- src/share/vm/opto/regmask.cpp | 7 +- src/share/vm/opto/regmask.hpp | 7 +- src/share/vm/opto/runtime.cpp | 30 +- src/share/vm/opto/type.cpp | 1 + src/share/vm/opto/type.hpp | 3 + src/share/vm/opto/vectornode.hpp | 2 +- src/share/vm/prims/forte.cpp | 6 +- src/share/vm/prims/jni.cpp | 8 +- src/share/vm/prims/jvm.cpp | 5 +- src/share/vm/prims/jvm.h | 3 + src/share/vm/prims/jvmtiClassFileReconstituter.cpp | 2 +- src/share/vm/prims/jvmtiEnv.cpp | 6 + src/share/vm/prims/jvmtiExport.cpp | 41 + src/share/vm/prims/jvmtiExport.hpp | 7 + src/share/vm/prims/jvmtiImpl.cpp | 3 + src/share/vm/prims/jvmtiManageCapabilities.cpp | 4 +- src/share/vm/prims/jvmtiRedefineClasses.cpp | 459 +- src/share/vm/prims/jvmtiRedefineClasses.hpp | 21 +- src/share/vm/prims/methodHandles.cpp | 201 +- src/share/vm/prims/methodHandles.hpp | 43 +- src/share/vm/prims/nativeLookup.cpp | 3 + src/share/vm/prims/unsafe.cpp | 4 +- src/share/vm/prims/whitebox.cpp | 10 + src/share/vm/runtime/arguments.cpp | 87 +- src/share/vm/runtime/arguments.hpp | 10 + src/share/vm/runtime/atomic.cpp | 6 + src/share/vm/runtime/biasedLocking.cpp | 6 +- src/share/vm/runtime/deoptimization.cpp | 7 +- src/share/vm/runtime/fprofiler.hpp | 3 + src/share/vm/runtime/frame.cpp | 6 +- src/share/vm/runtime/frame.hpp | 9 +- src/share/vm/runtime/globals.hpp | 46 +- src/share/vm/runtime/handles.cpp | 4 + src/share/vm/runtime/handles.inline.hpp | 3 + src/share/vm/runtime/interfaceSupport.hpp | 6 + src/share/vm/runtime/java.cpp | 3 + src/share/vm/runtime/javaCalls.cpp | 3 + src/share/vm/runtime/javaCalls.hpp | 3 + src/share/vm/runtime/javaFrameAnchor.hpp | 3 + src/share/vm/runtime/jniHandles.cpp | 3 + src/share/vm/runtime/memprofiler.cpp | 3 + src/share/vm/runtime/mutex.cpp | 4 + src/share/vm/runtime/mutexLocker.cpp | 7 +- src/share/vm/runtime/mutexLocker.hpp | 6 +- src/share/vm/runtime/objectMonitor.cpp | 20 +- src/share/vm/runtime/os.cpp | 45 +- src/share/vm/runtime/os.hpp | 17 +- src/share/vm/runtime/osThread.hpp | 3 + src/share/vm/runtime/safepoint.cpp | 5 +- src/share/vm/runtime/sharedRuntime.cpp | 69 +- src/share/vm/runtime/sharedRuntime.hpp | 27 +- src/share/vm/runtime/sharedRuntimeTrans.cpp | 4 + src/share/vm/runtime/sharedRuntimeTrig.cpp | 7 + src/share/vm/runtime/stubRoutines.cpp | 9 + src/share/vm/runtime/stubRoutines.hpp | 61 +- src/share/vm/runtime/sweeper.cpp | 3 +- src/share/vm/runtime/sweeper.hpp | 1 + src/share/vm/runtime/synchronizer.cpp | 17 +- src/share/vm/runtime/task.cpp | 4 + src/share/vm/runtime/thread.cpp | 18 +- src/share/vm/runtime/thread.hpp | 29 +- src/share/vm/runtime/threadLocalStorage.cpp | 4 + src/share/vm/runtime/threadLocalStorage.hpp | 3 + src/share/vm/runtime/timer.cpp | 3 + src/share/vm/runtime/virtualspace.cpp | 3 + src/share/vm/runtime/vmStructs.cpp | 13 +- src/share/vm/runtime/vmThread.cpp | 5 +- src/share/vm/runtime/vmThread.hpp | 3 + src/share/vm/runtime/vm_operations.cpp | 6 +- src/share/vm/runtime/vm_operations.hpp | 4 +- src/share/vm/runtime/vm_version.cpp | 9 +- src/share/vm/services/attachListener.cpp | 14 + src/share/vm/services/management.cpp | 23 +- src/share/vm/shark/sharkCompiler.cpp | 5 +- src/share/vm/shark/shark_globals.hpp | 10 + src/share/vm/trace/trace.dtd | 3 - src/share/vm/utilities/accessFlags.cpp | 3 + src/share/vm/utilities/array.cpp | 3 + src/share/vm/utilities/bitMap.cpp | 3 + src/share/vm/utilities/bitMap.hpp | 2 +- src/share/vm/utilities/bitMap.inline.hpp | 20 +- src/share/vm/utilities/debug.cpp | 4 + src/share/vm/utilities/debug.hpp | 2 +- src/share/vm/utilities/decoder.cpp | 4 + src/share/vm/utilities/decoder_elf.cpp | 2 +- src/share/vm/utilities/decoder_elf.hpp | 4 +- src/share/vm/utilities/elfFile.cpp | 55 +- src/share/vm/utilities/elfFile.hpp | 8 +- src/share/vm/utilities/elfFuncDescTable.cpp | 104 + src/share/vm/utilities/elfFuncDescTable.hpp | 149 + src/share/vm/utilities/elfStringTable.cpp | 4 +- src/share/vm/utilities/elfStringTable.hpp | 2 +- src/share/vm/utilities/elfSymbolTable.cpp | 38 +- src/share/vm/utilities/elfSymbolTable.hpp | 6 +- src/share/vm/utilities/events.cpp | 3 + src/share/vm/utilities/exceptions.cpp | 3 + src/share/vm/utilities/globalDefinitions.hpp | 6 + src/share/vm/utilities/globalDefinitions_xlc.hpp | 202 + src/share/vm/utilities/growableArray.cpp | 3 + src/share/vm/utilities/growableArray.hpp | 8 + src/share/vm/utilities/histogram.hpp | 3 + src/share/vm/utilities/macros.hpp | 41 +- src/share/vm/utilities/ostream.cpp | 7 +- src/share/vm/utilities/preserveException.hpp | 3 + src/share/vm/utilities/taskqueue.cpp | 3 + src/share/vm/utilities/taskqueue.hpp | 114 +- src/share/vm/utilities/vmError.cpp | 23 +- src/share/vm/utilities/vmError.hpp | 8 + src/share/vm/utilities/workgroup.hpp | 3 + test/compiler/codegen/LoadWithMask.java | 44 + test/compiler/codegen/LoadWithMask2.java | 55 + test/gc/8000311/Test8000311.java | 42 + test/gc/TestVerifyBeforeGCDuringStartup.java | 45 - test/gc/TestVerifyDuringStartup.java | 45 + test/gc/TestVerifySilently.java | 84 + test/gc/g1/TestHumongousCodeCacheRoots.java | 143 + test/gc/g1/TestPrintRegionRememberedSetInfo.java | 92 + test/gc/g1/TestSummarizeRSetStats.java | 85 + test/gc/g1/TestSummarizeRSetStatsPerRegion.java | 55 + test/gc/g1/TestSummarizeRSetStatsThreads.java | 83 + test/gc/g1/TestSummarizeRSetStatsTools.java | 154 + test/runtime/6929067/Test6929067.sh | 14 +- test/runtime/7020373/GenOOMCrashClass.java | 157 + test/runtime/7020373/Test7020373.sh | 4 + test/runtime/7020373/testcase.jar | Bin test/runtime/7107135/Test7107135.sh | 11 +- test/runtime/InitialThreadOverflow/DoOverflow.java | 41 + test/runtime/InitialThreadOverflow/invoke.cxx | 70 + test/runtime/InitialThreadOverflow/testme.sh | 73 + test/runtime/jsig/Test8017498.sh | 94 + test/runtime/jsig/TestJNI.c | 55 + test/runtime/jsig/TestJNI.java | 42 + test/testlibrary/whitebox/sun/hotspot/WhiteBox.java | 3 + tools/mkbc.c | 607 + 540 files changed, 89981 insertions(+), 2492 deletions(-) diffs (truncated from 103600 to 500 lines): diff -r 2c971ed884ce -r 903304e152fc .hgtags --- a/.hgtags Wed Jan 15 10:53:50 2014 -0800 +++ b/.hgtags Wed Apr 02 02:16:06 2014 +0100 @@ -50,6 +50,7 @@ faf94d94786b621f8e13cbcc941ca69c6d967c3f jdk7-b73 f4b900403d6e4b0af51447bd13bbe23fe3a1dac7 jdk7-b74 d8dd291a362acb656026a9c0a9da48501505a1e7 jdk7-b75 +b4ab978ce52c41bb7e8ee86285e6c9f28122bbe1 icedtea7-1.12 9174bb32e934965288121f75394874eeb1fcb649 jdk7-b76 455105fc81d941482f8f8056afaa7aa0949c9300 jdk7-b77 e703499b4b51e3af756ae77c3d5e8b3058a14e4e jdk7-b78 @@ -87,6 +88,7 @@ 07226e9eab8f74b37346b32715f829a2ef2c3188 hs18-b01 e7e7e36ccdb5d56edd47e5744351202d38f3b7ad jdk7-b87 4b60f23c42231f7ecd62ad1fcb6a9ca26fa57d1b jdk7-b88 +a393ff93e7e54dd94cc4211892605a32f9c77dad icedtea7-1.13 15836273ac2494f36ef62088bc1cb6f3f011f565 jdk7-b89 4b60f23c42231f7ecd62ad1fcb6a9ca26fa57d1b hs18-b02 605c9707a766ff518cd841fc04f9bb4b36a3a30b jdk7-b90 @@ -160,6 +162,7 @@ b898f0fc3cedc972d884d31a751afd75969531cf hs21-b05 bd586e392d93b7ed7a1636dcc8da2b6a4203a102 jdk7-b136 bd586e392d93b7ed7a1636dcc8da2b6a4203a102 hs21-b06 +591c7dc0b2ee879f87a7b5519a5388e0d81520be icedtea-1.14 2dbcb4a4d8dace5fe78ceb563b134f1fb296cd8f jdk7-b137 2dbcb4a4d8dace5fe78ceb563b134f1fb296cd8f hs21-b07 0930dc920c185afbf40fed9a655290b8e5b16783 jdk7-b138 @@ -182,6 +185,7 @@ 38fa55e5e79232d48f1bb8cf27d88bc094c9375a hs21-b16 81d815b05abb564aa1f4100ae13491c949b9a07e jdk7-b147 81d815b05abb564aa1f4100ae13491c949b9a07e hs21-b17 +7693eb0fce1f6b484cce96c233ea20bdad8a09e0 icedtea-2.0-branchpoint 9b0ca45cd756d538c4c30afab280a91868eee1a5 jdk7u2-b01 0cc8a70952c368e06de2adab1f2649a408f5e577 jdk8-b01 31e253c1da429124bb87570ab095d9bc89850d0a jdk8-b02 @@ -210,6 +214,7 @@ 3ba0bb2e7c8ddac172f5b995aae57329cdd2dafa hs22-b10 f17fe2f4b6aacc19cbb8ee39476f2f13a1c4d3cd jdk7u2-b13 0744602f85c6fe62255326df595785eb2b32166d jdk7u2-b21 +f8f4d3f9b16567b91bcef4caaa8417c8de8015f0 icedtea-2.1-branchpoint a40d238623e5b1ab1224ea6b36dc5b23d0a53880 jdk7u3-b02 6986bfb4c82e00b938c140f2202133350e6e73f8 jdk7u3-b03 8e6375b46717d74d4885f839b4e72d03f357a45f jdk7u3-b04 @@ -264,6 +269,7 @@ f92a171cf0071ca6c3fa8231d7d570377f8b2f4d hs23-b16 f92a171cf0071ca6c3fa8231d7d570377f8b2f4d hs23-b16 931e5f39e365a0d550d79148ff87a7f9e864d2e1 hs23-b16 +a2c5354863dcb3d147b7b6f55ef514b1bfecf920 icedtea-2.2-branchpoint efb5f2662c96c472caa3327090268c75a86dd9c0 jdk7u4-b13 82e719a2e6416838b4421637646cbfd7104c7716 jdk7u4-b14 e5f7f95411fb9e837800b4152741c962118e5d7a jdk7u5-b01 @@ -302,6 +308,9 @@ e974e15945658e574e6c344c4a7ba225f5708c10 hs23.2-b03 f08a3a0e60c32cb0e8350e72fdc54849759096a4 jdk7u6-b12 7a8d3cd6562170f4c262e962270f679ac503f456 hs23.2-b04 +d72dd66fdc3d52aee909f8dd8f25f62f13569ffa ppc-aix-port-b01 +1efaab66c81d0a5701cc819e67376f1b27bfea47 ppc-aix-port-b02 +b69b779a26dfc5e2333504d0c82fc998ff915499 ppc-aix-port-b03 28746e6d615f27816f483485a53b790c7a463f0c jdk7u6-b13 202880d633e646d4936798d0fba6efc0cab04dc8 hs23.2-b05 6b0f178141388f5721aa5365cb542715acbf0cc7 jdk7u6-b14 @@ -311,6 +320,7 @@ cefe884c708aa6dfd63aff45f6c698a6bc346791 jdk7u6-b16 270a40a57b3d05ca64070208dcbb895b5b509d8e hs23.2-b08 7a37cec9d0d44ae6ea3d26a95407e42d99af6843 jdk7u6-b17 +354cfde7db2f1fd46312d883a63c8a76d5381bab icedtea-2.3-branchpoint df0df4ae5af2f40b7f630c53a86e8c3d68ef5b66 jdk7u6-b18 1257f4373a06f788bd656ae1c7a953a026a285b9 jdk7u6-b19 a0c2fa4baeb6aad6f33dc87b676b21345794d61e hs23.2-b09 @@ -440,6 +450,7 @@ 4f7ad6299356bfd2cfb448ea4c11e8ce0fbf69f4 jdk7u12-b07 3bb803664f3d9c831d094cbe22b4ee5757e780c8 jdk7u12-b08 92e382c3cccc0afbc7f72fccea4f996e05b66b3e jdk7u12-b09 +6e4feb17117d21e0e4360f2d0fbc68397ed3ba80 icedtea-2.4-branchpoint 7554f9b2bcc72204ac10ba8b08b8e648459504df hs24-b29 181528fd1e74863a902f171a2ad46270a2fb15e0 jdk7u14-b10 4008cf63c30133f2fac148a39903552fe7a33cea hs24-b30 @@ -496,6 +507,7 @@ 273e8afccd6ef9e10e9fe121f7b323755191f3cc jdk7u25-b32 e3d2c238e29c421c3b5c001e400acbfb30790cfc jdk7u14-b14 860ae068f4dff62a77c8315f0335b7e935087e86 hs24-b34 +ca298f18e21dc66c6b5235600f8b50bcc9bbaa38 ppc-aix-port-b04 12619005c5e29be6e65f0dc9891ca19d9ffb1aaa jdk7u14-b15 be21f8a4d42c03cafde4f616fd80ece791ba2f21 hs24-b35 10e0043bda0878dbc85f3f280157eab592b47c91 jdk7u14-b16 @@ -590,6 +602,9 @@ 12374864c655a2cefb0d65caaacf215d5365ec5f jdk7u45-b18 3677c8cc3c89c0fa608f485b84396e4cf755634b jdk7u45-b30 520b7b3d9153c1407791325946b07c5c222cf0d6 jdk7u45-b31 +ae4adc1492d1c90a70bd2d139a939fc0c8329be9 jdk7u60-b00 +af1fc2868a2b919727bfbb0858449bd991bbee4a jdk7u40-b60 +cc83359f5e5eb46dd9176b0a272390b1a0a51fdc hs24.60-b01 c373a733d5d5147f99eaa2b91d6b937c28214fc9 jdk7u45-b33 0bcb43482f2ac5615437541ffb8dc0f79ece3148 jdk7u45-b34 429884602206fcf5314c8b953c06d54d337558ca jdk7u51-b00 @@ -618,3 +633,16 @@ 0025a2a965c8f21376278245c2493d8861386fba jdk7u60-b02 fa59add77d1a8f601a695f137248462fdc68cc2f hs24.60-b05 a59134ccb1b704b2cd05e157970d425af43e5437 hs24.60-b06 +bc178be7e9d6fcc97e09c909ffe79d96e2305218 icedtea-2.5pre01 +f30e87f16d90f1e659b935515a3fc083ab8a0156 icedtea-2.5pre02 +2c971ed884cec0a9293ccff3def696da81823225 jdk7u60-b03 +1afbeb8cb558429156d432f35e7582716053a9cb hs24.60-b07 +05fe7a87d14908eb3f21a0d29fc72cee2f996b7f jdk7u60-b04 +f52b5452d424545e3b101d808e6d7da763d6f0f3 hs24.60-b08 +462db155547e9bdd7ba26bead42808deb0b10d44 jdk7u60-b05 +0cc4550bd9c57ba3be343bfbfcaf46b9060d5e7d jdk7u60-b06 +2d053c4fd767155b2ac5e3e0a60b08a1bcc73cab jdk7u60-b07 +a198787e7b9bc7b831ad210b67732cdb2be9e46e jdk7u60-b08 +22cae361773d14b467328e8f90cf893550d1d610 jdk7u60-b09 +6f74afd8577eb4b6a0e6f7b25cfef7d6f7d92e5f jdk7u60-b10 +a2ac67a2c1cc867a8d6b525ab1df17204186e636 jdk7u60-b11 diff -r 2c971ed884ce -r 903304e152fc .jcheck/conf --- a/.jcheck/conf Wed Jan 15 10:53:50 2014 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -project=jdk7 -bugids=dup diff -r 2c971ed884ce -r 903304e152fc agent/src/os/linux/Makefile --- a/agent/src/os/linux/Makefile Wed Jan 15 10:53:50 2014 -0800 +++ b/agent/src/os/linux/Makefile Wed Apr 02 02:16:06 2014 +0100 @@ -23,7 +23,12 @@ # ARCH := $(shell if ([ `uname -m` = "ia64" ]) ; then echo ia64 ; elif ([ `uname -m` = "x86_64" ]) ; then echo amd64; elif ([ `uname -m` = "sparc64" ]) ; then echo sparc; else echo i386 ; fi ) -GCC = gcc + +ifndef BUILD_GCC +BUILD_GCC = gcc +endif + +GCC = $(BUILD_GCC) JAVAH = ${JAVA_HOME}/bin/javah @@ -40,7 +45,7 @@ LIBS = -lthread_db -CFLAGS = -c -fPIC -g -D_GNU_SOURCE -D$(ARCH) $(INCLUDES) -D_FILE_OFFSET_BITS=64 +CFLAGS = -c -fPIC -g -D_GNU_SOURCE -D_$(ARCH)_ $(if $(filter $(ARCH),alpha),,-D$(ARCH)) $(INCLUDES) -D_FILE_OFFSET_BITS=64 LIBSA = $(ARCH)/libsaproc.so @@ -73,7 +78,7 @@ $(GCC) -shared $(LFLAGS_LIBSA) -o $(LIBSA) $(OBJS) $(LIBS) test.o: test.c - $(GCC) -c -o test.o -g -D_GNU_SOURCE -D$(ARCH) $(INCLUDES) test.c + $(GCC) -c -o test.o -g -D_GNU_SOURCE -D_$(ARCH)_ $(if $(filter $(ARCH),alpha),,-D$(ARCH)) $(INCLUDES) test.c test: test.o $(GCC) -o test test.o -L$(ARCH) -lsaproc $(LIBS) diff -r 2c971ed884ce -r 903304e152fc agent/src/os/linux/libproc.h --- a/agent/src/os/linux/libproc.h Wed Jan 15 10:53:50 2014 -0800 +++ b/agent/src/os/linux/libproc.h Wed Apr 02 02:16:06 2014 +0100 @@ -41,9 +41,34 @@ These two files define pt_regs structure differently */ #ifdef _LP64 -#include "asm-sparc64/ptrace.h" +struct pt_regs { + unsigned long u_regs[16]; /* globals and ins */ + unsigned long tstate; + unsigned long tpc; + unsigned long tnpc; + unsigned int y; + + /* We encode a magic number, PT_REGS_MAGIC, along + * with the %tt (trap type) register value at trap + * entry time. The magic number allows us to identify + * accurately a trap stack frame in the stack + * unwinder, and the %tt value allows us to test + * things like "in a system call" etc. for an arbitray + * process. + * + * The PT_REGS_MAGIC is chosen such that it can be + * loaded completely using just a sethi instruction. + */ + unsigned int magic; +}; #else -#include "asm-sparc/ptrace.h" +struct pt_regs { + unsigned long psr; + unsigned long pc; + unsigned long npc; + unsigned long y; + unsigned long u_regs[16]; /* globals and ins */ +}; #endif #endif //sparc or sparcv9 @@ -88,7 +113,7 @@ }; #endif -#if defined(sparc) || defined(sparcv9) +#if defined(sparc) || defined(sparcv9) || defined(ppc64) #define user_regs_struct pt_regs #endif diff -r 2c971ed884ce -r 903304e152fc agent/src/os/linux/ps_core.c --- a/agent/src/os/linux/ps_core.c Wed Jan 15 10:53:50 2014 -0800 +++ b/agent/src/os/linux/ps_core.c Wed Apr 02 02:16:06 2014 +0100 @@ -700,55 +700,61 @@ // read segments of a shared object static bool read_lib_segments(struct ps_prochandle* ph, int lib_fd, ELF_EHDR* lib_ehdr, uintptr_t lib_base) { - int i = 0; - ELF_PHDR* phbuf; - ELF_PHDR* lib_php = NULL; + int i = 0; + ELF_PHDR* phbuf; + ELF_PHDR* lib_php = NULL; - int page_size=sysconf(_SC_PAGE_SIZE); + int page_size = sysconf(_SC_PAGE_SIZE); - if ((phbuf = read_program_header_table(lib_fd, lib_ehdr)) == NULL) - return false; + if ((phbuf = read_program_header_table(lib_fd, lib_ehdr)) == NULL) { + return false; + } - // we want to process only PT_LOAD segments that are not writable. - // i.e., text segments. The read/write/exec (data) segments would - // have been already added from core file segments. - for (lib_php = phbuf, i = 0; i < lib_ehdr->e_phnum; i++) { - if ((lib_php->p_type == PT_LOAD) && !(lib_php->p_flags & PF_W) && (lib_php->p_filesz != 0)) { - uintptr_t target_vaddr = lib_php->p_vaddr + lib_base; - map_info *existing_map = core_lookup(ph, target_vaddr); + // we want to process only PT_LOAD segments that are not writable. + // i.e., text segments. The read/write/exec (data) segments would + // have been already added from core file segments. + for (lib_php = phbuf, i = 0; i < lib_ehdr->e_phnum; i++) { + if ((lib_php->p_type == PT_LOAD) && !(lib_php->p_flags & PF_W) && (lib_php->p_filesz != 0)) { - if (existing_map == NULL) { - if (add_map_info(ph, lib_fd, lib_php->p_offset, - target_vaddr, lib_php->p_filesz) == NULL) { - goto err; - } - } else { - if ((existing_map->memsz != page_size) && - (existing_map->fd != lib_fd) && - (existing_map->memsz != lib_php->p_filesz)) { + uintptr_t target_vaddr = lib_php->p_vaddr + lib_base; + map_info *existing_map = core_lookup(ph, target_vaddr); - print_debug("address conflict @ 0x%lx (size = %ld, flags = %d\n)", - target_vaddr, lib_php->p_filesz, lib_php->p_flags); - goto err; - } + if (existing_map == NULL){ + if (add_map_info(ph, lib_fd, lib_php->p_offset, + target_vaddr, lib_php->p_memsz) == NULL) { + goto err; + } + } else { + // Coredump stores value of p_memsz elf field + // rounded up to page boundary. - /* replace PT_LOAD segment with library segment */ - print_debug("overwrote with new address mapping (memsz %ld -> %ld)\n", - existing_map->memsz, lib_php->p_filesz); + if ((existing_map->memsz != page_size) && + (existing_map->fd != lib_fd) && + (ROUNDUP(existing_map->memsz, page_size) != ROUNDUP(lib_php->p_memsz, page_size))) { - existing_map->fd = lib_fd; - existing_map->offset = lib_php->p_offset; - existing_map->memsz = lib_php->p_filesz; - } + print_debug("address conflict @ 0x%lx (existing map size = %ld, size = %ld, flags = %d)\n", + target_vaddr, existing_map->memsz, lib_php->p_memsz, lib_php->p_flags); + goto err; + } + + /* replace PT_LOAD segment with library segment */ + print_debug("overwrote with new address mapping (memsz %ld -> %ld)\n", + existing_map->memsz, ROUNDUP(lib_php->p_memsz, page_size)); + + existing_map->fd = lib_fd; + existing_map->offset = lib_php->p_offset; + existing_map->memsz = ROUNDUP(lib_php->p_memsz, page_size); } - lib_php++; - } + } - free(phbuf); - return true; + lib_php++; + } + + free(phbuf); + return true; err: - free(phbuf); - return false; + free(phbuf); + return false; } // process segments from interpreter (ld.so or ld-linux.so) diff -r 2c971ed884ce -r 903304e152fc agent/src/share/classes/sun/jvm/hotspot/interpreter/Bytecodes.java --- a/agent/src/share/classes/sun/jvm/hotspot/interpreter/Bytecodes.java Wed Jan 15 10:53:50 2014 -0800 +++ b/agent/src/share/classes/sun/jvm/hotspot/interpreter/Bytecodes.java Wed Apr 02 02:16:06 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 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 @@ -272,9 +272,10 @@ public static final int _fast_aldc = 229; public static final int _fast_aldc_w = 230; public static final int _return_register_finalizer = 231; - public static final int _shouldnotreachhere = 232; // For debugging + public static final int _invokehandle = 232; + public static final int _shouldnotreachhere = 233; // For debugging - public static final int number_of_codes = 233; + public static final int number_of_codes = 234; // Flag bits derived from format strings, can_trap, can_rewrite, etc.: // semantic flags: @@ -798,6 +799,9 @@ def(_return_register_finalizer, "return_register_finalizer", "b" , null , BasicType.getTVoid() , 0, true, _return ); + def(_invokehandle , "invokehandle" , "bJJ" , null , BasicType.getTIllegal(), -1, true, _invokevirtual ); + + def(_fast_aldc , "fast_aldc" , "bj" , null , BasicType.getTObject(), 1, true, _ldc ); def(_fast_aldc_w , "fast_aldc_w" , "bJJ" , null , BasicType.getTObject(), 1, true, _ldc_w ); diff -r 2c971ed884ce -r 903304e152fc make/Makefile --- a/make/Makefile Wed Jan 15 10:53:50 2014 -0800 +++ b/make/Makefile Wed Apr 02 02:16:06 2014 +0100 @@ -85,6 +85,7 @@ # Typical C1/C2 targets made available with this Makefile C1_VM_TARGETS=product1 fastdebug1 optimized1 jvmg1 C2_VM_TARGETS=product fastdebug optimized jvmg +CORE_VM_TARGETS=productcore fastdebugcore optimizedcore jvmgcore ZERO_VM_TARGETS=productzero fastdebugzero optimizedzero jvmgzero SHARK_VM_TARGETS=productshark fastdebugshark optimizedshark jvmgshark @@ -127,6 +128,12 @@ all_debugshark: jvmgshark docs export_debug all_optimizedshark: optimizedshark docs export_optimized +allcore: all_productcore all_fastdebugcore +all_productcore: productcore docs export_product +all_fastdebugcore: fastdebugcore docs export_fastdebug +all_debugcore: jvmgcore docs export_debug +all_optimizedcore: optimizedcore docs export_optimized + # Do everything world: all create_jdk @@ -151,6 +158,10 @@ $(CD) $(GAMMADIR)/make; \ $(MAKE) BUILD_FLAVOR=$@ VM_TARGET=$@ generic_build2 $(ALT_OUT) +$(CORE_VM_TARGETS): + $(CD) $(GAMMADIR)/make; \ + $(MAKE) VM_TARGET=$@ generic_buildcore $(ALT_OUT) + $(ZERO_VM_TARGETS): $(CD) $(GAMMADIR)/make; \ $(MAKE) BUILD_FLAVOR=$(@:%zero=%) VM_TARGET=$@ \ @@ -203,6 +214,12 @@ $(MAKE_ARGS) $(VM_TARGET) endif +generic_buildcore: + $(MKDIR) -p $(OUTPUTDIR) + $(CD) $(OUTPUTDIR); \ + $(MAKE) -f $(ABS_OS_MAKEFILE) \ + $(MAKE_ARGS) $(VM_TARGET) + generic_buildzero: $(MKDIR) -p $(OUTPUTDIR) $(CD) $(OUTPUTDIR); \ @@ -257,10 +274,12 @@ C2_BASE_DIR=$(OUTPUTDIR)/$(VM_PLATFORM)_compiler2 ZERO_BASE_DIR=$(OUTPUTDIR)/$(VM_PLATFORM)_zero SHARK_BASE_DIR=$(OUTPUTDIR)/$(VM_PLATFORM)_shark +CORE_BASE_DIR=$(OUTPUTDIR)/$(VM_PLATFORM)_core C1_DIR=$(C1_BASE_DIR)/$(VM_SUBDIR) C2_DIR=$(C2_BASE_DIR)/$(VM_SUBDIR) ZERO_DIR=$(ZERO_BASE_DIR)/$(VM_SUBDIR) SHARK_DIR=$(SHARK_BASE_DIR)/$(VM_SUBDIR) +CORE_DIR=$(CORE_BASE_DIR)/$(VM_SUBDIR) ifeq ($(JVM_VARIANT_SERVER), true) MISC_DIR=$(C2_DIR) @@ -278,6 +297,10 @@ MISC_DIR=$(ZERO_DIR) GEN_DIR=$(ZERO_BASE_DIR)/generated endif +ifeq ($(JVM_VARIANT_CORE), true) + MISC_DIR=$(CORE_DIR) + GEN_DIR=$(CORE_BASE_DIR)/generated +endif # Bin files (windows) ifeq ($(OSNAME),windows) @@ -387,6 +410,20 @@ $(EXPORT_SERVER_DIR)/%.diz: $(ZERO_DIR)/%.diz $(install-file) endif + ifeq ($(JVM_VARIANT_CORE), true) + $(EXPORT_JRE_LIB_ARCH_DIR)/%.$(LIBRARY_SUFFIX): $(CORE_DIR)/%.$(LIBRARY_SUFFIX) + $(install-file) + $(EXPORT_SERVER_DIR)/%.$(LIBRARY_SUFFIX): $(CORE_DIR)/%.$(LIBRARY_SUFFIX) + $(install-file) + $(EXPORT_JRE_LIB_ARCH_DIR)/%.debuginfo: $(CORE_DIR)/%.debuginfo + $(install-file) + $(EXPORT_SERVER_DIR)/%.debuginfo: $(CORE_DIR)/%.debuginfo + $(install-file) + $(EXPORT_JRE_LIB_ARCH_DIR)/%.diz: $(CORE_DIR)/%.diz + $(install-file) + $(EXPORT_SERVER_DIR)/%.diz: $(CORE_DIR)/%.diz + $(install-file) + endif endif # Jar file (sa-jdi.jar) diff -r 2c971ed884ce -r 903304e152fc make/aix/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/make/aix/Makefile Wed Apr 02 02:16:06 2014 +0100 @@ -0,0 +1,376 @@ +# +# Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. +# Copyright 2012, 2013 SAP AG. 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 +# under the terms of the GNU General Public License version 2 only, as +# published by the Free Software Foundation. +# +# This code is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# version 2 for more details (a copy is included in the LICENSE file that +# accompanied this code). +# +# You should have received a copy of the GNU General Public License version +# 2 along with this work; if not, write to the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA +# or visit www.oracle.com if you need additional information or have any +# questions. +# +# + +# This makefile creates a build tree and lights off a build. +# You can go back into the build tree and perform rebuilds or +# incremental builds as desired. Be sure to reestablish +# environment variable settings for LD_LIBRARY_PATH and JAVA_HOME. + +# The make process now relies on java and javac. These can be +# specified either implicitly on the PATH, by setting the +# (JDK-inherited) ALT_BOOTDIR environment variable to full path to a +# JDK in which bin/java and bin/javac are present and working (e.g., +# /usr/local/java/jdk1.3/solaris), or via the (JDK-inherited) +# default BOOTDIR path value. Note that one of ALT_BOOTDIR +# or BOOTDIR has to be set. We do *not* search javac, javah, rmic etc. +# from the PATH. +# +# One can set ALT_BOOTDIR or BOOTDIR to point to a jdk that runs on +# an architecture that differs from the target architecture, as long +# as the bootstrap jdk runs under the same flavor of OS as the target +# (i.e., if the target is linux, point to a jdk that runs on a linux +# box). In order to use such a bootstrap jdk, set the make variable +# REMOTE to the desired remote command mechanism, e.g., +# +# make REMOTE="rsh -l me myotherlinuxbox" + +# Along with VM, Serviceability Agent (SA) is built for SA/JDI binding. +# JDI binding on SA produces two binaries: +# 1. sa-jdi.jar - This is build before building libjvm[_g].so +# Please refer to ./makefiles/sa.make +# 2. libsa[_g].so - Native library for SA - This is built after +# libjsig[_g].so (signal interposition library) +# Please refer to ./makefiles/vm.make +# If $(GAMMADIR)/agent dir is not present, SA components are not built. + +ifeq ($(GAMMADIR),) +include ../../make/defs.make +else +include $(GAMMADIR)/make/defs.make +endif +include $(GAMMADIR)/make/$(OSNAME)/makefiles/rules.make + From andrew at icedtea.classpath.org Wed Apr 2 01:22:24 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 02 Apr 2014 01:22:24 +0000 Subject: /hg/release/icedtea7-forest-2.5/jdk: 49 new changesets Message-ID: changeset 9af71eceaee6 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=9af71eceaee6 author: katleman date: Thu Jan 16 11:52:13 2014 -0800 Added tag jdk7u60-b03 for changeset b1bcc999a8f1 changeset 48b6bddcd0bf in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=48b6bddcd0bf author: uta date: Mon May 27 15:18:00 2013 +0400 8014394: (fs) WatchService failing when watching \\server\$d Reviewed-by: alanb changeset a774c34382cc in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=a774c34382cc author: alanb date: Tue Oct 08 10:49:09 2013 +0100 8024788: (fs) Files.readAllBytes uses FileChannel which may not be supported by all providers Reviewed-by: chegar changeset 4e1095e23665 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=4e1095e23665 author: robm date: Fri Dec 27 15:39:43 2013 +0000 7074436: (sc) SocketChannel can do short gathering writes when channel configured blocking (win) Reviewed-by: chegar changeset a1f5b443727c in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=a1f5b443727c author: coffeys date: Thu Nov 21 13:39:01 2013 +0000 8022698: javax/script/GetInterfaceTest.java fails since 7u45 b04 with -agentvm option Reviewed-by: sundar changeset 21528ae4d923 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=21528ae4d923 author: coffeys date: Thu Jan 02 15:26:53 2014 +0000 Merge changeset 1331fa69ef12 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=1331fa69ef12 author: dbuck date: Wed Jan 08 02:51:26 2014 -0800 6571600: JNI use results in UnsatisfiedLinkError looking for libmawt.so Summary: Fix is to call dladdr with name less likely to cause name conflict. Reviewed-by: serb, art changeset aaa6b578707e in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=aaa6b578707e author: dfuchs date: Wed Jan 15 20:25:48 2014 +0100 8019853: Break logging and AWT circular dependency Summary: Break logging and AWT circular dependency, which was at the root cause for 8023258 - Logger.getLogger() after ImageIO.read() returns different logger instance Reviewed-by: mchung, art changeset 17cf9917fdc8 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=17cf9917fdc8 author: dfuchs date: Wed Jan 15 20:29:07 2014 +0100 8026404: Logging in Applet can trigger ACE: access denied ("java.lang.RuntimePermission" "modifyThreadGroup") Summary: The test 'threadGroup.getParent() == null' can sometimes throw ACE and needs to be wrapped in doPrivileged. Reviewed-by: alanb, mchung, dholmes changeset 628c6d46263b in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=628c6d46263b author: vlivanov date: Fri Jan 17 01:54:38 2014 +0400 8009222: java.lang.IllegalArgumentException: not invocable, no method type when attempting to get getter method handle for a static field Reviewed-by: jrose, twisti changeset efc8886310cb in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=efc8886310cb author: lana date: Mon Jan 20 12:12:07 2014 -0800 Merge changeset 19cc3b567644 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=19cc3b567644 author: katleman date: Wed Jan 22 12:34:24 2014 -0800 Added tag jdk7u60-b04 for changeset efc8886310cb changeset 2fd7486b4b35 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=2fd7486b4b35 author: mbankal date: Tue Jan 21 07:53:24 2014 -0800 8012244: java/net/Socket/asyncClose/Race.java fails intermittently on Windows Reviewed-by: chegar changeset 08ff8b738146 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=08ff8b738146 author: dfuchs date: Wed Jan 22 14:11:55 2014 +0100 8029281: Synchronization issues in Logger and LogManager Summary: Fixes several race conditions in logging which have been at the root cause of intermittent test failures. Reviewed-by: mchung, plevart changeset e65808224f83 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=e65808224f83 author: dfuchs date: Tue Jan 21 14:28:13 2014 +0100 8031980: Add new j.u.l deadlock test for JDK-8027670 and JDK-8029281 Summary: adds a new test for the deadlock found in JDK-8027670 and fixed in JDK-8029281. Reviewed-by: mchung changeset 64e02cab7647 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=64e02cab7647 author: alanb date: Sun Nov 11 10:05:37 2012 +0000 8003253: TEST_BUG: java/nio/channels/AsynchronousChannelGroup/Unbounded.java hang intermittently [win] Reviewed-by: chegar changeset 767f4cb863ff in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=767f4cb863ff author: alanb date: Wed Nov 14 12:56:26 2012 +0000 8003285: TEST_BUG: java/nio/channels/AsynchronousChannelGroup/Unbounded.java fails again [macosx] Reviewed-by: chegar changeset 6be61bafe517 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=6be61bafe517 author: alanb date: Thu Jan 09 11:45:01 2014 +0000 8003895: java/nio/channels/AsynchronousChannelGroup/Unbounded.java failing again [win64] Reviewed-by: chegar changeset 3f0f5d25e738 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=3f0f5d25e738 author: coffeys date: Fri Jan 10 15:10:25 2014 +0000 8017779: java/net/Authenticator/B4769350.java fails Reviewed-by: chegar Contributed-by: Tristan Yan , Kurchi Subhra Hazra changeset d9e184a0efd0 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=d9e184a0efd0 author: uta date: Wed Jan 22 18:13:07 2014 -0800 8020191: System.getProperty("os.name") returns "Windows NT (unknown)" on Windows 8.1 Reviewed-by: alanb, khazra, chegar changeset d7d361cb8316 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=d7d361cb8316 author: tyan date: Fri Jan 24 12:25:08 2014 +0800 8030712: TEST_BUG : java/lang/ProcessBuilder/BasicLauncher.java fails if java output contains VM warning Reviewed-by: alanb, martin changeset 4fb749a31107 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=4fb749a31107 author: weijun date: Tue Jan 21 12:08:02 2014 +0800 8031572: jarsigner -verify exits with 0 when a jar file is not properly signed Reviewed-by: mullan changeset 46ca1ce7550f in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=46ca1ce7550f author: katleman date: Wed Feb 05 12:31:26 2014 -0800 Added tag jdk7u60-b05 for changeset 4fb749a31107 changeset 20e2e15dc5b1 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=20e2e15dc5b1 author: katleman date: Wed Feb 12 14:56:43 2014 -0800 Added tag jdk7u60-b06 for changeset 46ca1ce7550f changeset 51962feb89c8 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=51962feb89c8 author: igerasim date: Thu Jan 23 03:22:58 2014 +0400 8023881: IDN.USE_STD3_ASCII_RULES option is too strict to use Unicode in IDN.toASCII Reviewed-by: michaelm changeset 0b0b3012a6af in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=0b0b3012a6af author: igerasim date: Sat Jan 25 00:49:37 2014 +0400 8030698: Several GUI labels in jconsole need correction Reviewed-by: sla changeset ddacc52ea09e in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=ddacc52ea09e author: igerasim date: Fri Jan 24 21:46:58 2014 +0400 8030878: JConsole issues meaningless message if SSL connection fails Reviewed-by: mchung, sla changeset 3bb9483ca099 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=3bb9483ca099 author: bchristi date: Fri Aug 02 15:30:11 2013 -0700 8011194: Apps launched via double-clicked .jars have file.encoding value of US-ASCII on Mac OS X Summary: On Mac, default to UTF-8 if no environmental hints are available Reviewed-by: naoto, ddehaven changeset 4e58dadf5ee8 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=4e58dadf5ee8 author: bchristi date: Tue Jan 28 11:19:09 2014 -0800 7199674: (props) user.home property does not return an accessible location in sandboxed environment [macosx] Summary: On MacOS X set user.home to value of NSHomeDirectory() Reviewed-by: alanb, ddehaven, mduigou changeset 63c5c6443857 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=63c5c6443857 author: miroslawzn date: Thu Jan 30 13:28:59 2014 -0800 8011944: Sort fails with ArrayIndexOutOfBoundsException Reviewed-by: alanb changeset 1ef6be92ce88 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=1ef6be92ce88 author: aefimov date: Tue Feb 04 17:37:42 2014 +0400 8030822: (tz) Support tzdata2013i Reviewed-by: coffeys, mfang, okutsu changeset 664f8c3aa468 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=664f8c3aa468 author: aefimov date: Fri Jan 31 18:10:29 2014 +0400 8027973: javax/xml/jaxp/transform/jdk8004476/XSLTExFuncTest.java hangs (win) Reviewed-by: alanb, dfuchs, joehw changeset c7c740fb7ff0 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=c7c740fb7ff0 author: lana date: Tue Feb 11 14:50:22 2014 -0800 Merge changeset 198df3575e01 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=198df3575e01 author: twisti date: Wed Jul 03 11:35:06 2013 -0700 8019184: MethodHandles.catchException() fails when methods have 8 args + varargs Reviewed-by: jrose changeset d5a2f60006e3 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=d5a2f60006e3 author: lana date: Sat Feb 15 17:57:42 2014 -0800 Merge changeset 0dd27693876d in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=0dd27693876d author: katleman date: Wed Feb 19 14:04:27 2014 -0800 Added tag jdk7u60-b07 for changeset d5a2f60006e3 changeset 3cd7a0321a83 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=3cd7a0321a83 author: katleman date: Wed Feb 26 12:46:55 2014 -0800 Added tag jdk7u60-b08 for changeset 0dd27693876d changeset 6c72cdaf5f99 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=6c72cdaf5f99 author: kshefov date: Tue Feb 18 16:00:33 2014 +0400 8017456: [TEST_BUG] java/awt/DataFlavor/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug.html: test frames remain after test execution Reviewed-by: serb, alexsch changeset 7b571638b0f5 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=7b571638b0f5 author: lana date: Thu Feb 27 01:04:12 2014 -0800 Merge changeset c4763416f516 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=c4763416f516 author: katleman date: Wed Mar 05 12:27:34 2014 -0800 Added tag jdk7u60-b09 for changeset 7b571638b0f5 changeset 39e8a6db842d in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=39e8a6db842d author: mfang date: Wed Mar 05 09:15:41 2014 -0800 8035988: 7u60 l10n resource file translation update 1 Reviewed-by: naoto, yhuang changeset fb4981489b09 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=fb4981489b09 author: lana date: Wed Mar 05 16:25:50 2014 -0800 Merge changeset c2bb87dae8a0 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=c2bb87dae8a0 author: katleman date: Wed Mar 12 14:35:53 2014 -0700 Added tag jdk7u60-b10 for changeset fb4981489b09 changeset b35c3fd4d5cf in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=b35c3fd4d5cf author: katleman date: Wed Mar 19 10:04:23 2014 -0700 Added tag jdk7u60-b11 for changeset c2bb87dae8a0 changeset f648607aa4a3 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=f648607aa4a3 author: chegar date: Tue Mar 11 18:37:40 2014 +0000 8035897: Better memory allocation for file descriptors greater than 1024 on macosx Reviewed-by: michaelm, alanb changeset 2dcbb570e227 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=2dcbb570e227 author: chegar date: Tue Mar 04 13:27:55 2014 +0000 8036584: Review comments from 8035897 Reviewed-by: alanb changeset 244159d35014 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=244159d35014 author: pchelko date: Mon Mar 03 16:10:16 2014 +0400 8032960: Running forms URL throws NullPointerException in Javaconsole. Reviewed-by: anthony, serb changeset 1a90de8005e3 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=1a90de8005e3 author: lana date: Wed Mar 19 10:41:46 2014 -0700 Merge changeset 06f771c9a7b7 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=06f771c9a7b7 author: andrew date: Wed Apr 02 02:16:12 2014 +0100 Merge jdk7u60-b12 diffstat: .hgtags | 24 + .jcheck/conf | 2 - make/com/sun/java/pack/Makefile | 7 +- make/com/sun/jmx/Makefile | 10 +- make/com/sun/nio/Makefile | 2 +- make/com/sun/nio/sctp/Makefile | 2 + make/com/sun/security/auth/module/Makefile | 6 +- make/com/sun/tools/attach/Exportedfiles.gmk | 5 + make/com/sun/tools/attach/FILES_c.gmk | 5 + make/com/sun/tools/attach/FILES_java.gmk | 9 +- make/common/Defs-aix.gmk | 391 + make/common/Defs-linux.gmk | 32 +- make/common/Defs-macosx.gmk | 10 +- make/common/Defs.gmk | 32 +- make/common/Library.gmk | 42 +- make/common/Program.gmk | 96 +- make/common/Release.gmk | 32 +- make/common/shared/Compiler-gcc.gmk | 76 +- make/common/shared/Compiler-xlc_r.gmk | 37 + make/common/shared/Defs-aix.gmk | 167 + make/common/shared/Defs-java.gmk | 23 +- make/common/shared/Defs-utils.gmk | 4 + make/common/shared/Defs-versions.gmk | 7 +- make/common/shared/Defs.gmk | 2 +- make/common/shared/Platform.gmk | 23 +- make/common/shared/Sanity.gmk | 8 + make/docs/Makefile | 6 +- make/java/fdlibm/Makefile | 7 + make/java/java/Makefile | 2 + make/java/jli/Makefile | 31 +- make/java/main/java/mapfile-aarch64 | 39 + make/java/main/java/mapfile-ppc64 | 43 + make/java/management/Makefile | 6 + make/java/net/FILES_c.gmk | 11 + make/java/net/Makefile | 26 +- make/java/nio/Makefile | 259 +- make/java/npt/Makefile | 2 +- make/java/security/Makefile | 12 +- make/java/sun_nio/Makefile | 2 +- make/java/version/Makefile | 5 + make/javax/sound/SoundDefs.gmk | 68 +- make/jdk_generic_profile.sh | 181 +- make/jpda/transport/socket/Makefile | 2 +- make/sun/awt/FILES_c_unix.gmk | 10 + make/sun/awt/Makefile | 29 +- make/sun/awt/mawt.gmk | 42 +- make/sun/cmm/lcms/FILES_c_unix.gmk | 7 +- make/sun/cmm/lcms/Makefile | 8 +- make/sun/font/Makefile | 15 +- make/sun/javazic/tzdata/VERSION | 2 +- make/sun/javazic/tzdata/africa | 5 +- make/sun/javazic/tzdata/asia | 30 +- make/sun/javazic/tzdata/northamerica | 8 +- make/sun/jawt/Makefile | 11 + make/sun/jpeg/FILES_c.gmk | 6 +- make/sun/jpeg/Makefile | 11 +- make/sun/lwawt/FILES_c_macosx.gmk | 6 + make/sun/lwawt/Makefile | 7 +- make/sun/native2ascii/Makefile | 2 +- make/sun/net/FILES_java.gmk | 229 +- make/sun/nio/cs/Makefile | 4 +- make/sun/security/Makefile | 11 +- make/sun/security/ec/Makefile | 27 +- make/sun/security/jgss/wrapper/Makefile | 2 +- make/sun/security/krb5/Makefile | 8 +- make/sun/security/krb5/internal/ccache/Makefile | 49 + make/sun/security/mscapi/Makefile | 2 +- make/sun/security/pkcs11/Makefile | 6 +- make/sun/security/pkcs11/mapfile-vers | 4 +- make/sun/security/smartcardio/Makefile | 17 +- make/sun/splashscreen/FILES_c.gmk | 78 +- make/sun/splashscreen/Makefile | 37 +- make/sun/xawt/FILES_c_unix.gmk | 20 + make/sun/xawt/Makefile | 71 +- make/tools/Makefile | 9 + make/tools/freetypecheck/Makefile | 21 +- make/tools/generate_nimbus/Makefile | 1 + make/tools/sharing/classlist.aix | 2406 ++++++ make/tools/src/build/tools/buildmetaindex/BuildMetaIndex.java | 22 +- make/tools/src/build/tools/compileproperties/CompileProperties.java | 9 +- make/tools/src/build/tools/dirdiff/DirDiff.java | 4 +- make/tools/src/build/tools/dtdbuilder/DTDBuilder.java | 34 +- make/tools/src/build/tools/dtdbuilder/DTDInputStream.java | 6 +- make/tools/src/build/tools/dtdbuilder/DTDParser.java | 44 +- make/tools/src/build/tools/dtdbuilder/PublicMapping.java | 6 +- make/tools/src/build/tools/generatebreakiteratordata/CharSet.java | 16 +- make/tools/src/build/tools/generatebreakiteratordata/DictionaryBasedBreakIteratorBuilder.java | 8 +- make/tools/src/build/tools/generatebreakiteratordata/GenerateBreakIteratorData.java | 6 +- make/tools/src/build/tools/generatebreakiteratordata/RuleBasedBreakIteratorBuilder.java | 201 +- make/tools/src/build/tools/generatebreakiteratordata/SupplementaryCharacterData.java | 6 +- make/tools/src/build/tools/generatecharacter/GenerateCharacter.java | 4 +- make/tools/src/build/tools/generatecharacter/SpecialCaseMap.java | 147 +- make/tools/src/build/tools/generatecharacter/UnicodeSpec.java | 22 +- make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java | 4 +- make/tools/src/build/tools/hasher/Hasher.java | 38 +- make/tools/src/build/tools/jarsplit/JarSplit.java | 5 +- make/tools/src/build/tools/javazic/Gen.java | 14 +- make/tools/src/build/tools/javazic/GenDoc.java | 16 +- make/tools/src/build/tools/javazic/Main.java | 3 +- make/tools/src/build/tools/javazic/Simple.java | 23 +- make/tools/src/build/tools/javazic/Time.java | 10 +- make/tools/src/build/tools/javazic/Zoneinfo.java | 18 +- make/tools/src/build/tools/jdwpgen/AbstractCommandNode.java | 7 +- make/tools/src/build/tools/jdwpgen/AbstractGroupNode.java | 7 +- make/tools/src/build/tools/jdwpgen/AbstractNamedNode.java | 14 +- make/tools/src/build/tools/jdwpgen/AbstractTypeListNode.java | 26 +- make/tools/src/build/tools/jdwpgen/AltNode.java | 4 +- make/tools/src/build/tools/jdwpgen/CommandSetNode.java | 11 +- make/tools/src/build/tools/jdwpgen/ConstantSetNode.java | 9 +- make/tools/src/build/tools/jdwpgen/ErrorSetNode.java | 9 +- make/tools/src/build/tools/jdwpgen/Node.java | 25 +- make/tools/src/build/tools/jdwpgen/OutNode.java | 14 +- make/tools/src/build/tools/jdwpgen/RootNode.java | 10 +- make/tools/src/build/tools/jdwpgen/SelectNode.java | 10 +- make/tools/src/build/tools/makeclasslist/MakeClasslist.java | 15 +- make/tools/src/build/tools/stripproperties/StripProperties.java | 4 +- src/share/bin/java.c | 8 +- src/share/bin/wildcard.c | 5 + src/share/classes/com/sun/accessibility/internal/resources/accessibility_de.properties | 4 +- src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java | 2 +- src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java | 2 +- src/share/classes/com/sun/java/swing/plaf/gtk/GTKEngine.java | 3 +- src/share/classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java | 10 +- src/share/classes/com/sun/java/swing/plaf/gtk/GTKStyle.java | 5 +- src/share/classes/com/sun/java/swing/plaf/windows/resources/windows_fr.properties | 4 +- src/share/classes/com/sun/java/util/jar/pack/DriverResource_ja.java | 131 + src/share/classes/com/sun/java/util/jar/pack/DriverResource_zh_CN.java | 131 + src/share/classes/com/sun/jmx/remote/security/MBeanServerFileAccessController.java | 2 + src/share/classes/com/sun/jndi/dns/DnsContextFactory.java | 2 +- src/share/classes/com/sun/naming/internal/ResourceManager.java | 42 +- src/share/classes/com/sun/rowset/RowSetResourceBundle_de.properties | 2 +- src/share/classes/com/sun/rowset/RowSetResourceBundle_ja.properties | 6 +- src/share/classes/com/sun/rowset/RowSetResourceBundle_sv.properties | 10 +- src/share/classes/com/sun/script/javascript/RhinoScriptEngine.java | 2 +- src/share/classes/com/sun/script/javascript/RhinoScriptEngineFactory.java | 8 +- src/share/classes/com/sun/script/javascript/RhinoTopLevel.java | 3 +- src/share/classes/com/sun/swing/internal/plaf/metal/resources/metal_fr.properties | 4 +- src/share/classes/com/sun/swing/internal/plaf/synth/resources/synth_fr.properties | 4 +- src/share/classes/com/sun/tools/jdi/resources/jdi_ja.properties | 4 +- src/share/classes/java/awt/Toolkit.java | 30 +- src/share/classes/java/awt/color/ICC_Profile.java | 4 +- src/share/classes/java/io/InputStream.java | 2 +- src/share/classes/java/lang/invoke/DirectMethodHandle.java | 3 +- src/share/classes/java/lang/invoke/MethodHandleImpl.java | 3 +- src/share/classes/java/net/IDN.java | 40 +- src/share/classes/java/net/SocksSocketImpl.java | 4 +- src/share/classes/java/nio/file/Files.java | 8 +- src/share/classes/java/security/Policy.java | 1 - src/share/classes/java/util/ComparableTimSort.java | 2 +- src/share/classes/java/util/TimSort.java | 2 +- src/share/classes/java/util/jar/JarFile.java | 13 +- src/share/classes/java/util/logging/LogManager.java | 108 +- src/share/classes/java/util/logging/Logger.java | 4 +- src/share/classes/javax/crypto/Cipher.java | 172 +- src/share/classes/javax/swing/JComponent.java | 13 +- src/share/classes/javax/swing/JDialog.java | 3 +- src/share/classes/javax/swing/JEditorPane.java | 11 +- src/share/classes/javax/swing/JFrame.java | 10 +- src/share/classes/javax/swing/JInternalFrame.java | 6 +- src/share/classes/javax/swing/JPopupMenu.java | 10 +- src/share/classes/javax/swing/MenuSelectionManager.java | 5 +- src/share/classes/javax/swing/PopupFactory.java | 14 +- src/share/classes/javax/swing/SwingUtilities.java | 3 +- src/share/classes/javax/swing/SwingWorker.java | 2 +- src/share/classes/javax/swing/plaf/basic/BasicComboBoxUI.java | 6 +- src/share/classes/javax/swing/plaf/basic/BasicListUI.java | 5 +- src/share/classes/javax/swing/plaf/basic/BasicPopupMenuUI.java | 16 +- src/share/classes/javax/swing/plaf/basic/BasicTableUI.java | 8 +- src/share/classes/javax/swing/plaf/basic/BasicTreeUI.java | 3 +- src/share/classes/javax/swing/plaf/synth/ImagePainter.java | 5 +- src/share/classes/javax/swing/plaf/synth/SynthLookAndFeel.java | 3 +- src/share/classes/javax/swing/text/JTextComponent.java | 6 +- src/share/classes/org/jcp/xml/dsig/internal/dom/DOMHMACSignatureMethod.java | 2 - src/share/classes/sun/applet/AppletPanel.java | 10 +- src/share/classes/sun/applet/AppletViewerPanel.java | 18 +- src/share/classes/sun/applet/resources/MsgAppletViewer_ja.java | 10 +- src/share/classes/sun/applet/resources/MsgAppletViewer_pt_BR.java | 2 +- src/share/classes/sun/applet/resources/MsgAppletViewer_sv.java | 2 +- src/share/classes/sun/awt/AppContext.java | 73 +- src/share/classes/sun/awt/image/JPEGImageDecoder.java | 2 +- src/share/classes/sun/awt/resources/awt_pt_BR.properties | 8 +- src/share/classes/sun/java2d/cmm/lcms/LCMS.java | 2 +- src/share/classes/sun/launcher/resources/launcher_de.properties | 2 +- src/share/classes/sun/launcher/resources/launcher_pt_BR.properties | 6 +- src/share/classes/sun/management/resources/agent_ja.properties | 2 +- src/share/classes/sun/misc/JavaAWTAccess.java | 14 +- src/share/classes/sun/misc/SharedSecrets.java | 10 +- src/share/classes/sun/misc/Version.java.template | 58 +- src/share/classes/sun/nio/ch/FileChannelImpl.java | 3 +- src/share/classes/sun/nio/ch/FileDispatcher.java | 12 +- src/share/classes/sun/nio/ch/SimpleAsynchronousFileChannelImpl.java | 3 +- src/share/classes/sun/nio/cs/ext/ExtendedCharsets.java | 2 +- src/share/classes/sun/rmi/registry/RegistryImpl.java | 14 + src/share/classes/sun/rmi/server/LoaderHandler.java | 2 +- src/share/classes/sun/rmi/server/UnicastServerRef.java | 2 +- src/share/classes/sun/security/krb5/internal/ccache/FileCredentialsCache.java | 96 +- src/share/classes/sun/security/pkcs11/Config.java | 3 + src/share/classes/sun/security/pkcs11/P11Digest.java | 185 +- src/share/classes/sun/security/pkcs11/P11Util.java | 2 +- src/share/classes/sun/security/pkcs11/SunPKCS11.java | 23 +- src/share/classes/sun/security/pkcs11/wrapper/PKCS11.java | 377 +- src/share/classes/sun/security/provider/certpath/OCSP.java | 18 +- src/share/classes/sun/security/ssl/SSLEngineImpl.java | 11 + src/share/classes/sun/security/tools/JarSignerResources_zh_CN.java | 4 +- src/share/classes/sun/security/util/ObjectIdentifier.java | 2 +- src/share/classes/sun/swing/DefaultLookup.java | 3 +- src/share/classes/sun/swing/SwingUtilities2.java | 17 +- src/share/classes/sun/tools/attach/META-INF/services/com.sun.tools.attach.spi.AttachProvider | 1 + src/share/classes/sun/tools/jar/Main.java | 2 +- src/share/classes/sun/tools/jar/resources/jar_pt_BR.properties | 2 +- src/share/classes/sun/tools/jconsole/Messages.java | 7 +- src/share/classes/sun/tools/jconsole/SummaryTab.java | 4 +- src/share/classes/sun/tools/jconsole/ThreadTab.java | 5 +- src/share/classes/sun/tools/jconsole/VMPanel.java | 4 +- src/share/classes/sun/tools/jconsole/resources/messages.properties | 7 +- src/share/classes/sun/tools/jconsole/resources/messages_ja.properties | 20 +- src/share/classes/sun/tools/jconsole/resources/messages_zh_CN.properties | 8 +- src/share/classes/sun/tools/native2ascii/Main.java | 9 +- src/share/classes/sun/util/calendar/ZoneInfoFile.java | 41 +- src/share/classes/sun/util/logging/resources/logging_zh_TW.properties | 2 +- src/share/classes/sun/util/resources/TimeZoneNames.java | 4 +- src/share/classes/sun/util/resources/TimeZoneNames_de.java | 4 +- src/share/classes/sun/util/resources/TimeZoneNames_es.java | 4 +- src/share/classes/sun/util/resources/TimeZoneNames_fr.java | 4 +- src/share/classes/sun/util/resources/TimeZoneNames_it.java | 4 +- src/share/classes/sun/util/resources/TimeZoneNames_ja.java | 4 +- src/share/classes/sun/util/resources/TimeZoneNames_ko.java | 4 +- src/share/classes/sun/util/resources/TimeZoneNames_pt_BR.java | 4 +- src/share/classes/sun/util/resources/TimeZoneNames_sv.java | 4 +- src/share/classes/sun/util/resources/TimeZoneNames_zh_CN.java | 4 +- src/share/classes/sun/util/resources/TimeZoneNames_zh_TW.java | 4 +- src/share/demo/jvmti/gctest/sample.makefile.txt | 6 +- src/share/demo/jvmti/heapTracker/sample.makefile.txt | 19 +- src/share/demo/jvmti/heapViewer/sample.makefile.txt | 5 +- src/share/demo/jvmti/hprof/sample.makefile.txt | 6 +- src/share/demo/jvmti/minst/sample.makefile.txt | 19 +- src/share/demo/jvmti/mtrace/sample.makefile.txt | 20 +- src/share/demo/jvmti/versionCheck/sample.makefile.txt | 6 +- src/share/demo/jvmti/waiters/sample.makefile.txt | 8 +- src/share/instrument/JarFacade.c | 4 +- src/share/lib/security/java.security-linux | 4 + src/share/lib/security/java.security-macosx | 4 + src/share/lib/security/java.security-solaris | 4 + src/share/lib/security/java.security-windows | 4 + src/share/lib/security/nss.cfg.in | 5 + src/share/lib/security/sunpkcs11-solaris.cfg | 14 +- src/share/native/com/sun/java/util/jar/pack/unpack.cpp | 1 - src/share/native/com/sun/media/sound/SoundDefs.h | 9 + src/share/native/common/check_code.c | 35 + src/share/native/java/net/net_util.c | 9 + src/share/native/java/util/zip/Deflater.c | 46 +- src/share/native/java/util/zip/Inflater.c | 6 +- src/share/native/sun/awt/image/awt_ImageRep.c | 2 +- src/share/native/sun/awt/image/jpeg/README | 385 - src/share/native/sun/awt/image/jpeg/imageioJPEG.c | 12 +- src/share/native/sun/awt/image/jpeg/jcapimin.c | 284 - src/share/native/sun/awt/image/jpeg/jcapistd.c | 165 - src/share/native/sun/awt/image/jpeg/jccoefct.c | 453 - src/share/native/sun/awt/image/jpeg/jccolor.c | 462 - src/share/native/sun/awt/image/jpeg/jcdctmgr.c | 391 - src/share/native/sun/awt/image/jpeg/jchuff.c | 913 -- src/share/native/sun/awt/image/jpeg/jchuff.h | 51 - src/share/native/sun/awt/image/jpeg/jcinit.c | 76 - src/share/native/sun/awt/image/jpeg/jcmainct.c | 297 - src/share/native/sun/awt/image/jpeg/jcmarker.c | 682 - src/share/native/sun/awt/image/jpeg/jcmaster.c | 594 - src/share/native/sun/awt/image/jpeg/jcomapi.c | 110 - src/share/native/sun/awt/image/jpeg/jconfig.h | 43 - src/share/native/sun/awt/image/jpeg/jcparam.c | 614 - src/share/native/sun/awt/image/jpeg/jcphuff.c | 837 -- src/share/native/sun/awt/image/jpeg/jcprepct.c | 358 - src/share/native/sun/awt/image/jpeg/jcsample.c | 523 - src/share/native/sun/awt/image/jpeg/jctrans.c | 392 - src/share/native/sun/awt/image/jpeg/jdapimin.c | 399 - src/share/native/sun/awt/image/jpeg/jdapistd.c | 279 - src/share/native/sun/awt/image/jpeg/jdcoefct.c | 740 - src/share/native/sun/awt/image/jpeg/jdcolor.c | 398 - src/share/native/sun/awt/image/jpeg/jdct.h | 180 - src/share/native/sun/awt/image/jpeg/jddctmgr.c | 273 - src/share/native/sun/awt/image/jpeg/jdhuff.c | 655 - src/share/native/sun/awt/image/jpeg/jdhuff.h | 205 - src/share/native/sun/awt/image/jpeg/jdinput.c | 385 - src/share/native/sun/awt/image/jpeg/jdmainct.c | 516 - src/share/native/sun/awt/image/jpeg/jdmarker.c | 1384 --- src/share/native/sun/awt/image/jpeg/jdmaster.c | 561 - src/share/native/sun/awt/image/jpeg/jdmerge.c | 404 - src/share/native/sun/awt/image/jpeg/jdphuff.c | 672 - src/share/native/sun/awt/image/jpeg/jdpostct.c | 294 - src/share/native/sun/awt/image/jpeg/jdsample.c | 482 - src/share/native/sun/awt/image/jpeg/jdtrans.c | 147 - src/share/native/sun/awt/image/jpeg/jerror.c | 272 - src/share/native/sun/awt/image/jpeg/jerror.h | 295 - src/share/native/sun/awt/image/jpeg/jfdctflt.c | 172 - src/share/native/sun/awt/image/jpeg/jfdctfst.c | 228 - src/share/native/sun/awt/image/jpeg/jfdctint.c | 287 - src/share/native/sun/awt/image/jpeg/jidctflt.c | 246 - src/share/native/sun/awt/image/jpeg/jidctfst.c | 372 - src/share/native/sun/awt/image/jpeg/jidctint.c | 393 - src/share/native/sun/awt/image/jpeg/jidctred.c | 402 - src/share/native/sun/awt/image/jpeg/jinclude.h | 95 - src/share/native/sun/awt/image/jpeg/jmemmgr.c | 1124 -- src/share/native/sun/awt/image/jpeg/jmemnobs.c | 113 - src/share/native/sun/awt/image/jpeg/jmemsys.h | 202 - src/share/native/sun/awt/image/jpeg/jmorecfg.h | 378 - src/share/native/sun/awt/image/jpeg/jpeg-6b/README | 385 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcapimin.c | 284 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcapistd.c | 165 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jccoefct.c | 453 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jccolor.c | 462 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcdctmgr.c | 391 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jchuff.c | 913 ++ src/share/native/sun/awt/image/jpeg/jpeg-6b/jchuff.h | 51 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcinit.c | 76 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcmainct.c | 297 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcmarker.c | 682 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcmaster.c | 594 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcomapi.c | 110 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jconfig.h | 43 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcparam.c | 614 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcphuff.c | 837 ++ src/share/native/sun/awt/image/jpeg/jpeg-6b/jcprepct.c | 358 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcsample.c | 523 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jctrans.c | 392 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdapimin.c | 399 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdapistd.c | 279 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdcoefct.c | 740 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdcolor.c | 398 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdct.h | 180 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jddctmgr.c | 273 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdhuff.c | 655 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdhuff.h | 205 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdinput.c | 385 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdmainct.c | 516 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdmarker.c | 1384 +++ src/share/native/sun/awt/image/jpeg/jpeg-6b/jdmaster.c | 561 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdmerge.c | 404 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdphuff.c | 672 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdpostct.c | 294 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdsample.c | 482 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdtrans.c | 147 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jerror.c | 272 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jerror.h | 295 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jfdctflt.c | 172 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jfdctfst.c | 228 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jfdctint.c | 287 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jidctflt.c | 246 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jidctfst.c | 372 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jidctint.c | 393 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jidctred.c | 402 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jinclude.h | 95 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jmemmgr.c | 1124 ++ src/share/native/sun/awt/image/jpeg/jpeg-6b/jmemnobs.c | 113 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jmemsys.h | 202 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jmorecfg.h | 378 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jpegint.h | 396 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jpeglib.h | 1100 ++ src/share/native/sun/awt/image/jpeg/jpeg-6b/jquant1.c | 860 ++ src/share/native/sun/awt/image/jpeg/jpeg-6b/jquant2.c | 1314 +++ src/share/native/sun/awt/image/jpeg/jpeg-6b/jutils.c | 183 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jversion.h | 18 + src/share/native/sun/awt/image/jpeg/jpegdecoder.c | 2 +- src/share/native/sun/awt/image/jpeg/jpegint.h | 396 - src/share/native/sun/awt/image/jpeg/jpeglib.h | 1100 -- src/share/native/sun/awt/image/jpeg/jquant1.c | 860 -- src/share/native/sun/awt/image/jpeg/jquant2.c | 1314 --- src/share/native/sun/awt/image/jpeg/jutils.c | 183 - src/share/native/sun/awt/image/jpeg/jversion.h | 18 - src/share/native/sun/awt/medialib/mlib_sys.c | 2 +- src/share/native/sun/awt/medialib/mlib_types.h | 7 +- src/share/native/sun/awt/splashscreen/splashscreen_gif.c | 11 +- src/share/native/sun/awt/splashscreen/splashscreen_jpeg.c | 7 +- src/share/native/sun/awt/splashscreen/splashscreen_png.c | 2 +- src/share/native/sun/font/freetypeScaler.c | 28 +- src/share/native/sun/java2d/loops/GraphicsPrimitiveMgr.h | 6 +- src/share/native/sun/java2d/loops/TransformHelper.c | 11 +- src/share/native/sun/java2d/opengl/OGLContext.c | 2 + src/share/native/sun/java2d/opengl/OGLFuncs.h | 2 +- src/share/native/sun/security/ec/ECC_JNI.cpp | 12 +- src/share/native/sun/security/ec/ecc_impl.h | 293 + src/share/native/sun/security/ec/impl/ecc_impl.h | 263 - src/share/native/sun/security/jgss/wrapper/GSSLibStub.c | 185 +- src/share/native/sun/security/jgss/wrapper/NativeUtil.c | 17 +- src/share/native/sun/security/pkcs11/wrapper/p11_convert.c | 42 +- src/share/native/sun/security/pkcs11/wrapper/p11_crypt.c | 12 +- src/share/native/sun/security/pkcs11/wrapper/p11_digest.c | 7 +- src/share/native/sun/security/pkcs11/wrapper/p11_dual.c | 8 +- src/share/native/sun/security/pkcs11/wrapper/p11_general.c | 17 +- src/share/native/sun/security/pkcs11/wrapper/p11_keymgmt.c | 4 +- src/share/native/sun/security/pkcs11/wrapper/p11_mutex.c | 58 +- src/share/native/sun/security/pkcs11/wrapper/p11_objmgmt.c | 4 +- src/share/native/sun/security/pkcs11/wrapper/p11_sessmgmt.c | 14 +- src/share/native/sun/security/pkcs11/wrapper/p11_sign.c | 27 +- src/share/native/sun/security/pkcs11/wrapper/p11_util.c | 90 +- src/share/native/sun/security/pkcs11/wrapper/pkcs11wrapper.h | 9 +- src/share/npt/npt.h | 8 +- src/solaris/back/exec_md.c | 4 +- src/solaris/bin/aarch64/jvm.cfg | 36 + src/solaris/bin/java_md_solinux.c | 27 +- src/solaris/bin/ppc64/jvm.cfg | 33 + src/solaris/classes/java/lang/UNIXProcess.java.aix | 303 + src/solaris/classes/sun/awt/X11/XConstants.java | 5 + src/solaris/classes/sun/awt/X11/XWM.java | 26 +- src/solaris/classes/sun/awt/X11/XWindowPeer.java | 2 + src/solaris/classes/sun/awt/fontconfigs/aix.fontconfig.properties | 75 + src/solaris/classes/sun/nio/ch/AixAsynchronousChannelProvider.java | 91 + src/solaris/classes/sun/nio/ch/AixPollPort.java | 536 + src/solaris/classes/sun/nio/ch/DefaultAsynchronousChannelProvider.java | 2 + src/solaris/classes/sun/nio/ch/FileDispatcherImpl.java | 8 +- src/solaris/classes/sun/nio/ch/Port.java | 8 + src/solaris/classes/sun/nio/fs/AixFileStore.java | 106 + src/solaris/classes/sun/nio/fs/AixFileSystem.java | 94 + src/solaris/classes/sun/nio/fs/AixFileSystemProvider.java | 58 + src/solaris/classes/sun/nio/fs/AixNativeDispatcher.java | 56 + src/solaris/classes/sun/nio/fs/DefaultFileSystemProvider.java | 2 + src/solaris/classes/sun/nio/fs/UnixCopyFile.java | 8 +- src/solaris/classes/sun/nio/fs/UnixFileAttributeViews.java | 6 +- src/solaris/classes/sun/nio/fs/UnixNativeDispatcher.java | 4 +- src/solaris/classes/sun/nio/fs/UnixSecureDirectoryStream.java | 4 +- src/solaris/classes/sun/print/UnixPrintService.java | 73 +- src/solaris/classes/sun/print/UnixPrintServiceLookup.java | 97 +- src/solaris/classes/sun/security/smartcardio/PlatformPCSC.java | 4 +- src/solaris/classes/sun/tools/attach/AixAttachProvider.java | 88 + src/solaris/classes/sun/tools/attach/AixVirtualMachine.java | 317 + src/solaris/demo/jvmti/hprof/hprof_md.c | 87 +- src/solaris/javavm/export/jni_md.h | 18 +- src/solaris/native/com/sun/management/UnixOperatingSystem_md.c | 20 +- src/solaris/native/com/sun/security/auth/module/Solaris.c | 17 +- src/solaris/native/com/sun/security/auth/module/Unix.c | 102 +- src/solaris/native/common/deps/cups_fp.c | 104 + src/solaris/native/common/deps/cups_fp.h | 61 + src/solaris/native/common/deps/fontconfig2/fontconfig/fontconfig.h | 302 + src/solaris/native/common/deps/fontconfig2/fontconfig_fp.c | 207 + src/solaris/native/common/deps/fontconfig2/fontconfig_fp.h | 161 + src/solaris/native/common/deps/gconf2/gconf/gconf-client.h | 41 + src/solaris/native/common/deps/gconf2/gconf_fp.c | 76 + src/solaris/native/common/deps/gconf2/gconf_fp.h | 48 + src/solaris/native/common/deps/glib2/gio/gio_typedefs.h | 65 + src/solaris/native/common/deps/glib2/gio_fp.c | 109 + src/solaris/native/common/deps/glib2/gio_fp.h | 61 + src/solaris/native/common/deps/glib2/glib_fp.h | 41 + src/solaris/native/common/deps/gtk2/gtk/gtk.h | 567 + src/solaris/native/common/deps/gtk2/gtk_fp.c | 398 + src/solaris/native/common/deps/gtk2/gtk_fp.h | 469 + src/solaris/native/common/deps/syscalls_fp.c | 122 + src/solaris/native/common/deps/syscalls_fp.h | 79 + src/solaris/native/java/io/UnixFileSystem_md.c | 2 +- src/solaris/native/java/lang/UNIXProcess_md.c | 2 +- src/solaris/native/java/lang/java_props_macosx.c | 14 +- src/solaris/native/java/lang/java_props_macosx.h | 1 + src/solaris/native/java/lang/java_props_md.c | 35 +- src/solaris/native/java/net/Inet4AddressImpl.c | 55 + src/solaris/native/java/net/NetworkInterface.c | 173 +- src/solaris/native/java/net/PlainDatagramSocketImpl.c | 24 +- src/solaris/native/java/net/PlainSocketImpl.c | 5 +- src/solaris/native/java/net/SocketInputStream.c | 2 + src/solaris/native/java/net/bsd_close.c | 29 +- src/solaris/native/java/net/linux_close.c | 60 +- src/solaris/native/java/net/net_util_md.c | 27 + src/solaris/native/java/net/net_util_md.h | 13 +- src/solaris/native/java/util/TimeZone_md.c | 76 +- src/solaris/native/sun/awt/CUPSfuncs.c | 137 +- src/solaris/native/sun/awt/awt_GraphicsEnv.c | 2 +- src/solaris/native/sun/awt/awt_LoadLibrary.c | 69 +- src/solaris/native/sun/awt/awt_UNIXToolkit.c | 20 +- src/solaris/native/sun/awt/fontconfig.h | 941 -- src/solaris/native/sun/awt/fontpath.c | 420 +- src/solaris/native/sun/awt/gtk2_interface.c | 988 +- src/solaris/native/sun/awt/gtk2_interface.h | 580 +- src/solaris/native/sun/awt/splashscreen/splashscreen_sys.c | 7 + src/solaris/native/sun/awt/sun_awt_X11_GtkFileDialogPeer.c | 68 +- src/solaris/native/sun/awt/swing_GTKEngine.c | 76 +- src/solaris/native/sun/awt/swing_GTKStyle.c | 20 +- src/solaris/native/sun/java2d/opengl/OGLFuncs_md.h | 2 +- src/solaris/native/sun/java2d/x11/XRBackendNative.c | 6 +- src/solaris/native/sun/net/spi/DefaultProxySelector.c | 465 +- src/solaris/native/sun/nio/ch/AixPollPort.c | 181 + src/solaris/native/sun/nio/ch/DatagramChannelImpl.c | 2 +- src/solaris/native/sun/nio/ch/EPollArrayWrapper.c | 1 - src/solaris/native/sun/nio/ch/FileDispatcherImpl.c | 54 +- src/solaris/native/sun/nio/ch/Net.c | 126 +- src/solaris/native/sun/nio/ch/PollArrayWrapper.c | 51 +- src/solaris/native/sun/nio/ch/ServerSocketChannelImpl.c | 9 + src/solaris/native/sun/nio/fs/AixNativeDispatcher.c | 224 + src/solaris/native/sun/nio/fs/GnomeFileTypeDetector.c | 94 +- src/solaris/native/sun/nio/fs/LinuxNativeDispatcher.c | 50 +- src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c | 179 +- src/solaris/native/sun/security/krb5/internal/ccache/krb5ccache.c | 113 + src/solaris/native/sun/security/pkcs11/j2secmod_md.c | 15 +- src/solaris/native/sun/security/pkcs11/wrapper/p11_md.c | 2 +- src/solaris/native/sun/security/pkcs11/wrapper/p11_md.h | 5 + src/solaris/native/sun/security/smartcardio/pcsc_md.c | 40 +- src/solaris/native/sun/security/smartcardio/pcsc_md.h | 40 + src/solaris/native/sun/tools/attach/AixVirtualMachine.c | 283 + src/solaris/native/sun/tools/attach/BsdVirtualMachine.c | 4 + src/solaris/native/sun/xawt/awt_Desktop.c | 103 +- src/windows/classes/java/net/DualStackPlainSocketImpl.java | 5 +- src/windows/classes/sun/awt/windows/WToolkit.java | 6 +- src/windows/classes/sun/nio/ch/FileDispatcherImpl.java | 3 +- src/windows/classes/sun/nio/ch/WindowsAsynchronousFileChannelImpl.java | 3 +- src/windows/classes/sun/nio/fs/WindowsConstants.java | 1 + src/windows/classes/sun/nio/fs/WindowsNativeDispatcher.java | 14 +- src/windows/classes/sun/nio/fs/WindowsWatchService.java | 104 +- src/windows/native/java/lang/java_props_md.c | 4 +- src/windows/native/java/net/SocketInputStream.c | 52 +- src/windows/native/sun/nio/ch/SocketDispatcher.c | 67 +- src/windows/native/sun/nio/fs/WindowsNativeDispatcher.c | 28 +- src/windows/native/sun/security/pkcs11/j2secmod_md.c | 4 +- src/windows/native/sun/security/pkcs11/wrapper/p11_md.h | 4 + src/windows/resource/java.manifest | 10 +- test/com/oracle/security/ucrypto/TestAES.java | 118 +- test/com/oracle/security/ucrypto/TestDigest.java | 24 +- test/com/oracle/security/ucrypto/TestRSA.java | 276 +- test/com/oracle/security/ucrypto/UcryptoTest.java | 28 +- test/com/sun/corba/cachedSocket/7056731.sh | 2 +- test/com/sun/crypto/provider/Cipher/UTIL/TestUtil.java | 13 +- test/com/sun/jdi/ImmutableResourceTest.sh | 2 +- test/com/sun/jdi/JITDebug.sh | 2 +- test/com/sun/jdi/ShellScaffold.sh | 4 +- test/com/sun/jdi/Solaris32AndSolaris64Test.sh | 2 +- test/com/sun/jdi/connect/spi/JdiLoadedByCustomLoader.sh | 2 +- test/com/sun/tools/attach/CommonSetup.sh | 2 +- test/java/awt/Component/PrintAllXcheckJNI/PrintAllXcheckJNI.java | 9 + test/java/awt/DataFlavor/MissedHtmlAndRtfBug/InterprocessMessages.java | 3 +- test/java/awt/DataFlavor/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug.html | 25 +- test/java/awt/DataFlavor/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug.java | 17 +- test/java/awt/Toolkit/AutoShutdown/ShowExitTest/ShowExitTest.sh | 8 + test/java/awt/Toolkit/ToolkitPropertyTest/NoAppContextTest.java | 198 + test/java/awt/appletviewer/IOExceptionIfEncodedURLTest/IOExceptionIfEncodedURLTest.sh | 8 + test/java/io/Serializable/evolution/RenamePackage/run.sh | 2 +- test/java/io/Serializable/serialver/classpath/run.sh | 2 +- test/java/io/Serializable/serialver/nested/run.sh | 2 +- test/java/lang/ClassLoader/deadlock/TestCrossDelegate.sh | 3 + test/java/lang/ClassLoader/deadlock/TestOneWayDelegate.sh | 3 + test/java/lang/ProcessBuilder/Basic.java | 11 +- test/java/lang/StringCoding/CheckEncodings.sh | 2 +- test/java/lang/System/MacEncoding/ExpectedEncoding.java | 66 + test/java/lang/System/MacEncoding/MacJNUEncoding.sh | 96 + test/java/lang/System/MacEncoding/TestFileEncoding.java | 168 + test/java/lang/System/MacJNUEncoding/ExpectedEncoding.java | 56 - test/java/lang/System/MacJNUEncoding/MacJNUEncoding.sh | 96 - test/java/lang/annotation/loaderLeak/LoaderLeak.sh | 2 +- test/java/lang/instrument/appendToClassLoaderSearch/CommonSetup.sh | 4 + test/java/lang/invoke/8009222/Test8009222.java | 49 + test/java/lang/invoke/TestCatchExceptionWithVarargs.java | 97 + test/java/lang/management/OperatingSystemMXBean/TestSystemLoadAvg.sh | 2 +- test/java/net/Authenticator/B4769350.java | 489 +- test/java/net/Authenticator/B4933582.sh | 2 +- test/java/net/DatagramSocket/SetDatagramSocketImplFactory/ADatagramSocket.sh | 2 +- test/java/net/IDN/UseSTD3ASCIIRules.java | 80 + test/java/net/ServerSocket/AnotherSelectFdsLimit.java | 78 + test/java/net/Socket/OldSocketImpl.sh | 2 +- test/java/net/Socket/asyncClose/Race.java | 8 +- test/java/net/URL/B5086147.sh | 2 +- test/java/net/URL/TestHttps.java | 34 + test/java/net/URL/runconstructor.sh | 2 +- test/java/net/URLClassLoader/B5077773.sh | 2 +- test/java/net/URLClassLoader/sealing/checksealed.sh | 2 +- test/java/net/URLConnection/6212146/test.sh | 2 +- test/java/nio/MappedByteBuffer/Basic.java | 91 +- test/java/nio/channels/AsynchronousChannelGroup/Unbounded.java | 69 +- test/java/nio/channels/SocketChannel/ShortWrite.java | 100 +- test/java/nio/channels/spi/SelectorProvider/inheritedChannel/lib/linux-i586/libLauncher.so | Bin test/java/nio/channels/spi/SelectorProvider/inheritedChannel/lib/solaris-i586/libLauncher.so | Bin test/java/nio/channels/spi/SelectorProvider/inheritedChannel/lib/solaris-sparc/libLauncher.so | Bin test/java/nio/channels/spi/SelectorProvider/inheritedChannel/lib/solaris-sparcv9/libLauncher.so | Bin test/java/nio/charset/coders/CheckSJISMappingProp.sh | 2 +- test/java/nio/charset/spi/basic.sh | 4 +- test/java/nio/file/Files/BytesAndLines.java | 14 +- test/java/rmi/activation/Activatable/extLoadedImpl/ext.sh | 2 +- test/java/rmi/activation/rmidViaInheritedChannel/InheritedChannelNotServerSocket.java | 9 +- test/java/rmi/activation/rmidViaInheritedChannel/RmidViaInheritedChannel.java | 9 +- test/java/rmi/registry/readTest/readTest.sh | 2 +- test/java/security/Security/ClassLoaderDeadlock/ClassLoaderDeadlock.sh | 4 + test/java/security/Security/ClassLoaderDeadlock/Deadlock.sh | 4 + test/java/security/Security/ClassLoaderDeadlock/Deadlock2.sh | 4 + test/java/security/Security/signedfirst/Dyn.sh | 4 + test/java/security/Security/signedfirst/Static.sh | 4 + test/java/util/Arrays/TimSortStackSize.java | 123 + test/java/util/Currency/PropertiesTest.sh | 2 +- test/java/util/Locale/LocaleCategory.sh | 2 +- test/java/util/Locale/data/deflocale.rhel5 | 3924 ---------- test/java/util/Locale/data/deflocale.rhel5.fmtasdefault | 3924 ---------- test/java/util/Locale/data/deflocale.sol10 | 1725 ---- test/java/util/Locale/data/deflocale.sol10.fmtasdefault | 1725 ---- test/java/util/Locale/data/deflocale.win7 | 1494 --- test/java/util/Locale/data/deflocale.win7.fmtasdefault | 1494 --- test/java/util/PluggableLocale/ExecTest.sh | 2 +- test/java/util/ResourceBundle/Bug6299235Test.sh | 2 +- test/java/util/ResourceBundle/Control/ExpirationTest.sh | 2 +- test/java/util/ServiceLoader/basic.sh | 2 +- test/java/util/logging/TestAppletLoggerContext.java | 19 +- test/java/util/logging/TestLogConfigurationDeadLock.java | 256 + test/java/util/logging/TestLogConfigurationDeadLockWithConf.java | 340 + test/java/util/logging/TestLoggerBundleSync.java | 535 + test/java/util/logging/TestLoggingWithMainAppContext.java | 75 + test/java/util/logging/TestMainAppContext.java | 85 + test/java/util/logging/deadlockconf.properties | 22 + test/java/util/prefs/CheckUserPrefsStorage.sh | 2 +- test/javax/crypto/SecretKeyFactory/FailOverTest.sh | 2 +- test/javax/imageio/stream/StreamCloserLeak/run_test.sh | 8 + test/javax/script/CommonSetup.sh | 2 +- test/javax/security/auth/Subject/doAs/Test.sh | 5 + test/javax/xml/jaxp/transform/8004476/SecureProcessingTest.xml | 2 + test/javax/xml/jaxp/transform/8004476/TestBase.java | 82 + test/javax/xml/jaxp/transform/8004476/XPathExFuncTest.java | 287 + test/javax/xml/jaxp/transform/8004476/XSLTExFuncTest.java | 248 + test/javax/xml/jaxp/transform/8004476/tokenize.xml | 7 + test/javax/xml/jaxp/transform/8004476/tokenize.xsl | 30 + test/javax/xml/jaxp/transform/jdk8004476/SecureProcessingTest.xml | 2 - test/javax/xml/jaxp/transform/jdk8004476/TestBase.java | 82 - test/javax/xml/jaxp/transform/jdk8004476/XPathExFuncTest.java | 287 - test/javax/xml/jaxp/transform/jdk8004476/XSLTExFuncTest.java | 248 - test/javax/xml/jaxp/transform/jdk8004476/tokenize.xml | 7 - test/javax/xml/jaxp/transform/jdk8004476/tokenize.xsl | 30 - test/lib/security/java.policy/Ext_AllPolicy.sh | 2 +- test/sun/management/jmxremote/bootstrap/GeneratePropertyPassword.sh | 2 +- test/sun/management/jmxremote/bootstrap/linux-i586/launcher | Bin test/sun/management/jmxremote/bootstrap/solaris-i586/launcher | Bin test/sun/management/jmxremote/bootstrap/solaris-sparc/launcher | Bin test/sun/management/windows/revokeall.exe | Bin test/sun/misc/URLClassPath/ClassnameCharTest.sh | 2 +- test/sun/net/InetAddress/nameservice/dns/cname.sh | 2 +- test/sun/net/idn/nfscis.spp | Bin test/sun/net/idn/nfscsi.spp | Bin test/sun/net/idn/nfscss.spp | Bin test/sun/net/idn/nfsmxp.spp | Bin test/sun/net/idn/nfsmxs.spp | Bin test/sun/net/www/MarkResetTest.sh | 2 +- test/sun/net/www/http/HttpClient/RetryPost.sh | 2 +- test/sun/net/www/protocol/file/DirPermissionDenied.sh | 1 + test/sun/net/www/protocol/jar/B5105410.sh | 2 +- test/sun/net/www/protocol/jar/jarbug/run.sh | 2 +- test/sun/security/krb5/runNameEquals.sh | 4 + test/sun/security/pkcs11/MessageDigest/TestCloning.java | 141 + test/sun/security/pkcs11/Provider/ConfigQuotedString.sh | 6 + test/sun/security/pkcs11/Provider/Login.sh | 6 + test/sun/security/pkcs11/nss/lib/linux-amd64/libfreebl3.chk | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libfreebl3.so | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libnspr4.so | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libnss3.so | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libnssckbi.so | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libplc4.so | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libplds4.so | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libsoftokn3.chk | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libsoftokn3.so | Bin test/sun/security/pkcs11/nss/lib/linux-i586/libnspr4.so | Bin test/sun/security/pkcs11/nss/lib/linux-i586/libnss3.so | Bin test/sun/security/pkcs11/nss/lib/linux-i586/libnssckbi.so | Bin test/sun/security/pkcs11/nss/lib/linux-i586/libplc4.so | Bin test/sun/security/pkcs11/nss/lib/linux-i586/libplds4.so | Bin test/sun/security/pkcs11/nss/lib/linux-i586/libsoftokn3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-amd64/libnspr4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-amd64/libnss3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-amd64/libnssckbi.so | Bin test/sun/security/pkcs11/nss/lib/solaris-amd64/libplc4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-amd64/libplds4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-amd64/libsoftokn3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-i586/libfreebl3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-i586/libnspr4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-i586/libnss3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-i586/libnssckbi.so | Bin test/sun/security/pkcs11/nss/lib/solaris-i586/libplc4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-i586/libplds4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-i586/libsoftokn3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libfreebl_hybrid_3.chk | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libfreebl_hybrid_3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libnspr4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libnss3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libnssckbi.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libplc4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libplds4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libsoftokn3.chk | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libsoftokn3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparcv9/libnspr4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparcv9/libnss3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparcv9/libnssckbi.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparcv9/libplc4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparcv9/libplds4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparcv9/libsoftokn3.so | Bin test/sun/security/pkcs11/nss/lib/windows-i586/libnspr4.dll | Bin test/sun/security/pkcs11/nss/lib/windows-i586/libplc4.dll | Bin test/sun/security/pkcs11/nss/lib/windows-i586/libplds4.dll | Bin test/sun/security/pkcs11/nss/lib/windows-i586/nss3.dll | Bin test/sun/security/pkcs11/nss/lib/windows-i586/nssckbi.dll | Bin test/sun/security/pkcs11/nss/lib/windows-i586/softokn3.dll | Bin test/sun/security/provider/PolicyFile/getinstance/getinstance.sh | 4 + test/sun/security/ssl/com/sun/net/ssl/internal/ssl/EngineArgs/DebugReportsOneExtraByte.sh | 2 +- test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/NotifyHandshakeTest.sh | 2 +- test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/PostThruProxy.sh | 2 +- test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/PostThruProxyWithAuth.sh | 2 +- test/sun/security/tools/jarsigner/AlgOptions.sh | 2 +- test/sun/security/tools/jarsigner/EntriesOrder.java | 204 + test/sun/security/tools/jarsigner/PercentSign.sh | 2 +- test/sun/security/tools/jarsigner/diffend.sh | 2 +- test/sun/security/tools/jarsigner/oldsig.sh | 2 +- test/sun/security/tools/keytool/AltProviderPath.sh | 2 +- test/sun/security/tools/keytool/CloneKeyAskPassword.sh | 4 + test/sun/security/tools/keytool/NoExtNPE.sh | 4 + test/sun/security/tools/keytool/SecretKeyKS.sh | 2 +- test/sun/security/tools/keytool/StandardAlgName.sh | 2 +- test/sun/security/tools/keytool/printssl.sh | 2 +- test/sun/security/tools/keytool/resource.sh | 2 +- test/sun/security/tools/keytool/standard.sh | 2 +- test/sun/security/tools/policytool/Alias.sh | 2 +- test/sun/security/tools/policytool/ChangeUI.sh | 2 +- test/sun/security/tools/policytool/OpenPolicy.sh | 2 +- test/sun/security/tools/policytool/SaveAs.sh | 2 +- test/sun/security/tools/policytool/UpdatePermissions.sh | 2 +- test/sun/security/tools/policytool/UsePolicy.sh | 2 +- test/sun/security/tools/policytool/i18n.sh | 2 +- test/sun/tools/native2ascii/NativeErrors.java | 4 +- test/sun/tools/native2ascii/resources/ImmutableResourceTest.sh | 2 +- test/tools/launcher/RunpathTest.java | 84 + test/tools/pack200/MemoryAllocatorTest.java | 369 + 714 files changed, 43655 insertions(+), 45548 deletions(-) diffs (truncated from 103549 to 500 lines): diff -r b1bcc999a8f1 -r 06f771c9a7b7 .hgtags --- a/.hgtags Thu Jan 02 09:48:25 2014 -0800 +++ b/.hgtags Wed Apr 02 02:16:12 2014 +0100 @@ -50,6 +50,7 @@ f708138c9aca4b389872838fe6773872fce3609e jdk7-b73 eacb36e30327e7ae33baa068e82ddccbd91eaae2 jdk7-b74 8885b22565077236a927e824ef450742e434a230 jdk7-b75 +fb2ee5e96b171ae9db67274d87ffaba941e8bfa6 icedtea7-1.12 8fb602395be0f7d5af4e7e93b7df2d960faf9d17 jdk7-b76 e6a5d095c356a547cf5b3c8885885aca5e91e09b jdk7-b77 1143e498f813b8223b5e3a696d79da7ff7c25354 jdk7-b78 @@ -63,6 +64,7 @@ eae6e9ab26064d9ba0e7665dd646a1fd2506fcc1 jdk7-b86 2cafbbe9825e911a6ca6c17d9a18eb1f0bf0873c jdk7-b87 b3c69282f6d3c90ec21056cd1ab70dc0c895b069 jdk7-b88 +2017795af50aebc00f500e58f708980b49bc7cd1 icedtea7-1.13 4a6abb7e224cc8d9a583c23c5782e4668739a119 jdk7-b89 7f90d0b9dbb7ab4c60d0b0233e4e77fb4fac597c jdk7-b90 08a31cab971fcad4695e913d0f3be7bde3a90747 jdk7-b91 @@ -111,6 +113,7 @@ 554adcfb615e63e62af530b1c10fcf7813a75b26 jdk7-b134 d8ced728159fbb2caa8b6adb477fd8efdbbdf179 jdk7-b135 aa13e7702cd9d8aca9aa38f1227f966990866944 jdk7-b136 +1571aa7abe47a54510c62a5b59a8c343cdaf67cb icedtea-1.14 29296ea6529a418037ccce95903249665ef31c11 jdk7-b137 60d3d55dcc9c31a30ced9caa6ef5c0dcd7db031d jdk7-b138 d80954a89b49fda47c0c5cace65a17f5a758b8bd jdk7-b139 @@ -123,6 +126,7 @@ 539e576793a8e64aaf160e0d6ab0b9723cd0bef0 jdk7-b146 69e973991866c948cf1808b06884ef2d28b64fcb jdk7u1-b01 f097ca2434b1412b12ab4a5c2397ce271bf681e7 jdk7-b147 +7ec1845521edfb1843cad3868217983727ece53d icedtea-2.0-branchpoint 2baf612764d215e6f3a5b48533f74c6924ac98d7 jdk7u1-b02 a4781b6d9cfb6901452579adee17c9a17c1b584c jdk7u1-b03 b223ed9a5fdf8ce3af42adfa8815975811d70eae jdk7u1-b04 @@ -141,6 +145,7 @@ 79c8c4608f60e1f981b17ba4077dfcaa2ed67be4 jdk7u2-b12 fb2980d7c9439e3d62ab12f40506a2a2db2df0f4 jdk7u2-b13 24e42f1f9029f9f5a9b1481d523facaf09452e5b jdk7u2-b21 +a75913596199fbb8583f9d74021f54dc76f87b14 icedtea-2.1-branchpoint e3790f3ce50aa4e2a1b03089ac0bcd48f9d1d2c2 jdk7u3-b02 7e8351342f0b22b694bd3c2db979643529f32e71 jdk7u3-b03 fc6b7b6ac837c9e867b073e13fc14e643f771028 jdk7u3-b04 @@ -157,6 +162,7 @@ 6485e842d7f736b6ca3d7e4a7cdc5de6bbdd870c jdk7u4-b10 d568e85567ccfdd75f3f0c42aa0d75c440422827 jdk7u4-b11 16781e84dcdb5f82c287a3b5387dde9f8aaf74e0 jdk7u4-b12 +907555f6191a0cd84886b07c4c40bc6ce498b8b1 icedtea-2.2-branchpoint c929e96aa059c8b79ab94d5b0b1a242ca53a5b32 jdk7u4-b13 09f612bac047b132bb9bf7d4aa8afe6ea4d5b938 jdk7u4-b14 9e15d1f3fa4b35b8c950323c76b9ed094d434b97 jdk7u5-b01 @@ -186,11 +192,15 @@ a2bd61800667c38d759a0e02a756063d47dbcdc0 jdk7u6-b10 18a1b4f0681ae6e748fc60162dd76e357de3304b jdk7u6-b11 76306dce87104d9f333db3371ca97c80cac9674a jdk7u6-b12 +35172a51cc7639a44fe06ffbd5be471e48b71a88 ppc-aix-port-b01 +3097457689ba2d41b1d692191c5ba2f2b30aff9e ppc-aix-port-b02 +3097457689ba2d41b1d692191c5ba2f2b30aff9e ppc-aix-port-b03 aa49fe7490963f0c53741fbca3a175e0fec93951 jdk7u6-b13 3ce621d9b988abcccd86b52a97ea39133006c245 jdk7u6-b14 e50c9a5f001c61f49e7e71b25b97ed4095d3557b jdk7u6-b15 966e21feb7f088e318a35b069c1a61ff6363e554 jdk7u6-b16 aa0ad405f70bc7a7af95fef109f114ceecf31232 jdk7u6-b17 +8ff5fca08814f1f0eeda40aaec6f2936076b7444 icedtea-2.3-branchpoint 4a6917092af80481c1fa5b9ec8ccae75411bb72c jdk7u6-b18 a263f787ced5bc7c14078ae552c82de6bd011611 jdk7u6-b19 09145b546a2b6ae1f44d5c8a7d2a37d48e4b39e2 jdk7u6-b20 @@ -258,11 +268,13 @@ cb81ee79a72d84f99b8e7d73b5ae73124b661fe7 jdk7u12-b07 b5e180ef18a0c823675bcd32edfbf2f5122d9722 jdk7u12-b08 2e7fe0208e9c928f2f539fecb6dc8a1401ecba9e jdk7u12-b09 +b171007921c3d01066848c88cbcb6a376df3f01c icedtea-2.4-branchpoint e012aace90500a88f51ce83fcd27791f5dbf493f jdk7u14-b10 9eb82fb221f3b34a5df97e7db3c949fdb0b6fee0 jdk7u14-b11 ee3ab2ed2371dd72ad5a75ebb6b6b69071e29390 jdk7u14-b12 7c0d4bfd9d2c183ebf8566013af5111927b472f6 jdk7u14-b13 3982fc37bc256b07a710f25215e5525cfbefe2ed jdk7u14-b14 +739869c45976bb154908af5d145b7ed98c6a7d47 ppc-aix-port-b04 2eb3ac105b7fe7609a20c9986ecbccab71f1609f jdk7u14-b15 835448d525a10bb826f4f7ebe272fc410bdb0f5d jdk7u15-b01 0443fe2d8023111b52f4c8db32e038f4a5a9f373 jdk7u15-b02 @@ -365,6 +377,7 @@ c5ca4daec23b5e7f99ac8d684f5016ff8bfebbb0 jdk7u45-b18 4797f984f6c93c433aa797e9b2d8f904cf083f96 jdk7u45-b30 8c343a783777b8728cb819938f387db0acf7f3ac jdk7u45-b31 +db5a29c812ee25c34ce9cd97de6e0dae284a4e34 jdk7u60-b00 402d54c7d8ce95f3945cc3d698e528e4adec7b9b jdk7u45-b33 34e8f9f26ae612ebac36357eecbe70ea20e0233c jdk7u45-b34 3c9a6d9eafd31be44b0ade0354e60f5078b417a4 jdk7u51-b00 @@ -386,3 +399,14 @@ db5a29c812ee25c34ce9cd97de6e0dae284a4e34 jdk7u60-b00 def34c4a798678c424786a8f0d0508e90185958d jdk7u60-b01 ff67c89658525e8903fb870861ed3645befd6bc5 jdk7u60-b02 +7d5b758810c20af12c6576b7d570477712360744 icedtea-2.5pre01 +3162252ff26b4e6788b0c79405b035b535afa018 icedtea-2.5pre02 +b1bcc999a8f1b4b4452b59c6636153bb0154cf5a jdk7u60-b03 +efc8886310cbccb941f826acfad2ad51a2891be5 jdk7u60-b04 +4fb749a3110727d5334c69793578a3254a053bf5 jdk7u60-b05 +46ca1ce7550f1463d60c3eacaf7b8cdc44b0c66e jdk7u60-b06 +d5a2f60006e3c4243abeee0f623e5c3f79372fd8 jdk7u60-b07 +0dd27693876d66d176457749d0f2161b219eba2d jdk7u60-b08 +7b571638b0f51bcbe04c088dfff569b4cba6bbdf jdk7u60-b09 +fb4981489b09594d2449527e2d511834cf8ad370 jdk7u60-b10 +c2bb87dae8a08eab6f4f336ce5a59865aa0214d6 jdk7u60-b11 diff -r b1bcc999a8f1 -r 06f771c9a7b7 .jcheck/conf --- a/.jcheck/conf Thu Jan 02 09:48:25 2014 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -project=jdk7 -bugids=dup diff -r b1bcc999a8f1 -r 06f771c9a7b7 make/com/sun/java/pack/Makefile --- a/make/com/sun/java/pack/Makefile Thu Jan 02 09:48:25 2014 -0800 +++ b/make/com/sun/java/pack/Makefile Wed Apr 02 02:16:12 2014 +0100 @@ -75,7 +75,7 @@ OTHER_CXXFLAGS += $(ZINCLUDE) LDDFLAGS += $(ZIPOBJS) else - LDDFLAGS += $(ZLIB_LIBS) + OTHER_LDLIBS += $(ZLIB_LIBS) OTHER_CXXFLAGS += $(ZLIB_CFLAGS) -DSYSTEM_ZLIB endif else @@ -99,8 +99,7 @@ RES = $(OBJDIR)/$(PGRM).res else LDOUTPUT = -o #Have a space - LDDFLAGS += -lc - OTHER_LDLIBS += $(LIBCXX) + OTHER_LDLIBS += -lc $(LIBCXX) # setup the list of libraries to link in... ifeq ($(PLATFORM), linux) ifeq ("$(CC_VER_MAJOR)", "3") @@ -157,7 +156,7 @@ $(prep-target) $(RM) $(TEMPDIR)/mapfile-vers $(CP) mapfile-vers-unpack200 $(TEMPDIR)/mapfile-vers - $(LINKER) $(LDDFLAGS) $(UNPACK_EXE_FILES_o) $(RES) $(LIBCXX) $(LDOUTPUT)$(TEMPDIR)/unpack200$(EXE_SUFFIX) + $(LINKER) $(LDDFLAGS) $(UNPACK_EXE_FILES_o) $(RES) $(OTHER_LDLIBS) $(LDOUTPUT)$(TEMPDIR)/unpack200$(EXE_SUFFIX) ifdef MT $(MT) /manifest $(OBJDIR)/unpack200$(EXE_SUFFIX).manifest /outputresource:$(TEMPDIR)/unpack200$(EXE_SUFFIX);#1 endif diff -r b1bcc999a8f1 -r 06f771c9a7b7 make/com/sun/jmx/Makefile --- a/make/com/sun/jmx/Makefile Thu Jan 02 09:48:25 2014 -0800 +++ b/make/com/sun/jmx/Makefile Wed Apr 02 02:16:12 2014 +0100 @@ -114,13 +114,19 @@ endif ifeq ($(CROSS_COMPILE_ARCH),) -RMIC = $(RMIC_JAVA) $(JAVA_TOOLS_FLAGS) -cp $(OUTPUTDIR)/classes sun.rmi.rmic.Main +RMIC_VM = $(RMIC_JAVA) else -RMIC = $(BOOT_JAVA_CMD) $(JAVA_TOOLS_FLAGS) -cp $(OUTPUTDIR)/classes sun.rmi.rmic.Main +RMIC_VM = $(BOOT_JAVA_CMD) endif +RMIC = $(RMIC_VM) $(JAVA_TOOLS_FLAGS) -cp $(OUTPUTDIR)/classes sun.rmi.rmic.Main $(CLASSDESTDIR)/%_Stub.class: $(CLASSDESTDIR)/%.class $(prep-target) + if [ -x $(PAX_COMMAND) ] ; then \ + if [ -w $(RMIC_VM) ] ; then \ + $(PAX_COMMAND) $(PAX_COMMAND_ARGS) $(RMIC_VM) ; \ + fi ; \ + fi $(RMIC) -classpath "$(CLASSDESTDIR)" \ -d $(CLASSDESTDIR) \ -v1.2 \ diff -r b1bcc999a8f1 -r 06f771c9a7b7 make/com/sun/nio/Makefile --- a/make/com/sun/nio/Makefile Thu Jan 02 09:48:25 2014 -0800 +++ b/make/com/sun/nio/Makefile Wed Apr 02 02:16:12 2014 +0100 @@ -31,7 +31,7 @@ include $(BUILDDIR)/common/Defs.gmk # MMM: disable for now -ifneq ($(PLATFORM), macosx) +ifeq (, $(findstring $(PLATFORM), macosx aix)) include $(BUILDDIR)/common/Subdirs.gmk SUBDIRS = sctp endif diff -r b1bcc999a8f1 -r 06f771c9a7b7 make/com/sun/nio/sctp/Makefile --- a/make/com/sun/nio/sctp/Makefile Thu Jan 02 09:48:25 2014 -0800 +++ b/make/com/sun/nio/sctp/Makefile Wed Apr 02 02:16:12 2014 +0100 @@ -60,7 +60,9 @@ -I$(CLASSHDRDIR)/../../../../java/java.nio/nio/CClassHeaders ifeq ($(PLATFORM), linux) +ifneq ($(COMPILER_WARNINGS_FATAL),false) COMPILER_WARNINGS_FATAL=true +endif #OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -ljava -lnet -lpthread -ldl OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -lnio -lnet -lpthread -ldl endif diff -r b1bcc999a8f1 -r 06f771c9a7b7 make/com/sun/security/auth/module/Makefile --- a/make/com/sun/security/auth/module/Makefile Thu Jan 02 09:48:25 2014 -0800 +++ b/make/com/sun/security/auth/module/Makefile Wed Apr 02 02:16:12 2014 +0100 @@ -67,7 +67,7 @@ include FILES_c_solaris.gmk endif # solaris -ifneq (,$(findstring $(PLATFORM), linux macosx)) +ifneq (,$(findstring $(PLATFORM), linux macosx aix)) LIBRARY = jaas_unix include FILES_export_unix.gmk include FILES_c_unix.gmk @@ -78,7 +78,3 @@ # include $(BUILDDIR)/common/Library.gmk -# -# JVMDI implementation lives in the VM. -# -OTHER_LDLIBS = $(JVMLIB) diff -r b1bcc999a8f1 -r 06f771c9a7b7 make/com/sun/tools/attach/Exportedfiles.gmk --- a/make/com/sun/tools/attach/Exportedfiles.gmk Thu Jan 02 09:48:25 2014 -0800 +++ b/make/com/sun/tools/attach/Exportedfiles.gmk Wed Apr 02 02:16:12 2014 +0100 @@ -47,3 +47,8 @@ FILES_export = \ sun/tools/attach/BsdVirtualMachine.java endif + +ifeq ($(PLATFORM), aix) +FILES_export = \ + sun/tools/attach/AixVirtualMachine.java +endif diff -r b1bcc999a8f1 -r 06f771c9a7b7 make/com/sun/tools/attach/FILES_c.gmk --- a/make/com/sun/tools/attach/FILES_c.gmk Thu Jan 02 09:48:25 2014 -0800 +++ b/make/com/sun/tools/attach/FILES_c.gmk Wed Apr 02 02:16:12 2014 +0100 @@ -43,3 +43,8 @@ FILES_c = \ BsdVirtualMachine.c endif + +ifeq ($(PLATFORM), aix) +FILES_c = \ + AixVirtualMachine.c +endif diff -r b1bcc999a8f1 -r 06f771c9a7b7 make/com/sun/tools/attach/FILES_java.gmk --- a/make/com/sun/tools/attach/FILES_java.gmk Thu Jan 02 09:48:25 2014 -0800 +++ b/make/com/sun/tools/attach/FILES_java.gmk Wed Apr 02 02:16:12 2014 +0100 @@ -32,7 +32,7 @@ com/sun/tools/attach/spi/AttachProvider.java \ sun/tools/attach/HotSpotAttachProvider.java \ sun/tools/attach/HotSpotVirtualMachine.java - + ifeq ($(PLATFORM), solaris) FILES_java += \ sun/tools/attach/SolarisAttachProvider.java @@ -48,11 +48,16 @@ sun/tools/attach/BsdAttachProvider.java endif +ifeq ($(PLATFORM), aix) +FILES_java += \ + sun/tools/attach/AixAttachProvider.java +endif + # # Files that need to be copied # SERVICEDIR = $(CLASSBINDIR)/META-INF/services - + FILES_copy = \ $(SERVICEDIR)/com.sun.tools.attach.spi.AttachProvider diff -r b1bcc999a8f1 -r 06f771c9a7b7 make/common/Defs-aix.gmk --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/make/common/Defs-aix.gmk Wed Apr 02 02:16:12 2014 +0100 @@ -0,0 +1,391 @@ +# +# Copyright (c) 1995, 2012, 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 +# under the terms of the GNU General Public License version 2 only, as +# published by the Free Software Foundation. Oracle designates this +# particular file as subject to the "Classpath" exception as provided +# by Oracle in the LICENSE file that accompanied this code. +# +# This code is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# version 2 for more details (a copy is included in the LICENSE file that +# accompanied this code). +# +# You should have received a copy of the GNU General Public License version +# 2 along with this work; if not, write to the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA +# or visit www.oracle.com if you need additional information or have any +# questions. +# + +# +# Makefile to specify compiler flags for programs and libraries +# targeted to AIX. Should not contain any rules. +# +# WARNING: This file is shared with other workspaces. +# So when it includes other files, it must use JDK_TOPDIR. +# + +# Warning: the following variables are overridden by Defs.gmk. Set +# values will be silently ignored: +# CFLAGS (set $(OTHER_CFLAGS) instead) +# CPPFLAGS (set $(OTHER_CPPFLAGS) instead) +# CXXFLAGS (set $(OTHER_CXXFLAGS) instead) +# LDFLAGS (set $(OTHER_LDFAGS) instead) +# LDLIBS (set $(EXTRA_LIBS) instead) +# LDLIBS_COMMON (set $(EXTRA_LIBS) instead) +# LINTFLAGS (set $(OTHER_LINTFLAGS) instead) +# +# Note: CPPFLAGS are used in C and C++ compiles. +# + +# Get shared JDK settings +include $(JDK_MAKE_SHARED_DIR)/Defs.gmk + +# define these to avoid picking up ones from aliases or from +# non-standard locations +# + +AR = $(USRBIN_PATH)ar +BASENAME = $(UNIXCOMMAND_PATH)basename +CAT = $(UNIXCOMMAND_PATH)cat +CD = cd # intrinsic unix command +CHMOD = $(UNIXCOMMAND_PATH)chmod +CMP = $(USRBIN_PATH)cmp +COMPRESS = $(USRBIN_PATH)compress +CP = $(UNIXCOMMAND_PATH)cp +CPIO = $(UNIXCOMMAND_PATH)cpio +CUT = $(USRBIN_PATH)cut +DATE = $(UNIXCOMMAND_PATH)date +DF = $(UNIXCOMMAND_PATH)df +DIFF = $(USRBIN_PATH)diff +DIRNAME = $(USRBIN_PATH)dirname +ECHO = echo # intrinsic unix command, with backslash-escaped character interpretation +EGREP = $(UNIXCOMMAND_PATH)egrep +EXPR = $(USRBIN_PATH)expr + +FIND = $(UNIXCOMMAND_PATH)find + +HEAD = $(USRBIN_PATH)head +GREP = $(UNIXCOMMAND_PATH)grep +GUNZIP = $(UNIXCOMMAND_PATH)gunzip +LEX = $(USRBIN_PATH)lex +LN = $(UNIXCOMMAND_PATH)ln +LS = $(UNIXCOMMAND_PATH)ls +M4 = $(USRBIN_PATH)m4 +MKDIR = $(UNIXCOMMAND_PATH)mkdir +MV = $(UNIXCOMMAND_PATH)mv +NAWK = $(USRBIN_PATH)awk +PWD = $(UNIXCOMMAND_PATH)pwd +#RM is defined by GNU Make as 'rm -f' +RMDIR = $(UNIXCOMMAND_PATH)rmdir +RPM = $(UNIXCOMMAND_PATH)rpm +SED = $(UNIXCOMMAND_PATH)sed +SH = $(UNIXCOMMAND_PATH)sh +SORT = $(UNIXCOMMAND_PATH)sort +STRIP = $(USRBIN_PATH)strip +TAIL = $(USRBIN_PATH)tail + +TAR = tar # We need GNU TAR which must be found trough PATH (may be in /opt/freeware/bin or /usr/local/bin) + +TEST = $(USRBIN_PATH)test +TOUCH = $(UNIXCOMMAND_PATH)touch +TR = $(USRBIN_PATH)tr +TRUE = $(UNIXCOMMAND_PATH)true +UNAME = $(UNIXCOMMAND_PATH)uname +UNIQ = $(USRBIN_PATH)uniq +UNZIPSFX = $(USRBIN_PATH)unzipsfx +YACC = $(USRBIN_PATH)yacc + +ZIPEXE = zip # Must be found trough PATH (may be in /opt/freeware/bin or /usr/local/bin) + +OS_VERSION = $(shell $(UNAME) -v) +OS_NAME = aix + +ARCH_DATA_MODEL=64 + +LIBARCH = ppc64 + +# Value of Java os.arch property +ARCHPROP = $(LIBARCH) + +BINDIR = $(OUTPUTDIR)/bin + +# where is unwanted output to be delivered? +DEV_NULL = /dev/null +export DEV_NULL + +CLASSPATH_SEPARATOR = : + +ifndef PLATFORM_SRC + PLATFORM_SRC = $(BUILDDIR)/../src/solaris +endif # PLATFORM_SRC + +# Location of the various .properties files specific to Linux platform +ifndef PLATFORM_PROPERTIES + PLATFORM_PROPERTIES = $(BUILDDIR)/../src/solaris/lib +endif # PLATFORM_SRC + +# Platform specific closed sources +ifndef OPENJDK + ifndef CLOSED_PLATFORM_SRC + CLOSED_PLATFORM_SRC = $(BUILDDIR)/../src/closed/solaris + endif +endif + +# platform specific include files +PLATFORM_INCLUDE_NAME = $(PLATFORM) +PLATFORM_INCLUDE = $(INCLUDEDIR)/$(PLATFORM_INCLUDE_NAME) + +# OBJECT_SUFFIX, LIBRARY_SUFFIX, EXE_SUFFICS etc. are set in +# j2se/make/common/shared/Platform.gmk . Just override those which differ for AIX. +# suffix used for make dependencies files. +# -qmakedep outputs .u, not .d +override DEPEND_SUFFIX = u +# suffix used for lint files +LINT_SUFFIX = ln +# The suffix applied to the library name for FDLIBM +FDDLIBM_SUFFIX = a +# The suffix applied to scripts (.bat for windows, nothing for unix) +SCRIPT_SUFFIX = +# CC compiler object code output directive flag value +CC_OBJECT_OUTPUT_FLAG = -o #trailing blank required! +CC_PROGRAM_OUTPUT_FLAG = -o #trailing blank required! + +# On AIX we don't have any issues using javah and javah_g. +JAVAH_SUFFIX = $(SUFFIX) + +# +# Default optimization +# + +ifndef OPTIMIZATION_LEVEL + ifeq ($(PRODUCT), java) + OPTIMIZATION_LEVEL = HIGHER + else + OPTIMIZATION_LEVEL = LOWER + endif +endif +ifndef FASTDEBUG_OPTIMIZATION_LEVEL + FASTDEBUG_OPTIMIZATION_LEVEL = LOWER +endif + +CC_OPT/LOWER = -O2 +CC_OPT/HIGHER = -O3 + +CC_OPT = $(CC_OPT/$(OPTIMIZATION_LEVEL)) + +# +# Selection of warning messages +# +CFLAGS_SHARED_OPTION=-qmkshrobj +CXXFLAGS_SHARED_OPTION=-qmkshrobj + +# +# If -Xa is in CFLAGS_COMMON it will end up ahead of $(POPT) for the +# optimized build, and that ordering of the flags completely freaks +# out cc. Hence, -Xa is instead in each CFLAGS variant. +# The extra options to the C++ compiler prevent it from: +# - adding runpath (dump -Lv) to *your* C++ compile install dir +# - adding stubs to various things such as thr_getspecific (hence -nolib) +# - creating Templates.DB in current directory (arch specific) +CFLAGS_COMMON = -qchars=signed +PIC_CODE_LARGE = -qpic=large +PIC_CODE_SMALL = -qpic=small +GLOBAL_KPIC = $(PIC_CODE_LARGE) +CFLAGS_COMMON += $(GLOBAL_KPIC) $(GCC_WARNINGS) +# save compiler options into object file +CFLAGS_COMMON += -qsaveopt + +# preserve absolute source file infos in debug infos +CFLAGS_COMMON += -qfullpath + +# We want to be able to debug an opt build as well. +CFLAGS_OPT = -g $(POPT) +CFLAGS_DBG = -g + +CXXFLAGS_COMMON = $(GLOBAL_KPIC) -DCC_NOEX $(GCC_WARNINGS) +# We want to be able to debug an opt build as well. +CXXFLAGS_OPT = -g $(POPT) +CXXFLAGS_DBG = -g + +# FASTDEBUG: Optimize the code in the -g versions, gives us a faster debug java +ifeq ($(FASTDEBUG), true) + CFLAGS_DBG += -O2 + CXXFLAGS_DBG += -O2 +endif + +CPP_ARCH_FLAGS = -DARCH='"$(ARCH)"' + +# Alpha arch does not like "alpha" defined (potential general arch cleanup issue here) +ifneq ($(ARCH),alpha) + CPP_ARCH_FLAGS += -D$(ARCH) +else + CPP_ARCH_FLAGS += -D_$(ARCH)_ +endif + From ptisnovs at icedtea.classpath.org Wed Apr 2 07:34:26 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Wed, 02 Apr 2014 07:34:26 +0000 Subject: /hg/gfx-test: Ten new tests added into BitBltBasicTests. Message-ID: changeset f3450f0039de in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=f3450f0039de author: Pavel Tisnovsky date: Wed Apr 02 09:35:07 2014 +0200 Ten new tests added into BitBltBasicTests. diffstat: ChangeLog | 5 + src/org/gfxtest/testsuites/BitBltBasicTests.java | 150 +++++++++++++++++++++++ 2 files changed, 155 insertions(+), 0 deletions(-) diffs (235 lines): diff -r 026d5f07528c -r f3450f0039de ChangeLog --- a/ChangeLog Tue Apr 01 11:41:18 2014 +0200 +++ b/ChangeLog Wed Apr 02 09:35:07 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-02 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/BitBltBasicTests.java: + Ten new tests added into BitBltBasicTests. + 2014-04-01 Pavel Tisnovsky * src/org/gfxtest/testsuites/BitBltAffineQuadrantRotateTransformOp.java: diff -r 026d5f07528c -r f3450f0039de src/org/gfxtest/testsuites/BitBltBasicTests.java --- a/src/org/gfxtest/testsuites/BitBltBasicTests.java Tue Apr 01 11:41:18 2014 +0200 +++ b/src/org/gfxtest/testsuites/BitBltBasicTests.java Wed Apr 02 09:35:07 2014 +0200 @@ -4077,6 +4077,21 @@ } /** + * Test basic BitBlt operation for vertical green gradient buffered image with type TYPE_CUSTOM. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltVerticalGreenGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d) + { + // create new buffered image and then perform basic BitBlt test. + return CommonBitmapOperations.doBitBltTestWithVerticalGreenGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM); + } + + /** * Test basic BitBlt operation for horizontal blue gradient buffered image with type TYPE_3BYTE_BGR. * * @param image @@ -4274,6 +4289,21 @@ } /** + * Test basic BitBlt operation for horizontal blue gradient buffered image with type TYPE_CUSTOM. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltHorizontalBlueGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d) + { + // create new buffered image and then perform basic BitBlt test. + return CommonBitmapOperations.doBitBltTestWithHorizontalBlueGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM); + } + + /** * Test basic BitBlt operation for vertical blue gradient buffered image with type TYPE_3BYTE_BGR. * * @param image @@ -4471,6 +4501,21 @@ } /** + * Test basic BitBlt operation for vertical blue gradient buffered image with type TYPE_CUSTOM. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltVerticalBlueGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d) + { + // create new buffered image and then perform basic BitBlt test. + return CommonBitmapOperations.doBitBltTestWithVerticalBlueGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM); + } + + /** * Test basic BitBlt operation for horizontal cyan gradient buffered image with type TYPE_3BYTE_BGR. * * @param image @@ -4668,6 +4713,21 @@ } /** + * Test basic BitBlt operation for horizontal cyan gradient buffered image with type TYPE_CUSTOM. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltHorizontalCyanGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d) + { + // create new buffered image and then perform basic BitBlt test. + return CommonBitmapOperations.doBitBltTestWithHorizontalCyanGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM); + } + + /** * Test basic BitBlt operation for vertical cyan gradient buffered image with type TYPE_3BYTE_BGR. * * @param image @@ -4865,6 +4925,21 @@ } /** + * Test basic BitBlt operation for vertical cyan gradient buffered image with type TYPE_CUSTOM. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltVerticalCyanGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d) + { + // create new buffered image and then perform basic BitBlt test. + return CommonBitmapOperations.doBitBltTestWithVerticalCyanGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM); + } + + /** * Test basic BitBlt operation for horizontal magenta gradient buffered image with type TYPE_3BYTE_BGR. * * @param image @@ -5062,6 +5137,21 @@ } /** + * Test basic BitBlt operation for horizontal magenta gradient buffered image with type TYPE_CUSTOM. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltHorizontalMagentaGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d) + { + // create new buffered image and then perform basic BitBlt test. + return CommonBitmapOperations.doBitBltTestWithHorizontalMagentaGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM); + } + + /** * Test basic BitBlt operation for vertical magenta gradient buffered image with type TYPE_3BYTE_BGR. * * @param image @@ -5259,6 +5349,21 @@ } /** + * Test basic BitBlt operation for vertical magenta gradient buffered image with type TYPE_CUSTOM. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltVerticalMagentaGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d) + { + // create new buffered image and then perform basic BitBlt test. + return CommonBitmapOperations.doBitBltTestWithVerticalMagentaGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM); + } + + /** * Test basic BitBlt operation for horizontal yellow gradient buffered image with type TYPE_3BYTE_BGR. * * @param image @@ -5456,6 +5561,21 @@ } /** + * Test basic BitBlt operation for horizontal yellow gradient buffered image with type TYPE_CUSTOM. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltHorizontalYellowGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d) + { + // create new buffered image and then perform basic BitBlt test. + return CommonBitmapOperations.doBitBltTestWithHorizontalYellowGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM); + } + + /** * Test basic BitBlt operation for vertical yellow gradient buffered image with type TYPE_3BYTE_BGR. * * @param image @@ -5653,6 +5773,21 @@ } /** + * Test basic BitBlt operation for vertical yellow gradient buffered image with type TYPE_CUSTOM. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltVerticalYellowGradientBufferedImageTypeCustom(TestImage image, Graphics2D graphics2d) + { + // create new buffered image and then perform basic BitBlt test. + return CommonBitmapOperations.doBitBltTestWithVerticalYellowGradientImage(image, graphics2d, BufferedImage.TYPE_CUSTOM); + } + + /** * Test basic BitBlt operation for texture RGB pattern #1 buffered image with type TYPE_3BYTE_BGR. * * @param image @@ -5850,6 +5985,21 @@ } /** + * Test basic BitBlt operation for texture RGB pattern #1 buffered image with type TYPE_CUSTOM. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltRGBTexture1BufferedImageTypeCustom(TestImage image, Graphics2D graphics2d) + { + // create new buffered image and then perform basic BitBlt test. + return CommonBitmapOperations.doBitBltTestWithRGBTexture1Image(image, graphics2d, BufferedImage.TYPE_CUSTOM); + } + + /** * Test basic BitBlt operation for texture RGB pattern #1 buffered image with type TYPE_3BYTE_BGR. * * @param image From ptisnovs at icedtea.classpath.org Wed Apr 2 07:38:58 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Wed, 02 Apr 2014 07:38:58 +0000 Subject: /hg/rhino-tests: Added new tests testGetResourceAsStreamPositive... Message-ID: changeset 071f5098ba66 in /hg/rhino-tests details: http://icedtea.classpath.org/hg/rhino-tests?cmd=changeset;node=071f5098ba66 author: Pavel Tisnovsky date: Wed Apr 02 09:39:43 2014 +0200 Added new tests testGetResourceAsStreamPositiveTest into ScriptEngineManagerClassTest. diffstat: ChangeLog | 6 + src/org/RhinoTests/ScriptEngineManagerClassTest.java | 72 ++++++++++++++++++++ 2 files changed, 78 insertions(+), 0 deletions(-) diffs (130 lines): diff -r e08cdeaa1aee -r 071f5098ba66 ChangeLog --- a/ChangeLog Tue Apr 01 11:44:02 2014 +0200 +++ b/ChangeLog Wed Apr 02 09:39:43 2014 +0200 @@ -1,3 +1,9 @@ +2014-04-02 Pavel Tisnovsky + + * src/org/RhinoTests/ScriptEngineManagerClassTest.java: + Added new tests testGetResourceAsStreamPositiveTest + into ScriptEngineManagerClassTest. + 2014-04-01 Pavel Tisnovsky * src/org/RhinoTests/ScriptEngineFactoryClassTest.java: diff -r e08cdeaa1aee -r 071f5098ba66 src/org/RhinoTests/ScriptEngineManagerClassTest.java --- a/src/org/RhinoTests/ScriptEngineManagerClassTest.java Tue Apr 01 11:44:02 2014 +0200 +++ b/src/org/RhinoTests/ScriptEngineManagerClassTest.java Wed Apr 02 09:39:43 2014 +0200 @@ -1790,6 +1790,14 @@ } try { + this.scriptEngineManagerClass.cast(Character.valueOf('a')); + throw new AssertionError("Class.cast(Character.valueOf('a')) does not throw any exception"); + } + catch (Exception e) { + // expected exception + } + + try { this.scriptEngineManagerClass.cast(Byte.valueOf((byte)42)); throw new AssertionError("Class.cast(Byte.valueOf((byte)42)) does not throw any exception"); } @@ -1846,6 +1854,14 @@ } try { + this.scriptEngineManagerClass.cast(new Throwable("xyzzy")); + throw new AssertionError("Class.cast(new Throwable(\"xyzzy\")) does not throw any exception"); + } + catch (Exception e) { + // expected exception + } + + try { this.scriptEngineManagerClass.cast(new RuntimeException()); throw new AssertionError("Class.cast(new RuntimeException()) does not throw any exception"); } @@ -1854,6 +1870,14 @@ } try { + this.scriptEngineManagerClass.cast(new RuntimeException("xyzzy")); + throw new AssertionError("Class.cast(new RuntimeException(\"xyzzy\")) does not throw any exception"); + } + catch (Exception e) { + // expected exception + } + + try { this.scriptEngineManagerClass.cast(new Error()); throw new AssertionError("Class.cast(new Error()) does not throw any exception"); } @@ -1862,6 +1886,22 @@ } try { + this.scriptEngineManagerClass.cast(new Error("xyzzy")); + throw new AssertionError("Class.cast(new Error(\"xyzzy\")) does not throw any exception"); + } + catch (Exception e) { + // expected exception + } + + try { + this.scriptEngineManagerClass.cast(new java.io.File("xyzzy")); + throw new AssertionError("Class.cast(new java.io.File(\"xyzzy\")) does not throw any exception"); + } + catch (Exception e) { + // expected exception + } + + try { this.scriptEngineManagerClass.cast(new java.lang.String()); throw new AssertionError("Class.cast(new java.lang.String()) does not throw any exception"); } @@ -1910,6 +1950,30 @@ } try { + this.scriptEngineManagerClass.cast(new java.awt.Label()); + throw new AssertionError("Class.cast(new java.awt.Label()) does not throw any exception"); + } + catch (Exception e) { + // expected exception + } + + try { + this.scriptEngineManagerClass.cast(new java.awt.Label(new String())); + throw new AssertionError("Class.cast(new java.awt.Label(new String())) does not throw any exception"); + } + catch (Exception e) { + // expected exception + } + + try { + this.scriptEngineManagerClass.cast(new java.awt.Label("xyzzy")); + throw new AssertionError("Class.cast(new java.awt.Label(\"xyzzy\")) does not throw any exception"); + } + catch (Exception e) { + // expected exception + } + + try { this.scriptEngineManagerClass.cast(new javax.swing.JLabel()); throw new AssertionError("Class.cast(new javax.swing.JLabel()) does not throw any exception"); } @@ -1926,6 +1990,14 @@ } try { + this.scriptEngineManagerClass.cast(new javax.swing.JLabel("xyzzy")); + throw new AssertionError("Class.cast(new javax.swing.JLabel(\"xyzzy\")) does not throw any exception"); + } + catch (Exception e) { + // expected exception + } + + try { this.scriptEngineManagerClass.cast(new javax.swing.JPanel()); throw new AssertionError("Class.cast(new javax.swing.JPanel()) does not throw any exception"); } From jvanek at redhat.com Wed Apr 2 08:34:19 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Wed, 02 Apr 2014 10:34:19 +0200 Subject: [rfc][icedtea-web] DE translation of 1.5 (complete) In-Reply-To: <533AF3C5.2010707@gmx.de> References: <53306BD5.8040902@redhat.com> <5339BACC.9060300@gmx.de> <533AD7EB.6000202@gmx.de> <533ADAD5.8040801@redhat.com> <533AF3C5.2010707@gmx.de> Message-ID: <533BCB8B.6010709@redhat.com> On 04/01/2014 07:13 PM, Jacob Wisor wrote: > On 04/01/2014 05:27 PM, Jiri Vanek wrote: >> On 04/01/2014 05:14 PM, Jacob Wisor wrote: >>> On 03/31/2014 08:58 PM, Jacob Wisor wrote: ...snip... >> >> Do I recall correctly that we should not wait for PL?-( > > I'm on it. > Anyway, while fixes are still coming in, I would advise to wait. Use this "extra" time! ;-) There is no more fixes coming now. We are stable. > I have never understood the prevalent rush-to-release culture just because someone has set an There is no such thing. We agreed that all features may be done during March, and it happened. In last 14 days few issues were found, and those were fixed. (not in hurry as it seems, but with less "it will wait to tomorrow (or second timezone)" thoughts ;) > arbitrary release date. Does a writer or painter unveil his art work just because the clock just The date is not artificial. It is in purpose. There is always work to do, but soemtimes it just need to be said stop and release. For this, plainly psychologically (IMO) the date is a good thing. As for now - 1.4 really was important. 15.4.2014 is next scheduled Oracle CPU for OpenJDK. It will keep people around Openjdk busy at least week prior, and at least month after. So not releasing (At least week) before, means one more month delay. Also with every CPU there is an risk destabilization of ITW. > struck twelve? No, they keep on working and polish it (unless of course working against the clock is > part of the art). I am an old fashioned guy when it comes to release culture and quality of Oh no, I agree with you- at 100%!. And I'm to be blamed. ITW should be released more often and more in peace then it is now. Unluckily, I'm failing in this task. If you get scare by my "status of release" sort of spam, then it is just because I had a lack of feedback from release-related people. So I was at leas trying to dig one :) > software, and I'm proud of it. I don't like rushing things. > If people call me "slow" because of this, then it's their problem. :-P > >> Only nit - Pelase remove "CPButPolicy" key and value from both DE and PL, it is >> removed from man file (and soa lso from CZ transaltion) >> >> After it. Ok to push! > > Okay, but please let us have the patch just sit there for some more time, just for review, at least Oh it *was* reviewed. I have checked redundant/not translated keys and verified random messages. Well appeared to be ok... To read it all? Ugh :( Not with my skill in German if this is what you are pointing to. > until I have posted the PL localization patch for rfc. Sure! I think there is no need to delay DE because of PL, but on the other hand I'm happy thay you are taking the care for them and so for those coming together. The need to push someone else patch is rare, and I'm not fan of it. > Well, this is what I am going to do. I won't push this patch until I have the PL patch ready for rfc. > Of course, I cannot hold back anybody from pushing this patch themselves, so it is as it is. I'm branching the itw 1.5 now, however, not tagging, nor releasing. Just posting pre tarball and testing it and whatever stuff around. For you the only difference is to push your localization to both HEAD and future http://icedtea.classpath.org/hg/release/icedtea-web-1.5 branch. Of course anybody else can backport from head to 1.5.... if you do not wont to bother with it. Best regards from CZ, looking forward for PL and DE, crossing fingers for 1.5 ... well all the best :) J. From jvanek at icedtea.classpath.org Wed Apr 2 08:53:24 2014 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Wed, 02 Apr 2014 08:53:24 +0000 Subject: /hg/icedtea-web: NEWS: Bumped date of 1.5 release to 2014 Message-ID: changeset b73f794d8e3f in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=b73f794d8e3f author: Jiri Vanek date: Wed Apr 02 10:53:13 2014 +0200 NEWS: Bumped date of 1.5 release to 2014 diffstat: ChangeLog | 4 ++++ NEWS | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-) diffs (23 lines): diff -r c310c9e44597 -r b73f794d8e3f ChangeLog --- a/ChangeLog Tue Apr 01 11:51:13 2014 -0400 +++ b/ChangeLog Wed Apr 02 10:53:13 2014 +0200 @@ -1,3 +1,7 @@ +2014-04-02 Jiri Vanek + + * NEWS: Bumped date of 1.5 release to 2014 + 2014-04-01 Andrew Azores Fix Permissions manifest attribute check diff -r c310c9e44597 -r b73f794d8e3f NEWS --- a/NEWS Tue Apr 01 11:51:13 2014 -0400 +++ b/NEWS Wed Apr 02 10:53:13 2014 +0200 @@ -8,7 +8,7 @@ CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY -New in release 1.5 (2013-XX-XX): +New in release 1.5 (2014-XX-XX): * IcedTea-Web now using tagsoup as default (tagsoup dependence) sanitizer for input * JDK older then 1.5 no longer supported * IcedTea-Web is now following XDG .config and .cache specification(RH947647) From jvanek at icedtea.classpath.org Wed Apr 2 09:06:55 2014 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Wed, 02 Apr 2014 09:06:55 +0000 Subject: /hg/icedtea-web: 2 new changesets Message-ID: changeset b4bf6a824004 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=b4bf6a824004 author: Jiri Vanek date: Wed Apr 02 11:02:53 2014 +0200 Added tag icedtea-web-1.5-branchpoint for changeset b73f794d8e3f changeset efc201f92c13 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=efc201f92c13 author: Jiri Vanek date: Wed Apr 02 11:06:45 2014 +0200 configure.ac: bumped (AC_INIT) to 1.6pre diffstat: .hgtags | 1 + ChangeLog | 4 ++++ configure.ac | 2 +- 3 files changed, 6 insertions(+), 1 deletions(-) diffs (28 lines): diff -r b73f794d8e3f -r efc201f92c13 .hgtags --- a/.hgtags Wed Apr 02 10:53:13 2014 +0200 +++ b/.hgtags Wed Apr 02 11:06:45 2014 +0200 @@ -2,3 +2,4 @@ b605505179459c9f2119e4dfde999fc6300e4c87 icedtea-web-1.1-branchpoint 41f03d932cdf040a89d09c5683fcc7dac6fd2003 icedtea-web-1.2-branchpoint 0d6213db4fc7ec58ad8165278f672ed5cc201822 icedtea-web-1.4-branchpoint +b73f794d8e3f05888a11644957be9b58ff3c4b88 icedtea-web-1.5-branchpoint diff -r b73f794d8e3f -r efc201f92c13 ChangeLog --- a/ChangeLog Wed Apr 02 10:53:13 2014 +0200 +++ b/ChangeLog Wed Apr 02 11:06:45 2014 +0200 @@ -1,3 +1,7 @@ +2014-04-02 Jiri Vanek + + * configure.ac: bumped (AC_INIT) to 1.6pre + 2014-04-02 Jiri Vanek * NEWS: Bumped date of 1.5 release to 2014 diff -r b73f794d8e3f -r efc201f92c13 configure.ac --- a/configure.ac Wed Apr 02 10:53:13 2014 +0200 +++ b/configure.ac Wed Apr 02 11:06:45 2014 +0200 @@ -1,4 +1,4 @@ -AC_INIT([icedtea-web],[1.5pre],[distro-pkg-dev at openjdk.java.net], [icedtea-web], [http://icedtea.classpath.org/wiki/IcedTea-Web]) +AC_INIT([icedtea-web],[1.6pre],[distro-pkg-dev at openjdk.java.net], [icedtea-web], [http://icedtea.classpath.org/wiki/IcedTea-Web]) AM_INIT_AUTOMAKE([1.9 tar-pax foreign]) AC_CONFIG_FILES([Makefile netx.manifest]) From jvanek at icedtea.classpath.org Wed Apr 2 09:10:10 2014 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Wed, 02 Apr 2014 09:10:10 +0000 Subject: /hg/release/icedtea-web-1.5: Added tag icedtea-web-1.5-branch fo... Message-ID: changeset c4b277ffab05 in /hg/release/icedtea-web-1.5 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.5?cmd=changeset;node=c4b277ffab05 author: Jiri Vanek date: Wed Apr 02 11:08:45 2014 +0200 Added tag icedtea-web-1.5-branch for changeset b73f794d8e3f diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r b73f794d8e3f -r c4b277ffab05 .hgtags --- a/.hgtags Wed Apr 02 10:53:13 2014 +0200 +++ b/.hgtags Wed Apr 02 11:08:45 2014 +0200 @@ -2,3 +2,4 @@ b605505179459c9f2119e4dfde999fc6300e4c87 icedtea-web-1.1-branchpoint 41f03d932cdf040a89d09c5683fcc7dac6fd2003 icedtea-web-1.2-branchpoint 0d6213db4fc7ec58ad8165278f672ed5cc201822 icedtea-web-1.4-branchpoint +b73f794d8e3f05888a11644957be9b58ff3c4b88 icedtea-web-1.5-branch From jvanek at icedtea.classpath.org Wed Apr 2 09:51:53 2014 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Wed, 02 Apr 2014 09:51:53 +0000 Subject: /hg/release/icedtea-web-1.5: Pre-release tuning Message-ID: changeset 26383febeaff in /hg/release/icedtea-web-1.5 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.5?cmd=changeset;node=26383febeaff author: Jiri Vanek date: Wed Apr 02 11:51:37 2014 +0200 Pre-release tuning number of changests for html-gen set to 223 (since 1.4), today as date of 1.5 , and removed pre from configure.ac diffstat: ChangeLog | 9 ++++++++- Makefile.am | 2 +- NEWS | 2 +- configure.ac | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) diffs (53 lines): diff -r c4b277ffab05 -r 26383febeaff ChangeLog --- a/ChangeLog Wed Apr 02 11:08:45 2014 +0200 +++ b/ChangeLog Wed Apr 02 11:51:37 2014 +0200 @@ -1,8 +1,15 @@ 2014-04-02 Jiri Vanek + Pre-release tuning + * Makefile.am: (netx-html-gen.stamp) set number of changests to 223 (since 1.4) + * NEWS: date of 1.5 set to 201-04-02 + * configure.ac: (AC_INIT) set to use 1.5 + +2014-04-02 Jiri Vanek + * NEWS: Bumped date of 1.5 release to 2014 -2014-04-01 Andrew Azores +2014-04-01 Andrew Azores z Fix Permissions manifest attribute check * netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java: diff -r c4b277ffab05 -r 26383febeaff Makefile.am --- a/Makefile.am Wed Apr 02 11:08:45 2014 +0200 +++ b/Makefile.am Wed Apr 02 11:51:37 2014 +0200 @@ -475,7 +475,7 @@ cp AUTHORS NEWS COPYING ChangeLog html-gen/; \ export HTML_GEN_DEBUG=true; \ bash html-gen.sh; \ - unset HTML_GEN_DEBUG) + unset HTML_GEN_DEBUG 223) ${INSTALL_DATA} $(NETX_SRCDIR)/../html-gen/*.html $(NETX_RESOURCE_DIR) rm -r $(NETX_SRCDIR)/../html-gen/ mkdir -p stamps diff -r c4b277ffab05 -r 26383febeaff NEWS --- a/NEWS Wed Apr 02 11:08:45 2014 +0200 +++ b/NEWS Wed Apr 02 11:51:37 2014 +0200 @@ -8,7 +8,7 @@ CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY -New in release 1.5 (2014-XX-XX): +New in release 1.5 (2014-04-02): * IcedTea-Web now using tagsoup as default (tagsoup dependence) sanitizer for input * JDK older then 1.5 no longer supported * IcedTea-Web is now following XDG .config and .cache specification(RH947647) diff -r c4b277ffab05 -r 26383febeaff configure.ac --- a/configure.ac Wed Apr 02 11:08:45 2014 +0200 +++ b/configure.ac Wed Apr 02 11:51:37 2014 +0200 @@ -1,4 +1,4 @@ -AC_INIT([icedtea-web],[1.5pre],[distro-pkg-dev at openjdk.java.net], [icedtea-web], [http://icedtea.classpath.org/wiki/IcedTea-Web]) +AC_INIT([icedtea-web],[1.5],[distro-pkg-dev at openjdk.java.net], [icedtea-web], [http://icedtea.classpath.org/wiki/IcedTea-Web]) AM_INIT_AUTOMAKE([1.9 tar-pax foreign]) AC_CONFIG_FILES([Makefile netx.manifest]) From jvanek at icedtea.classpath.org Wed Apr 2 09:59:03 2014 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Wed, 02 Apr 2014 09:59:03 +0000 Subject: /hg/icedtea-web: NEWS: Added 1.6 section Message-ID: changeset f2066fcc2550 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=f2066fcc2550 author: Jiri Vanek date: Wed Apr 02 11:58:46 2014 +0200 NEWS: Added 1.6 section diffstat: ChangeLog | 4 ++++ NEWS | 2 ++ 2 files changed, 6 insertions(+), 0 deletions(-) diffs (23 lines): diff -r efc201f92c13 -r f2066fcc2550 ChangeLog --- a/ChangeLog Wed Apr 02 11:06:45 2014 +0200 +++ b/ChangeLog Wed Apr 02 11:58:46 2014 +0200 @@ -1,3 +1,7 @@ +2014-04-02 Jiri Vanek + + * NEWS: Added 1.6 section + 2014-04-02 Jiri Vanek * configure.ac: bumped (AC_INIT) to 1.6pre diff -r efc201f92c13 -r f2066fcc2550 NEWS --- a/NEWS Wed Apr 02 11:06:45 2014 +0200 +++ b/NEWS Wed Apr 02 11:58:46 2014 +0200 @@ -8,6 +8,8 @@ CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY +New in release 1.6 (2014-XX-XX): + New in release 1.5 (2014-XX-XX): * IcedTea-Web now using tagsoup as default (tagsoup dependence) sanitizer for input * JDK older then 1.5 no longer supported From jvanek at icedtea.classpath.org Wed Apr 2 10:10:11 2014 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Wed, 02 Apr 2014 10:10:11 +0000 Subject: /hg/release/icedtea-web-1.5: Changelog: minor fixes Message-ID: changeset 39b42b8c71c1 in /hg/release/icedtea-web-1.5 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.5?cmd=changeset;node=39b42b8c71c1 author: Jiri Vanek date: Wed Apr 02 12:09:59 2014 +0200 Changelog: minor fixes diffstat: ChangeLog | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diffs (20 lines): diff -r 26383febeaff -r 39b42b8c71c1 ChangeLog --- a/ChangeLog Wed Apr 02 11:51:37 2014 +0200 +++ b/ChangeLog Wed Apr 02 12:09:59 2014 +0200 @@ -1,3 +1,7 @@ +2014-04-02 Jiri Vanek + + * Changelog: minor fixes + 2014-04-02 Jiri Vanek Pre-release tuning @@ -9,7 +13,7 @@ * NEWS: Bumped date of 1.5 release to 2014 -2014-04-01 Andrew Azores z +2014-04-01 Andrew Azores Fix Permissions manifest attribute check * netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java: From jvanek at icedtea.classpath.org Wed Apr 2 10:20:45 2014 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Wed, 02 Apr 2014 10:20:45 +0000 Subject: /hg/release/icedtea-web-1.5: Makefile.am: bumped number of chang... Message-ID: changeset d4c3c9f33a1f in /hg/release/icedtea-web-1.5 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.5?cmd=changeset;node=d4c3c9f33a1f author: Jiri Vanek date: Wed Apr 02 12:20:34 2014 +0200 Makefile.am: bumped number of changeset in for about dialog. Fixed placement. diffstat: ChangeLog | 4 ++++ Makefile.am | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diffs (25 lines): diff -r 39b42b8c71c1 -r d4c3c9f33a1f ChangeLog --- a/ChangeLog Wed Apr 02 12:09:59 2014 +0200 +++ b/ChangeLog Wed Apr 02 12:20:34 2014 +0200 @@ -1,3 +1,7 @@ +2014-04-02 Jiri Vanek + + * Makefile.am: bumped number of changeset in for about dialog. Fixed placement. + 2014-04-02 Jiri Vanek * Changelog: minor fixes diff -r 39b42b8c71c1 -r d4c3c9f33a1f Makefile.am --- a/Makefile.am Wed Apr 02 12:09:59 2014 +0200 +++ b/Makefile.am Wed Apr 02 12:20:34 2014 +0200 @@ -474,8 +474,8 @@ mkdir -p html-gen; \ cp AUTHORS NEWS COPYING ChangeLog html-gen/; \ export HTML_GEN_DEBUG=true; \ - bash html-gen.sh; \ - unset HTML_GEN_DEBUG 223) + bash html-gen.sh 225; \ + unset HTML_GEN_DEBUG) ${INSTALL_DATA} $(NETX_SRCDIR)/../html-gen/*.html $(NETX_RESOURCE_DIR) rm -r $(NETX_SRCDIR)/../html-gen/ mkdir -p stamps From jvanek at redhat.com Wed Apr 2 10:26:03 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Wed, 02 Apr 2014 12:26:03 +0200 Subject: Upcoming release of icedtea-web 1.5 In-Reply-To: <533977A6.1040809@redhat.com> References: <5319C1EF.2020801@redhat.com> <533977A6.1040809@redhat.com> Message-ID: <533BE5BB.7050806@redhat.com> On 03/31/2014 04:11 PM, Jiri Vanek wrote: > On 03/07/2014 01:56 PM, Jiri Vanek wrote: >> Hi All! >> >> I would like to announce, that deadline for icedtea-web 1.5 to be released should match start of >> April. 1st April sounds good, doesn't it ?-) But Few days later should be still ok. >> >> Please count with head branch freezing in last week before release - an week for testing - so >> pushes in this week will be only for for translation files and regression fixes. >> According to my knowledge 1.5 is healthy now. Also I'm continually pushing it alive into >> fedora-rawhide. And well, no one complains :) >> >> Also please note I will be off 17-19.3. >> >> The reason for start of April is that 16.4 is Oracle CPU. This my cause another month of delay, >> which would be unbearable. >> >> Thank you for understanding. >> >> >> J > > Hi! Please consider Head as frozen (except patches on review, Release blockers and translations. > Many tests have been done during weekend, and except two regressions we are good to go. > > Cross the fingers for us! > J. Hi All! 1.5 is branched and frozen (waiting fro PL and DE localization) - http://icedtea.classpath.org/hg/release/icedtea-web-1.5 HEAD is open for playing of any kind. I can send rc1 tarball on demand, or you ca just make dist from 1.5. It is as ready to be released as possible. J. From andrew at icedtea.classpath.org Wed Apr 2 12:09:34 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 02 Apr 2014 12:09:34 +0000 Subject: /hg/release/icedtea7-2.5: 2 new changesets Message-ID: changeset b3eb30a2db90 in /hg/release/icedtea7-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-2.5?cmd=changeset;node=b3eb30a2db90 author: Andrew John Hughes date: Wed Apr 02 13:07:09 2014 +0100 Add release notes for 2.3.14 & 2.4.6. 2014-04-02 Andrew John Hughes * NEWS: Add release notes for 2.3.14 & 2.4.6. changeset d6111697298d in /hg/release/icedtea7-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-2.5?cmd=changeset;node=d6111697298d author: Andrew John Hughes date: Wed Apr 02 13:07:21 2014 +0100 Added tag icedtea-2.5-branchpoint for changeset b3eb30a2db90 diffstat: .hgtags | 1 + ChangeLog | 4 + NEWS | 134 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 3 files changed, 127 insertions(+), 12 deletions(-) diffs (208 lines): diff -r 984ebd417db7 -r d6111697298d .hgtags --- a/.hgtags Fri Mar 28 18:22:46 2014 +0000 +++ b/.hgtags Wed Apr 02 13:07:21 2014 +0100 @@ -35,3 +35,4 @@ 2917541bbda4f6745b157f39d7bd39472cae5235 icedtea-2.2-branchpoint 60c41b88775a8043ff4922278eb0e801c330e8fe icedtea-2.3-branchpoint d0b14be8cbf8a705a3bec6cf8828b982405b059c icedtea-2.4-branchpoint +b3eb30a2db9022bf34c51794ebe66f623c359d4c icedtea-2.5-branchpoint diff -r 984ebd417db7 -r d6111697298d ChangeLog --- a/ChangeLog Fri Mar 28 18:22:46 2014 +0000 +++ b/ChangeLog Wed Apr 02 13:07:21 2014 +0100 @@ -1,3 +1,7 @@ +2014-04-02 Andrew John Hughes + + * NEWS: Add release notes for 2.3.14 & 2.4.6. + 2014-03-28 Andrew John Hughes * acinclude.m4: diff -r 984ebd417db7 -r d6111697298d NEWS --- a/NEWS Fri Mar 28 18:22:46 2014 +0000 +++ b/NEWS Wed Apr 02 13:07:21 2014 +0100 @@ -83,7 +83,6 @@ - S8025205: Intermittent test failure: javax/management/remote/mandatory/connection/BrokenConnectionTest.java - S8025206: Intermittent test failure: javax/management/monitor/NullAttributeValueTest.java - S8025207: Intermittent test failure: javax/management/monitor/CounterMonitorThresholdTest.java - - S8025255: (tz) Support tzdata2013g - S8025512: NPE with logging while launching webstart on jre7u40 if logging is disabled - S8025713: Syncing indendation/comment/copyright year differences with upstream projects - S8025775: JNI warnings in TryXShmAttach @@ -130,15 +129,11 @@ * Bug fixes - Fix implicit function declarations - PR1617: Include defs.make in vm.make so zeroshark.make is included - - Add Shark definitions from 8003868 - - Drop compile_method argument removed in 7083786 from sharkCompiler.cpp - Remove binary files and unlicensed generated files - PR1655: Don't add IcedTea-Web jars to bootclasspath - Enable CC_INTERP on ppc64 - Fix Zero following integration of PPC port - PR1660: Allow use of system PCSC - - RH1015432: java-1.7.0-openjdk: Fails on PPC with StackOverflowError (revised fix) - - PR1659: OpenJDK 7 returns incorrect TrueType font metrics when bold style is set - PR1661: Cleanup COMPILE_AGAINST_SYSCALLS option and allow it to be set false - PR1661: Cleanup COMPRESS_JARS option and allow it to be set false - PR1661: Cleanup SYSTEM_CUPS option and allow it to be set false @@ -151,15 +146,11 @@ - PR1661: Cleanup SYSTEM_PCSC option and allow it to be set false - PR1661: Cleanup SYSTEM_PNG option and allow it to be set false - PR1664: Ensure all SYSTEM_* options are in jdk_generic_profile.sh - - Link against $(LIBDL) if SYSTEM_CUPS is not true - Only get CFLAGS/LIBS for libpcsclite if installed - Add lost #endif - Add new files from 8019229 - Remove duplicate ElfFuncDescTable code in elfSymbolTable.cpp - Remove duplicate ElfFuncDescTable code in elfSymbolTable.hpp - - PR1677, G498288: Update PaX support to detect running PaX kernel and use newer tools - - PR1679: Allow OpenJDK to build on PaX-enabled kernels - - PR1684: Build fails with empty PAX_COMMAND - PR1726: configure fails looking for ecj.jar before even trying to find javac * PPC & AIX port - Add AIX-specific build instructions to README-ppc.html @@ -330,7 +321,6 @@ - Propagate HOTSPOT_BUILD_JOBS and PARALLEL_COMPILE_JOBS from the top-level make to the corresponding sub-makes. - Recent changes to ppc files, especially to ppc.ad file. - Recent improvements by SAP. - - Re-enable the 'gamma' test at the end of the HotSpot build, but only for HotSpot based bootstrap JDKs. - Removed unused DL_info declaration in java_md_solinux.c that caused AIX compiler failure - Remove ppc_ prefixes in ppc files. - Remove some unnecessary diffs to Oracle coding. @@ -380,8 +370,6 @@ - Use macosx's BsdVirtualMachine implementation to provide tools/attach on AIX platform. - Use stubs to implement safefetch. - Use the solaris' approach of doing IsXRenderAvailable check for AIX -* ARM port - - PR1626: ARM32 assembler update for hsx24. Use ARM32JIT to turn it on/off. * JamVM - JVM_NewMultiArray: element class may be an array - jtreg test java/lang/reflect/Array/ExceedMaxDim @@ -394,6 +382,128 @@ - Race condition in setting up imethod table - GC: Minor performance improvement +New in release 2.4.6 (2014-03-28): + +* Backports + - S8009062: poor performance of JNI AttachCurrentThread after fix for 7017193 + - S8035893: JVM_GetVersionInfo fails to zero structure + - Re-enable the 'gamma' test at the end of the HotSpot build, but only for HotSpot based bootstrap JDKs. +* Bug fixes + - PR1101: Undefined symbols on GNU/Linux SPARC + - PR1659: OpenJDK 7 returns incorrect TrueType font metrics when bold style is set + - PR1677, G498288: Update PaX support to detect running PaX kernel and use newer tools + - PR1679: Allow OpenJDK to build on PaX-enabled kernels + - PR1684: Build fails with empty PAX_COMMAND + - RH1015432: java-1.7.0-openjdk: Fails on PPC with StackOverflowError (revised fix) + - Link against $(LIBDL) if SYSTEM_CUPS is not true + - Perform configure checks using ecj.jar when --with-gcj (native ecj build) is enabled. +* ARM32 port + - Add arm_port from IcedTea 6 + - Add patches/arm.patch from IcedTea 6 + - Add patches/arm-debug.patch from IcedTea 6 + - Add patches/arm-hsdis.patch from IcedTea 6 + - added jvmti event generation for dynamic_generate and compiled_method_load events to ARM JIT compiler + - Adjust saved SP when safepointing. + - First cut of invokedynamic + - Fix trashed thread ptr after recursive re-entry from asm JIT. + - JIT-compilation of ldc methodHandle + - Rename a bunch of misleadingly-named functions + - Changes for HSX22 + - Rename a bunch of misleadingly-named functions + - Patched method handle adapter code to deal with failures in TCK + - Phase 1 + - Phase 2 + - RTC Thumb2 JIT enhancements. + - Zero fails to build in hsx22+, fix for hsx22 after runs gamma OK, hsx23 still nogo. + - Use ldrexd for atomic reads on ARMv7. + - Use unified syntax for thumb code. + - Corrected call from fast_method_handle_entry to CppInterpreter::method_handle_entry so that thread is loaded into r2 + - Don't save locals at a return. + - Fix call to handle_special_method(). Fix compareAndSwapLong. + - Fix JIT bug that miscompiles org.eclipse.ui.internal.contexts.ContextAuthority.sourceChanged + - invokedynamic and aldc for JIT + - Modified safepoint check to rely on memory protect signal instead of polling + - Minor review cleanups. + - PR1188: ASM Interpreter and Thumb2 JIT javac miscompile modulo reminder on armel + - PR1363: Fedora 19 / rawhide FTBFS SIGILL + - Changes for HSX23 + - Remove fragment from method that has been removed + - Remove C++ flags from CC_COMPILE and fix usage in zeroshark.make. + - Use $(CC) to compile mkbc instead of $(CC_COMPILE) to avoid C++-only flags + - Add note about use of $(CFLAGS)/$(CXXFLAGS)/$(CPPFLAGS) at present. + - Override automatic detection of source language for bytecodes_arm.def + - Include $(CFLAGS) in assembler stage + - PR1626: ARM32 assembler update for hsx24. Use ARM32JIT to turn it on/off. + - Replace literal offsets for METHOD_SIZEOFPARAMETERS and ISTATE_NEXT_FRAME with correct symbolic names. + - Turn ARM32 JIT on by default +* AArch64 port + - PR1713: Support AArch64 Port +* Shark + - Add Shark definitions from 8003868 + - Drop compile_method argument removed in 7083786 from sharkCompiler.cpp + +New in release 2.3.14 (2014-03-28): + +* Security fixes + - S7023639, CVE-2013-5838: JSR 292 method handle invocation needs a fast path for compiled code (JSR292 update only) + - S8029507, CVE-2013-5893: Enhance JVM method processing (JSR292 update only) +* Backports + - S7024118: possible hardcoded mnemonic for JFileChooser metal and motif l&f + - S7032018: The file list in JFileChooser does not have an accessible name + - S7032436: When running with the Nimbus look and feel, the JFileChooser does not display mnemonics + - S7151089: PS NUMA: NUMA allocator should not attempt to free pages when using SHM large pages + - S7192406: JSR 292: C2 needs exact return type information for invokedynamic and invokehandle call sites (JSR292 update only) + - S7196242: vm/mlvm/indy/stress/java/loopsAndThreads crashed (JSR292 update only) + - S7200949: JSR 292: rubybench/bench/time/bench_base64.rb fails with jruby.jar not on boot class path (JSR292 update only) + - S8000780: make Zero build and run with JDK8 (JSR292 update only) + - S8008764: 7uX l10n resource file translation update + - S8009062: poor performance of JNI AttachCurrentThread after fix for 7017193 + - S8013057: assert(_needs_gc || SafepointSynchronize::is_at_safepoint()) failed: only read at safepoint + - S8015976: OpenJDK part of bug JDK-8015812 [TEST_BUG] Tests have conflicting test descriptions + - S8022698: javax/script/GetInterfaceTest.java fails since 7u45 b04 with -agentvm option + - S8023310: Thread contention in the method Beans.IsDesignTime() + - S8024302: Clarify jar verifications + - S8024461: [macosx] Java crashed on mac10.9 for swing and 2d function manual test + - S8025255: (tz) Support tzdata2013g + - S8026037: [TESTBUG] sun/security/tools/jarsigner/warnings.sh test fails on Solaris + - S8026304: jarsigner output bad grammar + - S8026887: Make issues due to failed large pages allocations easier to debug + - S8027204: Revise the update of 8026204 and 8025758 + - S8027224: test regression - ClassNotFoundException + - S8027370: Support tzdata2013h + - S8027378: Two closed/javax/xml/8005432 fails with jdk7u51b04 + - S8027837: JDK-8021257 causes CORBA build failure on emdedded platforms + - S8027943: serial version of com.sun.corba.se.spi.orbutil.proxy.CompositeInvocationHandlerImpl changed in 7u45 + - S8028057: Modify jarsigner man page documentation to document CCC 8024302: Clarify jar verifications + - S8028111: XML readers share the same entity expansion counter + - S8028215: ORB.init fails with SecurityException if properties select the JDK default ORB + - S8028293: Check local configuration for actual ephemeral port range + - S8028382: Two javax/xml/8005433 tests still fail after the fix JDK-8028147 + - S8028453: AsynchronousSocketChannel.connect() requires SocketPermission due to bind to local address (win) + - S8028823: java/net/Makefile tabs converted to spaces + - S8029038: Revise fix for XML readers share the same entity expansion counter + - S8035893: JVM_GetVersionInfo fails to zero structure +* Bug fixes + - Fix broken bootstrap build by updating ecj-multicatch.patch + - PR1626: ARM32 assembler update for hsx24 (JSR292 update only) + - PR1654: ppc32 needs a larger ThreadStackSize to build + - PR1677, G498288: Update PaX support to detect running PaX kernel and use newer tools + - PR1679: Allow OpenJDK to build on PaX-enabled kernels + - PR1684: Build fails with empty PAX_COMMAND + - Re-enable the 'gamma' test at the end of the HotSpot build, but only for HotSpot based bootstrap JDKs. + - RH1015432: java-1.7.0-openjdk: Fails on PPC with StackOverflowError (revised fix) + - RH910107: fail to load PC/SC library + - Perform configure checks using ecj.jar when --with-gcj (native ecj build) is enabled. +* New features + - PR1653: Support ppc64le via Zero +* ARM port + - Allow ARM32 JIT to be disabled + - Replace literal offsets for METHOD_SIZEOFPARAMETERS and ISTATE_NEXT_FRAME with correct symbolic names. + - Turn ARM32 JIT on by default +* Shark + - Add Shark definitions from 8003868 + - Drop compile_method argument removed in 7083786 from sharkCompiler.cpp + New in release 2.4.5 (2014-01-29): * Backports From andrew at icedtea.classpath.org Wed Apr 2 12:11:38 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 02 Apr 2014 12:11:38 +0000 Subject: /hg/icedtea7: 3 new changesets Message-ID: changeset b3eb30a2db90 in /hg/icedtea7 details: http://icedtea.classpath.org/hg/icedtea7?cmd=changeset;node=b3eb30a2db90 author: Andrew John Hughes date: Wed Apr 02 13:07:09 2014 +0100 Add release notes for 2.3.14 & 2.4.6. 2014-04-02 Andrew John Hughes * NEWS: Add release notes for 2.3.14 & 2.4.6. changeset d6111697298d in /hg/icedtea7 details: http://icedtea.classpath.org/hg/icedtea7?cmd=changeset;node=d6111697298d author: Andrew John Hughes date: Wed Apr 02 13:07:21 2014 +0100 Added tag icedtea-2.5-branchpoint for changeset b3eb30a2db90 changeset 94604a055225 in /hg/icedtea7 details: http://icedtea.classpath.org/hg/icedtea7?cmd=changeset;node=94604a055225 author: Andrew John Hughes date: Wed Apr 02 13:11:12 2014 +0100 Start 2.6.0 release cycle. 2014-04-02 Andrew John Hughes * configure.ac: Set to 2.6pre00. * NEWS: Add 2.6.0 section. diffstat: .hgtags | 1 + ChangeLog | 9 +++ NEWS | 136 +++++++++++++++++++++++++++++++++++++++++++++++++++++----- configure.ac | 2 +- 4 files changed, 135 insertions(+), 13 deletions(-) diffs (231 lines): diff -r 984ebd417db7 -r 94604a055225 .hgtags --- a/.hgtags Fri Mar 28 18:22:46 2014 +0000 +++ b/.hgtags Wed Apr 02 13:11:12 2014 +0100 @@ -35,3 +35,4 @@ 2917541bbda4f6745b157f39d7bd39472cae5235 icedtea-2.2-branchpoint 60c41b88775a8043ff4922278eb0e801c330e8fe icedtea-2.3-branchpoint d0b14be8cbf8a705a3bec6cf8828b982405b059c icedtea-2.4-branchpoint +b3eb30a2db9022bf34c51794ebe66f623c359d4c icedtea-2.5-branchpoint diff -r 984ebd417db7 -r 94604a055225 ChangeLog --- a/ChangeLog Fri Mar 28 18:22:46 2014 +0000 +++ b/ChangeLog Wed Apr 02 13:11:12 2014 +0100 @@ -1,3 +1,12 @@ +2014-04-02 Andrew John Hughes + + * configure.ac: Set to 2.6pre00. + * NEWS: Add 2.6.0 section. + +2014-04-02 Andrew John Hughes + + * NEWS: Add release notes for 2.3.14 & 2.4.6. + 2014-03-28 Andrew John Hughes * acinclude.m4: diff -r 984ebd417db7 -r 94604a055225 NEWS --- a/NEWS Fri Mar 28 18:22:46 2014 +0000 +++ b/NEWS Wed Apr 02 13:11:12 2014 +0100 @@ -12,6 +12,8 @@ CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY +New in release 2.6.0 (2014-XX-XX): + New in release 2.5.0 (2014-XX-XX): * OpenJDK @@ -83,7 +85,6 @@ - S8025205: Intermittent test failure: javax/management/remote/mandatory/connection/BrokenConnectionTest.java - S8025206: Intermittent test failure: javax/management/monitor/NullAttributeValueTest.java - S8025207: Intermittent test failure: javax/management/monitor/CounterMonitorThresholdTest.java - - S8025255: (tz) Support tzdata2013g - S8025512: NPE with logging while launching webstart on jre7u40 if logging is disabled - S8025713: Syncing indendation/comment/copyright year differences with upstream projects - S8025775: JNI warnings in TryXShmAttach @@ -130,15 +131,11 @@ * Bug fixes - Fix implicit function declarations - PR1617: Include defs.make in vm.make so zeroshark.make is included - - Add Shark definitions from 8003868 - - Drop compile_method argument removed in 7083786 from sharkCompiler.cpp - Remove binary files and unlicensed generated files - PR1655: Don't add IcedTea-Web jars to bootclasspath - Enable CC_INTERP on ppc64 - Fix Zero following integration of PPC port - PR1660: Allow use of system PCSC - - RH1015432: java-1.7.0-openjdk: Fails on PPC with StackOverflowError (revised fix) - - PR1659: OpenJDK 7 returns incorrect TrueType font metrics when bold style is set - PR1661: Cleanup COMPILE_AGAINST_SYSCALLS option and allow it to be set false - PR1661: Cleanup COMPRESS_JARS option and allow it to be set false - PR1661: Cleanup SYSTEM_CUPS option and allow it to be set false @@ -151,15 +148,11 @@ - PR1661: Cleanup SYSTEM_PCSC option and allow it to be set false - PR1661: Cleanup SYSTEM_PNG option and allow it to be set false - PR1664: Ensure all SYSTEM_* options are in jdk_generic_profile.sh - - Link against $(LIBDL) if SYSTEM_CUPS is not true - Only get CFLAGS/LIBS for libpcsclite if installed - Add lost #endif - Add new files from 8019229 - Remove duplicate ElfFuncDescTable code in elfSymbolTable.cpp - Remove duplicate ElfFuncDescTable code in elfSymbolTable.hpp - - PR1677, G498288: Update PaX support to detect running PaX kernel and use newer tools - - PR1679: Allow OpenJDK to build on PaX-enabled kernels - - PR1684: Build fails with empty PAX_COMMAND - PR1726: configure fails looking for ecj.jar before even trying to find javac * PPC & AIX port - Add AIX-specific build instructions to README-ppc.html @@ -330,7 +323,6 @@ - Propagate HOTSPOT_BUILD_JOBS and PARALLEL_COMPILE_JOBS from the top-level make to the corresponding sub-makes. - Recent changes to ppc files, especially to ppc.ad file. - Recent improvements by SAP. - - Re-enable the 'gamma' test at the end of the HotSpot build, but only for HotSpot based bootstrap JDKs. - Removed unused DL_info declaration in java_md_solinux.c that caused AIX compiler failure - Remove ppc_ prefixes in ppc files. - Remove some unnecessary diffs to Oracle coding. @@ -380,8 +372,6 @@ - Use macosx's BsdVirtualMachine implementation to provide tools/attach on AIX platform. - Use stubs to implement safefetch. - Use the solaris' approach of doing IsXRenderAvailable check for AIX -* ARM port - - PR1626: ARM32 assembler update for hsx24. Use ARM32JIT to turn it on/off. * JamVM - JVM_NewMultiArray: element class may be an array - jtreg test java/lang/reflect/Array/ExceedMaxDim @@ -394,6 +384,128 @@ - Race condition in setting up imethod table - GC: Minor performance improvement +New in release 2.4.6 (2014-03-28): + +* Backports + - S8009062: poor performance of JNI AttachCurrentThread after fix for 7017193 + - S8035893: JVM_GetVersionInfo fails to zero structure + - Re-enable the 'gamma' test at the end of the HotSpot build, but only for HotSpot based bootstrap JDKs. +* Bug fixes + - PR1101: Undefined symbols on GNU/Linux SPARC + - PR1659: OpenJDK 7 returns incorrect TrueType font metrics when bold style is set + - PR1677, G498288: Update PaX support to detect running PaX kernel and use newer tools + - PR1679: Allow OpenJDK to build on PaX-enabled kernels + - PR1684: Build fails with empty PAX_COMMAND + - RH1015432: java-1.7.0-openjdk: Fails on PPC with StackOverflowError (revised fix) + - Link against $(LIBDL) if SYSTEM_CUPS is not true + - Perform configure checks using ecj.jar when --with-gcj (native ecj build) is enabled. +* ARM32 port + - Add arm_port from IcedTea 6 + - Add patches/arm.patch from IcedTea 6 + - Add patches/arm-debug.patch from IcedTea 6 + - Add patches/arm-hsdis.patch from IcedTea 6 + - added jvmti event generation for dynamic_generate and compiled_method_load events to ARM JIT compiler + - Adjust saved SP when safepointing. + - First cut of invokedynamic + - Fix trashed thread ptr after recursive re-entry from asm JIT. + - JIT-compilation of ldc methodHandle + - Rename a bunch of misleadingly-named functions + - Changes for HSX22 + - Rename a bunch of misleadingly-named functions + - Patched method handle adapter code to deal with failures in TCK + - Phase 1 + - Phase 2 + - RTC Thumb2 JIT enhancements. + - Zero fails to build in hsx22+, fix for hsx22 after runs gamma OK, hsx23 still nogo. + - Use ldrexd for atomic reads on ARMv7. + - Use unified syntax for thumb code. + - Corrected call from fast_method_handle_entry to CppInterpreter::method_handle_entry so that thread is loaded into r2 + - Don't save locals at a return. + - Fix call to handle_special_method(). Fix compareAndSwapLong. + - Fix JIT bug that miscompiles org.eclipse.ui.internal.contexts.ContextAuthority.sourceChanged + - invokedynamic and aldc for JIT + - Modified safepoint check to rely on memory protect signal instead of polling + - Minor review cleanups. + - PR1188: ASM Interpreter and Thumb2 JIT javac miscompile modulo reminder on armel + - PR1363: Fedora 19 / rawhide FTBFS SIGILL + - Changes for HSX23 + - Remove fragment from method that has been removed + - Remove C++ flags from CC_COMPILE and fix usage in zeroshark.make. + - Use $(CC) to compile mkbc instead of $(CC_COMPILE) to avoid C++-only flags + - Add note about use of $(CFLAGS)/$(CXXFLAGS)/$(CPPFLAGS) at present. + - Override automatic detection of source language for bytecodes_arm.def + - Include $(CFLAGS) in assembler stage + - PR1626: ARM32 assembler update for hsx24. Use ARM32JIT to turn it on/off. + - Replace literal offsets for METHOD_SIZEOFPARAMETERS and ISTATE_NEXT_FRAME with correct symbolic names. + - Turn ARM32 JIT on by default +* AArch64 port + - PR1713: Support AArch64 Port +* Shark + - Add Shark definitions from 8003868 + - Drop compile_method argument removed in 7083786 from sharkCompiler.cpp + +New in release 2.3.14 (2014-03-28): + +* Security fixes + - S7023639, CVE-2013-5838: JSR 292 method handle invocation needs a fast path for compiled code (JSR292 update only) + - S8029507, CVE-2013-5893: Enhance JVM method processing (JSR292 update only) +* Backports + - S7024118: possible hardcoded mnemonic for JFileChooser metal and motif l&f + - S7032018: The file list in JFileChooser does not have an accessible name + - S7032436: When running with the Nimbus look and feel, the JFileChooser does not display mnemonics + - S7151089: PS NUMA: NUMA allocator should not attempt to free pages when using SHM large pages + - S7192406: JSR 292: C2 needs exact return type information for invokedynamic and invokehandle call sites (JSR292 update only) + - S7196242: vm/mlvm/indy/stress/java/loopsAndThreads crashed (JSR292 update only) + - S7200949: JSR 292: rubybench/bench/time/bench_base64.rb fails with jruby.jar not on boot class path (JSR292 update only) + - S8000780: make Zero build and run with JDK8 (JSR292 update only) + - S8008764: 7uX l10n resource file translation update + - S8009062: poor performance of JNI AttachCurrentThread after fix for 7017193 + - S8013057: assert(_needs_gc || SafepointSynchronize::is_at_safepoint()) failed: only read at safepoint + - S8015976: OpenJDK part of bug JDK-8015812 [TEST_BUG] Tests have conflicting test descriptions + - S8022698: javax/script/GetInterfaceTest.java fails since 7u45 b04 with -agentvm option + - S8023310: Thread contention in the method Beans.IsDesignTime() + - S8024302: Clarify jar verifications + - S8024461: [macosx] Java crashed on mac10.9 for swing and 2d function manual test + - S8025255: (tz) Support tzdata2013g + - S8026037: [TESTBUG] sun/security/tools/jarsigner/warnings.sh test fails on Solaris + - S8026304: jarsigner output bad grammar + - S8026887: Make issues due to failed large pages allocations easier to debug + - S8027204: Revise the update of 8026204 and 8025758 + - S8027224: test regression - ClassNotFoundException + - S8027370: Support tzdata2013h + - S8027378: Two closed/javax/xml/8005432 fails with jdk7u51b04 + - S8027837: JDK-8021257 causes CORBA build failure on emdedded platforms + - S8027943: serial version of com.sun.corba.se.spi.orbutil.proxy.CompositeInvocationHandlerImpl changed in 7u45 + - S8028057: Modify jarsigner man page documentation to document CCC 8024302: Clarify jar verifications + - S8028111: XML readers share the same entity expansion counter + - S8028215: ORB.init fails with SecurityException if properties select the JDK default ORB + - S8028293: Check local configuration for actual ephemeral port range + - S8028382: Two javax/xml/8005433 tests still fail after the fix JDK-8028147 + - S8028453: AsynchronousSocketChannel.connect() requires SocketPermission due to bind to local address (win) + - S8028823: java/net/Makefile tabs converted to spaces + - S8029038: Revise fix for XML readers share the same entity expansion counter + - S8035893: JVM_GetVersionInfo fails to zero structure +* Bug fixes + - Fix broken bootstrap build by updating ecj-multicatch.patch + - PR1626: ARM32 assembler update for hsx24 (JSR292 update only) + - PR1654: ppc32 needs a larger ThreadStackSize to build + - PR1677, G498288: Update PaX support to detect running PaX kernel and use newer tools + - PR1679: Allow OpenJDK to build on PaX-enabled kernels + - PR1684: Build fails with empty PAX_COMMAND + - Re-enable the 'gamma' test at the end of the HotSpot build, but only for HotSpot based bootstrap JDKs. + - RH1015432: java-1.7.0-openjdk: Fails on PPC with StackOverflowError (revised fix) + - RH910107: fail to load PC/SC library + - Perform configure checks using ecj.jar when --with-gcj (native ecj build) is enabled. +* New features + - PR1653: Support ppc64le via Zero +* ARM port + - Allow ARM32 JIT to be disabled + - Replace literal offsets for METHOD_SIZEOFPARAMETERS and ISTATE_NEXT_FRAME with correct symbolic names. + - Turn ARM32 JIT on by default +* Shark + - Add Shark definitions from 8003868 + - Drop compile_method argument removed in 7083786 from sharkCompiler.cpp + New in release 2.4.5 (2014-01-29): * Backports diff -r 984ebd417db7 -r 94604a055225 configure.ac --- a/configure.ac Fri Mar 28 18:22:46 2014 +0000 +++ b/configure.ac Wed Apr 02 13:11:12 2014 +0100 @@ -1,4 +1,4 @@ -AC_INIT([icedtea], [2.5pre02], [distro-pkg-dev at openjdk.java.net]) +AC_INIT([icedtea], [2.6pre00], [distro-pkg-dev at openjdk.java.net]) AM_INIT_AUTOMAKE([1.9 tar-pax foreign]) AC_CONFIG_FILES([Makefile]) From omajid at redhat.com Wed Apr 2 14:51:40 2014 From: omajid at redhat.com (Omair Majid) Date: Wed, 2 Apr 2014 10:51:40 -0400 Subject: [icedtea-web] RFC: Clean up some code in ClasspathMatcher Message-ID: <20140402145140.GA10338@redhat.com> Hi, The attached patch renames a method in ClasspathMatcher to better reflect what the method does. Okay for HEAD? Thanks, Omair -- PGP Key: 66484681 (http://pgp.mit.edu/) Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681 -------------- next part -------------- diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2014-04-02 Omair Majid + + * netx/net/sourceforge/jnlp/util/ClasspathMatcher.java + (quote): Rename to .. + (convertWildcardToRegEx): New method. Adjust all callers. + 2014-04-02 Jiri Vanek * NEWS: Added 1.6 section diff --git a/netx/net/sourceforge/jnlp/util/ClasspathMatcher.java b/netx/net/sourceforge/jnlp/util/ClasspathMatcher.java --- a/netx/net/sourceforge/jnlp/util/ClasspathMatcher.java +++ b/netx/net/sourceforge/jnlp/util/ClasspathMatcher.java @@ -152,7 +152,7 @@ //this is handling case, when *.abc.xy //should match also abc.xy except whatever.abc.xz //but NOT whatewerabc.xy - pre = "(" + quote(domain.substring(2)) + ")|("; + pre = "(" + convertWildcardToRegEx(domain.substring(2)) + ")|("; post = ")"; } return Pattern.compile(pre + ClasspathMatcher.sourceToRegExString(domain) + post); @@ -320,17 +320,10 @@ if (s.equals("*")) { return ".*"; } - return quote(s); + return convertWildcardToRegEx(s); } - private static String quote(String s) { - /* - * coment for lazybones: - * Pattern.quote - all characters in citation are threated as are without any special meaning - * Citation is based on \Q and \E marks wwith escapped inner \Q and \E - * ^ is start of th e line - * $ is end of the line - */ + private static String convertWildcardToRegEx(String s) { if (s.startsWith("*") && s.endsWith("*")) { return "^.*" + Pattern.quote(s.substring(1, s.length() - 1)) + ".*$"; } else if (s.endsWith("*")) { From omajid at redhat.com Wed Apr 2 14:54:06 2014 From: omajid at redhat.com (Omair Majid) Date: Wed, 2 Apr 2014 10:54:06 -0400 Subject: [icedtea-web] FYI: Fix typo in my email address Message-ID: <20140402145405.GB10338@redhat.com> Hi, The attached patch fixes some typos in my email address. I will push this shortly to HEAD. Thanks, Omair -- PGP Key: 66484681 (http://pgp.mit.edu/) Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681 -------------- next part -------------- diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1914,7 +1914,7 @@ * netx/net/sourceforge/jnlp/security/SecurityDialog.java: (initDialog) centerDialog called in init rather than on windowOpened event -2013-10-09 Omair Majid +2013-10-09 Omair Majid * plugin/icedteanp/java/sun/applet/PluginProxySelector.java (computeKey): New method. @@ -2189,7 +2189,7 @@ (testHttpFallsBackToManualSocksProxy): New method. (testManualSameProxy): Remove test for socket protocol. -2013-09-23 Omair Majid +2013-09-23 Omair Majid * netx/net/sourceforge/jnlp/browser/BrowserAwareProxySelector.java (BrowserAwareProxySelector): Rename to... From jvanek at redhat.com Wed Apr 2 14:59:52 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Wed, 02 Apr 2014 16:59:52 +0200 Subject: [icedtea-web] RFC: Clean up some code in ClasspathMatcher In-Reply-To: <20140402145140.GA10338@redhat.com> References: <20140402145140.GA10338@redhat.com> Message-ID: <533C25E8.3080205@redhat.com> On 04/02/2014 04:51 PM, Omair Majid wrote: > Hi, > > The attached patch renames a method in ClasspathMatcher to better > reflect what the method does. > > Okay for HEAD? > > Thanks, > Omair > If you really insists - then converToRegEx would be even more suitable, or not? The method is not quoting or just chnaging wildcards * to .*, It is doing both :) Also why to remove the comment? Andrew asked me for it explicitly when I wrote those peaces. So I think more people may be confused in future. Maybe at least add link to pattern documentation? J. From andrew at icedtea.classpath.org Wed Apr 2 15:18:10 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 02 Apr 2014 15:18:10 +0000 Subject: /hg/icedtea6: Add 1.13.2 release notes. Message-ID: changeset 1c40103f425f in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=1c40103f425f author: Andrew John Hughes date: Wed Apr 02 16:17:56 2014 +0100 Add 1.13.2 release notes. 2014-04-02 Andrew John Hughes * NEWS: Add 1.13.2 release notes. diffstat: ChangeLog | 4 ++++ NEWS | 10 +++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diffs (36 lines): diff -r 03d11116ab06 -r 1c40103f425f ChangeLog --- a/ChangeLog Tue Mar 25 23:24:47 2014 +0000 +++ b/ChangeLog Wed Apr 02 16:17:56 2014 +0100 @@ -1,3 +1,7 @@ +2014-04-02 Andrew John Hughes + + * NEWS: Add 1.13.2 release notes. + 2014-03-25 Andrew John Hughes * Makefile.am: diff -r 03d11116ab06 -r 1c40103f425f NEWS --- a/NEWS Tue Mar 25 23:24:47 2014 +0000 +++ b/NEWS Wed Apr 02 16:17:56 2014 +0100 @@ -15,14 +15,18 @@ New in release 1.14.0 (201X-XX-XX): * Backports - - S7110396: Sound code fails to build with gcc 4.6 on multiarch Linux systems - S7151089: PS NUMA: NUMA allocator should not attempt to free pages when using SHM large pages - S8013057: Detect mmap() commit failures in Linux and Solaris os::commit_memory() impls and call vm_exit_out_of_memory() - S8026887: Make issues due to failed large pages allocations easier to debug + +New in release 1.13.2 (2014-03-28): + +* Backports + - S7110396: Sound code fails to build with gcc 4.6 on multiarch Linux systems - S8035893: JVM_GetVersionInfo fails to zero structure - - OPENJDK6-29: JDK fails to zero jdk_version_info correctly + - OJ29: JDK fails to zero jdk_version_info correctly * Bug fixes - - PR1714: Update PaX support to detect running PaX kernel and use newer tools + - PR1714, G498288: Update PaX support to detect running PaX kernel and use newer tools - PR1712, G455426: Allow -Werror to be turned off in the HotSpot build New in release 1.11.15 (2014-01-21): From bugzilla-daemon at icedtea.classpath.org Wed Apr 2 15:19:44 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 02 Apr 2014 15:19:44 +0000 Subject: [Bug 1714] [IcedTea6] Update PaX support to detect running PaX kernel and use newer tools In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1714 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Andrew John Hughes --- Released in 1.13.2: http://bit.ly/1f0BhnC -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 2 15:20:48 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 02 Apr 2014 15:20:48 +0000 Subject: [Bug 1714] [IcedTea6] Update PaX support to detect running PaX kernel and use newer tools In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1714 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://bugs.gentoo.org/sho | |w_bug.cgi?id=498288 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 2 15:22:21 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 02 Apr 2014 15:22:21 +0000 Subject: [Bug 1503] [TRACKER] IcedTea6 1.14 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1503 Bug 1503 depends on bug 1712, which changed state. Bug 1712 Summary: [IcedTea6] Allow -Werror to be turned off in the HotSpot build http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1712 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 2 15:22:19 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 02 Apr 2014 15:22:19 +0000 Subject: [Bug 1712] [IcedTea6] Allow -Werror to be turned off in the HotSpot build In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1712 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Andrew John Hughes --- Released in 1.13.2: http://bit.ly/1f0BhnC -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 2 15:23:00 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 02 Apr 2014 15:23:00 +0000 Subject: [Bug 1503] [TRACKER] IcedTea6 1.14 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1503 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|1712 | --- Comment #1 from Andrew John Hughes --- PR1712 fixed in 1.13.2 instead. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 2 15:23:00 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 02 Apr 2014 15:23:00 +0000 Subject: [Bug 1712] [IcedTea6] Allow -Werror to be turned off in the HotSpot build In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1712 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|1503 | -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 2 15:24:37 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 02 Apr 2014 15:24:37 +0000 Subject: [Bug 1659] [IcedTea7] OpenJDK 7 returns incorrect TrueType font metrics when bold style is set In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1659 --- Comment #7 from Andrew John Hughes --- Released in 2.4.6: http://bit.ly/1rKqaoa -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 2 15:27:24 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 02 Apr 2014 15:27:24 +0000 Subject: [Bug 1677] [IcedTea7] Update PaX support to detect running PaX kernel and use newer tools In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1677 --- Comment #6 from Andrew John Hughes --- Fixed in 2.3.14 & 2.4.6: http://bit.ly/1rKqaoa -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 2 15:35:08 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 02 Apr 2014 15:35:08 +0000 Subject: [Bug 1679] [IcedTea7] Allow OpenJDK to build on PaX-enabled kernels In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1679 --- Comment #13 from Andrew John Hughes --- Fixed in 2.3.14 & 2.4.6: http://bit.ly/1rKqaoa -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 2 15:35:58 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 02 Apr 2014 15:35:58 +0000 Subject: [Bug 1684] [IcedTea7] Build fails with empty PAX_COMMAND In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1684 --- Comment #4 from Andrew John Hughes --- Fixed in 2.3.14 & 2.4.6: http://bit.ly/1rKqaoa -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 2 15:44:03 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 02 Apr 2014 15:44:03 +0000 Subject: [Bug 1626] icedtea7-zero fails to build on ARM In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1626 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.5.0 |2.4.6 --- Comment #6 from Andrew John Hughes --- Fixed in 2.4.6: http://bit.ly/1rKqaoa -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 2 15:45:01 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 02 Apr 2014 15:45:01 +0000 Subject: [Bug 1713] [IcedTea7] Support AArch64 Port In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1713 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |2.4.6 --- Comment #6 from Andrew John Hughes --- Fixed in 2.4.6: http://bit.ly/1rKqaoa -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 2 15:46:14 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 02 Apr 2014 15:46:14 +0000 Subject: [Bug 1653] [IcedTea7] Support ppc64le via Zero In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1653 --- Comment #14 from Andrew John Hughes --- Fixed in 2.3.14: http://bit.ly/1rKqaoa -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From doko at ubuntu.com Wed Apr 2 16:03:06 2014 From: doko at ubuntu.com (Matthias Klose) Date: Wed, 02 Apr 2014 18:03:06 +0200 Subject: Upcoming release of icedtea-web 1.5 In-Reply-To: <533BE5BB.7050806@redhat.com> References: <5319C1EF.2020801@redhat.com> <533977A6.1040809@redhat.com> <533BE5BB.7050806@redhat.com> Message-ID: <533C34BA.6040305@ubuntu.com> Please can we add AM_MAINTAINER_MODE to configure.ac, with either default? Matthias Am 02.04.2014 12:26, schrieb Jiri Vanek: > On 03/31/2014 04:11 PM, Jiri Vanek wrote: >> On 03/07/2014 01:56 PM, Jiri Vanek wrote: >>> Hi All! >>> >>> I would like to announce, that deadline for icedtea-web 1.5 to be released >>> should match start of >>> April. 1st April sounds good, doesn't it ?-) But Few days later should be >>> still ok. >>> >>> Please count with head branch freezing in last week before release - an >>> week for testing - so >>> pushes in this week will be only for for translation files and regression >>> fixes. >>> According to my knowledge 1.5 is healthy now. Also I'm continually pushing >>> it alive into >>> fedora-rawhide. And well, no one complains :) >>> >>> Also please note I will be off 17-19.3. >>> >>> The reason for start of April is that 16.4 is Oracle CPU. This my cause >>> another month of delay, >>> which would be unbearable. >>> >>> Thank you for understanding. >>> >>> >>> J >> >> Hi! Please consider Head as frozen (except patches on review, Release blockers >> and translations. >> Many tests have been done during weekend, and except two regressions we are >> good to go. >> >> Cross the fingers for us! >> J. > Hi All! > > 1.5 is branched and frozen (waiting fro PL and DE localization) - > http://icedtea.classpath.org/hg/release/icedtea-web-1.5 > > HEAD is open for playing of any kind. > > I can send rc1 tarball on demand, or you ca just make dist from 1.5. It is as > ready to be released as possible. > > J. From jvanek at redhat.com Wed Apr 2 16:08:35 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Wed, 02 Apr 2014 18:08:35 +0200 Subject: Upcoming release of icedtea-web 1.5 In-Reply-To: <533C34BA.6040305@ubuntu.com> References: <5319C1EF.2020801@redhat.com> <533977A6.1040809@redhat.com> <533BE5BB.7050806@redhat.com> <533C34BA.6040305@ubuntu.com> Message-ID: <533C3603.9010703@redhat.com> On 04/02/2014 06:03 PM, Matthias Klose wrote: > Please can we add AM_MAINTAINER_MODE to configure.ac, with either default? > After reading http://www.gnu.org/software/automake/manual/html_node/maintainer_002dmode.html I'm not so sure? Whatare you needing it for? Also - although minor - this is build chnage. Do you insists on inclusion to 1.5? J. > Matthias > > Am 02.04.2014 12:26, schrieb Jiri Vanek: >> On 03/31/2014 04:11 PM, Jiri Vanek wrote: >>> On 03/07/2014 01:56 PM, Jiri Vanek wrote: >>>> Hi All! >>>> >>>> I would like to announce, that deadline for icedtea-web 1.5 to be released >>>> should match start of >>>> April. 1st April sounds good, doesn't it ?-) But Few days later should be >>>> still ok. >>>> >>>> Please count with head branch freezing in last week before release - an >>>> week for testing - so >>>> pushes in this week will be only for for translation files and regression >>>> fixes. >>>> According to my knowledge 1.5 is healthy now. Also I'm continually pushing >>>> it alive into >>>> fedora-rawhide. And well, no one complains :) >>>> >>>> Also please note I will be off 17-19.3. >>>> >>>> The reason for start of April is that 16.4 is Oracle CPU. This my cause >>>> another month of delay, >>>> which would be unbearable. >>>> >>>> Thank you for understanding. >>>> >>>> >>>> J >>> >>> Hi! Please consider Head as frozen (except patches on review, Release blockers >>> and translations. >>> Many tests have been done during weekend, and except two regressions we are >>> good to go. >>> >>> Cross the fingers for us! >>> J. >> Hi All! >> >> 1.5 is branched and frozen (waiting fro PL and DE localization) - >> http://icedtea.classpath.org/hg/release/icedtea-web-1.5 >> >> HEAD is open for playing of any kind. >> >> I can send rc1 tarball on demand, or you ca just make dist from 1.5. It is as >> ready to be released as possible. >> >> J. > From omajid at redhat.com Wed Apr 2 16:17:20 2014 From: omajid at redhat.com (Omair Majid) Date: Wed, 2 Apr 2014 12:17:20 -0400 Subject: [icedtea-web] RFC: Clean up some code in ClasspathMatcher In-Reply-To: <533C25E8.3080205@redhat.com> References: <20140402145140.GA10338@redhat.com> <533C25E8.3080205@redhat.com> Message-ID: <20140402161719.GE10338@redhat.com> * Jiri Vanek [2014-04-02 11:02]: > On 04/02/2014 04:51 PM, Omair Majid wrote: > >The attached patch renames a method in ClasspathMatcher to better > >reflect what the method does. > > If you really insists - then converToRegEx would be even more > suitable, or not? The method is not quoting or just chnaging > wildcards * to .*, It is doing both :) How about convertWildcardPatternToRegEx? I want to make it clear that if you pass a non-wildcard pattern to this function, you are on your own. The conversion of '*' to equivalent regex and quoting everything else is part of the overall conversion. It can't convert without quoting, but how it quotes is an implementation detail. > Also why to remove the comment? Andrew asked me for it explicitly > when I wrote those peaces. So I think more people may be confused in > future. Maybe at least add link to pattern documentation? Let's break the comment down line-by-line. * coment for lazybones: There is a typo here, and it calls the reader lazy. It doesn't provide any information. There is not benefit of keeping this. So this line can be safely removed. * Pattern.quote - all characters in citation are threated as are without any special meaning Again, typo. I don't understand 'citation' either. Maybe you meant 'escape' or 'quote'? But Pattern.quote is pretty much as explanatory as 'escape'. The comment also describes the description of the Pattern.quote method. The javadocs of Pattern.quote do a better job describing what it does. * Citation is based on \Q and \E marks wwith escapped inner \Q and \E This line talks about \Q and \E. This is history and doesn't reflect the current code at all. The history is stored in version control and I don't see the point of adding historical context that isn't really relevant any more to the current code. * ^ is start of th e line * $ is end of the line These lines describe some of the simplest the regular expression characters. Wouldn't be safe to assume the developer knows what a regular expression is, or failing that, can look it up? Does it make sense to document all the other regular expressions we are using in icedtea-web too? IMHO, the comment is adding no benefit at all. Thanks, Omair -- PGP Key: 66484681 (http://pgp.mit.edu/) Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681 From doko at ubuntu.com Wed Apr 2 16:29:59 2014 From: doko at ubuntu.com (Matthias Klose) Date: Wed, 02 Apr 2014 18:29:59 +0200 Subject: Upcoming release of icedtea-web 1.5 In-Reply-To: <533C3603.9010703@redhat.com> References: <5319C1EF.2020801@redhat.com> <533977A6.1040809@redhat.com> <533BE5BB.7050806@redhat.com> <533C34BA.6040305@ubuntu.com> <533C3603.9010703@redhat.com> Message-ID: <533C3B07.9030402@ubuntu.com> Am 02.04.2014 18:08, schrieb Jiri Vanek: > On 04/02/2014 06:03 PM, Matthias Klose wrote: >> Please can we add AM_MAINTAINER_MODE to configure.ac, with either default? >> > > After reading > http://www.gnu.org/software/automake/manual/html_node/maintainer_002dmode.html > > I'm not so sure? Whatare you needing it for? Also - although minor - this is > build chnage. Do you insists on inclusion to 1.5? Note that AM_MAINTAINER_MODE(disable) has the same behaviour as not including the macro. It only gives the package builder the option to turn it on or off. I don't insist on 1.5, neither do I insist which default you choose. Matthias From gitne at gmx.de Wed Apr 2 16:22:02 2014 From: gitne at gmx.de (Jacob Wisor) Date: Wed, 02 Apr 2014 18:22:02 +0200 Subject: Upcoming release of icedtea-web 1.5 In-Reply-To: <533C34BA.6040305@ubuntu.com> References: <5319C1EF.2020801@redhat.com> <533977A6.1040809@redhat.com> <533BE5BB.7050806@redhat.com> <533C34BA.6040305@ubuntu.com> Message-ID: <533C392A.3040809@gmx.de> On 04/02/2014 06:03 PM, Matthias Klose wrote: > Please can we add AM_MAINTAINER_MODE to configure.ac, with either default? To be honest, I don't care because I use my own ant based build project. :) It's such a great relief compared to that ugly and messy autotools c..p! :D Jacob From omajid at redhat.com Wed Apr 2 16:36:03 2014 From: omajid at redhat.com (Omair Majid) Date: Wed, 2 Apr 2014 12:36:03 -0400 Subject: Upcoming release of icedtea-web 1.5 In-Reply-To: <533C3B07.9030402@ubuntu.com> References: <5319C1EF.2020801@redhat.com> <533977A6.1040809@redhat.com> <533BE5BB.7050806@redhat.com> <533C34BA.6040305@ubuntu.com> <533C3603.9010703@redhat.com> <533C3B07.9030402@ubuntu.com> Message-ID: <20140402163601.GF10338@redhat.com> * Matthias Klose [2014-04-02 12:32]: > Note that AM_MAINTAINER_MODE(disable) has the same behaviour as not > including the macro. It only gives the package builder the option > to turn it on or off. You mean AM_MAINTAINER_MODE([enable]), right? Thanks, Omair -- PGP Key: 66484681 (http://pgp.mit.edu/) Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681 From jvanek at redhat.com Wed Apr 2 16:48:46 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Wed, 02 Apr 2014 18:48:46 +0200 Subject: Upcoming release of icedtea-web 1.5 In-Reply-To: <20140402163601.GF10338@redhat.com> References: <5319C1EF.2020801@redhat.com> <533977A6.1040809@redhat.com> <533BE5BB.7050806@redhat.com> <533C34BA.6040305@ubuntu.com> <533C3603.9010703@redhat.com> <533C3B07.9030402@ubuntu.com> <20140402163601.GF10338@redhat.com> Message-ID: <533C3F6E.1060907@redhat.com> On 04/02/2014 06:36 PM, Omair Majid wrote: > * Matthias Klose [2014-04-02 12:32]: >> Note that AM_MAINTAINER_MODE(disable) has the same behaviour as not >> including the macro. It only gives the package builder the option >> to turn it on or off. > > You mean AM_MAINTAINER_MODE([enable]), right? Plain AM_MAINTAINER_MODE should be enough, And the default should bne disabled, or not? J. From jvanek at redhat.com Wed Apr 2 16:53:49 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Wed, 02 Apr 2014 18:53:49 +0200 Subject: [icedtea-web] RFC: Clean up some code in ClasspathMatcher In-Reply-To: <20140402161719.GE10338@redhat.com> References: <20140402145140.GA10338@redhat.com> <533C25E8.3080205@redhat.com> <20140402161719.GE10338@redhat.com> Message-ID: <533C409D.2070409@redhat.com> On 04/02/2014 06:17 PM, Omair Majid wrote: > * Jiri Vanek [2014-04-02 11:02]: >> On 04/02/2014 04:51 PM, Omair Majid wrote: >>> The attached patch renames a method in ClasspathMatcher to better >>> reflect what the method does. >> >> If you really insists - then converToRegEx would be even more >> suitable, or not? The method is not quoting or just chnaging >> wildcards * to .*, It is doing both :) > > How about convertWildcardPatternToRegEx? I want to make it clear that > if you pass a non-wildcard pattern to this function, you are on your > own. If there are no wildcards, thenit is quoted as follows., return "^" + Pattern.quote(s) + "$"; The result IS java regexWhat am I missing? > > The conversion of '*' to equivalent regex and quoting everything else is > part of the overall conversion. It can't convert without quoting, but > how it quotes is an implementation detail. > >> Also why to remove the comment? Andrew asked me for it explicitly >> when I wrote those peaces. So I think more people may be confused in >> future. Maybe at least add link to pattern documentation? > > Let's break the comment down line-by-line. > > * coment for lazybones: Oh yah, to much private for Andrew:( Sorry! > > There is a typo here, and it calls the reader lazy. It doesn't provide > any information. There is not benefit of keeping this. So this line can > be safely removed. > > * Pattern.quote - all characters in citation are threated as are without any special meaning > > Again, typo. I don't understand 'citation' either. Maybe you meant > 'escape' or 'quote'? But Pattern.quote is pretty much as explanatory as > 'escape'. > > The comment also describes the description of the Pattern.quote method. > The javadocs of Pattern.quote do a better job describing what it does. > > * Citation is based on \Q and \E marks wwith escapped inner \Q and \E > > This line talks about \Q and \E. This is history and doesn't reflect the > current code at all. The history is stored in version control and I > don't see the point of adding historical context that isn't really > relevant any more to the current code. > > * ^ is start of th e line > * $ is end of the line > > These lines describe some of the simplest the regular expression > characters. Wouldn't be safe to assume the developer knows what a > regular expression is, or failing that, can look it up? Does it make > sense to document all the other regular expressions we are using in > icedtea-web too? > > IMHO, the comment is adding no benefit at all. Well thats crushing :) Ok then with comment. Well do as you wish with the name to. Ok to push in any of three suggested forms. J. From omajid at redhat.com Wed Apr 2 16:55:32 2014 From: omajid at redhat.com (Omair Majid) Date: Wed, 2 Apr 2014 12:55:32 -0400 Subject: Upcoming release of icedtea-web 1.5 In-Reply-To: <533C3F6E.1060907@redhat.com> References: <5319C1EF.2020801@redhat.com> <533977A6.1040809@redhat.com> <533BE5BB.7050806@redhat.com> <533C34BA.6040305@ubuntu.com> <533C3603.9010703@redhat.com> <533C3B07.9030402@ubuntu.com> <20140402163601.GF10338@redhat.com> <533C3F6E.1060907@redhat.com> Message-ID: <20140402165531.GG10338@redhat.com> * Jiri Vanek [2014-04-02 12:48]: > On 04/02/2014 06:36 PM, Omair Majid wrote: > >* Matthias Klose [2014-04-02 12:32]: > >>Note that AM_MAINTAINER_MODE(disable) has the same behaviour as not > >>including the macro. It only gives the package builder the option > >>to turn it on or off. > > > >You mean AM_MAINTAINER_MODE([enable]), right? This is not a +1 (or a -1) to add this, FWIW. > Plain AM_MAINTAINER_MODE should be enough, And the default should bne disabled, or not? No. That's probably not what you want. AM_MAINTAINER_MODE([disable]) is the same as AM_MAINTAINER_MODE. With AM_MAINTAINER_MODE, if I edit configure.ac and rerun configure, a new configure script from configure.ac will not be generated. For more comments on this, see: https://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/ http://lists.x.org/archives/xorg-devel/2012-September/033760.html Thanks, Omair -- PGP Key: 66484681 (http://pgp.mit.edu/) Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681 From omajid at redhat.com Wed Apr 2 17:04:11 2014 From: omajid at redhat.com (Omair Majid) Date: Wed, 2 Apr 2014 13:04:11 -0400 Subject: [icedtea-web] RFC: Clean up some code in ClasspathMatcher In-Reply-To: <533C409D.2070409@redhat.com> References: <20140402145140.GA10338@redhat.com> <533C25E8.3080205@redhat.com> <20140402161719.GE10338@redhat.com> <533C409D.2070409@redhat.com> Message-ID: <20140402170410.GH10338@redhat.com> * Jiri Vanek [2014-04-02 12:53]: > On 04/02/2014 06:17 PM, Omair Majid wrote: > >* Jiri Vanek [2014-04-02 11:02]: > >>On 04/02/2014 04:51 PM, Omair Majid wrote: > >>>The attached patch renames a method in ClasspathMatcher to better > >>>reflect what the method does. > >> > >>If you really insists - then converToRegEx would be even more > >>suitable, or not? The method is not quoting or just chnaging > >>wildcards * to .*, It is doing both :) > > > >How about convertWildcardPatternToRegEx? I want to make it clear that > >if you pass a non-wildcard pattern to this function, you are on your > >own. > > If there are no wildcards, thenit is quoted as follows., > > return "^" + Pattern.quote(s) + "$"; > > The result IS java regexWhat am I missing? Oh you are not missing anything. But this function name trie to clarify that if you pass in a wildcard character, it will be treated as a wildcard and get turned into an equivalent regex. Just like if you use 'abcd' as a regex, it will match 'abcd', but if you use '$abc' as a regex, dont expect it to match '$abc'. A function doing this matching will still call the input regex. Can you think of an alternate name that conveys that intention? I am happy to rename it to something that is even more meaningful. Thanks, Omair -- PGP Key: 66484681 (http://pgp.mit.edu/) Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681 From jvanek at redhat.com Wed Apr 2 17:13:59 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Wed, 02 Apr 2014 19:13:59 +0200 Subject: [icedtea-web] RFC: Clean up some code in ClasspathMatcher In-Reply-To: <20140402170410.GH10338@redhat.com> References: <20140402145140.GA10338@redhat.com> <533C25E8.3080205@redhat.com> <20140402161719.GE10338@redhat.com> <533C409D.2070409@redhat.com> <20140402170410.GH10338@redhat.com> Message-ID: <533C4557.4030001@redhat.com> On 04/02/2014 07:04 PM, Omair Majid wrote: > * Jiri Vanek [2014-04-02 12:53]: >> On 04/02/2014 06:17 PM, Omair Majid wrote: >>> * Jiri Vanek [2014-04-02 11:02]: >>>> On 04/02/2014 04:51 PM, Omair Majid wrote: >>>>> The attached patch renames a method in ClasspathMatcher to better >>>>> reflect what the method does. >>>> >>>> If you really insists - then converToRegEx would be even more >>>> suitable, or not? The method is not quoting or just chnaging >>>> wildcards * to .*, It is doing both :) >>> >>> How about convertWildcardPatternToRegEx? I want to make it clear that >>> if you pass a non-wildcard pattern to this function, you are on your >>> own. >> >> If there are no wildcards, thenit is quoted as follows., >> >> return "^" + Pattern.quote(s) + "$"; >> >> The result IS java regexWhat am I missing? > > Oh you are not missing anything. But this function name trie to clarify > that if you pass in a wildcard character, it will be treated as a > wildcard and get turned into an equivalent regex. > > Just like if you use 'abcd' as a regex, it will match 'abcd', but if you > use '$abc' as a regex, dont expect it to match '$abc'. A function doing > this matching will still call the input regex. > > Can you think of an alternate name that conveys that intention? I am > happy to rename it to something that is even more meaningful. Noop :) Go on, and thanx for clarification. J. From andrew at icedtea.classpath.org Wed Apr 2 19:05:29 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 02 Apr 2014 19:05:29 +0000 Subject: /hg/release/icedtea7-forest-2.5: Added tag icedtea-2.5pre03 for ... Message-ID: changeset 4a0c67d14672 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=4a0c67d14672 author: andrew date: Wed Apr 02 20:04:15 2014 +0100 Added tag icedtea-2.5pre03 for changeset 9e3f6f4585c5 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 9e3f6f4585c5 -r 4a0c67d14672 .hgtags --- a/.hgtags Wed Apr 02 02:15:57 2014 +0100 +++ b/.hgtags Wed Apr 02 20:04:15 2014 +0100 @@ -425,3 +425,4 @@ 023f8eb40d371d5cb761f7e60ba7b396b3fdf886 jdk7u60-b10 798468b91bcbb81684aea8620dbb31eaceb24c6c jdk7u60-b11 e40360c10b2ce5b24b1eea63160b78e112aa5d3f jdk7u60-b12 +9e3f6f4585c5422e85c3348f585d2264272ab803 icedtea-2.5pre03 From andrew at icedtea.classpath.org Wed Apr 2 19:05:36 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 02 Apr 2014 19:05:36 +0000 Subject: /hg/release/icedtea7-forest-2.5/corba: Added tag icedtea-2.5pre0... Message-ID: changeset 509be504cd6b in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=509be504cd6b author: andrew date: Wed Apr 02 20:04:05 2014 +0100 Added tag icedtea-2.5pre03 for changeset 3a7c12d7b1cf diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 3a7c12d7b1cf -r 509be504cd6b .hgtags --- a/.hgtags Wed Apr 02 02:15:58 2014 +0100 +++ b/.hgtags Wed Apr 02 20:04:05 2014 +0100 @@ -426,3 +426,4 @@ 7abca119f9543489280d560dc11256d439004f0f jdk7u60-b09 1861f1f599728c4f15a85a5980edef916552747b jdk7u60-b10 a429ff635395688ded6c52cd21c0b4ce75e62168 jdk7u60-b11 +3a7c12d7b1cfef7c1ad17159154c917095f68a4d icedtea-2.5pre03 From andrew at icedtea.classpath.org Wed Apr 2 19:05:43 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 02 Apr 2014 19:05:43 +0000 Subject: /hg/release/icedtea7-forest-2.5/jaxp: Added tag icedtea-2.5pre03... Message-ID: changeset 72b336b5bb7f in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=72b336b5bb7f author: andrew date: Wed Apr 02 20:04:06 2014 +0100 Added tag icedtea-2.5pre03 for changeset 1fef0a819b0a diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 1fef0a819b0a -r 72b336b5bb7f .hgtags --- a/.hgtags Wed Apr 02 02:15:59 2014 +0100 +++ b/.hgtags Wed Apr 02 20:04:06 2014 +0100 @@ -427,3 +427,4 @@ 4bfece8a5148947d268611cc1b4485e92960064e jdk7u60-b09 28a6c0b3b22580101bf750383c2e48d34dea2124 jdk7u60-b10 e57490e0b99917ea8e1da1bb4d0c57fd5b7705f9 jdk7u60-b11 +1fef0a819b0acd01898f16d75fe924720412c9fd icedtea-2.5pre03 From andrew at icedtea.classpath.org Wed Apr 2 19:05:49 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 02 Apr 2014 19:05:49 +0000 Subject: /hg/release/icedtea7-forest-2.5/jaxws: Added tag icedtea-2.5pre0... Message-ID: changeset 3cb18bb946d2 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=3cb18bb946d2 author: andrew date: Wed Apr 02 20:04:08 2014 +0100 Added tag icedtea-2.5pre03 for changeset c3f7dc317cdb diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r c3f7dc317cdb -r 3cb18bb946d2 .hgtags --- a/.hgtags Wed Apr 02 02:16:00 2014 +0100 +++ b/.hgtags Wed Apr 02 20:04:08 2014 +0100 @@ -426,3 +426,4 @@ c85645aa77cedabeeb6e01373cdd81afd56c602e jdk7u60-b09 79501d4561e4cfa96fd77e2e92eb6a1b6ad61005 jdk7u60-b10 5d848774565b5e188d7ba915ce1cb09d8f3fdb87 jdk7u60-b11 +c3f7dc317cdbe308045d12deeb298c8be800d495 icedtea-2.5pre03 From andrew at icedtea.classpath.org Wed Apr 2 19:05:55 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 02 Apr 2014 19:05:55 +0000 Subject: /hg/release/icedtea7-forest-2.5/langtools: Added tag icedtea-2.5... Message-ID: changeset 107fb88da72e in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=107fb88da72e author: andrew date: Wed Apr 02 20:04:14 2014 +0100 Added tag icedtea-2.5pre03 for changeset f38810d86876 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r f38810d86876 -r 107fb88da72e .hgtags --- a/.hgtags Wed Apr 02 02:16:03 2014 +0100 +++ b/.hgtags Wed Apr 02 20:04:14 2014 +0100 @@ -427,3 +427,4 @@ 3f8b585403e596b7eadc231484f5480361c52c4b jdk7u60-b09 3ee98cd07065dfa9a982e6692a3e875684a7e820 jdk7u60-b10 3cc64ba8cf85942929b15c5ef21360f96db3b99c jdk7u60-b11 +f38810d86876a74b6267c207f47840c895e4f393 icedtea-2.5pre03 From andrew at icedtea.classpath.org Wed Apr 2 19:06:01 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 02 Apr 2014 19:06:01 +0000 Subject: /hg/release/icedtea7-forest-2.5/hotspot: Added tag icedtea-2.5pr... Message-ID: changeset f4abc2022f98 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=f4abc2022f98 author: andrew date: Wed Apr 02 20:04:16 2014 +0100 Added tag icedtea-2.5pre03 for changeset 903304e152fc diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 903304e152fc -r f4abc2022f98 .hgtags --- a/.hgtags Wed Apr 02 02:16:06 2014 +0100 +++ b/.hgtags Wed Apr 02 20:04:16 2014 +0100 @@ -646,3 +646,4 @@ 22cae361773d14b467328e8f90cf893550d1d610 jdk7u60-b09 6f74afd8577eb4b6a0e6f7b25cfef7d6f7d92e5f jdk7u60-b10 a2ac67a2c1cc867a8d6b525ab1df17204186e636 jdk7u60-b11 +903304e152fc584b85cbf241fd293f8dcf1c6605 icedtea-2.5pre03 From andrew at icedtea.classpath.org Wed Apr 2 19:06:10 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 02 Apr 2014 19:06:10 +0000 Subject: /hg/release/icedtea7-forest-2.5/jdk: Added tag icedtea-2.5pre03 ... Message-ID: changeset e3a2361b4d9b in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=e3a2361b4d9b author: andrew date: Wed Apr 02 20:04:12 2014 +0100 Added tag icedtea-2.5pre03 for changeset 06f771c9a7b7 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 06f771c9a7b7 -r e3a2361b4d9b .hgtags --- a/.hgtags Wed Apr 02 02:16:12 2014 +0100 +++ b/.hgtags Wed Apr 02 20:04:12 2014 +0100 @@ -410,3 +410,4 @@ 7b571638b0f51bcbe04c088dfff569b4cba6bbdf jdk7u60-b09 fb4981489b09594d2449527e2d511834cf8ad370 jdk7u60-b10 c2bb87dae8a08eab6f4f336ce5a59865aa0214d6 jdk7u60-b11 +06f771c9a7b7e05cadfde6f316893be31f18ea70 icedtea-2.5pre03 From andrew at icedtea.classpath.org Wed Apr 2 19:10:41 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 02 Apr 2014 19:10:41 +0000 Subject: /hg/release/icedtea7-2.5: 2 new changesets Message-ID: changeset 6058e8604054 in /hg/release/icedtea7-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-2.5?cmd=changeset;node=6058e8604054 author: Andrew John Hughes date: Wed Apr 02 20:07:23 2014 +0100 Update to 2.5pre03, which updates OpenJDK to u60b12. 2014-04-02 Andrew John Hughes * Makefile.am: (BUILD_VERSION): Bump to b12. (CORBA_CHANGESET): Update to icedtea-2.5pre03 tag. (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. (ICEDTEA_PREFIX): Change to 2.5 branch. (ICEDTEA_HG_URL): Likewise. * NEWS: Updated. * configure.ac: Bump to 2.5pre03. * hotspot.map: Update to icedtea-2.5pre03 tag. * patches/boot/ecj-diamond.patch, * patches/boot/ecj-trywithresources.patch: Updated. changeset d3eb8e1c6de5 in /hg/release/icedtea7-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-2.5?cmd=changeset;node=d3eb8e1c6de5 author: Andrew John Hughes date: Wed Apr 02 20:10:19 2014 +0100 PR1713: Support AArch64 port 2014-03-27 Andrew John Hughes * acinclude.m4: (IT_ENABLE_ZERO_BUILD): Default to off on aarch64/arm64. (IT_WITH_HOTSPOT_BUILD): Default to aarch64 port on aarch64. diffstat: ChangeLog | 31 + Makefile.am | 30 +- NEWS | 81 +- acinclude.m4 | 8 +- configure.ac | 2 +- hotspot.map | 2 +- patches/boot/ecj-diamond.patch | 3141 +++++++++++++++--------------- patches/boot/ecj-trywithresources.patch | 229 +- 8 files changed, 1814 insertions(+), 1710 deletions(-) diffs (truncated from 5596 to 500 lines): diff -r d6111697298d -r d3eb8e1c6de5 ChangeLog --- a/ChangeLog Wed Apr 02 13:07:21 2014 +0100 +++ b/ChangeLog Wed Apr 02 20:10:19 2014 +0100 @@ -1,3 +1,34 @@ +2014-03-27 Andrew John Hughes + + * acinclude.m4: + (IT_ENABLE_ZERO_BUILD): Default to off on aarch64/arm64. + (IT_WITH_HOTSPOT_BUILD): Default to aarch64 port on aarch64. + +2014-04-02 Andrew John Hughes + + * Makefile.am: + (BUILD_VERSION): Bump to b12. + (CORBA_CHANGESET): Update to icedtea-2.5pre03 tag. + (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. + (ICEDTEA_PREFIX): Change to 2.5 branch. + (ICEDTEA_HG_URL): Likewise. + * NEWS: Updated. + * configure.ac: Bump to 2.5pre03. + * hotspot.map: Update to icedtea-2.5pre03 tag. + * patches/boot/ecj-diamond.patch, + * patches/boot/ecj-trywithresources.patch: + Updated. + 2014-04-02 Andrew John Hughes * NEWS: Add release notes for 2.3.14 & 2.4.6. diff -r d6111697298d -r d3eb8e1c6de5 Makefile.am --- a/Makefile.am Wed Apr 02 13:07:21 2014 +0100 +++ b/Makefile.am Wed Apr 02 20:10:19 2014 +0100 @@ -1,22 +1,22 @@ # Dependencies JDK_UPDATE_VERSION = 60 -BUILD_VERSION = b03 +BUILD_VERSION = b12 COMBINED_VERSION = $(JDK_UPDATE_VERSION)-$(BUILD_VERSION) -CORBA_CHANGESET = 16906c5a09da -JAXP_CHANGESET = d7085aad637f -JAXWS_CHANGESET = 4aeccc3040fa -JDK_CHANGESET = 3162252ff26b -LANGTOOLS_CHANGESET = f75a642c2913 -OPENJDK_CHANGESET = fc5d15cc35b4 +CORBA_CHANGESET = 3a7c12d7b1cf +JAXP_CHANGESET = 1fef0a819b0a +JAXWS_CHANGESET = c3f7dc317cdb +JDK_CHANGESET = 06f771c9a7b7 +LANGTOOLS_CHANGESET = f38810d86876 +OPENJDK_CHANGESET = 9e3f6f4585c5 -CORBA_SHA256SUM = 29dec824dd068c8ba89e9d079bc63e5c408ccc915118098381734495a0ef6610 -JAXP_SHA256SUM = 68540ee04cc159e4fb1dcc6f138242049fb870e907c4268b163039ad8ab5cae3 -JAXWS_SHA256SUM = 773022f057151aefb8c632670f0059e49a1e9b1d95a45e86e2450b0b5aaf6619 -JDK_SHA256SUM = 8680fd2a56dc388abaa9c3350d79f38f6638099406e81bc665d8f1a1f09273e5 -LANGTOOLS_SHA256SUM = 61363d33c482ead26951ba60eef75a2f8410178b2bed1eea012365cbf6f26ad4 -OPENJDK_SHA256SUM = 5f1548010cce513537e232609557d12ab854ff17d4fbaa83a830e1b3216fc0ee +CORBA_SHA256SUM = 5482758eb6ba5953b100dd8754b11905bcfc839741f1987c301fd16f26222a74 +JAXP_SHA256SUM = 1fa313b7d1bddc6d52cfd344a281ed9d5fffd79bdc83499b9761581aacb6dd1e +JAXWS_SHA256SUM = f6c9d4da5581d08ba5b0cc692d84dea7b90d665d10e0c1eedcfe8c706bc779ef +JDK_SHA256SUM = d3a87a47e2919e76abe9f616378852546300f6630804cb2ec1defb642d113f31 +LANGTOOLS_SHA256SUM = 7b77d3083347edd22a9227175cce2749844e59bcad737c22b4ede925c25cb34d +OPENJDK_SHA256SUM = f13b6a59399b388875bf71c8b864bff025d2cf2beb494fa00df60034ca4267bb CACAO_VERSION = e215e36be9fc CACAO_SHA256SUM = 4966514c72ee7ed108b882d9b6e65c3adf8a8f9c2dccb029f971b3c8cb4870ab @@ -30,8 +30,8 @@ JAMVM_URL = $(JAMVM_BASE_URL)/jamvm-$(JAMVM_VERSION).tar.gz JAMVM_SRC_ZIP = jamvm-$(JAMVM_VERSION).tar.gz -ICEDTEA_PREFIX = icedtea7-forest -ICEDTEA_HG_URL = http://icedtea.classpath.org/hg/$(ICEDTEA_PREFIX) +ICEDTEA_PREFIX = icedtea7-forest-2.5 +ICEDTEA_HG_URL = http://icedtea.classpath.org/hg/release/$(ICEDTEA_PREFIX) OPENJDK_HG_URL = http://hg.openjdk.java.net/jdk7/jdk7 CVMI_HG_URL = http://hg.openjdk.java.net/cvmi/cvmi/ CLOSURES_HG_URL = http://hg.openjdk.java.net/closures/closures/ diff -r d6111697298d -r d3eb8e1c6de5 NEWS --- a/NEWS Wed Apr 02 13:07:21 2014 +0100 +++ b/NEWS Wed Apr 02 20:10:19 2014 +0100 @@ -16,9 +16,12 @@ * OpenJDK - S5049299: (process) Use posix_spawn, not fork, on S10 to avoid swap exhaustion + - S6412968: CMS: Long initial mark pauses + - S6571600: JNI use results in UnsatisfiedLinkError looking for libmawt.so - S6889597: TEST_BUG: javax/management/remote/mandatory/URLTest.java test should be updated in jdk7 Workspace - S6900441: PlatformEvent.park(millis) on Linux could still be affected by changes to the time-of-day clock - S6989981: jstack causes "fatal error: ExceptionMark destructor expects no pending exceptions" + - S7074436: (sc) SocketChannel can do short gathering writes when channel configured blocking (win) - S7123493: (proxy) Proxy.getProxyClass doesn't scale under high load - S7124232: [TEST_BUG] [macosx] JSplitPane has wrong divider location - S7124314: [TEST_BUG] [macosx] Aqua LAF: JTree doesn't select element by keyboards left and right keys @@ -28,52 +31,103 @@ - S7133122: SA throws sun.jvm.hotspot.debugger.UnmappedAddressException when it should not - S7133146: [macosx] closed/javax/swing/JInternalFrame/4193219/IconCoord fails on MacOS - S7133154: [TEST_BUG] [macosx] closed/javax/swing/JInternalFrame/4251301/bug4251301.java fails on MacOS + - S7145569: G1: optimize nmethods scanning - S7147084: (process) appA hangs when read output stream of appB which starts appC that runs forever - S7171591: getDefaultScopeID() in src/solaris/native/java/net/net_util_md.c should return a value - S7173464: Clipboard.getAvailableDataFlavors: Comparison method violates contract + - S7186887: Test T6567415.java can fail on a slow machine + - S7187554: JSR 292: JVMTI PopFrame needs to handle appendix arguments - S7191817: -XX:+UseSerialGC -XX:+UseLargePages crashes with SIGFPE on MacOS X + - S7194607: VerifyLocalVariableTableOnRetransformTest.sh fails after JSR-292 merge - S7197210: java/lang/invoke/CallSiteTest.java failing on armsflt. + - S7199674: (props) user.home property does not return an accessible location in sandboxed environment [macosx] + - S8003253: TEST_BUG: java/nio/channels/AsynchronousChannelGroup/Unbounded.java hang intermittently [win] - S8003262: reverse translation required changes in xalan resource bundles + - S8003285: TEST_BUG: java/nio/channels/AsynchronousChannelGroup/Unbounded.java fails again [macosx] + - S8003895: java/nio/channels/AsynchronousChannelGroup/Unbounded.java failing again [win64] - S8004032: [TEST_BUG] [macosx] There is no effect when double clicking on the Icon, after right clicking on the Icon and the Icon disappear - S8004051: assert(_oprs_len[mode] < maxNumberOfOperands) failed: array overflow - S8004476: XSLT Extension Functions Don't Work in WebStart + - S8005128: JSR 292: the mlvm redefineClassInBootstrap test crashes in ConstantPool::compare_entry_to - S8006395: Race in async socket close on Linux + - S8006542: JSR 292: the VM_RedefineClasses::append_entry() must support invokedynamic entry kinds + - S8006546: JSR 292: typos in the ConstantPool::copy_cp_impl() + - S8006628: NEED_TEST for JDK-8002870 + - S8006731: JSR 292: the VM_RedefineClasses::rewrite_cp_refs_in_method() must support invokedynamic + - S8007037: JSR 292: the VM_RedefineClasses::append_entry() should do cross-checks with indy operands - S8007454: (process) SetHandleInformation parameters DWORD (not BOOLEAN) - S8008118: (process) Possible null pointer dereference in jdk/src/solaris/native/java/lang/UNIXProcess_md.c + - S8008511: JSR 292: MemberName vmtarget refs to methods must be updated at class redefinition - S8008733: Psr:perf:osb performance regression (18%) in wss_bodyenc + - S8009062: poor performance of JNI AttachCurrentThread after fix for 7017193 - S8009213: sun/management/jdp/JdpTest.sh fails with exit code 1 + - S8009222: java.lang.IllegalArgumentException: not invocable, no method type when attempting to get getter method handle for a static field + - S8011194: Apps launched via double-clicked .jars have file.encoding value of US-ASCII on Mac OS X + - S8011343: Add new flag for verifying the heap during startup + - S8011944: Sort fails with ArrayIndexOutOfBoundsException - S8011955: Lunar screen reader crashes intermittently in WindowsAccessBridge-32.DLL + - S8012244: java/net/Socket/asyncClose/Race.java fails intermittently on Windows - S8012326: Deadlock occurs when Charset.availableCharsets() is called by several threads at the same time - S8012615: Realm.getRealmsList returns realms list in wrong - S8012925: [parfait] Missing return value in jdk/src/macosx/native/sun/awt/AWTEvent.m + - S8013132: Add a flag to turn off the output of the verbose verification code + - S8013895: G1: G1SummarizeRSetStats output on Linux needs improvement + - S8013945: CMS fatal error: must own lock MemberNameTable_lock + - S8014052: JSR292: assert(end_offset == next_offset) failed: matched ending + - S8014078: G1: improve remembered set summary information by providing per region type information + - S8014240: G1: Add remembered set size information to output of G1PrintRegionLivenessInfo + - S8014288: perf regression in nashorn JDK-8008448.js test after 8008511 changes + - S8014394: (fs) WatchService failing when watching \\server\$d + - S8014555: G1: Memory ordering problem with Conc refinement and card marking - S8015092: SchemaFactory cannot parse schema if whitespace added within patterns in Selector XPath expression - S8015243: SchemaFactory does not catch enum. value that is not in the value space of the base type, anyURI + - S8015244: G1: Verification after a full GC is incorrectly placed. - S8015599: [TEST_BUG] [macosx] Test closed/javax/swing/Popup/TaskbarPositionTest.java fails since JDK 8 b75 on MacOSX - S8015600: [TEST_BUG] [macosx] Test closed/javax/swing/plaf/basic/BasicMenuUI/4983388/bug4983388.java fails since JDK 8 b75 on MacOSX - S8016018: Typo in AbstractStringBuilder#indexOf and #lastIndexOf descriptions - S8016271: wsimport -clientjar does not create portable jars on Windows due to hardcoded backslash + - S8016328: Regression : Javadoc i18n regression caused by fix for 8012375 - S8016500: Unlocalized warnings. - S8017180: [macosx] [TEST_BUG] alt-key doesn't work on macos for menu - S8017195: Introduce option to setKeepAlive parameter on CORBA sockets + - S8017456: [TEST_BUG] java/awt/DataFlavor/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug.html: test frames remain after test execution + - S8017498: JVM crashes when native code calls sigaction(sig) where sig>=0x20 + - S8017779: java/net/Authenticator/B4769350.java fails + - S8019184: MethodHandles.catchException() fails when methods have 8 args + varargs + - S8019389: SA-JDI JSR292: sun.jvm.hotspot.jdi.StackFrame.thisObject() throws sun.jvm.hotspot.utilities.AssertionFailure: sanity check - S8019396: SA-JDI: OSThread class initialization throws an exception + - S8019853: Break logging and AWT circular dependency + - S8020123: Test gc/g1/TestPrintRegionRememberedSetInfo.java fails with "test result: Error. No action after @build" + - S8020191: System.getProperty("os.name") returns "Windows NT (unknown)" on Windows 8.1 + - S8020530: Non heap memory size calculated incorrectly + - S8020791: [TESTBUG] runtime/jsig/Test8017498.sh failed to compile native code - S8021257: com.sun.corba.se.** should be on restricted package list + - S8021296: [TESTBUG] Test8017498.sh fails to find "gcc" and fails to compile on some Linux releases - S8021368: Launch of Java Web Start app fails with ClassCircularityError exception in 7u25 - S8021898: Broken JIT compiler optimization for loop unswitching - S8021943: FileDialog getFile returns corrupted string after previous setFile - S8022213: Intermittent test failures in java/net/URLClassLoader + - S8022452: Hotspot needs to know about Windows 8.1 and Windows Server 2012 R2 - S8022507: SIGSEGV at ParMarkBitMap::verify_clear() - S8022584: Memory leak in some NetworkInterface methods - S8022585: VM crashes when ran with -XX:+PrintInlining + - S8022698: javax/script/GetInterfaceTest.java fails since 7u45 b04 with -agentvm option - S8022993: Convert MAX_UNROLL constant to LoopMaxUnroll C2 flag + - S8023004: JSR 292: java.lang.RuntimeException: Original target method was called. - S8023130: (process) ProcessBuilder#inheritIO does not work on Windows + - S8023145: G1: G1CollectedHeap::mark_strong_code_roots() needs to handle ParallelGCThreads=0 - S8023472: C2 optimization breaks with G1 - S8023580: Add jtreg test for 8004051 and 8005722 - S8023720: (hotspot) setjmp/longjmp changes the process signal mask on OS X - S8023786: (jdk) setjmp/longjmp changes the process signal mask on OS X + - S8023881: IDN.USE_STD3_ASCII_RULES option is too strict to use Unicode in IDN.toASCII + - S8023956: Provide a work-around to broken Linux 32 bit "Exec Shield" using CS for NX emulation (crashing with SI_KERNEL) - S8024027: Test sun/misc/IoTrace/IoTraceSocketReadWrite.java crashes VM - S8024163: [macosx] NullPointerException at javax.swing.TransferHandler$DropHandler.handleDrag since jdk8b93, 7u40b28 - S8024521: (process) Async close issues with Process InputStream + - S8024648: 7141246 & 8016131 break Zero port - S8024707: TransformerException : item() return null with node list of length != 1 + - S8024788: (fs) Files.readAllBytes uses FileChannel which may not be supported by all providers - S8024830: SEGV in org.apache.lucene.codecs.compressing.CompressingTermVectorsReader.get - S8024861: Incomplete token triggers GSS-API NullPointerException - S8024876: [TEST_BUG] javax/xml/jaxp/parsers/8022548/XOMParserTest.java failed when testbase dir has read only permissions @@ -83,33 +137,43 @@ - S8025205: Intermittent test failure: javax/management/remote/mandatory/connection/BrokenConnectionTest.java - S8025206: Intermittent test failure: javax/management/monitor/NullAttributeValueTest.java - S8025207: Intermittent test failure: javax/management/monitor/CounterMonitorThresholdTest.java + - S8025305: Cleanup CardTableModRefBS usage in G1 - S8025512: NPE with logging while launching webstart on jre7u40 if logging is disabled + - S8025541: G1: assert "assert(thread < _num_vtimes) failed: just checking" fails when G1ConcRefinementThreads > ParallelGCThreads - S8025713: Syncing indendation/comment/copyright year differences with upstream projects - S8025775: JNI warnings in TryXShmAttach - S8025860: new hotspot build - hs24.60-b02 - S8025861: Set minor version for hotspot in 7u60 to 60 and build number to b01 - S8025920: webrev.ksh does not provide any details about changes in zip files - S8026293: Schedule part of G1 pre-barrier late + - S8026404: Logging in Applet can trigger ACE: access denied ("java.lang.RuntimePermission" "modifyThreadGroup") - S8026405: javax/xml/ws/clientjar/TestWsImport.java failing on JDK 8 nightly aurora test runs - S8026486: Significant slowdown due to transparent huge pages - S8026502: java/lang/invoke/MethodHandleConstants.java fails on all platforms - S8026794: Test tools/pack200/TimeStamp.java fails while opening golden.jar.native.IST on linux-ppc(v2) + - S8026848: -XX:+G1SummarizeRSetStats can result in wrong exit code and crash - S8027066: XMLDecoder in java 7 cannot properly deserialize object arrays - S8027172: new hotspot build - hs24.60-b03 - S8027351: (ref) Private finalize method invoked in preference to protected superclass method - S8027426: String.toLowerCase incorrectly increases length, if string contains \u0130 char + - S8027454: Do not traverse string table during G1 remark when treating them as strong roots during initial mark + - S8027476: Improve performance of Stringtable unlink - S8027579: new hotspot build - hs24.60-b04 + - S8027756: assert(!hr->isHumongous()) failed: code root in humongous region? - S8027839: C1 crashes in Weblogic with G1 enabled - S8027840: C2 allows safepoint checks to leak into G1 pre-barriers - S8027860: [TEST_BUG] File not closed in javax/xml/jaxp/parsers/8022548/XOMParserTest.java + - S8027973: javax/xml/jaxp/transform/jdk8004476/XSLTExFuncTest.java hangs (win) - S8027997: G1: SPECjbb2013 crashes due to a broken object reference - S8028054: com.sun.beans.finder.MethodFinder has unsynchronized access to a static Map - S8028208: (aio) Assertion in clearPendingIoMap when closing at around time file lock is acquired immediately (win) - S8028351: JWS doesn't get authenticated when using kerberos auth proxy + - S8028391: Make the Min/MaxHeapFreeRatio flags manageable - S8028412: AsyncGetCallTrace() is broken on x86 in JDK 7u40 - S8028520: JVM should not throw VerifyError when a private method overrides a final method - S8028583: Add helper methods to test libraries - S8028814: new hotspot build - hs24.60-b06 + - S8029281: Synchronization issues in Logger and LogManager - S8029304: JFR broken in 7u train for JDK Linux for ARM or OpenJDK - S8029318: Native Windows ccache still reads DES tickets - S8029366: ShouldNotReachHere error when creating an array with component type of void @@ -117,7 +181,21 @@ - S8029903: Add a type safe alternative for working with counter based data - S8030061: new hotspot build - hs24.60-b05 - S8030070: Test java/io/File/CheckPermission.java fails due to unfinished recursion (java.lang.StackOverflowError) when JIT'ed code (-client,-server) is running + - S8030698: Several GUI labels in jconsole need correction - S8031787: Remove fix JDK-8026887 from 7u60 + - S8031980: Add new j.u.l deadlock test for JDK-8027670 and JDK-8029281 + - S8032013: new hotspot build - hs24.60-b08 + - S8032207: C2: assert(VerifyOops || MachNode::size(ra_) <= (3+1)*4) failed: bad fixed size + - S8032771: The flag VerifySilently misses a test case + - S8032960: Running forms URL throws NullPointerException in Javaconsole. + - S8032986: new hotspot build - hs24.60-b09 + - S8033294: javac, spurious warning for instanceof operator + - S8033443: Test8000311 fails after latest changes to parallelize string and symbol table unlink + - S8033487: Improve GC option handling + - S8035893: JVM_GetVersionInfo fails to zero structure + - S8035897: Better memory allocation for file descriptors greater than 1024 on macosx + - S8035988: 7u60 l10n resource file translation update 1 + - S8036584: Review comments from 8035897 * Backports - S7103549: Remove dependencies on libjava and libjvm from security libraries - S8000204: Memory leak in com/sun/security/auth/module/Unix.c @@ -127,7 +205,7 @@ - S8008509: 6588413 changed JNIEXPORT visibility for GCC on HSX, jdk's jni_md.h needs similar change - S8014307: Memory leak ... security/jgss/wrapper/GSSLibStub.c * Bug fixes - - Fix implicit function declarations + - Fix implicit function declarations in j2secmod_md.c introduced by 7103549. - PR1617: Include defs.make in vm.make so zeroshark.make is included - Remove binary files and unlicensed generated files - PR1655: Don't add IcedTea-Web jars to bootclasspath @@ -152,6 +230,7 @@ - Remove duplicate ElfFuncDescTable code in elfSymbolTable.cpp - Remove duplicate ElfFuncDescTable code in elfSymbolTable.hpp - PR1726: configure fails looking for ecj.jar before even trying to find javac + - PR1699: Support building the SunEC provider with system NSS * PPC & AIX port - Add AIX-specific build instructions to README-ppc.html - Added AIX as testing platform for more jtreg tests written in shell-script diff -r d6111697298d -r d3eb8e1c6de5 acinclude.m4 --- a/acinclude.m4 Wed Apr 02 13:07:21 2014 +0100 +++ b/acinclude.m4 Wed Apr 02 20:10:19 2014 +0100 @@ -692,6 +692,8 @@ use_zero=yes; else case "${host_cpu}" in + aarch64) ;; + arm64) ;; i?86) ;; sparc) ;; x86_64) ;; @@ -953,7 +955,11 @@ AC_DEFUN_ONCE([IT_WITH_HOTSPOT_BUILD], [ AC_REQUIRE([IT_ENABLE_ZERO_BUILD]) - DEFAULT_BUILD="default" + if test "x$JRE_ARCH_DIR" = "xaarch64"; then + DEFAULT_BUILD="aarch64" + else + DEFAULT_BUILD="default" + fi AC_MSG_CHECKING([which HotSpot build to use]) AC_ARG_WITH([hotspot-build], [AS_HELP_STRING(--with-hotspot-build=BUILD,the HotSpot build to use [[BUILD=default]])], diff -r d6111697298d -r d3eb8e1c6de5 configure.ac --- a/configure.ac Wed Apr 02 13:07:21 2014 +0100 +++ b/configure.ac Wed Apr 02 20:10:19 2014 +0100 @@ -1,4 +1,4 @@ -AC_INIT([icedtea], [2.5pre02], [distro-pkg-dev at openjdk.java.net]) +AC_INIT([icedtea], [2.5pre03], [distro-pkg-dev at openjdk.java.net]) AM_INIT_AUTOMAKE([1.9 tar-pax foreign]) AC_CONFIG_FILES([Makefile]) diff -r d6111697298d -r d3eb8e1c6de5 hotspot.map --- a/hotspot.map Wed Apr 02 13:07:21 2014 +0100 +++ b/hotspot.map Wed Apr 02 20:10:19 2014 +0100 @@ -1,3 +1,3 @@ # version url changeset sha256sum -default http://icedtea.classpath.org/hg/icedtea7-forest/hotspot f30e87f16d90 871fa08b8e9d7a2958cee844f940752c39b1946146dc382c005269e86b687a49 +default http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot 903304e152fc 74c1ba2ddd7130bf8a5d85fad48886ece9b81ac41dee8d4be5f51a459db8e9c9 aarch64 http://hg.openjdk.java.net/aarch64-port/jdk7u/hotspot f50993b6c38d 64c2d0bfa71d6eecf18ab28fd64d5bd79af096f77548d80de7953c306fd9c22c diff -r d6111697298d -r d3eb8e1c6de5 patches/boot/ecj-diamond.patch --- a/patches/boot/ecj-diamond.patch Wed Apr 02 13:07:21 2014 +0100 +++ b/patches/boot/ecj-diamond.patch Wed Apr 02 20:10:19 2014 +0100 @@ -1,6 +1,6 @@ diff -Nru openjdk-boot.orig/corba/src/share/classes/com/sun/corba/se/impl/encoding/CachedCodeBase.java openjdk-boot/corba/src/share/classes/com/sun/corba/se/impl/encoding/CachedCodeBase.java ---- openjdk-boot.orig/corba/src/share/classes/com/sun/corba/se/impl/encoding/CachedCodeBase.java 2013-12-26 19:50:41.000000000 +0000 -+++ openjdk-boot/corba/src/share/classes/com/sun/corba/se/impl/encoding/CachedCodeBase.java 2013-12-26 22:23:06.678103309 +0000 +--- openjdk-boot.orig/corba/src/share/classes/com/sun/corba/se/impl/encoding/CachedCodeBase.java 2014-04-02 02:15:58.000000000 +0100 ++++ openjdk-boot/corba/src/share/classes/com/sun/corba/se/impl/encoding/CachedCodeBase.java 2014-04-02 17:41:00.051402827 +0100 @@ -58,7 +58,7 @@ private CorbaConnection conn; @@ -11,8 +11,8 @@ public static synchronized void cleanCache( ORB orb ) { synchronized (iorMapLock) { diff -Nru openjdk-boot.orig/corba/src/share/classes/com/sun/corba/se/impl/orb/ORBImpl.java openjdk-boot/corba/src/share/classes/com/sun/corba/se/impl/orb/ORBImpl.java ---- openjdk-boot.orig/corba/src/share/classes/com/sun/corba/se/impl/orb/ORBImpl.java 2013-12-26 19:50:41.000000000 +0000 -+++ openjdk-boot/corba/src/share/classes/com/sun/corba/se/impl/orb/ORBImpl.java 2013-12-26 22:23:06.678103309 +0000 +--- openjdk-boot.orig/corba/src/share/classes/com/sun/corba/se/impl/orb/ORBImpl.java 2014-04-02 02:15:58.000000000 +0100 ++++ openjdk-boot/corba/src/share/classes/com/sun/corba/se/impl/orb/ORBImpl.java 2014-04-02 17:41:00.051402827 +0100 @@ -1315,7 +1315,7 @@ protected void shutdownServants(boolean wait_for_completion) { Set oaset; @@ -23,8 +23,8 @@ for (ObjectAdapterFactory oaf : oaset) diff -Nru openjdk-boot.orig/corba/src/share/classes/com/sun/corba/se/impl/orbutil/threadpool/ThreadPoolImpl.java openjdk-boot/corba/src/share/classes/com/sun/corba/se/impl/orbutil/threadpool/ThreadPoolImpl.java ---- openjdk-boot.orig/corba/src/share/classes/com/sun/corba/se/impl/orbutil/threadpool/ThreadPoolImpl.java 2013-12-26 19:50:41.000000000 +0000 -+++ openjdk-boot/corba/src/share/classes/com/sun/corba/se/impl/orbutil/threadpool/ThreadPoolImpl.java 2013-12-26 22:23:06.678103309 +0000 +--- openjdk-boot.orig/corba/src/share/classes/com/sun/corba/se/impl/orbutil/threadpool/ThreadPoolImpl.java 2014-04-02 02:15:58.000000000 +0100 ++++ openjdk-boot/corba/src/share/classes/com/sun/corba/se/impl/orbutil/threadpool/ThreadPoolImpl.java 2014-04-02 17:41:00.051402827 +0100 @@ -108,7 +108,7 @@ private ThreadGroup threadGroup; @@ -44,8 +44,8 @@ for (WorkerThread wt : copy) { diff -Nru openjdk-boot.orig/jaxp/src/com/sun/org/apache/xml/internal/serializer/Encodings.java openjdk-boot/jaxp/src/com/sun/org/apache/xml/internal/serializer/Encodings.java ---- openjdk-boot.orig/jaxp/src/com/sun/org/apache/xml/internal/serializer/Encodings.java 2013-12-26 22:21:55.853021204 +0000 -+++ openjdk-boot/jaxp/src/com/sun/org/apache/xml/internal/serializer/Encodings.java 2013-12-26 22:23:06.678103309 +0000 +--- openjdk-boot.orig/jaxp/src/com/sun/org/apache/xml/internal/serializer/Encodings.java 2014-04-02 17:31:38.095077810 +0100 ++++ openjdk-boot/jaxp/src/com/sun/org/apache/xml/internal/serializer/Encodings.java 2014-04-02 17:41:00.051402827 +0100 @@ -297,8 +297,8 @@ // private final static class EncodingInfos { @@ -66,9 +66,26 @@ while (keys.hasMoreElements()) { final String javaName = (String) keys.nextElement(); final String[] mimes = parseMimeTypes(props.getProperty(javaName)); +diff -Nru openjdk-boot.orig/jdk/src/share/classes/com/sun/beans/decoder/DocumentHandler.java openjdk-boot/jdk/src/share/classes/com/sun/beans/decoder/DocumentHandler.java +--- openjdk-boot.orig/jdk/src/share/classes/com/sun/beans/decoder/DocumentHandler.java 2014-04-02 02:16:12.000000000 +0100 ++++ openjdk-boot/jdk/src/share/classes/com/sun/beans/decoder/DocumentHandler.java 2014-04-02 17:41:00.051402827 +0100 +@@ -63,9 +63,10 @@ + */ + public final class DocumentHandler extends DefaultHandler { + private final AccessControlContext acc = AccessController.getContext(); +- private final Map> handlers = new HashMap<>(); +- private final Map environment = new HashMap<>(); +- private final List objects = new ArrayList<>(); ++ private final Map> handlers = ++ new HashMap>(); ++ private final Map environment = new HashMap(); ++ private final List objects = new ArrayList(); + + private Reference loader; + private ExceptionListener listener; diff -Nru openjdk-boot.orig/jdk/src/share/classes/com/sun/beans/TypeResolver.java openjdk-boot/jdk/src/share/classes/com/sun/beans/TypeResolver.java ---- openjdk-boot.orig/jdk/src/share/classes/com/sun/beans/TypeResolver.java 2013-12-26 19:50:56.000000000 +0000 -+++ openjdk-boot/jdk/src/share/classes/com/sun/beans/TypeResolver.java 2013-12-26 22:23:06.678103309 +0000 +--- openjdk-boot.orig/jdk/src/share/classes/com/sun/beans/TypeResolver.java 2014-04-02 02:16:12.000000000 +0100 ++++ openjdk-boot/jdk/src/share/classes/com/sun/beans/TypeResolver.java 2014-04-02 17:41:00.051402827 +0100 @@ -46,7 +46,7 @@ */ public final class TypeResolver { @@ -87,26 +104,9 @@ prepare(map, actual); CACHE.put(actual, map); } -diff -Nru openjdk-boot.orig/jdk/src/share/classes/com/sun/beans/decoder/DocumentHandler.java openjdk-boot/jdk/src/share/classes/com/sun/beans/decoder/DocumentHandler.java ---- openjdk-boot.orig/jdk/src/share/classes/com/sun/beans/decoder/DocumentHandler.java 2013-12-26 19:50:56.000000000 +0000 -+++ openjdk-boot/jdk/src/share/classes/com/sun/beans/decoder/DocumentHandler.java 2013-12-26 22:23:06.678103309 +0000 -@@ -62,9 +62,10 @@ - */ - public final class DocumentHandler extends DefaultHandler { - private final AccessControlContext acc = AccessController.getContext(); -- private final Map> handlers = new HashMap<>(); -- private final Map environment = new HashMap<>(); -- private final List objects = new ArrayList<>(); -+ private final Map> handlers = -+ new HashMap>(); -+ private final Map environment = new HashMap(); -+ private final List objects = new ArrayList(); - - private Reference loader; - private ExceptionListener listener; diff -Nru openjdk-boot.orig/jdk/src/share/classes/com/sun/beans/util/Cache.java openjdk-boot/jdk/src/share/classes/com/sun/beans/util/Cache.java ---- openjdk-boot.orig/jdk/src/share/classes/com/sun/beans/util/Cache.java 2013-12-26 22:27:51.086449155 +0000 -+++ openjdk-boot/jdk/src/share/classes/com/sun/beans/util/Cache.java 2013-12-26 22:32:25.923332967 +0000 +--- openjdk-boot.orig/jdk/src/share/classes/com/sun/beans/util/Cache.java 2014-04-02 02:16:12.000000000 +0100 ++++ openjdk-boot/jdk/src/share/classes/com/sun/beans/util/Cache.java 2014-04-02 17:41:00.051402827 +0100 @@ -45,7 +45,7 @@ private final Kind keyKind; // a reference kind for the cache keys private final Kind valueKind; // a reference kind for the cache values @@ -153,8 +153,8 @@ }; diff -Nru openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/Attribute.java openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/Attribute.java ---- openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/Attribute.java 2013-12-26 19:50:56.000000000 +0000 -+++ openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/Attribute.java 2013-12-26 22:23:06.678103309 +0000 +--- openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/Attribute.java 2014-04-02 02:16:12.000000000 +0100 ++++ openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/Attribute.java 2014-04-02 17:41:00.051402827 +0100 @@ -104,9 +104,9 @@ return this.def.compareTo(that.def); } @@ -226,8 +226,8 @@ for (int i = 0; i < layout.length(); i++) { if (layout.charAt(i++) != '[') diff -Nru openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/BandStructure.java openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/BandStructure.java ---- openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/BandStructure.java 2013-12-26 22:21:55.889021755 +0000 -+++ openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/BandStructure.java 2013-12-26 22:23:06.678103309 +0000 +--- openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/BandStructure.java 2014-04-02 17:31:38.115078106 +0100 ++++ openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/BandStructure.java 2014-04-02 17:41:00.051402827 +0100 @@ -257,7 +257,7 @@ assert(basicCodings[_meta_default] == null); assert(basicCodings[_meta_canon_min] != null); @@ -290,8 +290,8 @@ return true; } 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-12-26 22:21:55.753019677 +0000 -+++ openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/ClassReader.java 2013-12-26 22:23:06.678103309 +0000 +--- openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/ClassReader.java 2014-04-02 17:31:36.579055349 +0100 ++++ openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/ClassReader.java 2014-04-02 17:41:00.051402827 +0100 @@ -466,7 +466,7 @@ void readInnerClasses(Class cls) throws IOException { @@ -301,21 +301,9 @@ for (int i = 0; i < nc; i++) { InnerClass ic = new InnerClass(readClassRef(), -diff -Nru openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/Coding.java openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/Coding.java ---- openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/Coding.java 2013-12-26 19:50:56.000000000 +0000 -+++ openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/Coding.java 2013-12-26 22:23:06.678103309 +0000 -@@ -402,7 +402,7 @@ - private static Map codeMap; - - private static synchronized Coding of(int B, int H, int S, int del) { -- if (codeMap == null) codeMap = new HashMap<>(); -+ if (codeMap == null) codeMap = new HashMap(); - Coding x0 = new Coding(B, H, S, del); - Coding x1 = codeMap.get(x0); - if (x1 == null) codeMap.put(x0, x1 = x0); diff -Nru openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/CodingChooser.java openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/CodingChooser.java ---- openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/CodingChooser.java 2013-12-26 19:50:56.000000000 +0000 -+++ openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/CodingChooser.java 2013-12-26 22:23:06.678103309 +0000 +--- openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/CodingChooser.java 2014-04-02 02:16:12.000000000 +0100 ++++ openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/CodingChooser.java 2014-04-02 17:41:00.051402827 +0100 @@ -743,9 +743,9 @@ // Steps 1/2/3 are interdependent, and may be iterated. // Steps 4 and 5 may be decided independently afterward. @@ -351,9 +339,21 @@ for (int i = start; i < end; i++) { if (popset.add(values[i])) popvals.add(values[i]); } +diff -Nru openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/Coding.java openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/Coding.java +--- openjdk-boot.orig/jdk/src/share/classes/com/sun/java/util/jar/pack/Coding.java 2014-04-02 02:16:12.000000000 +0100 ++++ openjdk-boot/jdk/src/share/classes/com/sun/java/util/jar/pack/Coding.java 2014-04-02 17:41:00.051402827 +0100 From bugzilla-daemon at icedtea.classpath.org Wed Apr 2 19:10:48 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 02 Apr 2014 19:10:48 +0000 Subject: [Bug 1713] [IcedTea7] Support AArch64 Port In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1713 --- Comment #7 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-2.5?cmd=changeset;node=d3eb8e1c6de5 author: Andrew John Hughes date: Wed Apr 02 20:10:19 2014 +0100 PR1713: Support AArch64 port 2014-03-27 Andrew John Hughes * acinclude.m4: (IT_ENABLE_ZERO_BUILD): Default to off on aarch64/arm64. (IT_WITH_HOTSPOT_BUILD): Default to aarch64 port on aarch64. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From omajid at icedtea.classpath.org Wed Apr 2 20:00:34 2014 From: omajid at icedtea.classpath.org (omajid at icedtea.classpath.org) Date: Wed, 02 Apr 2014 20:00:34 +0000 Subject: /hg/icedtea-web: 2 new changesets Message-ID: changeset fce39c02c702 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=fce39c02c702 author: Omair Majid date: Wed Apr 02 15:48:00 2014 -0400 Fix typo in email addresses changeset aa4ee1301885 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=aa4ee1301885 author: Omair Majid date: Wed Apr 02 15:52:42 2014 -0400 Rename a method in ClasspathMatcher 2014-04-02 Omair Majid * netx/net/sourceforge/jnlp/util/ClasspathMatcher.java (quote): Rename to .. (convertWildcardToRegEx): New method. Adjust all callers. diffstat: ChangeLog | 10 ++++++++-- netx/net/sourceforge/jnlp/util/ClasspathMatcher.java | 13 +++---------- 2 files changed, 11 insertions(+), 12 deletions(-) diffs (63 lines): diff -r f2066fcc2550 -r aa4ee1301885 ChangeLog --- a/ChangeLog Wed Apr 02 11:58:46 2014 +0200 +++ b/ChangeLog Wed Apr 02 15:52:42 2014 -0400 @@ -1,3 +1,9 @@ +2014-04-02 Omair Majid + + * netx/net/sourceforge/jnlp/util/ClasspathMatcher.java + (quote): Rename to .. + (convertWildcardToRegEx): New method. Adjust all callers. + 2014-04-02 Jiri Vanek * NEWS: Added 1.6 section @@ -1914,7 +1920,7 @@ * netx/net/sourceforge/jnlp/security/SecurityDialog.java: (initDialog) centerDialog called in init rather than on windowOpened event -2013-10-09 Omair Majid +2013-10-09 Omair Majid * plugin/icedteanp/java/sun/applet/PluginProxySelector.java (computeKey): New method. @@ -2189,7 +2195,7 @@ (testHttpFallsBackToManualSocksProxy): New method. (testManualSameProxy): Remove test for socket protocol. -2013-09-23 Omair Majid +2013-09-23 Omair Majid * netx/net/sourceforge/jnlp/browser/BrowserAwareProxySelector.java (BrowserAwareProxySelector): Rename to... diff -r f2066fcc2550 -r aa4ee1301885 netx/net/sourceforge/jnlp/util/ClasspathMatcher.java --- a/netx/net/sourceforge/jnlp/util/ClasspathMatcher.java Wed Apr 02 11:58:46 2014 +0200 +++ b/netx/net/sourceforge/jnlp/util/ClasspathMatcher.java Wed Apr 02 15:52:42 2014 -0400 @@ -152,7 +152,7 @@ //this is handling case, when *.abc.xy //should match also abc.xy except whatever.abc.xz //but NOT whatewerabc.xy - pre = "(" + quote(domain.substring(2)) + ")|("; + pre = "(" + convertWildcardToRegEx(domain.substring(2)) + ")|("; post = ")"; } return Pattern.compile(pre + ClasspathMatcher.sourceToRegExString(domain) + post); @@ -320,17 +320,10 @@ if (s.equals("*")) { return ".*"; } - return quote(s); + return convertWildcardToRegEx(s); } - private static String quote(String s) { - /* - * coment for lazybones: - * Pattern.quote - all characters in citation are threated as are without any special meaning - * Citation is based on \Q and \E marks wwith escapped inner \Q and \E - * ^ is start of th e line - * $ is end of the line - */ + private static String convertWildcardToRegEx(String s) { if (s.startsWith("*") && s.endsWith("*")) { return "^.*" + Pattern.quote(s.substring(1, s.length() - 1)) + ".*$"; } else if (s.endsWith("*")) { From omajid at redhat.com Wed Apr 2 21:36:30 2014 From: omajid at redhat.com (Omair Majid) Date: Wed, 2 Apr 2014 17:36:30 -0400 Subject: IcedTea for Java 8 In-Reply-To: References: <5328801F.2000409@zafena.se> <138136840.1167292.1395163951941.JavaMail.zimbra@redhat.com> Message-ID: <20140402213629.GM10338@redhat.com> Hi, * Guillaume Alaux [2014-03-30 14:43]: > We are talking among Arch Linux devs as to what should be shipped in > our repos (if any) until the IcedTea 3.0 release you mention is out. I think this depends on what you want to ship. Do you mostly care just about OpenJDK proper and hotspot? Or are you also interested in all the additional stuff IcedTea provides (additional ports, VMs)? If you need all that stuff, then I recommend not shipping anything until IcedTea 3.0 is out. Current IcedTea 3 is quite old and very incompatible with OpenJDK8. If you just need OpenJDK 8 proper, then perhaps you can try shipping OpenJDK 8 itself (with some patches, at least until IcedTea 3 is released). Over in Fedora, we have packaged OpenJDK 8 directly [1]. It's not as complete as IcedTea, because various patches from IcedTea are not upstream yet. We are carrying some IcedTea patches (some directly copied, some adjusted for 7 -> 8 differences) locally until we can upstream them. Thanks, Omair [1] http://pkgs.fedoraproject.org/cgit/java-1.8.0-openjdk.git/tree/java-1.8.0-openjdk.spec#n150 -- PGP Key: 66484681 (http://pgp.mit.edu/) Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681 From dalibor.topic at oracle.com Thu Apr 3 06:15:49 2014 From: dalibor.topic at oracle.com (dalibor.topic at oracle.com) Date: Thu, 3 Apr 2014 08:15:49 +0200 Subject: IcedTea for Java 8 In-Reply-To: <20140402213629.GM10338@redhat.com> References: <5328801F.2000409@zafena.se> <138136840.1167292.1395163951941.JavaMail.zimbra@redhat.com> <20140402213629.GM10338@redhat.com> Message-ID: And if you have questions about the up streaming process for 8u, let me know directly, here or on jdk8u-dev. Cheers, Dalibor -- Oracle Dalibor Topic | Principal Product Manager Phone: +494089091214 | Mobile:+491737185961 Oracle Java Platform Group ORACLE Deutschland B.V. & Co. KG | K?hneh?fe 5 | 22761 Hamburg ORACLE Deutschland B.V. & Co. KG Hauptverwaltung: Riesstr. 25, D-80992 M?nchen Registergericht: Amtsgericht M?nchen, HRA 95603 Gesch?ftsf?hrer: J?rgen Kunz Komplement?rin: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Gesch?ftsf?hrer: Alexander van der Ven, Astrid Kepper, Val Maher Green Oracle Oracle is committed to developing practices and products that help protect the environment > On 02.04.2014, at 23:36, Omair Majid wrote: > > Hi, > > * Guillaume Alaux [2014-03-30 14:43]: >> We are talking among Arch Linux devs as to what should be shipped in >> our repos (if any) until the IcedTea 3.0 release you mention is out. > > I think this depends on what you want to ship. Do you mostly care just > about OpenJDK proper and hotspot? Or are you also interested in all the > additional stuff IcedTea provides (additional ports, VMs)? > > If you need all that stuff, then I recommend not shipping anything until > IcedTea 3.0 is out. Current IcedTea 3 is quite old and very incompatible > with OpenJDK8. If you just need OpenJDK 8 proper, then perhaps you can > try shipping OpenJDK 8 itself (with some patches, at least until IcedTea > 3 is released). > > Over in Fedora, we have packaged OpenJDK 8 directly [1]. It's not as > complete as IcedTea, because various patches from IcedTea are not > upstream yet. We are carrying some IcedTea patches (some directly > copied, some adjusted for 7 -> 8 differences) locally until we can > upstream them. > > Thanks, > Omair > > [1] http://pkgs.fedoraproject.org/cgit/java-1.8.0-openjdk.git/tree/java-1.8.0-openjdk.spec#n150 > > -- > PGP Key: 66484681 (http://pgp.mit.edu/) > Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ptisnovs at icedtea.classpath.org Thu Apr 3 07:51:20 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Thu, 03 Apr 2014 07:51:20 +0000 Subject: /hg/gfx-test: Ten new tests added into CAGOperationsOnTwoTouchin... Message-ID: changeset 5ce321a188a7 in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=5ce321a188a7 author: Pavel Tisnovsky date: Thu Apr 03 09:51:51 2014 +0200 Ten new tests added into CAGOperationsOnTwoTouchingCircles. diffstat: ChangeLog | 5 + src/org/gfxtest/testsuites/CAGOperationsOnTwoTouchingCircles.java | 250 ++++++++++ 2 files changed, 255 insertions(+), 0 deletions(-) diffs (272 lines): diff -r f3450f0039de -r 5ce321a188a7 ChangeLog --- a/ChangeLog Wed Apr 02 09:35:07 2014 +0200 +++ b/ChangeLog Thu Apr 03 09:51:51 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-03 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/CAGOperationsOnTwoTouchingCircles.java: + Ten new tests added into CAGOperationsOnTwoTouchingCircles. + 2014-04-02 Pavel Tisnovsky * src/org/gfxtest/testsuites/BitBltBasicTests.java: diff -r f3450f0039de -r 5ce321a188a7 src/org/gfxtest/testsuites/CAGOperationsOnTwoTouchingCircles.java --- a/src/org/gfxtest/testsuites/CAGOperationsOnTwoTouchingCircles.java Wed Apr 02 09:35:07 2014 +0200 +++ b/src/org/gfxtest/testsuites/CAGOperationsOnTwoTouchingCircles.java Thu Apr 03 09:51:51 2014 +0200 @@ -1982,6 +1982,256 @@ return TestResult.PASSED; } + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two touching circles using inverse subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testInverseSubtractTextureFillUsingHorizontalColorStripesTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingHorizontalColorStripesTexture(image, graphics2d); + // create area using inverse subtract operator + Area area = CommonCAGOperations.createAreaFromTwoTouchingCirclesUsingInverseSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two touching circles using Intersect operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testIntersectTextureFillUsingHorizontalColorStripesTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingHorizontalColorStripesTexture(image, graphics2d); + // create area using Intersect operator + Area area = CommonCAGOperations.createAreaFromTwoTouchingCirclesUsingIntersectOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two touching circles using Xor operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testXorTextureFillUsingHorizontalColorStripesTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingHorizontalColorStripesTexture(image, graphics2d); + // create area using Xor operator + Area area = CommonCAGOperations.createAreaFromTwoTouchingCirclesUsingXorOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two touching circles using union operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testUnionTextureFillUsingVerticalColorStripesTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingVerticalColorStripesTexture(image, graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromTwoTouchingCirclesUsingUnionOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two touching circles using subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSubtractTextureFillUsingVerticalColorStripesTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingVerticalColorStripesTexture(image, graphics2d); + // create area using subtract operator + Area area = CommonCAGOperations.createAreaFromTwoTouchingCirclesUsingSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two touching circles using inverse subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testInverseSubtractTextureFillUsingVerticalColorStripesTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingVerticalColorStripesTexture(image, graphics2d); + // create area using inverse subtract operator + Area area = CommonCAGOperations.createAreaFromTwoTouchingCirclesUsingInverseSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two touching circles using Intersect operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testIntersectTextureFillUsingVerticalColorStripesTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingVerticalColorStripesTexture(image, graphics2d); + // create area using Intersect operator + Area area = CommonCAGOperations.createAreaFromTwoTouchingCirclesUsingIntersectOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two touching circles using Xor operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testXorTextureFillUsingVerticalColorStripesTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingVerticalColorStripesTexture(image, graphics2d); + // create area using Xor operator + Area area = CommonCAGOperations.createAreaFromTwoTouchingCirclesUsingXorOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two touching circles using union operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testUnionTextureFillUsingDiagonalStripesTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingDiagonalStripesTexture(image, graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromTwoTouchingCirclesUsingUnionOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two touching circles using subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSubtractTextureFillUsingDiagonalStripesTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingDiagonalStripesTexture(image, graphics2d); + // create area using subtract operator + Area area = CommonCAGOperations.createAreaFromTwoTouchingCirclesUsingSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + // create area using union operator Area area = CommonCAGOperations.createAreaFromTwoTouchingCirclesUsingUnionOperator(image); // draw the area From ptisnovs at icedtea.classpath.org Thu Apr 3 07:55:56 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Thu, 03 Apr 2014 07:55:56 +0000 Subject: /hg/rhino-tests: Added new tests testGetResourceAsStreamPositive... Message-ID: changeset cb8d30425c68 in /hg/rhino-tests details: http://icedtea.classpath.org/hg/rhino-tests?cmd=changeset;node=cb8d30425c68 author: Pavel Tisnovsky date: Thu Apr 03 09:56:40 2014 +0200 Added new tests testGetResourceAsStreamPositiveTest into ScriptEngineFactoryClassTest. diffstat: ChangeLog | 6 ++++++ src/org/RhinoTests/ScriptEngineFactoryClassTest.java | 14 ++++++++++++++ 2 files changed, 20 insertions(+), 0 deletions(-) diffs (41 lines): diff -r 071f5098ba66 -r cb8d30425c68 ChangeLog --- a/ChangeLog Wed Apr 02 09:39:43 2014 +0200 +++ b/ChangeLog Thu Apr 03 09:56:40 2014 +0200 @@ -1,3 +1,9 @@ +2014-04-03 Pavel Tisnovsky + + * src/org/RhinoTests/ScriptEngineFactoryClassTest.java: + Added new tests testGetResourceAsStreamPositiveTest + into ScriptEngineFactoryClassTest. + 2014-04-02 Pavel Tisnovsky * src/org/RhinoTests/ScriptEngineManagerClassTest.java: diff -r 071f5098ba66 -r cb8d30425c68 src/org/RhinoTests/ScriptEngineFactoryClassTest.java --- a/src/org/RhinoTests/ScriptEngineFactoryClassTest.java Wed Apr 02 09:39:43 2014 +0200 +++ b/src/org/RhinoTests/ScriptEngineFactoryClassTest.java Thu Apr 03 09:56:40 2014 +0200 @@ -1941,6 +1941,19 @@ } /** + * Test for method javax.script.ScriptEngineFactory.getClass().getResourceAsStreamNPETest() + */ + protected void testGetResourceAsStreamNPETest() { + try { + Object resource = this.scriptEngineFactoryClass.getResourceAsStream(null); + throw new AssertionError("NullPointerException expected!"); + } + catch (NullPointerException e) { + //This is OK OK + } + } + + /** * Test for method javax.script.ScriptEngineFactory.getClass().getResourceAsStreamNegativeTest() */ protected void testGetResourceAsStreamNegativeTest() { @@ -2043,3 +2056,4 @@ new ScriptEngineFactoryClassTest().doTests(args); } } + From ptisnovs at icedtea.classpath.org Thu Apr 3 08:04:39 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Thu, 03 Apr 2014 08:04:39 +0000 Subject: /hg/rhino-tests: Fixed ChangeLog entry. Message-ID: changeset ec00d7a5c167 in /hg/rhino-tests details: http://icedtea.classpath.org/hg/rhino-tests?cmd=changeset;node=ec00d7a5c167 author: Pavel Tisnovsky date: Thu Apr 03 10:05:25 2014 +0200 Fixed ChangeLog entry. diffstat: ChangeLog | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r cb8d30425c68 -r ec00d7a5c167 ChangeLog --- a/ChangeLog Thu Apr 03 09:56:40 2014 +0200 +++ b/ChangeLog Thu Apr 03 10:05:25 2014 +0200 @@ -13,7 +13,7 @@ 2014-04-01 Pavel Tisnovsky * src/org/RhinoTests/ScriptEngineFactoryClassTest.java: - Added new tests testGetResourceAsStreamPositiveTest + Added new tests testGetResourceAsStreamNegativeTest into ScriptEngineFactoryClassTest. 2014-03-28 Pavel Tisnovsky From bugzilla-daemon at icedtea.classpath.org Thu Apr 3 14:01:36 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 03 Apr 2014 14:01:36 +0000 Subject: [Bug 1729] New: Launch failure -- can't load jar file via https Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1729 Bug ID: 1729 Summary: Launch failure -- can't load jar file via https Product: IcedTea-Web Version: unspecified Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: Plugin Assignee: dbhole at redhat.com Reporter: jik at kamens.us CC: unassigned at icedtea.classpath.org I have two Fedora 20 x86_64 systems. On one, I can't run a particular java app in Firefox, and on the other, the exact same java applet works just fine. I tried creating a brand new Firefox profile and the problem persisted. Here's the start of the output in the java console on the machine that's not working: Attempted to download https://xvm.mit.edu:446/static/VncViewer.jar, but failed to connect! Application title was not found in manifest. Check with application vendor JAR https://xvm.mit.edu:446/static/VncViewer.jar not found. Continuing. JAR https://xvm.mit.edu:446/static/VncViewer.jar not found. Continuing. For some reason the other Fedora 20 x86_64 system is having no trouble opening the same jar file. Furthermore, I can download it directly by feeding that URL to firefox or by downloading it with "curl". Note that I've enabled debugging in itweb-settings and it doesn't print any more information than shown above. If there's anything else I can do to help diagnose this, please let me know. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Thu Apr 3 14:46:58 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 03 Apr 2014 14:46:58 +0000 Subject: [Bug 1729] Launch failure -- can't load jar file via https In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1729 Deepak Bhole changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|dbhole at redhat.com |aazores at redhat.com -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Thu Apr 3 15:04:28 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 03 Apr 2014 15:04:28 +0000 Subject: [Bug 1729] Launch failure -- can't load jar file via https In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1729 --- Comment #1 from Andrew Azores --- And both systems have IcedTea-Web 1.4.2 in use, I suppose? Have you tried with a different browser on the one that is failing, eg Midori? -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Thu Apr 3 15:34:33 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 03 Apr 2014 15:34:33 +0000 Subject: [Bug 1729] Launch failure -- can't load jar file via https In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1729 --- Comment #2 from Jonathan Kamens --- (In reply to Andrew Azores from comment #1) > And both systems have IcedTea-Web 1.4.2 in use, I suppose? Yes. > Have you tried > with a different browser on the one that is failing, eg Midori? The site in question requires authentication with either a client-side SSL certificate or Kerberos tickets. I don't think Midori supports either of those, so I can't test with Midori. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Thu Apr 3 16:09:24 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 03 Apr 2014 16:09:24 +0000 Subject: [Bug 1730] New: javaws launcher cannot handle ampersand in Client.Security.sessionCookieNames Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1730 Bug ID: 1730 Summary: javaws launcher cannot handle ampersand in Client.Security.sessionCookieNames Product: IcedTea-Web Version: 1.4 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P5 Component: NetX (javaws) Assignee: omajid at redhat.com Reporter: eanderson at usdataworks.com CC: unassigned at icedtea.classpath.org Created attachment 1061 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1061&action=edit javaws.log My company recently introduced a session cookie containing two values connected by an ampersand. When loading our application interface, IcedTea-web reports "" The Oracle-provided javaws does not have any problem with the JNLP file and opens our application without complaint. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From helpcrypto at gmail.com Fri Apr 4 09:03:55 2014 From: helpcrypto at gmail.com (helpcrypto helpcrypto) Date: Fri, 4 Apr 2014 11:03:55 +0200 Subject: Oracle Java 8 problems due to TLS policy change Message-ID: According to http://docs.oracle.com/javase/8/docs/technotes/guides/security/enhancements-8.htmlOracle Java 8 now uses TLS1.1 and TLS1.2 (both enabled by default on Control Panel). This seems to be causing an error in our applet loading. Problem seems solved if both unchecked. Funny thing is our server only supports TLS1.0. Is icedtea8 following the same TLS policy? (switching to TLS1.1 and TLS1.2) If so, i should check if the same error appears. BTW: I have noticed latest Ubuntu pkg doesnt work anymore with our applet...so there must be a JSObject regression in the last...year? I'll let you know after tests. Thanks and good day! -------------- next part -------------- An HTML attachment was scrubbed... URL: From ptisnovs at icedtea.classpath.org Fri Apr 4 09:39:38 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Fri, 04 Apr 2014 09:39:38 +0000 Subject: /hg/gfx-test: New tests added into CAGOperationsOnTwoConcentricC... Message-ID: changeset 38063a592112 in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=38063a592112 author: Pavel Tisnovsky date: Fri Apr 04 11:40:21 2014 +0200 New tests added into CAGOperationsOnTwoConcentricCircles test suite. diffstat: ChangeLog | 5 + src/org/gfxtest/testsuites/CAGOperationsOnTwoConcentricCircles.java | 175 ++++++++++ 2 files changed, 180 insertions(+), 0 deletions(-) diffs (204 lines): diff -r 5ce321a188a7 -r 38063a592112 ChangeLog --- a/ChangeLog Thu Apr 03 09:51:51 2014 +0200 +++ b/ChangeLog Fri Apr 04 11:40:21 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-04 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/CAGOperationsOnTwoConcentricCircles.java: + New tests added into CAGOperationsOnTwoConcentricCircles test suite. + 2014-04-03 Pavel Tisnovsky * src/org/gfxtest/testsuites/CAGOperationsOnTwoTouchingCircles.java: diff -r 5ce321a188a7 -r 38063a592112 src/org/gfxtest/testsuites/CAGOperationsOnTwoConcentricCircles.java --- a/src/org/gfxtest/testsuites/CAGOperationsOnTwoConcentricCircles.java Thu Apr 03 09:51:51 2014 +0200 +++ b/src/org/gfxtest/testsuites/CAGOperationsOnTwoConcentricCircles.java Fri Apr 04 11:40:21 2014 +0200 @@ -436,6 +436,131 @@ /** * Checks the process of creating and rendering new geometric shape * constructed from two concentric circles using union operator. The shape is rendered + * using zero wide stroke. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testUnionZeroStrokePaint(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set stroke width + CommonRenderingStyles.setStrokeZeroThick(graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingUnionOperator(image); + // draw the area + graphics2d.draw(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using subtract operator. The shape is + * rendered using zero stroke. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSubtractZeroStrokePaint(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set stroke width + CommonRenderingStyles.setStrokeZeroThick(graphics2d); + // create area using subtract operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingSubtractOperator(image); + // draw the area + graphics2d.draw(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using inverse subtract operator. The shape + * is rendered using zero stroke. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testInverseSubtractZeroStrokePaint(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set stroke width + CommonRenderingStyles.setStrokeZeroThick(graphics2d); + // create area using subtract operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingInverseSubtractOperator(image); + // draw the area + graphics2d.draw(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using intersect operator. The shape is + * rendered using zero stroke. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testIntersectZeroStrokePaint(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set stroke width + CommonRenderingStyles.setStrokeZeroThick(graphics2d); + // create area using intersect operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingIntersectOperator(image); + // draw the area + graphics2d.draw(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using XOR operator. The shape is rendered + * using zero stroke. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testXorZeroStrokePaint(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set stroke width + CommonRenderingStyles.setStrokeZeroThick(graphics2d); + // create area using XOR operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingXorOperator(image); + // draw the area + graphics2d.draw(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using union operator. The shape is rendered * using color paint (fill). * * @param image @@ -1085,6 +1210,56 @@ /** * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSubtractTextureFillUsingCheckerTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingCheckerTexture(image, graphics2d); + // create area using subtract operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using inverse subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testInverseSubtractTextureFillUsingCheckerTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingCheckerTexture(image, graphics2d); + // create area using inverse subtract operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingInverseSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape * constructed from two concentric circles using union operator. The shape is rendered * using texture paint (fill). * From ptisnovs at icedtea.classpath.org Fri Apr 4 09:43:02 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Fri, 04 Apr 2014 09:43:02 +0000 Subject: /hg/rhino-tests: Three new tests added into ScriptEngineManagerC... Message-ID: changeset 4e8a5860cb27 in /hg/rhino-tests details: http://icedtea.classpath.org/hg/rhino-tests?cmd=changeset;node=4e8a5860cb27 author: Pavel Tisnovsky date: Fri Apr 04 11:43:47 2014 +0200 Three new tests added into ScriptEngineManagerClassTest. diffstat: ChangeLog | 5 +++ src/org/RhinoTests/ScriptEngineManagerClassTest.java | 31 ++++++++++++++++++++ 2 files changed, 36 insertions(+), 0 deletions(-) diffs (53 lines): diff -r ec00d7a5c167 -r 4e8a5860cb27 ChangeLog --- a/ChangeLog Thu Apr 03 10:05:25 2014 +0200 +++ b/ChangeLog Fri Apr 04 11:43:47 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-04 Pavel Tisnovsky + + * src/org/RhinoTests/ScriptEngineManagerClassTest.java: + Three new tests added into ScriptEngineManagerClassTest. + 2014-04-03 Pavel Tisnovsky * src/org/RhinoTests/ScriptEngineFactoryClassTest.java: diff -r ec00d7a5c167 -r 4e8a5860cb27 src/org/RhinoTests/ScriptEngineManagerClassTest.java --- a/src/org/RhinoTests/ScriptEngineManagerClassTest.java Thu Apr 03 10:05:25 2014 +0200 +++ b/src/org/RhinoTests/ScriptEngineManagerClassTest.java Fri Apr 04 11:43:47 2014 +0200 @@ -2108,6 +2108,37 @@ } /** + * Test for method javax.script.ScriptEngineManager.getClass().getResourceAsStreamNPETest() + */ + protected void testGetResourceAsStreamNPETest() { + try { + Object resource = this.scriptEngineManagerClass.getResourceAsStream(null); + throw new AssertionError("NullPointerException expected!"); + } + catch (NullPointerException e) { + //This is OK OK + } + } + + /** + * Test for method javax.script.ScriptEngineManager.getClass().getResourceAsStreamPositiveTest() + */ + protected void testGetResourceAsStreamPositiveTest() { + Object stream; + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/AbstractScriptEngineClassTest.class"); + assertNotNull(stream, "getResourceAsStream(\"/org/RhinoTests/AbstractScriptEngineClassTest.class\") returns null"); + } + + /** + * Test for method javax.script.ScriptEngineManager.getClass().toString() + */ + protected void testToString() { + String asString; + asString = this.scriptEngineManagerClass.toString(); + assertEquals("class javax.script.ScriptEngineManager", asString, "wrong toString() return value"); + } + + /** * Test for instanceof operator applied to a class javax.script.ScriptEngineManager */ @SuppressWarnings("cast") From bugzilla-daemon at icedtea.classpath.org Fri Apr 4 10:43:20 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 04 Apr 2014 10:43:20 +0000 Subject: [Bug 1731] New: Possible bug using JSObject setMember invalid [Object object] Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1731 Bug ID: 1731 Summary: Possible bug using JSObject setMember invalid [Object object] Product: IcedTea-Web Version: unspecified Hardware: x86_64 OS: Linux Status: NEW Severity: minor Priority: P5 Component: Plugin Assignee: dbhole at redhat.com Reporter: helpcrypto at gmail.com CC: unassigned at icedtea.classpath.org On our applet we have more or less: JSObject win = JSObject.getWindow(applet); JSObject js = (JSObject) win.eval("new Object();"); try { //... js.setMember("code", 0); js.setMember("message", "Ok"); js.setMember("data", "..."); } catch(Exception ex){ //... } return js; IIRC this worked after fixing 1198 but it doesn't do it anymore, and now console is showing: Setting to class class java.lang.Integer:false Setting to class class java.lang.String:false Setting to class class java.lang.String:false The object on the JS side is an [Object object] without attributes, like in 1198. I'm using Ubuntu 12.04 with java version "1.7.0_51" OpenJDK Runtime Environment (IcedTea 2.4.4) (7u51-2.4.4-0ubuntu0.12.04.2) OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode) Thanks! -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From guillaume at alaux.net Fri Apr 4 14:10:40 2014 From: guillaume at alaux.net (Guillaume Alaux) Date: Fri, 4 Apr 2014 16:10:40 +0200 Subject: IcedTea for Java 8 In-Reply-To: References: <5328801F.2000409@zafena.se> <138136840.1167292.1395163951941.JavaMail.zimbra@redhat.com> <20140402213629.GM10338@redhat.com> Message-ID: On 3 April 2014 08:15, dalibor.topic at oracle.com wrote: > > And if you have questions about the up streaming process for 8u, let me know directly, here or on jdk8u-dev. > > Cheers, > Dalibor > > -- > Oracle > Dalibor Topic | Principal Product Manager > Phone: +494089091214 | Mobile:+491737185961 > Oracle Java Platform Group > > ORACLE Deutschland B.V. & Co. KG | K?hneh?fe 5 | 22761 Hamburg > > ORACLE Deutschland B.V. & Co. KG > Hauptverwaltung: Riesstr. 25, D-80992 M?nchen > Registergericht: Amtsgericht M?nchen, HRA 95603 > Gesch?ftsf?hrer: J?rgen Kunz > > Komplement?rin: ORACLE Deutschland Verwaltung B.V. > Hertogswetering 163/167, 3543 AS Utrecht, Niederlande > Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 > Gesch?ftsf?hrer: Alexander van der Ven, Astrid Kepper, Val Maher > > Green Oracle Oracle is committed to developing practices and products that help protect the environment > > On 02.04.2014, at 23:36, Omair Majid wrote: > > Hi, > > * Guillaume Alaux [2014-03-30 14:43]: > > We are talking among Arch Linux devs as to what should be shipped in > > our repos (if any) until the IcedTea 3.0 release you mention is out. > > > I think this depends on what you want to ship. Do you mostly care just > about OpenJDK proper and hotspot? Or are you also interested in all the > additional stuff IcedTea provides (additional ports, VMs)? > > If you need all that stuff, then I recommend not shipping anything until > IcedTea 3.0 is out. Current IcedTea 3 is quite old and very incompatible > with OpenJDK8. If you just need OpenJDK 8 proper, then perhaps you can > try shipping OpenJDK 8 itself (with some patches, at least until IcedTea > 3 is released). > > Over in Fedora, we have packaged OpenJDK 8 directly [1]. It's not as > complete as IcedTea, because various patches from IcedTea are not > upstream yet. We are carrying some IcedTea patches (some directly > copied, some adjusted for 7 -> 8 differences) locally until we can > upstream them. > > Thanks, > Omair > > [1] http://pkgs.fedoraproject.org/cgit/java-1.8.0-openjdk.git/tree/java-1.8.0-openjdk.spec#n150 > > -- > PGP Key: 66484681 (http://pgp.mit.edu/) > Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681 Great, thank you very much. -- Guillaume From yasuenag at gmail.com Fri Apr 4 14:55:54 2014 From: yasuenag at gmail.com (Yasumasa Suenaga) Date: Fri, 04 Apr 2014 23:55:54 +0900 Subject: JDK-8036003: Add variable not to separate debug information. In-Reply-To: <20140303190102.GE2045@redhat.com> References: <20140228091835.58EB8C21F24@msgw007-05.ocn.ad.jp> <53144E4D.8080606@redhat.com> <20140303190102.GE2045@redhat.com> Message-ID: <533EC7FA.9030700@gmail.com> Hi all, > This should fix it: > http://pkgs.fedoraproject.org/cgit/java-1.8.0-openjdk.git/commit/?id=1734315551d634b7467f28788d90595b467ea5eb I updated OpenJDK8 to java-1.8.0-openjdk-1.8.0.0-0.34.b132.fc20 . However, debuginfo files are not contained ELF sections for debugging. (I checked libjvm.so.debug and libnio.so.debug with "readelf -S") According to SPEC file of OpenJDK8, following options are passed to "make": ----------------- make \ SCTP_WERROR= \ DEBUG_BINARIES=true \ FULL_DEBUG_SYMBOLS=0 \ STRIP_POLICY=none \ ALT_OBJCOPY=/does_not_exist \ LOG=trace \ all ----------------- I ran "grep" with DEBUG_BINARIES in jdk makefiles, however I could not find it. At least, DEBUG_BINARIES does not affect to jdk sources, and also does not affect to hotspot sources. I've succeeded to make binaries which are contained debuginfo as following: http://mail.openjdk.java.net/pipermail/build-dev/2014-March/012037.html $ make images STRIP_POLICY=no_strip POST_STRIP_CMD="" I guess that we should run "make" above options to avoid this issue in currently. Thanks, Yasumasa On 03/04/2014 04:01 AM, Omair Majid wrote: > * Andrew Haley [2014-03-03 04:43]: >> On 02/28/2014 09:18 AM, Yasumasa Suenaga wrote: >>> For example, OpenJDK8 in Fedora20 ships libjvm.so and libjvm.debuginfo . >>> libjvm.debuginfo is generated in OpenJDK's makefiles, however it does not >>> contain debug information. Actual debug information is shipped by OpenJDK >>> debuginfo package. >> That's a bug in Fedora's build. We should fix it. > This should fix it: > http://pkgs.fedoraproject.org/cgit/java-1.8.0-openjdk.git/commit/?id=1734315551d634b7467f28788d90595b467ea5eb > > Thanks, > Omair > From andrew at icedtea.classpath.org Fri Apr 4 17:49:53 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 04 Apr 2014 17:49:53 +0000 Subject: /hg/release/icedtea7-forest-2.5: 9 new changesets Message-ID: changeset afdbcacfcce1 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=afdbcacfcce1 author: ohrstrom date: Tue Dec 18 09:57:01 2012 +0100 8004145: New improved hgforest.sh, ctrl-c now properly terminates mercurial processes. Reviewed-by: ohair, erikj changeset 2e5732f7cdf1 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=2e5732f7cdf1 author: chegar date: Wed Feb 06 11:36:19 2013 +0000 8007625: race with nested repos in /common/bin/hgforest.sh Reviewed-by: dholmes, ohair, ohrstrom changeset ad4c61f9eb86 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=ad4c61f9eb86 author: mduigou date: Mon Apr 01 21:11:51 2013 -0700 8011178: improve common/bin/hgforest.sh python detection (MacOS) Reviewed-by: ohair changeset aafad7f15b4d in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=aafad7f15b4d author: mduigou date: Tue Apr 02 14:56:19 2013 -0700 8011342: hgforest.sh : 'python --version' not supported on older python Reviewed-by: wetmore changeset 1e51d1050d1f in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=1e51d1050d1f author: mduigou date: Wed Apr 03 16:26:10 2013 -0700 8011350: hgforest.sh uses non-POSIX sh features that may fail with some shells Reviewed-by: tbell, katleman, dholmes changeset 8578688aff3a in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=8578688aff3a author: mduigou date: Tue Sep 03 15:23:16 2013 -0700 8024200: handle hg wrapper with space after #! Reviewed-by: tbell changeset 5bc2f659e556 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=5bc2f659e556 author: mduigou date: Fri Oct 11 15:20:13 2013 -0700 8025796: hgforest.sh could trigger unbuffered output from hg without complicated machinations Reviewed-by: mduigou Contributed-by: Dmitry Samersoff changeset b9841b80cde0 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=b9841b80cde0 author: aph date: Fri Apr 04 18:34:37 2014 +0100 Red Hat local: Fix for repo with path statting with / . changeset 689ad92d390d in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=689ad92d390d author: andrew date: Fri Apr 04 18:44:40 2014 +0100 Remove unused hgforest script diffstat: common/bin/hgforest.sh | 190 +++++++++++++++++++++++++++++++++++++++++++++++ get_source.sh | 4 +- make/scripts/hgforest.sh | 144 ----------------------------------- 3 files changed, 192 insertions(+), 146 deletions(-) diffs (356 lines): diff -r 4a0c67d14672 -r 689ad92d390d common/bin/hgforest.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/bin/hgforest.sh Fri Apr 04 18:44:40 2014 +0100 @@ -0,0 +1,190 @@ +#!/bin/sh + +# +# Copyright (c) 2009, 2013, 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 +# under the terms of the GNU General Public License version 2 only, as +# published by the Free Software Foundation. +# +# This code is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# version 2 for more details (a copy is included in the LICENSE file that +# accompanied this code). +# +# You should have received a copy of the GNU General Public License version +# 2 along with this work; if not, write to the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA +# or visit www.oracle.com if you need additional information or have any +# questions. +# + +# Shell script for a fast parallel forest command +command="$1" +pull_extra_base="$2" + +if [ "" = "$command" ] ; then + echo No command to hg supplied! + exit 1 +fi + +# Clean out the temporary directory that stores the pid files. +tmp=/tmp/forest.$$ +rm -f -r ${tmp} +mkdir -p ${tmp} + +safe_interrupt () { + if [ -d ${tmp} ]; then + if [ "`ls ${tmp}/*.pid`" != "" ]; then + echo "Waiting for processes ( `cat ${tmp}/*.pid | tr '\n' ' '`) to terminate nicely!" + sleep 1 + # Pipe stderr to dev/null to silence kill, that complains when trying to kill + # a subprocess that has already exited. + kill -TERM `cat ${tmp}/*.pid | tr '\n' ' '` 2> /dev/null + wait + echo Interrupt complete! + fi + fi + rm -f -r ${tmp} + exit 1 +} + +nice_exit () { + if [ -d ${tmp} ]; then + if [ "`ls ${tmp}`" != "" ]; then + wait + fi + fi + rm -f -r ${tmp} +} + +trap 'safe_interrupt' INT QUIT +trap 'nice_exit' EXIT + +# Only look in specific locations for possible forests (avoids long searches) +pull_default="" +repos="" +repos_extra="" +if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then + subrepos="corba jaxp jaxws langtools jdk hotspot" + if [ -f .hg/hgrc ] ; then + pull_default=`hg paths default` + if [ "${pull_default}" = "" ] ; then + echo "ERROR: Need initial clone with 'hg paths default' defined" + exit 1 + fi + fi + if [ "${pull_default}" = "" ] ; then + echo "ERROR: Need initial repository to use this script" + exit 1 + fi + for i in ${subrepos} ; do + if [ ! -f ${i}/.hg/hgrc ] ; then + repos="${repos} ${i}" + fi + done + if [ "${pull_extra_base}" != "" ] ; then + subrepos_extra="jdk/src/closed jdk/make/closed jdk/test/closed hotspot/make/closed hotspot/src/closed hotspot/test/closed deploy install sponsors pubs" + pull_default_tail=`echo ${pull_default} | sed -e 's@^.*://[^/]*/\(.*\)@\1@'` + pull_extra="${pull_extra_base}/${pull_default_tail}" + for i in ${subrepos_extra} ; do + if [ ! -f ${i}/.hg/hgrc ] ; then + repos_extra="${repos_extra} ${i}" + fi + done + fi + at_a_time=2 + # Any repos to deal with? + if [ "${repos}" = "" -a "${repos_extra}" = "" ] ; then + exit + fi +else + hgdirs=`ls -d ./.hg ./*/.hg ./*/*/.hg ./*/*/*/.hg ./*/*/*/*/.hg 2>/dev/null` + # Derive repository names from the .hg directory locations + for i in ${hgdirs} ; do + repos="${repos} `echo ${i} | sed -e 's@/.hg$@@'`" + done + for i in ${repos} ; do + if [ -h ${i}/.hg/store/lock -o -f ${i}/.hg/store/lock ] ; then + locked="${i} ${locked}" + fi + done + at_a_time=8 + # Any repos to deal with? + if [ "${repos}" = "" ] ; then + echo "No repositories to process." + exit + fi + if [ "${locked}" != "" ] ; then + echo "These repositories are locked: ${locked}" + exit + fi +fi + +# Echo out what repositories we do a command on. +echo "# Repositories: ${repos} ${repos_extra}" +echo + +# Run the supplied command on all repos in parallel. +n=0 +for i in ${repos} ${repos_extra} ; do + n=`expr ${n} '+' 1` + repopidfile=`echo ${i} | sed -e 's at ./@@' -e 's@/@_ at g'` + reponame=`echo ${i} | sed -e :a -e 's/^.\{1,20\}$/ &/;ta'` + pull_base="${pull_default}" + for j in $repos_extra ; do + if [ "$i" = "$j" ] ; then + pull_base="${pull_extra}" + fi + done + ( + ( + if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then + pull_newrepo="${pull_base}/${i}" + # pull_newrepo="`echo ${pull_base}/${i} | sed -e 's@\([^:]/\)//*@\1 at g'`" + echo hg clone ${pull_newrepo} ${i} + path="`dirname ${i}`" + if [ "${path}" != "." ] ; then + times=0 + while [ ! -d "${path}" ] ## nested repo, ensure containing dir exists + do + times=`expr ${times} '+' 1` + if [ `expr ${times} '%' 10` -eq 0 ] ; then + echo ${path} still not created, waiting... + fi + sleep 5 + done + fi + (PYTHONUNBUFFERED=true hg clone ${pull_newrepo} ${i}; echo "$?" > ${tmp}/${repopidfile}.pid.rc )& + else + echo "cd ${i} && hg $*" + cd ${i} && (PYTHONUNBUFFERED=true hg "$@"; echo "$?" > ${tmp}/${repopidfile}.pid.rc )& + fi + echo $! > ${tmp}/${repopidfile}.pid + ) 2>&1 | sed -e "s@^@${reponame}: @") & + + if [ `expr ${n} '%' ${at_a_time}` -eq 0 ] ; then + sleep 2 + echo Waiting 5 secs before spawning next background command. + sleep 3 + fi +done +# Wait for all hg commands to complete +wait + +# Terminate with exit 0 only if all subprocesses were successful +ec=0 +if [ -d ${tmp} ]; then + for rc in ${tmp}/*.pid.rc ; do + exit_code=`cat ${rc} | tr -d ' \n\r'` + if [ "${exit_code}" != "0" ] ; then + echo "WARNING: ${rc} exited abnormally." + ec=1 + fi + done +fi +exit ${ec} diff -r 4a0c67d14672 -r 689ad92d390d get_source.sh --- a/get_source.sh Wed Apr 02 20:04:15 2014 +0100 +++ b/get_source.sh Fri Apr 04 18:44:40 2014 +0100 @@ -26,8 +26,8 @@ # # Get clones of all nested repositories -sh ./make/scripts/hgforest.sh clone $* +sh ./common/bin/hgforest.sh clone "$@" || exit 1 # Update all existing repositories to the latest sources -sh ./make/scripts/hgforest.sh pull -u +sh ./common/bin/hgforest.sh pull -u diff -r 4a0c67d14672 -r 689ad92d390d make/scripts/hgforest.sh --- a/make/scripts/hgforest.sh Wed Apr 02 20:04:15 2014 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,144 +0,0 @@ -#!/bin/sh - -# -# Copyright (c) 2009, 2012, 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 -# under the terms of the GNU General Public License version 2 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# version 2 for more details (a copy is included in the LICENSE file that -# accompanied this code). -# -# You should have received a copy of the GNU General Public License version -# 2 along with this work; if not, write to the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. -# -# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA -# or visit www.oracle.com if you need additional information or have any -# questions. -# - -# Shell script for a fast parallel forest command -command="$1" -pull_extra_base="$2" - -tmp=/tmp/forest.$$ -rm -f -r ${tmp} -mkdir -p ${tmp} - -# Remove tmp area on A. B. Normal termination -trap 'rm -f -r ${tmp}' KILL -trap 'rm -f -r ${tmp}' EXIT - -# Only look in specific locations for possible forests (avoids long searches) -pull_default="" -repos="" -repos_extra="" -if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then - subrepos="corba jaxp jaxws langtools jdk hotspot" - if [ -f .hg/hgrc ] ; then - pull_default=`hg paths default` - if [ "${pull_default}" = "" ] ; then - echo "ERROR: Need initial clone with 'hg paths default' defined" - exit 1 - fi - fi - if [ "${pull_default}" = "" ] ; then - echo "ERROR: Need initial repository to use this script" - exit 1 - fi - for i in ${subrepos} ; do - if [ ! -f ${i}/.hg/hgrc ] ; then - repos="${repos} ${i}" - fi - done - if [ "${pull_extra_base}" != "" ] ; then - subrepos_extra="jdk/src/closed jdk/make/closed jdk/test/closed hotspot/make/closed hotspot/src/closed hotspot/test/closed deploy install sponsors pubs" - pull_default_tail=`echo ${pull_default} | sed -e 's@^.*://[^/]*/\(.*\)@\1@'` - pull_extra="${pull_extra_base}/${pull_default_tail}" - for i in ${subrepos_extra} ; do - if [ ! -f ${i}/.hg/hgrc ] ; then - repos_extra="${repos_extra} ${i}" - fi - done - fi - at_a_time=2 - # Any repos to deal with? - if [ "${repos}" = "" -a "${repos_extra}" = "" ] ; then - echo "No repositories to clone." - exit - fi -else - hgdirs=`ls -d ./.hg ./*/.hg ./*/*/.hg ./*/*/*/.hg ./*/*/*/*/.hg 2>/dev/null` - # Derive repository names from the .hg directory locations - for i in ${hgdirs} ; do - repos="${repos} `echo ${i} | sed -e 's@/.hg$@@'`" - done - at_a_time=8 - # Any repos to deal with? - if [ "${repos}" = "" ] ; then - echo "No repositories to process." - exit - fi -fi - -# Echo out what repositories we will clone -echo "# Repos: ${repos} ${repos_extra}" - -# Run the supplied command on all repos in parallel, save output until end -n=0 -for i in ${repos} ; do - echo "Starting on ${i}" - n=`expr ${n} '+' 1` - ( - ( - if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then - pull_newrepo="`echo ${pull_default}/${i} | sed -e 's@\([^:]/\)//*@\1 at g'`" - cline="hg clone ${pull_newrepo} ${i}" - echo "# ${cline}" - ( eval "${cline}" ) - else - cline="hg $*" - echo "# cd ${i} && ${cline}" - ( cd ${i} && eval "${cline}" ) - fi - echo "# exit code $?" - ) > ${tmp}/repo.${n} 2>&1 ; cat ${tmp}/repo.${n} ) & - if [ `expr ${n} '%' ${at_a_time}` -eq 0 ] ; then - sleep 5 - fi -done -# Wait for all hg commands to complete -wait - -if [ "${repos_extra}" != "" ] ; then - for i in ${repos_extra} ; do - echo "Starting on ${i}" - n=`expr ${n} '+' 1` - ( - ( - pull_newextrarepo="`echo ${pull_extra}/${i} | sed -e 's@\([^:]/\)//*@\1 at g'`" - cline="hg clone ${pull_newextrarepo} ${i}" - echo "# ${cline}" - ( eval "${cline}" ) - echo "# exit code $?" - ) > ${tmp}/repo.${n} 2>&1 ; cat ${tmp}/repo.${n} ) & - if [ `expr ${n} '%' ${at_a_time}` -eq 0 ] ; then - sleep 5 - fi - done - # Wait for all hg commands to complete - wait -fi - -# Cleanup -rm -f -r ${tmp} - -# Terminate with exit 0 all the time (hard to know when to say "failed") -exit 0 - From bugzilla-daemon at icedtea.classpath.org Fri Apr 4 19:49:49 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 04 Apr 2014 19:49:49 +0000 Subject: [Bug 1731] Possible bug using JSObject setMember invalid [Object object] In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1731 Andrew Azores changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aazores at redhat.com --- Comment #1 from Andrew Azores --- Created attachment 1062 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1062&action=edit Attempted reproducer Using Ubuntu 12.04, I see the same behaviour with the attached reproducer as you're reporting - however, I also see that Ubuntu 12.04's repos contain IcedTea-Web version *1.2*, which is very old. Testing with 1.4 and 1.5 (on Fedora) with the reproducer seems to me to work fine. Which version are you using? If it's 1.2 or 1.3, can you try again with 1.4 (current) or 1.5 (release imminent, but can be built from source if you would rather not wait)? -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 4 20:14:23 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 04 Apr 2014 20:14:23 +0000 Subject: [Bug 1731] Possible bug using JSObject setMember invalid [Object object] In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1731 Deepak Bhole changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|dbhole at redhat.com |aazores at redhat.com -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 4 20:25:24 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 04 Apr 2014 20:25:24 +0000 Subject: [Bug 1492] icedtea-web does not work with openjdk-7.25.15 on FreeBSD 9.1-STABLE In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1492 Andrew Azores changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 4 20:30:39 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 04 Apr 2014 20:30:39 +0000 Subject: [Bug 1219] PluginStreamHandler calls System.exit In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1219 Andrew Azores changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from Andrew Azores --- Fixed as of http://icedtea.classpath.org/hg/icedtea-web/rev/a817bb6d12a6 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 4 20:35:30 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 04 Apr 2014 20:35:30 +0000 Subject: [Bug 909] The Java applet at http://de.gosupermodel.com/games/wardrobegame.jsp fails. In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=909 Andrew Azores changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Andrew Azores --- Applet(s) seem to work now. Even if not, PolicyEditor and the new custom permission/fine-grain control options will allow the required AWTPermission to be granted as needed. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 4 20:35:34 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 04 Apr 2014 20:35:34 +0000 Subject: [Bug 1156] Fatal: Read Error: Could not read or parse the JNLP file. In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1156 Bug 1156 depends on bug 909, which changed state. Bug 909 Summary: The Java applet at http://de.gosupermodel.com/games/wardrobegame.jsp fails. http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=909 What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.holmes at oracle.com Mon Apr 7 01:16:19 2014 From: david.holmes at oracle.com (David Holmes) Date: Mon, 07 Apr 2014 11:16:19 +1000 Subject: JDK-8036003: Add variable not to separate debug information. In-Reply-To: <533EC7FA.9030700@gmail.com> References: <20140228091835.58EB8C21F24@msgw007-05.ocn.ad.jp> <53144E4D.8080606@redhat.com> <20140303190102.GE2045@redhat.com> <533EC7FA.9030700@gmail.com> Message-ID: <5341FC63.60602@oracle.com> On 5/04/2014 12:55 AM, Yasumasa Suenaga wrote: > Hi all, > >> This should fix it: >> http://pkgs.fedoraproject.org/cgit/java-1.8.0-openjdk.git/commit/?id=1734315551d634b7467f28788d90595b467ea5eb >> > > I updated OpenJDK8 to java-1.8.0-openjdk-1.8.0.0-0.34.b132.fc20 . > However, debuginfo files are not contained ELF sections for debugging. > (I checked libjvm.so.debug and libnio.so.debug with "readelf -S") > > According to SPEC file of OpenJDK8, following options are passed to "make": > ----------------- > make \ > SCTP_WERROR= \ > DEBUG_BINARIES=true \ > FULL_DEBUG_SYMBOLS=0 \ > STRIP_POLICY=none \ > ALT_OBJCOPY=/does_not_exist \ > LOG=trace \ > all > ----------------- > > I ran "grep" with DEBUG_BINARIES in jdk makefiles, however I could not > find it. > At least, DEBUG_BINARIES does not affect to jdk sources, and also does not > affect to hotspot sources. DEBUG_BINARIES is used in the hotspot makefiles. ./linux/makefiles/gcc.make ifeq ($(DEBUG_BINARIES), true) CFLAGS += -g else David ----- > > I've succeeded to make binaries which are contained debuginfo as following: > > http://mail.openjdk.java.net/pipermail/build-dev/2014-March/012037.html > $ make images STRIP_POLICY=no_strip POST_STRIP_CMD="" > > > I guess that we should run "make" above options to avoid this issue in > currently. > > > Thanks, > > Yasumasa > > > On 03/04/2014 04:01 AM, Omair Majid wrote: >> * Andrew Haley [2014-03-03 04:43]: >>> On 02/28/2014 09:18 AM, Yasumasa Suenaga wrote: >>>> For example, OpenJDK8 in Fedora20 ships libjvm.so and >>>> libjvm.debuginfo . >>>> libjvm.debuginfo is generated in OpenJDK's makefiles, however it >>>> does not >>>> contain debug information. Actual debug information is shipped by >>>> OpenJDK >>>> debuginfo package. >>> That's a bug in Fedora's build. We should fix it. >> This should fix it: >> http://pkgs.fedoraproject.org/cgit/java-1.8.0-openjdk.git/commit/?id=1734315551d634b7467f28788d90595b467ea5eb >> >> >> Thanks, >> Omair >> > From bugzilla-daemon at icedtea.classpath.org Mon Apr 7 07:21:13 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 07 Apr 2014 07:21:13 +0000 Subject: [Bug 1731] Possible bug using JSObject setMember invalid [Object object] In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1731 --- Comment #2 from helpcrypto at gmail.com --- If I'm not wrong, Ubuntu 14.04 Trusty Tahr is going to be released in the next days, and according to https://launchpad.net/ubuntu/+source/icedtea-web, it includes 1.4.2-1ubuntu2. (I guess icedtea 1.4). That could be the fastest solution for our users. Going to try on 14.04 and be right back ;) Thanks a lot! -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Mon Apr 7 08:19:41 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 07 Apr 2014 08:19:41 +0000 Subject: [Bug 1731] Possible bug using JSObject setMember invalid [Object object] In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1731 helpcrypto at gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from helpcrypto at gmail.com --- Tested on Ubuntu 14.04beta2 with package 1.4.2-1ubuntu2 and works perfectly. You can consider the bug solved. Thanks!!! -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From helpcrypto at gmail.com Mon Apr 7 08:28:52 2014 From: helpcrypto at gmail.com (helpcrypto helpcrypto) Date: Mon, 7 Apr 2014 10:28:52 +0200 Subject: OMG: It's full of console Message-ID: During these years I have run several times my firefox from console to be able to view the console log. Today, when testing with Ubuntu14.04+icedtea1.4 an strange window appeared. Hurrah! I didn't notice when this awesome (desesperately desired) feature was born (switch from LTS to LTS), but thanks a lot for making it. I haven't filed a bug 'cause this probably need some discussion. Current console have 2 separate text areas: one for system.out and another for system.err. Could they be merged into 1, hightlighting -for example- system.err in red? On the bottom there are several buttons which, in my case, I find quite big and annoying. Did you consider having them on top and making them smaller? Last but not least: although I have tracing enabled seems I get fewer lines than using Oracle. Is that the desired behaviour? Thanks a lot! -------------- next part -------------- An HTML attachment was scrubbed... URL: From ptisnovs at icedtea.classpath.org Mon Apr 7 09:20:47 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Mon, 07 Apr 2014 09:20:47 +0000 Subject: /hg/gfx-test: Eight new tests added into CAGOperationsOnTwoOverl... Message-ID: changeset 4e1cd7cd10a1 in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=4e1cd7cd10a1 author: Pavel Tisnovsky date: Mon Apr 07 11:21:32 2014 +0200 Eight new tests added into CAGOperationsOnTwoOverlappingCircles. diffstat: ChangeLog | 5 + src/org/gfxtest/testsuites/CAGOperationsOnTwoOverlappingCircles.java | 200 ++++++++++ 2 files changed, 205 insertions(+), 0 deletions(-) diffs (222 lines): diff -r 38063a592112 -r 4e1cd7cd10a1 ChangeLog --- a/ChangeLog Fri Apr 04 11:40:21 2014 +0200 +++ b/ChangeLog Mon Apr 07 11:21:32 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-07 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/CAGOperationsOnTwoOverlappingCircles.java: + Eight new tests added into CAGOperationsOnTwoOverlappingCircles. + 2014-04-04 Pavel Tisnovsky * src/org/gfxtest/testsuites/CAGOperationsOnTwoConcentricCircles.java: diff -r 38063a592112 -r 4e1cd7cd10a1 src/org/gfxtest/testsuites/CAGOperationsOnTwoOverlappingCircles.java --- a/src/org/gfxtest/testsuites/CAGOperationsOnTwoOverlappingCircles.java Fri Apr 04 11:40:21 2014 +0200 +++ b/src/org/gfxtest/testsuites/CAGOperationsOnTwoOverlappingCircles.java Mon Apr 07 11:21:32 2014 +0200 @@ -1058,6 +1058,206 @@ } /** + * Checks the process of creating and rendering new geometric shape + * constructed from two overlapping circles using union operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testUnionTextureFillUsingCheckerTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingCheckerTexture(image, graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromTwoOverlappingCirclesUsingUnionOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two overlapping circles using subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSubtractTextureFillUsingCheckerTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingCheckerTexture(image, graphics2d); + // create area using subtract operator + Area area = CommonCAGOperations.createAreaFromTwoOverlappingCirclesUsingSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two overlapping circles using inverse subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testInverseSubtractTextureFillUsingCheckerTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingCheckerTexture(image, graphics2d); + // create area using inverse subtract operator + Area area = CommonCAGOperations.createAreaFromTwoOverlappingCirclesUsingInverseSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two overlapping circles using intersect operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testIntersectTextureFillUsingCheckerTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingCheckerTexture(image, graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromTwoOverlappingCirclesUsingIntersectOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two overlapping circles using Xor operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testXorTextureFillUsingCheckerTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingCheckerTexture(image, graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromTwoOverlappingCirclesUsingXorOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two overlapping circles using union operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testUnionTextureFillUsingDiagonalCheckerTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingDiagonalCheckerTexture(image, graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromTwoOverlappingCirclesUsingUnionOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two overlapping circles using Intersect operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testIntersectTextureFillUsingRGBTexture6(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingRGBTexture6(image, graphics2d); + // create area using Intersect operator + Area area = CommonCAGOperations.createAreaFromTwoOverlappingCirclesUsingIntersectOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two overlapping circles using Xor operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testXorTextureFillUsingRGBTexture6(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingRGBTexture6(image, graphics2d); + // create area using Xor operator + Area area = CommonCAGOperations.createAreaFromTwoOverlappingCirclesUsingXorOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** * Entry point to the test suite. * * @param args not used in this case From ptisnovs at icedtea.classpath.org Mon Apr 7 09:26:47 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Mon, 07 Apr 2014 09:26:47 +0000 Subject: /hg/rhino-tests: Added new test testGetResourceAsStreamPositiveT... Message-ID: changeset f2bfb93649b4 in /hg/rhino-tests details: http://icedtea.classpath.org/hg/rhino-tests?cmd=changeset;node=f2bfb93649b4 author: Pavel Tisnovsky date: Mon Apr 07 11:27:33 2014 +0200 Added new test testGetResourceAsStreamPositiveTest into ScriptEngineManagerClassTest. diffstat: ChangeLog | 6 + src/org/RhinoTests/ScriptEngineManagerClassTest.java | 61 ++++++++++++++++++++ 2 files changed, 67 insertions(+), 0 deletions(-) diffs (84 lines): diff -r 4e8a5860cb27 -r f2bfb93649b4 ChangeLog --- a/ChangeLog Fri Apr 04 11:43:47 2014 +0200 +++ b/ChangeLog Mon Apr 07 11:27:33 2014 +0200 @@ -1,3 +1,9 @@ +2014-04-07 Pavel Tisnovsky + + * src/org/RhinoTests/ScriptEngineManagerClassTest.java: + Added new test testGetResourceAsStreamPositiveTest into + ScriptEngineManagerClassTest. + 2014-04-04 Pavel Tisnovsky * src/org/RhinoTests/ScriptEngineManagerClassTest.java: diff -r 4e8a5860cb27 -r f2bfb93649b4 src/org/RhinoTests/ScriptEngineManagerClassTest.java --- a/src/org/RhinoTests/ScriptEngineManagerClassTest.java Fri Apr 04 11:43:47 2014 +0200 +++ b/src/org/RhinoTests/ScriptEngineManagerClassTest.java Mon Apr 07 11:27:33 2014 +0200 @@ -2121,6 +2121,67 @@ } /** + * Test for method javax.script.ScriptEngineManager.getClass().getResourceAsStreamNegativeTest() + */ + protected void testGetResourceAsStreamNegativeTest() { + Object stream = null; + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/AbstractScriptEngineClassTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/AbstractScriptEngineClassTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/BaseRhinoTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/BaseRhinoTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/BindingsClassTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/BindingsClassTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/BindingsTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/BindingsTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/CompilableClassTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/CompilableClassTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/CompilableTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/CompilableTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/CompiledScriptClassTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/CompiledScriptClassTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/CompiledScriptTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/CompiledScriptTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/Constants.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/Constants.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/InvocableClassTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/InvocableClassTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/InvocableTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/InvocableTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/JavaScriptSnippets.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/JavaScriptSnippets.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/JavaScriptsTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/JavaScriptsTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/ScriptContextClassTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/ScriptContextClassTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/ScriptContextTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/ScriptContextTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/ScriptEngineClassTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/ScriptEngineClassTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/ScriptEngineFactoryClassTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/ScriptEngineFactoryClassTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/ScriptEngineFactoryTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/ScriptEngineFactoryTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/ScriptEngineManagerClassTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/ScriptEngineManagerClassTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/ScriptEngineManagerTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/ScriptEngineManagerTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/ScriptEngineTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/ScriptEngineTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/ScriptExceptionClassTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/ScriptExceptionClassTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/ScriptExceptionTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/ScriptExceptionTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/SimpleBindingsClassTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/SimpleBindingsClassTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/SimpleBindingsTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/SimpleBindingsTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/SimpleScriptContextClassTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/SimpleScriptContextClassTest.class\") returns null"); + stream = this.scriptEngineManagerClass.getResourceAsStream("/org/RhinoTests/SimpleScriptContextTest.class"); + assertNotNull(stream, "getAsStreamResource(\"/org/RhinoTests/SimpleScriptContextTest.class\") returns null"); + } + + /** * Test for method javax.script.ScriptEngineManager.getClass().getResourceAsStreamPositiveTest() */ protected void testGetResourceAsStreamPositiveTest() { From jvanek at redhat.com Mon Apr 7 09:54:04 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Mon, 07 Apr 2014 11:54:04 +0200 Subject: OMG: It's full of console In-Reply-To: References: Message-ID: <534275BC.5060403@redhat.com> On 04/07/2014 10:28 AM, helpcrypto helpcrypto wrote: > During these years I have run several times my firefox from console to be able to view the console > log. Today, when testing with Ubuntu14.04+icedtea1.4 an strange window appeared. > > Hurrah! > > I didn't notice when this awesome (desesperately desired) feature was born (switch from LTS to LTS), > but thanks a lot for making it. > > I haven't filed a bug 'cause this probably need some discussion. > > Current console have 2 separate text areas: one for system.out and another for system.err. > Could they be merged into 1, hightlighting -for example- system.err in red? This terrible thing was there since ITW 1.2 but it was hidden as we were ashamed of it .... > > On the bottom there are several buttons which, in my case, I find quite big and annoying. > Did you consider having them on top and making them smaller? > > Last but not least: although I have tracing enabled seems I get fewer lines than using Oracle. Is > that the desired behaviour? > > Thanks a lot! Hi! In 1.5 there is completely rewritten debug console. You will be wondering what everything it can do... (and how much memory it consumes :(if enabled :) ..) J. From helpcrypto at gmail.com Mon Apr 7 09:56:00 2014 From: helpcrypto at gmail.com (helpcrypto helpcrypto) Date: Mon, 7 Apr 2014 11:56:00 +0200 Subject: OMG: It's full of console In-Reply-To: <534275BC.5060403@redhat.com> References: <534275BC.5060403@redhat.com> Message-ID: On Mon, Apr 7, 2014 at 11:54 AM, Jiri Vanek wrote: > This terrible thing was there since ITW 1.2 but it was hidden as we were > ashamed of it .... > > lol In 1.5 there is completely rewritten debug console. You will be wondering > what everything it can do... (and how much memory it consumes :(if enabled > :) ..) > Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From jvanek at redhat.com Mon Apr 7 10:12:12 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Mon, 07 Apr 2014 12:12:12 +0200 Subject: [rfc][icedtea-web] add AM_MAINTAINER_MODE In-Reply-To: <20140402165531.GG10338@redhat.com> References: <5319C1EF.2020801@redhat.com> <533977A6.1040809@redhat.com> <533BE5BB.7050806@redhat.com> <533C34BA.6040305@ubuntu.com> <533C3603.9010703@redhat.com> <533C3B07.9030402@ubuntu.com> <20140402163601.GF10338@redhat.com> <533C3F6E.1060907@redhat.com> <20140402165531.GG10338@redhat.com> Message-ID: <534279FC.2020301@redhat.com> On 04/02/2014 06:55 PM, Omair Majid wrote: > * Jiri Vanek [2014-04-02 12:48]: >> On 04/02/2014 06:36 PM, Omair Majid wrote: >>> * Matthias Klose [2014-04-02 12:32]: >>>> Note that AM_MAINTAINER_MODE(disable) has the same behaviour as not >>>> including the macro. It only gives the package builder the option >>>> to turn it on or off. >>> >>> You mean AM_MAINTAINER_MODE([enable]), right? > > This is not a +1 (or a -1) to add this, FWIW. > >> Plain AM_MAINTAINER_MODE should be enough, And the default should bne disabled, or not? > > No. That's probably not what you want. > > AM_MAINTAINER_MODE([disable]) is the same as AM_MAINTAINER_MODE. > > With AM_MAINTAINER_MODE, if I edit configure.ac and rerun configure, a > new configure script from configure.ac will not be generated. > > For more comments on this, see: > https://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/ > http://lists.x.org/archives/xorg-devel/2012-September/033760.html > You have still not uncover why this change is needed:) Otherwise Adding AM_MAINTAINER_MODE into configure.ac is ok for head. This allows to pass both ?--enable-maintainer-mode? or ?--disable-maintainer-mode? to configure. J. From jvanek at icedtea.classpath.org Mon Apr 7 10:15:27 2014 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Mon, 07 Apr 2014 10:15:27 +0000 Subject: /hg/release/icedtea-web-1.5: Added tag icedtea-web-1.5 for chang... Message-ID: changeset b81ce6918806 in /hg/release/icedtea-web-1.5 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.5?cmd=changeset;node=b81ce6918806 author: Jiri Vanek date: Mon Apr 07 12:15:04 2014 +0200 Added tag icedtea-web-1.5 for changeset d4c3c9f33a1f diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r d4c3c9f33a1f -r b81ce6918806 .hgtags --- a/.hgtags Wed Apr 02 12:20:34 2014 +0200 +++ b/.hgtags Mon Apr 07 12:15:04 2014 +0200 @@ -3,3 +3,4 @@ 41f03d932cdf040a89d09c5683fcc7dac6fd2003 icedtea-web-1.2-branchpoint 0d6213db4fc7ec58ad8165278f672ed5cc201822 icedtea-web-1.4-branchpoint b73f794d8e3f05888a11644957be9b58ff3c4b88 icedtea-web-1.5-branch +d4c3c9f33a1f65448832aecaa62d5bf3611b1e2b icedtea-web-1.5 From jvanek at redhat.com Mon Apr 7 10:46:17 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Mon, 07 Apr 2014 12:46:17 +0200 Subject: IcedTea-Web 1.5 released! Message-ID: <534281F9.6030601@redhat.com> Hi all! After development until last breath, I'm finally proud to announce release of icedtea-web 1.5 http://icedtea.wildebeest.org/download/source/icedtea-web-1.5.tar.gz a6199869763291879f3a7382b114974c icedtea-web-1.5.tar.gz Please note, 1.5 is *last* release which will be supporting *JDK6*. JDK8 is released, and so all the JDK6 code, causing warnings in JDK7, diamond operator, generic swings or others.... will be now part of Head. Second note. This tarball is missing PL and DE translation. DE can be downloaded form here: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-April/027035.html (directly http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140401/cfd6d3f2/DElocalizationforIcedTea-Web1.5-0001.patch). It applies cleanly to 1.5 and I advise all packagers to include this patch as package-specific. In similar way I believe PL translation will appear soon. Also I hope both will be sooner or later in 1.5.1. Sorry for inconvenience. Development plans are available at our wiki: http://icedtea.classpath.org/wiki/IcedTea-Web#IcedTea-Web_1.5 http://icedtea.classpath.org/wiki/IcedTea-Web#IcedTea-Web_1.6 New in IcedTea-Web 1.5 The killer features are new Development console and Custom Policies + run in sandbox button. * new Development console - can be disabled or configured from itw-settings - can be shown from error or at startup time - allows filtering, searching and much more in debug logs! - also connection to Linux logging is available * Custom Policies + run in sandbox button are described at our wiki: -http://icedtea.classpath.org/wiki/IcedTea-Web#Custom_Policies_and_Run_In_Sandbox * http://icedtea.classpath.org/wiki/IcedTea-Web-Custom-Policies * http://icedtea.classpath.org/wiki/IcedTea-Web-PolicyEditor - In short: they allow you to control signed applications. There is also enhanced security available through implementation of most D-I-D attributes, however, there is still work in progress on this minefield. - http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html Note for packagers: - new dependency - tagsoup is recommended - Policy Editor is available as a separate binary" - New man pages are available New in release 1.5 (2014-04-02): * IcedTea-Web now using tagsoup as default (tagsoup dependence) sanitizer for input * JDK older then 1.5 no longer supported * IcedTea-Web is now following XDG .config and .cache specification(RH947647) * A console for debugging plugin and javaws * Dialogs center on screen before becoming visible * Support for u45 and u51 new manifest attributes (Application-Name, Codebase, Permissions, Trusted-only) * Custom applet permission policies panel in itweb-settings control panel * javaws -version flag * New PolicyEditor for easily adding/removing permissions to individual applets * Cache Viewer - Can be closed by ESC key - Enabling and disabling of operational buttons is handled properly - Time consuming operations are indicated by a mouse busy cursor - "Size" and "Last Modified" columns display localized data * NetX - PR1465 - java.io.FileNotFoundException while trying to download a JAR file - Netx can now parse malformed jnlp files using tagsoup - PR1026 - Apps fail to run because of the nanoxml parser's strict XML validation - PR1473 - javaws should not depend on name of local file - Redesigned About dialogue layout and contents - Console made aware of plugin messages * Plugin - PR854: Resizing an applet several times causes 100% CPU load - PR1271: icedtea-web does not handle 'javascript:'-protocol URLs - RH976833: Multiple applets on one page cause deadlock - Pipes moved into XDG_RUNTIME_DIR - Added debug to file - RH1010958: insecure temporary file use flaw in LiveConnect implementation * Common - PR1474: Can't get javaws to use SOCKS proxy - Man page for itweb-settings * Security Updates - CVE-2012-4540, RH869040: Heap-based buffer overflow after triggering event attached to applet People who helped with this release: Adam Domurad Alexandr Kolouch Andrew Azores Deepak Bhole Jacob Wisor Jana Fabrikova Jiri Vanek Matthias Klose Michal Vyskocil Omair Majid With special thanks to: * Omair Majid - who was keeping an ever-watchful eye on our hazardous commits * To community - namely: - Jacob Wisor and Alexandr Kolouch - who were able to translate all the swarm of new terrible messages * Andrew Azores who did really deep testing of pre-release stuff and found some clues which saved the day Best regards J. From jvanek at icedtea.classpath.org Mon Apr 7 10:50:51 2014 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Mon, 07 Apr 2014 10:50:51 +0000 Subject: /hg/release/icedtea-web-1.5: Bumped to 1.5.1pre Message-ID: changeset 01d1e5e449f7 in /hg/release/icedtea-web-1.5 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.5?cmd=changeset;node=01d1e5e449f7 author: Jiri Vanek date: Mon Apr 07 12:50:40 2014 +0200 Bumped to 1.5.1pre diffstat: ChangeLog | 6 ++++++ NEWS | 2 ++ configure.ac | 2 +- 3 files changed, 9 insertions(+), 1 deletions(-) diffs (34 lines): diff -r b81ce6918806 -r 01d1e5e449f7 ChangeLog --- a/ChangeLog Mon Apr 07 12:15:04 2014 +0200 +++ b/ChangeLog Mon Apr 07 12:50:40 2014 +0200 @@ -1,3 +1,9 @@ +2014-04-07 Jiri Vanek + + Post 1.5 changes + * NEWS: added 1.5.1 section + * configure.ac: (AC_INIT) bumped to 1.5.1pre + 2014-04-02 Jiri Vanek * Makefile.am: bumped number of changeset in for about dialog. Fixed placement. diff -r b81ce6918806 -r 01d1e5e449f7 NEWS --- a/NEWS Mon Apr 07 12:15:04 2014 +0200 +++ b/NEWS Mon Apr 07 12:50:40 2014 +0200 @@ -8,6 +8,8 @@ CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY +New in release 1.5.1 (YYYY-MM-DD): + New in release 1.5 (2014-04-02): * IcedTea-Web now using tagsoup as default (tagsoup dependence) sanitizer for input * JDK older then 1.5 no longer supported diff -r b81ce6918806 -r 01d1e5e449f7 configure.ac --- a/configure.ac Mon Apr 07 12:15:04 2014 +0200 +++ b/configure.ac Mon Apr 07 12:50:40 2014 +0200 @@ -1,4 +1,4 @@ -AC_INIT([icedtea-web],[1.5],[distro-pkg-dev at openjdk.java.net], [icedtea-web], [http://icedtea.classpath.org/wiki/IcedTea-Web]) +AC_INIT([icedtea-web],[1.5.1pre],[distro-pkg-dev at openjdk.java.net], [icedtea-web], [http://icedtea.classpath.org/wiki/IcedTea-Web]) AM_INIT_AUTOMAKE([1.9 tar-pax foreign]) AC_CONFIG_FILES([Makefile netx.manifest]) From jvanek at redhat.com Mon Apr 7 10:53:01 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Mon, 07 Apr 2014 12:53:01 +0200 Subject: Upcoming release of icedtea-web 1.5 In-Reply-To: <533BE5BB.7050806@redhat.com> References: <5319C1EF.2020801@redhat.com> <533977A6.1040809@redhat.com> <533BE5BB.7050806@redhat.com> Message-ID: <5342838D.4020100@redhat.com> On 04/02/2014 12:26 PM, Jiri Vanek wrote: > On 03/31/2014 04:11 PM, Jiri Vanek wrote: >> On 03/07/2014 01:56 PM, Jiri Vanek wrote: >>> Hi All! > Hi All! > > 1.5 is branched and frozen (waiting fro PL and DE localization) - > http://icedtea.classpath.org/hg/release/icedtea-web-1.5 > > HEAD is open for playing of any kind. > > I can send rc1 tarball on demand, or you ca just make dist from 1.5. It is as ready to be released > as possible. > > J. Please, consider icedtea-web-1.5 as unfrozen. J. From aazores at redhat.com Mon Apr 7 14:00:58 2014 From: aazores at redhat.com (Andrew Azores) Date: Mon, 07 Apr 2014 10:00:58 -0400 Subject: [rfc][icedtea-web][policyeditor] Swing generics and some cleanup Message-ID: <5342AF9A.7000407@redhat.com> Hi, This patch cleans up the policyeditor package with some formatting fixes, making use of generics for JList and list models since this is now available, and also making using of the diamond operator since it's available. Thanks, -- Andrew A -------------- next part -------------- A non-text attachment was scrubbed... Name: policyeditor-cleanup.patch Type: text/x-patch Size: 27818 bytes Desc: not available URL: From aazores at redhat.com Mon Apr 7 14:02:39 2014 From: aazores at redhat.com (Andrew Azores) Date: Mon, 07 Apr 2014 10:02:39 -0400 Subject: [rfc][icedtea-web] Partially Signed dialog doesn't check if the user should be prompted Message-ID: <5342AFFF.8040309@redhat.com> Hi, Very simple patch here. The static method for displaying the Partially Signed dialog is missing the check on shouldPromptUser, so this patch adds it in. Thanks, -- Andrew A -------------- next part -------------- A non-text attachment was scrubbed... Name: partially-signed-prompt.patch Type: text/x-patch Size: 802 bytes Desc: not available URL: From jvanek at redhat.com Mon Apr 7 14:05:07 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Mon, 07 Apr 2014 16:05:07 +0200 Subject: [rfc][icedtea-web] Partially Signed dialog doesn't check if the user should be prompted In-Reply-To: <5342AFFF.8040309@redhat.com> References: <5342AFFF.8040309@redhat.com> Message-ID: <5342B093.4010906@redhat.com> On 04/07/2014 04:02 PM, Andrew Azores wrote: > Hi, > > Very simple patch here. The static method for displaying the Partially Signed dialog is missing the > check on shouldPromptUser, so this patch adds it in. > > Thanks, > Ok for head and 1.5 From aazores at icedtea.classpath.org Mon Apr 7 14:29:14 2014 From: aazores at icedtea.classpath.org (aazores at icedtea.classpath.org) Date: Mon, 07 Apr 2014 14:29:14 +0000 Subject: /hg/release/icedtea-web-1.5: Add missing shouldPromptUser check ... Message-ID: changeset 854acffa0c99 in /hg/release/icedtea-web-1.5 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.5?cmd=changeset;node=854acffa0c99 author: Andrew Azores date: Mon Apr 07 10:29:02 2014 -0400 Add missing shouldPromptUser check to Partially Signed dialog diffstat: ChangeLog | 5 +++++ netx/net/sourceforge/jnlp/security/SecurityDialogs.java | 4 ++++ 2 files changed, 9 insertions(+), 0 deletions(-) diffs (26 lines): diff -r 01d1e5e449f7 -r 854acffa0c99 ChangeLog --- a/ChangeLog Mon Apr 07 12:50:40 2014 +0200 +++ b/ChangeLog Mon Apr 07 10:29:02 2014 -0400 @@ -1,3 +1,8 @@ +2014-04-07 Andrew Azores + + * netx/net/sourceforge/jnlp/security/SecurityDialogs.java: + (showPartiallySignedWarningDialog) add missing shouldPromptUser check + 2014-04-07 Jiri Vanek Post 1.5 changes diff -r 01d1e5e449f7 -r 854acffa0c99 netx/net/sourceforge/jnlp/security/SecurityDialogs.java --- a/netx/net/sourceforge/jnlp/security/SecurityDialogs.java Mon Apr 07 12:50:40 2014 +0200 +++ b/netx/net/sourceforge/jnlp/security/SecurityDialogs.java Mon Apr 07 10:29:02 2014 -0400 @@ -224,6 +224,10 @@ public static AppSigningWarningAction showPartiallySignedWarningDialog(JNLPFile file, CertVerifier certVerifier, SecurityDelegate securityDelegate) { + if (!shouldPromptUser()) { + return new AppSigningWarningAction(ExecuteAppletAction.NO, false); + } + final SecurityDialogMessage message = new SecurityDialogMessage(); message.dialogType = DialogType.PARTIALLYSIGNED_WARNING; message.accessType = AccessType.PARTIALLYSIGNED; From aazores at icedtea.classpath.org Mon Apr 7 14:30:30 2014 From: aazores at icedtea.classpath.org (aazores at icedtea.classpath.org) Date: Mon, 07 Apr 2014 14:30:30 +0000 Subject: /hg/icedtea-web: Add missing shouldPromptUser check to Partially... Message-ID: changeset 65cb5965ec77 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=65cb5965ec77 author: Andrew Azores date: Mon Apr 07 10:30:22 2014 -0400 Add missing shouldPromptUser check to Partially Signed dialog diffstat: ChangeLog | 5 +++++ netx/net/sourceforge/jnlp/security/SecurityDialogs.java | 4 ++++ 2 files changed, 9 insertions(+), 0 deletions(-) diffs (26 lines): diff -r aa4ee1301885 -r 65cb5965ec77 ChangeLog --- a/ChangeLog Wed Apr 02 15:52:42 2014 -0400 +++ b/ChangeLog Mon Apr 07 10:30:22 2014 -0400 @@ -1,3 +1,8 @@ +2014-04-07 Andrew Azores + + * netx/net/sourceforge/jnlp/security/SecurityDialogs.java: + (showPartiallySignedWarningDialog) add missing shouldPromptUser check + 2014-04-02 Omair Majid * netx/net/sourceforge/jnlp/util/ClasspathMatcher.java diff -r aa4ee1301885 -r 65cb5965ec77 netx/net/sourceforge/jnlp/security/SecurityDialogs.java --- a/netx/net/sourceforge/jnlp/security/SecurityDialogs.java Wed Apr 02 15:52:42 2014 -0400 +++ b/netx/net/sourceforge/jnlp/security/SecurityDialogs.java Mon Apr 07 10:30:22 2014 -0400 @@ -224,6 +224,10 @@ public static AppSigningWarningAction showPartiallySignedWarningDialog(JNLPFile file, CertVerifier certVerifier, SecurityDelegate securityDelegate) { + if (!shouldPromptUser()) { + return new AppSigningWarningAction(ExecuteAppletAction.NO, false); + } + final SecurityDialogMessage message = new SecurityDialogMessage(); message.dialogType = DialogType.PARTIALLYSIGNED_WARNING; message.accessType = AccessType.PARTIALLYSIGNED; From aazores at icedtea.classpath.org Mon Apr 7 15:24:42 2014 From: aazores at icedtea.classpath.org (aazores at icedtea.classpath.org) Date: Mon, 07 Apr 2014 15:24:42 +0000 Subject: /hg/icedtea-web: javac source and target levels set to 7 (droppi... Message-ID: changeset f664addf7da2 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=f664addf7da2 author: Andrew Azores date: Mon Apr 07 11:24:18 2014 -0400 javac source and target levels set to 7 (dropping JDK6 compatibility) * Makefile.am: (IT_LANGUAGE_SOURCE_VERSION, IT_CLASS_TARGET_VERSION) bumped to 7, dropping JDK6 compatibility diffstat: ChangeLog | 5 +++++ Makefile.am | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diffs (26 lines): diff -r 65cb5965ec77 -r f664addf7da2 ChangeLog --- a/ChangeLog Mon Apr 07 10:30:22 2014 -0400 +++ b/ChangeLog Mon Apr 07 11:24:18 2014 -0400 @@ -1,3 +1,8 @@ +2014-04-07 Andrew Azores + + * Makefile.am: (IT_LANGUAGE_SOURCE_VERSION, IT_CLASS_TARGET_VERSION) + bumped to 7, dropping JDK6 compatibility + 2014-04-07 Andrew Azores * netx/net/sourceforge/jnlp/security/SecurityDialogs.java: diff -r 65cb5965ec77 -r f664addf7da2 Makefile.am --- a/Makefile.am Mon Apr 07 10:30:22 2014 -0400 +++ b/Makefile.am Mon Apr 07 11:24:18 2014 -0400 @@ -106,8 +106,8 @@ # Flags export IT_CFLAGS=$(CFLAGS) $(ARCHFLAG) export IT_JAVAC_SETTINGS=-g -encoding utf-8 $(JAVACFLAGS) $(MEMORY_LIMIT) $(PREFER_SOURCE) -export IT_LANGUAGE_SOURCE_VERSION=6 -export IT_CLASS_TARGET_VERSION=6 +export IT_LANGUAGE_SOURCE_VERSION=7 +export IT_CLASS_TARGET_VERSION=7 export IT_JAVACFLAGS=$(IT_JAVAC_SETTINGS) -source $(IT_LANGUAGE_SOURCE_VERSION) -target $(IT_CLASS_TARGET_VERSION) # From bugzilla-daemon at icedtea.classpath.org Mon Apr 7 18:25:40 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 07 Apr 2014 18:25:40 +0000 Subject: [Bug 1719] A fatal error has been detected by the Java Runtime Environment In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1719 --- Comment #3 from cycliste_urbain at yahoo.fr --- Hi, the bug was related to gtk2-oxygen theme. See this tracker: https://bugzilla.novell.com/show_bug.cgi?id=869791 Once the new package installed, the crash disappears. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aazores at redhat.com Mon Apr 7 21:24:01 2014 From: aazores at redhat.com (Andrew Azores) Date: Mon, 07 Apr 2014 17:24:01 -0400 Subject: [rfc][icedtea-web] Java 7 bump Message-ID: <53431771.2000300@redhat.com> Hi, Here's my attempt at getting the build system properly checking for and working with Java 7. Note that (1) almost all of what I know about autotools was learned today (2) the javac -source/-target switches were already updated separately earlier today (resulting in compilation failure for build bot :( ). Thanks, -- Andrew A -------------- next part -------------- A non-text attachment was scrubbed... Name: java7-config.patch Type: text/x-patch Size: 8761 bytes Desc: not available URL: From omajid at redhat.com Mon Apr 7 21:39:22 2014 From: omajid at redhat.com (Omair Majid) Date: Mon, 7 Apr 2014 17:39:22 -0400 Subject: [rfc][icedtea-web] Java 7 bump In-Reply-To: <53431771.2000300@redhat.com> References: <53431771.2000300@redhat.com> Message-ID: <20140407213922.GM2293@redhat.com> * Andrew Azores [2014-04-07 17:24]: > Here's my attempt at getting the build system properly checking for > and working with Java 7. Previously, a 6 was the a minimal version, but icedtea-web would build/work with 7 too. The mirror of that would be requiring 7 but also working with 8. But I don't think this patch works with just 8. Am I mistaken? > Note that (1) almost all of what I know about autotools was learned > today This is amazing stuff! > - for dir in /usr/lib/jvm/java-openjdk /usr/lib/jvm/icedtea6 \ > - /usr/lib/jvm/java-6-openjdk /usr/lib/jvm/openjdk \ > - /usr/lib/jvm/java-icedtea /usr/lib/jvm/java-gcj /usr/lib/jvm/gcj-jdk \ > - /usr/lib/jvm/cacao ; do > + for dir in /etc/alternatives/java_sdk \ > + /usr/lib/jvm/java-openjdk \ > + /usr/lib/jvm/java-1.7.0-openjdk \ > + /usr/lib/jvm/openjdk \ > + /usr/lib/jvm/java-icedtea \ > + /usr/lib/jvm/cacao ; do Wouldn't it make sense to add '/usr/lib/jvm/icedtea7' and '/usr/lib/jvm/java-7-openjdk' to the paths too? Or have those distributions changed the paths? I can't make up my mind whether we should try the well-known 7 or 8 locations. The default location may be 6, but it may also be the 7 or 8 VM the user wants to use. > AC_PATH_PROG(JAVA, "gij") Does 'gij' work? That's a 1.5 VM, right? Maybe this needs more cruft removed. > - AC_MSG_ERROR("A 1.5-compatible Java VM is required.") > + AC_MSG_ERROR("A 1.7-compatible Java VM is required.") 1.7 or newer, right? > JAVA_VERSION=`$JAVA -version 2>&1 | sed -n '1s/@<:@^"@:>@*"\(.*\)"$/\1/p'` > + AC_MSG_RESULT($JAVA_VERSION) > HAVE_JAVA7=`echo $JAVA_VERSION | awk '{if ($(0) >= 1.7) print "yes"}'` > - if ! test -z "$HAVE_JAVA7" ; then > - VERSION_DEFS='-DHAVE_JAVA7' > + HAVE_JAVA8=`echo $JAVA_VERSION | awk '{if ($(0) >= 1.8) print "yes"}'` > + if test -z "$HAVE_JAVA7"; then This test is for just 7. I take it you meant to test 8 here too? Thanks, Omair -- PGP Key: 66484681 (http://pgp.mit.edu/) Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681 From ptisnovs at icedtea.classpath.org Tue Apr 8 07:53:30 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Tue, 08 Apr 2014 07:53:30 +0000 Subject: /hg/gfx-test: Ten new tests added into CAGOperationsOnChordAndRe... Message-ID: changeset 415e13ece3f9 in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=415e13ece3f9 author: Pavel Tisnovsky date: Tue Apr 08 09:54:16 2014 +0200 Ten new tests added into CAGOperationsOnChordAndRectangle. diffstat: ChangeLog | 5 + src/org/gfxtest/testsuites/CAGOperationsOnChordAndRectangle.java | 244 ++++++++++ 2 files changed, 249 insertions(+), 0 deletions(-) diffs (266 lines): diff -r 4e1cd7cd10a1 -r 415e13ece3f9 ChangeLog --- a/ChangeLog Mon Apr 07 11:21:32 2014 +0200 +++ b/ChangeLog Tue Apr 08 09:54:16 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-08 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/CAGOperationsOnChordAndRectangle.java: + Ten new tests added into CAGOperationsOnChordAndRectangle. + 2014-04-07 Pavel Tisnovsky * src/org/gfxtest/testsuites/CAGOperationsOnTwoOverlappingCircles.java: diff -r 4e1cd7cd10a1 -r 415e13ece3f9 src/org/gfxtest/testsuites/CAGOperationsOnChordAndRectangle.java --- a/src/org/gfxtest/testsuites/CAGOperationsOnChordAndRectangle.java Mon Apr 07 11:21:32 2014 +0200 +++ b/src/org/gfxtest/testsuites/CAGOperationsOnChordAndRectangle.java Tue Apr 08 09:54:16 2014 +0200 @@ -1065,6 +1065,250 @@ } /** + * Checks the process of creating and rendering new geometric shape + * constructed from chord and rectangle using inverse subtract operator. + * The shape is rendered using stroke paint. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSmallChordInsideRectangleInverseSubtractStrokePaint(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // create area using inverse subtract operator + Area area = CommonCAGOperations.createAreaFromSmallerChordInsideRectangleUsingInverseSubtractOperator(image); + // draw the area + graphics2d.draw(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from chord and rectangle using intersect operator. The shape + * is rendered using stroke paint. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSmallChordInsideRectangleIntersectStrokePaint(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // create area using intersect operator + Area area = CommonCAGOperations.createAreaFromSmallerChordInsideRectangleUsingIntersectOperator(image); + // draw the area + graphics2d.draw(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from chord and rectangle using XOR operator. The shape is + * rendered using stroke paint. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSmallChordInsideRectangleXorStrokePaint(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // create area using XOR operator + Area area = CommonCAGOperations.createAreaFromSmallerChordInsideRectangleUsingXorOperator(image); + // draw the area + graphics2d.draw(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from chord and rectangle using union operator. The shape is + * rendered using wide stroke. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSmallChordInsideRectangleUnionWideStrokePaint(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set stroke width + CommonRenderingStyles.setStrokeThickWidth(graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromSmallerChordInsideRectangleUsingUnionOperator(image); + // draw the area + graphics2d.draw(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from chord and rectangle using subtract operator. The shape + * is rendered using wide stroke. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSmallChordInsideRectangleSubtractWideStrokePaint(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set stroke width + CommonRenderingStyles.setStrokeThickWidth(graphics2d); + // create area using subtract operator + Area area = CommonCAGOperations.createAreaFromSmallerChordInsideRectangleUsingSubtractOperator(image); + // draw the area + graphics2d.draw(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from chord and rectangle using inverse subtract operator. + * The shape is rendered using wide stroke. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSmallChordInsideRectangleInverseSubtractWideStrokePaint(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set stroke width + CommonRenderingStyles.setStrokeThickWidth(graphics2d); + // create area using inverse subtract operator + Area area = CommonCAGOperations.createAreaFromSmallerChordInsideRectangleUsingInverseSubtractOperator(image); + // draw the area + graphics2d.draw(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from chord and rectangle using intersect operator. The shape + * is rendered using wide stroke. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSmallChordInsideRectangleIntersectWideStrokePaint(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set stroke width + CommonRenderingStyles.setStrokeThickWidth(graphics2d); + // create area using intersect operator + Area area = CommonCAGOperations.createAreaFromSmallerChordInsideRectangleUsingIntersectOperator(image); + // draw the area + graphics2d.draw(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from chord and rectangle using XOR operator. The shape is + * rendered using wide stroke. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSmallChordInsideRectangleXorWideStrokePaint(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set stroke width + CommonRenderingStyles.setStrokeThickWidth(graphics2d); + // create area using XOR operator + Area area = CommonCAGOperations.createAreaFromSmallerChordInsideRectangleUsingXorOperator(image); + // draw the area + graphics2d.draw(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from chord and rectangle using union operator. The shape is + * rendered using wide stroke. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSmallChordInsideRectangleUnionExtraWideStrokePaint(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set extra wide stroke width + CommonRenderingStyles.setStrokeExtraThickWidth(graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromSmallerChordInsideRectangleUsingUnionOperator(image); + // draw the area + graphics2d.draw(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from chord and rectangle using subtract operator. The shape + * is rendered using wide stroke. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSmallChordInsideRectangleSubtractExtraWideStrokePaint(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set extra wide stroke width + CommonRenderingStyles.setStrokeExtraThickWidth(graphics2d); + // create area using subtract operator + Area area = CommonCAGOperations.createAreaFromSmallerChordInsideRectangleUsingSubtractOperator(image); + // draw the area + graphics2d.draw(area); + // test result + return TestResult.PASSED; + } + + /** * Entry point to the test suite. * * @param args not used in this case From ptisnovs at icedtea.classpath.org Tue Apr 8 07:57:08 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Tue, 08 Apr 2014 07:57:08 +0000 Subject: /hg/rhino-tests: Fixed (c) year in SimpleScriptContextClassTest. Message-ID: changeset 2376dfe0bccd in /hg/rhino-tests details: http://icedtea.classpath.org/hg/rhino-tests?cmd=changeset;node=2376dfe0bccd author: Pavel Tisnovsky date: Tue Apr 08 09:57:54 2014 +0200 Fixed (c) year in SimpleScriptContextClassTest. diffstat: ChangeLog | 5 +++++ src/org/RhinoTests/SimpleScriptContextClassTest.java | 2 +- 2 files changed, 6 insertions(+), 1 deletions(-) diffs (24 lines): diff -r f2bfb93649b4 -r 2376dfe0bccd ChangeLog --- a/ChangeLog Mon Apr 07 11:27:33 2014 +0200 +++ b/ChangeLog Tue Apr 08 09:57:54 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-08 Pavel Tisnovsky + + * src/org/RhinoTests/SimpleScriptContextClassTest.java: + Fixed (c) year in SimpleScriptContextClassTest. + 2014-04-07 Pavel Tisnovsky * src/org/RhinoTests/ScriptEngineManagerClassTest.java: diff -r f2bfb93649b4 -r 2376dfe0bccd src/org/RhinoTests/SimpleScriptContextClassTest.java --- a/src/org/RhinoTests/SimpleScriptContextClassTest.java Mon Apr 07 11:27:33 2014 +0200 +++ b/src/org/RhinoTests/SimpleScriptContextClassTest.java Tue Apr 08 09:57:54 2014 +0200 @@ -1,7 +1,7 @@ /* Rhino test framework - Copyright (C) 2011, 2012, 2013 Red Hat + Copyright (C) 2011, 2012, 2013, 2014 Red Hat This file is part of IcedTea. From jvanek at redhat.com Tue Apr 8 09:10:34 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 08 Apr 2014 11:10:34 +0200 Subject: [rfc][icedtea-web] Java 7 bump In-Reply-To: <20140407213922.GM2293@redhat.com> References: <53431771.2000300@redhat.com> <20140407213922.GM2293@redhat.com> Message-ID: <5343BD0A.60108@redhat.com> On 04/07/2014 11:39 PM, Omair Majid wrote: > * Andrew Azores [2014-04-07 17:24]: >> Here's my attempt at getting the build system properly checking for >> and working with Java 7. > > Previously, a 6 was the a minimal version, but icedtea-web would > build/work with 7 too. The mirror of that would be requiring 7 but also > working with 8. But I don't think this patch works with just 8. Am I > mistaken? > >> Note that (1) almost all of what I know about autotools was learned >> today > > This is amazing stuff! > >> - for dir in /usr/lib/jvm/java-openjdk /usr/lib/jvm/icedtea6 \ >> - /usr/lib/jvm/java-6-openjdk /usr/lib/jvm/openjdk \ >> - /usr/lib/jvm/java-icedtea /usr/lib/jvm/java-gcj /usr/lib/jvm/gcj-jdk \ >> - /usr/lib/jvm/cacao ; do >> + for dir in /etc/alternatives/java_sdk \ >> + /usr/lib/jvm/java-openjdk \ >> + /usr/lib/jvm/java-1.7.0-openjdk \ >> + /usr/lib/jvm/openjdk \ >> + /usr/lib/jvm/java-icedtea \ >> + /usr/lib/jvm/cacao ; do > > Wouldn't it make sense to add '/usr/lib/jvm/icedtea7' and > '/usr/lib/jvm/java-7-openjdk' to the paths too? Or have those > distributions changed the paths? > > I can't make up my mind whether we should try the well-known 7 or 8 > locations. The default location may be 6, but it may also be the 7 or 8 > VM the user wants to use. My suggestion here is to try: /usr/lib/jvm/java-1.7.0-openjdk \ /usr/lib/jvm/icedtea7 \ /usr/lib/jvm/java-7-openjdk \ /usr/lib/jvm/java-1.8.0-openjdk \ /usr/lib/jvm/icedtea8 \ /usr/lib/jvm/java-8-openjdk \ /usr/lib/jvm/java-icedtea \ /usr/lib/jvm/openjdk \ /usr/lib/jvm/cacao \ /usr/lib/jvm/jamvm ; #known sevens #known eights #known generic links (which resolves into 7 or higher late rby java -version test > >> AC_PATH_PROG(JAVA, "gij") > > Does 'gij' work? That's a 1.5 VM, right? Maybe this needs more cruft > removed. not working anymore:) > >> - AC_MSG_ERROR("A 1.5-compatible Java VM is required.") >> + AC_MSG_ERROR("A 1.7-compatible Java VM is required.") > > 1.7 or newer, right? > >> JAVA_VERSION=`$JAVA -version 2>&1 | sed -n '1s/@<:@^"@:>@*"\(.*\)"$/\1/p'` >> + AC_MSG_RESULT($JAVA_VERSION) >> HAVE_JAVA7=`echo $JAVA_VERSION | awk '{if ($(0) >= 1.7) print "yes"}'` >> - if ! test -z "$HAVE_JAVA7" ; then >> - VERSION_DEFS='-DHAVE_JAVA7' >> + HAVE_JAVA8=`echo $JAVA_VERSION | awk '{if ($(0) >= 1.8) print "yes"}'` >> + if test -z "$HAVE_JAVA7"; then > > This test is for just 7. I take it you meant to test 8 here too? > > Thanks, > Omair > From helpcrypto at gmail.com Tue Apr 8 09:54:53 2014 From: helpcrypto at gmail.com (helpcrypto helpcrypto) Date: Tue, 8 Apr 2014 11:54:53 +0200 Subject: Oracle Java 8 problems due to TLS policy change In-Reply-To: References: Message-ID: Ping? On Fri, Apr 4, 2014 at 11:03 AM, helpcrypto helpcrypto wrote: > According to > http://docs.oracle.com/javase/8/docs/technotes/guides/security/enhancements-8.htmlOracle Java 8 now uses TLS1.1 and TLS1.2 (both enabled by default on > Control Panel). > > This seems to be causing an error in our applet loading. Problem seems > solved if both unchecked. Funny thing is our server only supports TLS1.0. > > Is icedtea8 following the same TLS policy? (switching to TLS1.1 and TLS1.2) > If so, i should check if the same error appears. > > BTW: I have noticed latest Ubuntu pkg doesnt work anymore with our > applet...so there must be a JSObject regression in the last...year? I'll > let you know after tests. > > Thanks and good day! > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jvanek at redhat.com Tue Apr 8 12:23:37 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 08 Apr 2014 14:23:37 +0200 Subject: [rfc][icedtea-web][policyeditor] Swing generics and some cleanup In-Reply-To: <5342AF9A.7000407@redhat.com> References: <5342AF9A.7000407@redhat.com> Message-ID: <5343EA49.2060700@redhat.com> On 04/07/2014 04:00 PM, Andrew Azores wrote: > Hi, > > This patch cleans up the policyeditor package with some formatting fixes, making use of generics for > JList and list models since this is now available, and also making using of the diamond operator > since it's available. > > Thanks, > Hi! This looks ok - it can go to Head - however - except this - I would like to encourage you to rewrite poliy editor to proper MVC. J. From aazores at redhat.com Tue Apr 8 13:52:36 2014 From: aazores at redhat.com (Andrew Azores) Date: Tue, 08 Apr 2014 09:52:36 -0400 Subject: [rfc][icedtea-web] Java 7 bump In-Reply-To: <20140407213922.GM2293@redhat.com> References: <53431771.2000300@redhat.com> <20140407213922.GM2293@redhat.com> Message-ID: <5343FF24.4010406@redhat.com> On 04/07/2014 05:39 PM, Omair Majid wrote: > * Andrew Azores [2014-04-07 17:24]: >> Here's my attempt at getting the build system properly checking for >> and working with Java 7. > Previously, a 6 was the a minimal version, but icedtea-web would > build/work with 7 too. The mirror of that would be requiring 7 but also > working with 8. But I don't think this patch works with just 8. Am I > mistaken? I have both 7 and 8 (and 5 due to GCJ) installed on my machine here and the version check seemed to work properly in each case, switching between them with system-switch-java since the first location checked is now set by alternatives. With 5 it complained and failed, and with 7 or 8 it completed normally. So as far as I can tell, I think it works. > >> Note that (1) almost all of what I know about autotools was learned >> today > This is amazing stuff! Thanks :) > >> - for dir in /usr/lib/jvm/java-openjdk /usr/lib/jvm/icedtea6 \ >> - /usr/lib/jvm/java-6-openjdk /usr/lib/jvm/openjdk \ >> - /usr/lib/jvm/java-icedtea /usr/lib/jvm/java-gcj /usr/lib/jvm/gcj-jdk \ >> - /usr/lib/jvm/cacao ; do >> + for dir in /etc/alternatives/java_sdk \ >> + /usr/lib/jvm/java-openjdk \ >> + /usr/lib/jvm/java-1.7.0-openjdk \ >> + /usr/lib/jvm/openjdk \ >> + /usr/lib/jvm/java-icedtea \ >> + /usr/lib/jvm/cacao ; do > Wouldn't it make sense to add '/usr/lib/jvm/icedtea7' and > '/usr/lib/jvm/java-7-openjdk' to the paths too? Or have those > distributions changed the paths? > > I can't make up my mind whether we should try the well-known 7 or 8 > locations. The default location may be 6, but it may also be the 7 or 8 > VM the user wants to use. > >> AC_PATH_PROG(JAVA, "gij") > Does 'gij' work? That's a 1.5 VM, right? Maybe this needs more cruft > removed. I'm sure there's a lot more cruft I've missed. > >> - AC_MSG_ERROR("A 1.5-compatible Java VM is required.") >> + AC_MSG_ERROR("A 1.7-compatible Java VM is required.") > 1.7 or newer, right? Well, yea. The 1.8 VM can still be called 1.7-compatible though, can't it? > >> JAVA_VERSION=`$JAVA -version 2>&1 | sed -n '1s/@<:@^"@:>@*"\(.*\)"$/\1/p'` >> + AC_MSG_RESULT($JAVA_VERSION) >> HAVE_JAVA7=`echo $JAVA_VERSION | awk '{if ($(0) >= 1.7) print "yes"}'` >> - if ! test -z "$HAVE_JAVA7" ; then >> - VERSION_DEFS='-DHAVE_JAVA7' >> + HAVE_JAVA8=`echo $JAVA_VERSION | awk '{if ($(0) >= 1.8) print "yes"}'` >> + if test -z "$HAVE_JAVA7"; then > This test is for just 7. I take it you meant to test 8 here too? > > Thanks, > Omair > It tests and requires that at least 7 is in use, otherwise it fails out. If 8 or higher is in use, then it does the same trick with -DHAVE_JAVA8 so that the plugin can add 1.8 to its MIME types. Using system-switch-java and reconfiguring/building, then checking about:plugins in Firefox does show that when using 8, an additional MIME type for it is added, just as before with 6 vs 7. Thanks, -- Andrew A -------------- next part -------------- A non-text attachment was scrubbed... Name: java7-config-2.patch Type: text/x-patch Size: 9153 bytes Desc: not available URL: From bugzilla-daemon at icedtea.classpath.org Tue Apr 8 18:37:46 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 08 Apr 2014 18:37:46 +0000 Subject: [Bug 1699] [IcedTea7] Support building the SunEC provider with system NSS In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1699 Elio Maldonado changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emaldona at redhat.com See Also| |https://bugzilla.mozilla.or | |g/show_bug.cgi?id=993489 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ptisnovs at icedtea.classpath.org Wed Apr 9 11:06:22 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Wed, 09 Apr 2014 11:06:22 +0000 Subject: /hg/gfx-test: Five tests added into BitBltBasicTests. Message-ID: changeset 5e2971e3f19f in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=5e2971e3f19f author: Pavel Tisnovsky date: Wed Apr 09 13:07:02 2014 +0200 Five tests added into BitBltBasicTests. diffstat: ChangeLog | 5 + src/org/gfxtest/testsuites/BitBltBasicTests.java | 75 ++++++++++++++++++++++++ 2 files changed, 80 insertions(+), 0 deletions(-) diffs (125 lines): diff -r 415e13ece3f9 -r 5e2971e3f19f ChangeLog --- a/ChangeLog Tue Apr 08 09:54:16 2014 +0200 +++ b/ChangeLog Wed Apr 09 13:07:02 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-09 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/BitBltBasicTests.java: + Five tests added into BitBltBasicTests. + 2014-04-08 Pavel Tisnovsky * src/org/gfxtest/testsuites/CAGOperationsOnChordAndRectangle.java: diff -r 415e13ece3f9 -r 5e2971e3f19f src/org/gfxtest/testsuites/BitBltBasicTests.java --- a/src/org/gfxtest/testsuites/BitBltBasicTests.java Tue Apr 08 09:54:16 2014 +0200 +++ b/src/org/gfxtest/testsuites/BitBltBasicTests.java Wed Apr 09 13:07:02 2014 +0200 @@ -6197,6 +6197,21 @@ } /** + * Test basic BitBlt operation for texture RGB pattern #1 buffered image with type TYPE_CUSTOM. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltRGBTexture2BufferedImageTypeCustom(TestImage image, Graphics2D graphics2d) + { + // create new buffered image and then perform basic BitBlt test. + return CommonBitmapOperations.doBitBltTestWithRGBTexture2Image(image, graphics2d, BufferedImage.TYPE_CUSTOM); + } + + /** * Test basic BitBlt operation for texture RGB pattern #1 buffered image with type TYPE_3BYTE_BGR. * * @param image @@ -6394,6 +6409,21 @@ } /** + * Test basic BitBlt operation for texture RGB pattern #1 buffered image with type TYPE_CUSTOM. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltRGBTexture3BufferedImageTypeCustom(TestImage image, Graphics2D graphics2d) + { + // create new buffered image and then perform basic BitBlt test. + return CommonBitmapOperations.doBitBltTestWithRGBTexture3Image(image, graphics2d, BufferedImage.TYPE_CUSTOM); + } + + /** * Test basic BitBlt operation for texture RGB pattern #1 buffered image with type TYPE_3BYTE_BGR. * * @param image @@ -6591,6 +6621,21 @@ } /** + * Test basic BitBlt operation for texture RGB pattern #1 buffered image with type TYPE_CUSTOM. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltRGBTexture4BufferedImageTypeCustom(TestImage image, Graphics2D graphics2d) + { + // create new buffered image and then perform basic BitBlt test. + return CommonBitmapOperations.doBitBltTestWithRGBTexture4Image(image, graphics2d, BufferedImage.TYPE_CUSTOM); + } + + /** * Test basic BitBlt operation for texture RGB pattern #1 buffered image with type TYPE_3BYTE_BGR. * * @param image @@ -6788,6 +6833,21 @@ } /** + * Test basic BitBlt operation for texture RGB pattern #1 buffered image with type TYPE_CUSTOM. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltRGBTexture5BufferedImageTypeCustom(TestImage image, Graphics2D graphics2d) + { + // create new buffered image and then perform basic BitBlt test. + return CommonBitmapOperations.doBitBltTestWithRGBTexture5Image(image, graphics2d, BufferedImage.TYPE_CUSTOM); + } + + /** * Test basic BitBlt operation for texture RGB pattern #1 buffered image with type TYPE_3BYTE_BGR. * * @param image @@ -6985,6 +7045,21 @@ } /** + * Test basic BitBlt operation for texture RGB pattern #1 buffered image with type TYPE_CUSTOM. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltRGBTexture6BufferedImageTypeCustom(TestImage image, Graphics2D graphics2d) + { + // create new buffered image and then perform basic BitBlt test. + return CommonBitmapOperations.doBitBltTestWithRGBTexture6Image(image, graphics2d, BufferedImage.TYPE_CUSTOM); + } + + /** * Entry point to the test suite. * * @param args not used in this case From bugzilla-daemon at icedtea.classpath.org Wed Apr 9 11:28:55 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 09 Apr 2014 11:28:55 +0000 Subject: [Bug 1733] New: XML parsing exception when running javaws Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1733 Bug ID: 1733 Summary: XML parsing exception when running javaws Product: IcedTea-Web Version: unspecified Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P5 Component: NetX (javaws) Assignee: omajid at redhat.com Reporter: mbriskar at redhat.com CC: unassigned at icedtea.classpath.org Created attachment 1064 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1064&action=edit application When worked on a Weld bug, I came accross an XML-parsing exception when using IcedTea-Web (this exception didn't occur for the default javaws, before I have installed the icedtea-web). icedtea-web version: icedtea-web 1.6pre+rf664addf7da2 java version: OpenJDK 1.7.0_51 How to reproduce: unzip weld-webstart-bug.zip cd weld-webstart-bug mvn clean install cp weld-webstart-war/target/weld-webstart-war-0.0.1-SNAPSHOT.war $JBOSS_HOME/standalone/deployments/ javaws http://localhost:8080/weld-webstart-war-0.0.1-SNAPSHOT/webstart/weld-webstart.jnlp Exception stack trace: net.sourceforge.jnlp.LaunchException: Fatal: Read Error: Could not read or parse the JNLP file. You can try to download this file manually and send it as bug report to IcedTea-Web team. ????at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:490) ????at net.sourceforge.jnlp.Launcher.launch(Launcher.java:285) ????at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:246) ????at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:58) ????at java.security.AccessController.doPrivileged(Native Method) ????at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:213) Caused by: net.sourceforge.jnlp.ParseException: Invalid XML document syntax. ????at net.sourceforge.jnlp.XMLParser.getRootNode(XmlParser.java:117) ????at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ????at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ? ??at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ????at java.lang.reflect.Method.invoke(Method.java:606) ????at net.sourceforge.jnlp.Parser.getRootNode(Parser.java:1289) ????at net.sourceforge.jnlp.JNLPFile.parse(JNLPFile.java:751) ????at net.sourceforge.jnlp.JNLPFile. (JNLPFile.java:229) ????at net.sourceforge.jnlp.JNLPFile. (JNLPFile.java:211) ????at net.sourceforge.jnlp.JNLPFile. (JNLPFile.java:196) ????at net.sourceforge.jnlp.JNLPFile. (JNLPFile.java:182) ????at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:459) ????... 5 more Caused by: net.sourceforge.nanoxml.XMLParseException: XML Parse Exception during parsing of a jnlp element at line 1: Expected: ????at net.sourceforge.nanoxml.XMLElement.expectedInput(XMLElement.java:1116) ????at net.sourceforge.nanoxml.XMLElement.scanElement(XMLElement.java:962) ????at net.sourceforge.nanoxml.XMLElement.scanElement(XMLElement.java:957) ????at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:502) ????at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:454) ????at net.sourceforge.jnlp.XMLParser.getRootNode(XmlParser.java:113) ????... 16 more -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ptisnovs at icedtea.classpath.org Wed Apr 9 11:29:21 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Wed, 09 Apr 2014 11:29:21 +0000 Subject: /hg/rhino-tests: Two new tests added into JavaScriptsTest. Message-ID: changeset 48afda73ee6e in /hg/rhino-tests details: http://icedtea.classpath.org/hg/rhino-tests?cmd=changeset;node=48afda73ee6e author: Pavel Tisnovsky date: Wed Apr 09 13:30:07 2014 +0200 Two new tests added into JavaScriptsTest. diffstat: ChangeLog | 6 ++++++ src/org/RhinoTests/JavaScriptSnippets.java | 12 +++++++++++- src/org/RhinoTests/JavaScriptsTest.java | 30 +++++++++++++++++++++++++++++- 3 files changed, 46 insertions(+), 2 deletions(-) diffs (97 lines): diff -r 2376dfe0bccd -r 48afda73ee6e ChangeLog --- a/ChangeLog Tue Apr 08 09:57:54 2014 +0200 +++ b/ChangeLog Wed Apr 09 13:30:07 2014 +0200 @@ -1,3 +1,9 @@ +2014-04-09 Pavel Tisnovsky + + * src/org/RhinoTests/JavaScriptSnippets.java: + * src/org/RhinoTests/JavaScriptsTest.java: + Two new tests added into JavaScriptsTest. + 2014-04-08 Pavel Tisnovsky * src/org/RhinoTests/SimpleScriptContextClassTest.java: diff -r 2376dfe0bccd -r 48afda73ee6e src/org/RhinoTests/JavaScriptSnippets.java --- a/src/org/RhinoTests/JavaScriptSnippets.java Tue Apr 08 09:57:54 2014 +0200 +++ b/src/org/RhinoTests/JavaScriptSnippets.java Wed Apr 09 13:30:07 2014 +0200 @@ -1,7 +1,7 @@ /* Rhino test framework - Copyright (C) 2012, 2013 Red Hat + Copyright (C) 2012, 2013, 2014 Red Hat This file is part of IcedTea. @@ -213,7 +213,17 @@ protected static final String HELLO_WORLD_3 = "println('\tHello' + ' ' + 'world!')"; /** + * Slightly modified hello world program. + */ + protected static final String HELLO_WORLD_4 = "println('\tHello' + '\t' + 'world!')"; + + /** * Statement containing unknown function. */ protected static final String UNKNOWN_FUNCTION = "_unknown_function_('\tHello world!')"; + + /** + * Statement containing unknown function. + */ + protected static final String UNKNOWN_FUNCTION_2 = "_()"; } diff -r 2376dfe0bccd -r 48afda73ee6e src/org/RhinoTests/JavaScriptsTest.java --- a/src/org/RhinoTests/JavaScriptsTest.java Tue Apr 08 09:57:54 2014 +0200 +++ b/src/org/RhinoTests/JavaScriptsTest.java Wed Apr 09 13:30:07 2014 +0200 @@ -1,7 +1,7 @@ /* Rhino test framework - Copyright (C) 2011 Red Hat + Copyright (C) 2011, 2012, 2013, 2014 Red Hat This file is part of IcedTea. @@ -111,6 +111,16 @@ } /** + * Test if it is possible to run script from a string. + * + * @throws ScriptException + * this exception is thrown when this test case failed. + */ + protected void testRunSimpleScriptStoredInString4() throws ScriptException { + this.scriptEngine.eval(JavaScriptSnippets.HELLO_WORLD_4); + } + + /** * Test if exception is thrown when string contains script with unknown * function. * @@ -129,6 +139,24 @@ } /** + * Test if exception is thrown when string contains script with unknown + * function. + * + * @throws Exception + * this exception is thrown when this test case failed. + */ + protected void testRunScriptContainingUnknownFunction2StoredInString() throws Exception { + try { + this.scriptEngine.eval(JavaScriptSnippets.UNKNOWN_FUNCTION_2); + } + catch (ScriptException e) { + System.out.println("\tException thrown as expected " + e.getMessage()); + return; // ok, it's correct if this exception is thrown + } + throw new Exception("ScriptException not thrown as expected"); + } + + /** * Test if exception is thrown when string contains script with bad * parameters. * From bugzilla-daemon at icedtea.classpath.org Wed Apr 9 14:32:54 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 09 Apr 2014 14:32:54 +0000 Subject: [Bug 1733] XML parsing exception when running javaws In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1733 --- Comment #1 from Matej Bri??k??r --- Created attachment 1065 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1065&action=edit jnlp file generated from the app -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 9 14:42:17 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 09 Apr 2014 14:42:17 +0000 Subject: [Bug 1733] XML parsing exception when running javaws In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1733 JiriVanek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jvanek at redhat.com Resolution|--- |INVALID --- Comment #2 from JiriVanek --- Thanx! The jnlp file is really corrupted: Weld Webstart app example.com $extensions Can you see the ... $extensions ... ? This macro is unexpanded. Once fixed, itw should work. Please reopen if not. ps: proprietary javaws is not honouring theirs own specification.... So fact that they are ignoring, that is NOT mixed element, is bug in proprietary javaws.... -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 9 15:00:56 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 09 Apr 2014 15:00:56 +0000 Subject: [Bug 1733] XML parsing exception when running javaws In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1733 Matej Bri??k??r changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #1065|0 |1 is obsolete| | --- Comment #3 from Matej Bri??k??r --- Created attachment 1066 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1066&action=edit well-formed jnlp generated -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 9 15:05:34 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 09 Apr 2014 15:05:34 +0000 Subject: [Bug 1733] XML parsing exception when running javaws In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1733 Matej Bri??k??r changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID |--- -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 9 15:12:39 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 09 Apr 2014 15:12:39 +0000 Subject: [Bug 1733] XML parsing exception when running javaws In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1733 Andrew Azores changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aazores at redhat.com --- Comment #4 from Andrew Azores --- Is the original output/stack trace from using this JNLP or the one with the unexpanded macro? -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 9 15:21:26 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 09 Apr 2014 15:21:26 +0000 Subject: [Bug 1733] XML parsing exception when running javaws In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1733 --- Comment #5 from Matej Bri??k??r --- Both are the same. However there is Expected: < in the stacktrace that is not correctly shown here. Please note that the jnlp file was just fixed to be well-formed, application was not (no idea, where is the mistake there). This jnlp file is still accepted by the proprietary javaws. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 9 17:44:18 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 09 Apr 2014 17:44:18 +0000 Subject: [Bug 550] JVM fatal error - error occurred during error reporting In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=550 kissiron at gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kissiron at gmail.com --- Comment #4 from kissiron at gmail.com --- Created attachment 1067 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1067&action=edit log -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gnu.andrew at redhat.com Wed Apr 9 22:03:26 2014 From: gnu.andrew at redhat.com (Andrew Hughes) Date: Wed, 9 Apr 2014 18:03:26 -0400 (EDT) Subject: Changing the IcedTea Release Policy In-Reply-To: <564073002.5458450.1390411613200.JavaMail.root@redhat.com> References: <564073002.5458450.1390411613200.JavaMail.root@redhat.com> Message-ID: <793825169.2672733.1397081006621.JavaMail.zimbra@redhat.com> At present, the IcedTea policy is to maintain two releases per OpenJDK version. Currently, this means maintaining the 1.12.x & 1.13.x series for OpenJDK 6 and the 2.3.x & 2.4.x series for OpenJDK 7. This is already proving to be a significant workload, especially as the frequency and quantity of security patches has seen a notable increase over the last year and there are still no upstream security source releases. With OpenJDK 8 now entering into the equation, it seems unlikely we can continue to maintain so many versions, which will increase to six, and even more when we are transitioning from one to another. There's also the issue that it's not always possible to backport all patches, particularly with regard to those applying to HotSpot. Our recent 2.3 releases [0] has already run into problems due to the differences between HotSpot 23 and 24, and we've been lucky to maintain HotSpot 20 in OpenJDK 6 as long as we have. In light of this, we will be switching to maintaining just one release per OpenJDK version, reducing the load from 4 (soon to be 6) to just 2 (soon to be 3). There will continue to be a brief transition phase, as has just occurred with 1.11.x, meaning that there would be one further security update for the previous release, following a new major release. For example, the current plan is as follows: * April 2014: Security updates released for 1.13.x and 2.4.x * May 2014: 2.5.0 released as u60 reaches general availability * July 2014: Security updates released for 1.13.x, 2.4.x and 2.5.x * October 2014: Security updates released for 1.13.x and 2.5.x. 1.11.x, 1.12.x and 2.3.x have all been updated for the last security update (January 2014). There will now be no further updates to these and they will become obsolete with the next security release, scheduled for the 15th of April, 2014. [1] Of course, if anyone wishes to continue to maintain additional releases, they are more than welcome to do so. [0] http://bitly.com/1fZgDGL [1] http://www.oracle.com/technetwork/topics/security/alerts-086861.html Thanks, -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 From ptisnovs at icedtea.classpath.org Thu Apr 10 07:36:07 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Thu, 10 Apr 2014 07:36:07 +0000 Subject: /hg/gfx-test: Ten new tests added into BitBltUsingBgColor test s... Message-ID: changeset f063aeb24b7f in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=f063aeb24b7f author: Pavel Tisnovsky date: Thu Apr 10 09:36:51 2014 +0200 Ten new tests added into BitBltUsingBgColor test suite. diffstat: ChangeLog | 5 + src/org/gfxtest/testsuites/BitBltUsingBgColor.java | 150 +++++++++++++++++++++ 2 files changed, 155 insertions(+), 0 deletions(-) diffs (172 lines): diff -r 5e2971e3f19f -r f063aeb24b7f ChangeLog --- a/ChangeLog Wed Apr 09 13:07:02 2014 +0200 +++ b/ChangeLog Thu Apr 10 09:36:51 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-10 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/BitBltUsingBgColor.java: + Ten new tests added into BitBltUsingBgColor test suite. + 2014-04-09 Pavel Tisnovsky * src/org/gfxtest/testsuites/BitBltBasicTests.java: diff -r 5e2971e3f19f -r f063aeb24b7f src/org/gfxtest/testsuites/BitBltUsingBgColor.java --- a/src/org/gfxtest/testsuites/BitBltUsingBgColor.java Wed Apr 09 13:07:02 2014 +0200 +++ b/src/org/gfxtest/testsuites/BitBltUsingBgColor.java Thu Apr 10 09:36:51 2014 +0200 @@ -5972,6 +5972,156 @@ } /** + * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR. + * Background color is set to Color.white. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltGridBufferedImageType3ByteBGRbackgroundWhite(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType3ByteRGB(image, graphics2d, Color.white); + } + + /** + * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR. + * Background color is set to Color.black. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundBlack(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.black); + } + + /** + * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR. + * Background color is set to Color.blue. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundBlue(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.blue); + } + + /** + * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR. + * Background color is set to Color.green. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundGreen(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.green); + } + + /** + * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR. + * Background color is set to Color.cyan. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundCyan(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.cyan); + } + + /** + * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR. + * Background color is set to Color.red. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundRed(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.red); + } + + /** + * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR. + * Background color is set to Color.magenta. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundMagenta(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.magenta); + } + + /** + * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR. + * Background color is set to Color.yellow. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundYellow(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.yellow); + } + + /** + * Test basic BitBlt operation for grid buffered image with type TYPE_3BYTE_BGR. + * Background color is set to Color.white. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltGridBufferedImageType4ByteABGRbackgroundWhite(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGR(image, graphics2d, Color.white); + } + + /** + * Test basic BitBlt operation for grid buffered image with type TYPE_4BYTE_ABGR_Pre. + * Background color is set to Color.black. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltGridBufferedImageType4ByteABGR_Pre_backgroundBlack(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGRPre(image, graphics2d, Color.black); + } + + /** * Entry point to the test suite. * * @param args not used in this case From ptisnovs at icedtea.classpath.org Thu Apr 10 09:05:05 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Thu, 10 Apr 2014 09:05:05 +0000 Subject: /hg/rhino-tests: Added new tests into CompiledScriptTest. Message-ID: changeset 9b40969f01e3 in /hg/rhino-tests details: http://icedtea.classpath.org/hg/rhino-tests?cmd=changeset;node=9b40969f01e3 author: Pavel Tisnovsky date: Thu Apr 10 11:05:49 2014 +0200 Added new tests into CompiledScriptTest. diffstat: ChangeLog | 6 + src/org/RhinoTests/CompiledScriptTest.java | 96 ++++++++++++++++++++++++++++++ src/org/RhinoTests/JavaScriptSnippets.java | 20 ++++++ 3 files changed, 122 insertions(+), 0 deletions(-) diffs (149 lines): diff -r 48afda73ee6e -r 9b40969f01e3 ChangeLog --- a/ChangeLog Wed Apr 09 13:30:07 2014 +0200 +++ b/ChangeLog Thu Apr 10 11:05:49 2014 +0200 @@ -1,3 +1,9 @@ +2014-04-10 Pavel Tisnovsky + + * src/org/RhinoTests/CompiledScriptTest.java: + * src/org/RhinoTests/JavaScriptSnippets.java: + Added new tests into CompiledScriptTest. + 2014-04-09 Pavel Tisnovsky * src/org/RhinoTests/JavaScriptSnippets.java: diff -r 48afda73ee6e -r 9b40969f01e3 src/org/RhinoTests/CompiledScriptTest.java --- a/src/org/RhinoTests/CompiledScriptTest.java Wed Apr 09 13:30:07 2014 +0200 +++ b/src/org/RhinoTests/CompiledScriptTest.java Thu Apr 10 11:05:49 2014 +0200 @@ -317,6 +317,102 @@ * @throws ScriptException * this exception is thrown when this test case failed. */ + protected void testEvalNumericExpression7() throws ScriptException { + final String expression = JavaScriptSnippets.NUMERIC_EXPRESSION_7; + CompiledScript script = getCompiledScript(expression); + Object result = script.eval(); + assertNotNull(result, "result should not be null"); + assertTrue(result instanceof Number, "result is not an instance of Number"); + if (getJavaVersion() >= 7) { + assertTrue(result instanceof Double, "result is not an instance of Double"); + double doubleResult = ((Double) result).doubleValue(); + assertEquals(doubleResult, 42, "wrong result " + doubleResult + " for the expression: '" + expression + "'"); + } + else { + assertTrue(result instanceof Integer, "result is not an instance of Integer"); + int integerResult = ((Integer) result).intValue(); + assertEquals(integerResult, 42, "wrong result " + integerResult + " for the expression: '" + expression + "'"); + } + } + + /** + * Test if it is possible to compile and then run script from a string. + * + * @throws ScriptException + * this exception is thrown when this test case failed. + */ + protected void testEvalNumericExpression8() throws ScriptException { + final String expression = JavaScriptSnippets.NUMERIC_EXPRESSION_8; + CompiledScript script = getCompiledScript(expression); + Object result = script.eval(); + assertNotNull(result, "result should not be null"); + assertTrue(result instanceof Number, "result is not an instance of Number"); + if (getJavaVersion() >= 7) { + assertTrue(result instanceof Double, "result is not an instance of Double"); + double doubleResult = ((Double) result).doubleValue(); + assertEquals(doubleResult, 42, "wrong result " + doubleResult + " for the expression: '" + expression + "'"); + } + else { + assertTrue(result instanceof Integer, "result is not an instance of Integer"); + int integerResult = ((Integer) result).intValue(); + assertEquals(integerResult, 42, "wrong result " + integerResult + " for the expression: '" + expression + "'"); + } + } + + /** + * Test if it is possible to compile and then run script from a string. + * + * @throws ScriptException + * this exception is thrown when this test case failed. + */ + protected void testEvalNumericExpression9() throws ScriptException { + final String expression = JavaScriptSnippets.NUMERIC_EXPRESSION_9; + CompiledScript script = getCompiledScript(expression); + Object result = script.eval(); + assertNotNull(result, "result should not be null"); + assertTrue(result instanceof Number, "result is not an instance of Number"); + if (getJavaVersion() >= 7) { + assertTrue(result instanceof Double, "result is not an instance of Double"); + double doubleResult = ((Double) result).doubleValue(); + assertEquals(doubleResult, 3, "wrong result " + doubleResult + " for the expression: '" + expression + "'"); + } + else { + assertTrue(result instanceof Integer, "result is not an instance of Integer"); + int integerResult = ((Integer) result).intValue(); + assertEquals(integerResult, 3, "wrong result " + integerResult + " for the expression: '" + expression + "'"); + } + } + + /** + * Test if it is possible to compile and then run script from a string. + * + * @throws ScriptException + * this exception is thrown when this test case failed. + */ + protected void testEvalNumericExpression10() throws ScriptException { + final String expression = JavaScriptSnippets.NUMERIC_EXPRESSION_10; + CompiledScript script = getCompiledScript(expression); + Object result = script.eval(); + assertNotNull(result, "result should not be null"); + assertTrue(result instanceof Number, "result is not an instance of Number"); + if (getJavaVersion() >= 7) { + assertTrue(result instanceof Double, "result is not an instance of Double"); + double doubleResult = ((Double) result).doubleValue(); + assertEquals(doubleResult, 6, "wrong result " + doubleResult + " for the expression: '" + expression + "'"); + } + else { + assertTrue(result instanceof Integer, "result is not an instance of Integer"); + int integerResult = ((Integer) result).intValue(); + assertEquals(integerResult, 6, "wrong result " + integerResult + " for the expression: '" + expression + "'"); + } + } + + /** + * Test if it is possible to compile and then run script from a string. + * + * @throws ScriptException + * this exception is thrown when this test case failed. + */ protected void testEvalDoubleExpression1() throws ScriptException { final String expression = JavaScriptSnippets.DOUBLE_NUMERIC_EXPRESSION_1; CompiledScript script = getCompiledScript(expression); diff -r 48afda73ee6e -r 9b40969f01e3 src/org/RhinoTests/JavaScriptSnippets.java --- a/src/org/RhinoTests/JavaScriptSnippets.java Wed Apr 09 13:30:07 2014 +0200 +++ b/src/org/RhinoTests/JavaScriptSnippets.java Thu Apr 10 11:05:49 2014 +0200 @@ -153,6 +153,26 @@ protected static final String NUMERIC_EXPRESSION_6 = "(1+2)*3"; /** + * Numeric expression. + */ + protected static final String NUMERIC_EXPRESSION_7 = "(42)"; + + /** + * Numeric expression. + */ + protected static final String NUMERIC_EXPRESSION_8 = "((42))"; + + /** + * Numeric expression. + */ + protected static final String NUMERIC_EXPRESSION_9 = "((1+2))"; + + /** + * Numeric expression. + */ + protected static final String NUMERIC_EXPRESSION_10 = "((1+2+3))"; + + /** * Numeric expression containing floating point value. */ protected static final String DOUBLE_NUMERIC_EXPRESSION_1 = "1./2"; From jvanek at redhat.com Thu Apr 10 12:43:22 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Thu, 10 Apr 2014 14:43:22 +0200 Subject: [rfc][icedtea-web] conditional disabling of manifes tattributes Message-ID: <534691EA.8030606@redhat.com> Hi! This patch can disable the check for new manifest attributes. sevral motivations - I hate this feature - the remembering of this actions may take time to implement - and the most important - the testsuite... will go both head and 1.5. I'm hesitating whether to make this property public via itw-settings... Well if so, then as another changeset. Any opinion about publish it in itw-settings? J -------------- next part -------------- A non-text attachment was scrubbed... Name: disableManifestChecks.patch Type: text/x-patch Size: 3012 bytes Desc: not available URL: From aazores at redhat.com Thu Apr 10 14:44:26 2014 From: aazores at redhat.com (Andrew Azores) Date: Thu, 10 Apr 2014 10:44:26 -0400 Subject: [rfc][icedtea-web] conditional disabling of manifes tattributes In-Reply-To: <534691EA.8030606@redhat.com> References: <534691EA.8030606@redhat.com> Message-ID: <5346AE4A.9030106@redhat.com> On 04/10/2014 08:43 AM, Jiri Vanek wrote: > Hi! > > This patch can disable the check for new manifest attributes. > sevral motivations > - I hate this feature > - the remembering of this actions may take time to implement > - and the most important - the testsuite... Most important indeed. > > will go both head and 1.5. > > I'm hesitating whether to make this property public via > itw-settings... Well if so, then as another changeset. Any opinion > about publish it in itw-settings? > > J Ok to push, so that we can clean up some of the noise in the test suite. RE putting it in itweb-settings - I think the cleanest way to do this, if it's to be done at all, is probably to add another security level. 'Minimal' or something perhaps? Because I don't think it makes sense to add it in as a checkbox, for example, and have it possible to set security to High, but disable manifest checks. I'm not sure if we really want to allow this, though. I can imagine most users leaving the security level at Minimal once they discover that this gives them the least amount of clicking to do before getting their applets to run :) Thanks, -- Andrew A From aazores at redhat.com Thu Apr 10 14:46:14 2014 From: aazores at redhat.com (Andrew Azores) Date: Thu, 10 Apr 2014 10:46:14 -0400 Subject: [rfc][icedtea-web] Java 7 bump In-Reply-To: <5343FF24.4010406@redhat.com> References: <53431771.2000300@redhat.com> <20140407213922.GM2293@redhat.com> <5343FF24.4010406@redhat.com> Message-ID: <5346AEB6.7010804@redhat.com> On 04/08/2014 09:52 AM, Andrew Azores wrote: > On 04/07/2014 05:39 PM, Omair Majid wrote: >> * Andrew Azores [2014-04-07 17:24]: >>> Here's my attempt at getting the build system properly checking for >>> and working with Java 7. >> Previously, a 6 was the a minimal version, but icedtea-web would >> build/work with 7 too. The mirror of that would be requiring 7 but also >> working with 8. But I don't think this patch works with just 8. Am I >> mistaken? > > I have both 7 and 8 (and 5 due to GCJ) installed on my machine here > and the version check seemed to work properly in each case, switching > between them with system-switch-java since the first location checked > is now set by alternatives. With 5 it complained and failed, and with > 7 or 8 it completed normally. So as far as I can tell, I think it works. > >> >>> Note that (1) almost all of what I know about autotools was learned >>> today >> This is amazing stuff! > > Thanks :) > >> >>> - for dir in /usr/lib/jvm/java-openjdk /usr/lib/jvm/icedtea6 \ >>> - /usr/lib/jvm/java-6-openjdk /usr/lib/jvm/openjdk \ >>> - /usr/lib/jvm/java-icedtea /usr/lib/jvm/java-gcj >>> /usr/lib/jvm/gcj-jdk \ >>> - /usr/lib/jvm/cacao ; do >>> + for dir in /etc/alternatives/java_sdk \ >>> + /usr/lib/jvm/java-openjdk \ >>> + /usr/lib/jvm/java-1.7.0-openjdk \ >>> + /usr/lib/jvm/openjdk \ >>> + /usr/lib/jvm/java-icedtea \ >>> + /usr/lib/jvm/cacao ; do >> Wouldn't it make sense to add '/usr/lib/jvm/icedtea7' and >> '/usr/lib/jvm/java-7-openjdk' to the paths too? Or have those >> distributions changed the paths? >> >> I can't make up my mind whether we should try the well-known 7 or 8 >> locations. The default location may be 6, but it may also be the 7 or 8 >> VM the user wants to use. >> >>> AC_PATH_PROG(JAVA, "gij") >> Does 'gij' work? That's a 1.5 VM, right? Maybe this needs more cruft >> removed. > > I'm sure there's a lot more cruft I've missed. > >> >>> - AC_MSG_ERROR("A 1.5-compatible Java VM is required.") >>> + AC_MSG_ERROR("A 1.7-compatible Java VM is required.") >> 1.7 or newer, right? > > Well, yea. The 1.8 VM can still be called 1.7-compatible though, can't > it? > >> >>> JAVA_VERSION=`$JAVA -version 2>&1 | sed -n >>> '1s/@<:@^"@:>@*"\(.*\)"$/\1/p'` >>> + AC_MSG_RESULT($JAVA_VERSION) >>> HAVE_JAVA7=`echo $JAVA_VERSION | awk '{if ($(0) >= 1.7) print >>> "yes"}'` >>> - if ! test -z "$HAVE_JAVA7" ; then >>> - VERSION_DEFS='-DHAVE_JAVA7' >>> + HAVE_JAVA8=`echo $JAVA_VERSION | awk '{if ($(0) >= 1.8) print >>> "yes"}'` >>> + if test -z "$HAVE_JAVA7"; then >> This test is for just 7. I take it you meant to test 8 here too? >> >> Thanks, >> Omair >> > > It tests and requires that at least 7 is in use, otherwise it fails > out. If 8 or higher is in use, then it does the same trick with > -DHAVE_JAVA8 so that the plugin can add 1.8 to its MIME types. Using > system-switch-java and reconfiguring/building, then checking > about:plugins in Firefox does show that when using 8, an additional > MIME type for it is added, just as before with 6 vs 7. > > Thanks, > Ping - buildbot is still broken without this right now, and it's also blocking my patch updating PolicyEditor to use Swing generics etc. Thanks, -- Andrew A From omajid at redhat.com Thu Apr 10 19:24:54 2014 From: omajid at redhat.com (Omair Majid) Date: Thu, 10 Apr 2014 15:24:54 -0400 Subject: [rfc][icedtea-web] Java 7 bump In-Reply-To: <5343FF24.4010406@redhat.com> References: <53431771.2000300@redhat.com> <20140407213922.GM2293@redhat.com> <5343FF24.4010406@redhat.com> Message-ID: <20140410192454.GE2205@redhat.com> * Andrew Azores [2014-04-08 09:53]: > It tests and requires that at least 7 is in use, otherwise it fails > out. If 8 or higher is in use, then it does the same trick with > -DHAVE_JAVA8 so that the plugin can add 1.8 to its MIME types. Using > system-switch-java and reconfiguring/building, then checking > about:plugins in Firefox does show that when using 8, an additional > MIME type for it is added, just as before with 6 vs 7. Looks okay to me. Thanks, Omair -- PGP Key: 66484681 (http://pgp.mit.edu/) Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681 From aazores at icedtea.classpath.org Thu Apr 10 19:57:06 2014 From: aazores at icedtea.classpath.org (aazores at icedtea.classpath.org) Date: Thu, 10 Apr 2014 19:57:06 +0000 Subject: /hg/icedtea-web: Makefile and configure updated for Java 7 Message-ID: changeset 449852a92985 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=449852a92985 author: Andrew Azores date: Thu Apr 10 15:56:45 2014 -0400 Makefile and configure updated for Java 7 * Makefile.am: (HAVE_JAVA7) removed * acinclude.m4: (IT_CHECK_JAVA_VERSION) new check for JDK version. (IT_CHECK_FOR_JDK) changed directories to search for JDK, notably adding alternatives-defined JDK location * configure.ac: (IT_CHECK_JAVA_VERSION) new check for JDK version * plugin/icedteanp/IcedTeaNPPlugin.cc: (HAVE_JAVA7) renamed and modified to HAVE_JAVA8 * netx/net/sourceforge/jnlp/security/VariableX509TrustManagerJDK6.java: removed diffstat: ChangeLog | 12 + Makefile.am | 3 - acinclude.m4 | 42 +++- configure.ac | 1 + netx/net/sourceforge/jnlp/security/VariableX509TrustManagerJDK6.java | 75 ---------- plugin/icedteanp/IcedTeaNPPlugin.cc | 24 +- 6 files changed, 55 insertions(+), 102 deletions(-) diffs (244 lines): diff -r f664addf7da2 -r 449852a92985 ChangeLog --- a/ChangeLog Mon Apr 07 11:24:18 2014 -0400 +++ b/ChangeLog Thu Apr 10 15:56:45 2014 -0400 @@ -1,3 +1,15 @@ +2014-04-10 Andrew Azores + + * Makefile.am: (HAVE_JAVA7) removed + * acinclude.m4: (IT_CHECK_JAVA_VERSION) new check for JDK version. + (IT_CHECK_FOR_JDK) changed directories to search for JDK, notably adding + alternatives-defined JDK location + * configure.ac: (IT_CHECK_JAVA_VERSION) new check for JDK version + * plugin/icedteanp/IcedTeaNPPlugin.cc: (HAVE_JAVA7) renamed and modified + to HAVE_JAVA8 + * netx/net/sourceforge/jnlp/security/VariableX509TrustManagerJDK6.java: + removed + 2014-04-07 Andrew Azores * Makefile.am: (IT_LANGUAGE_SOURCE_VERSION, IT_CLASS_TARGET_VERSION) diff -r f664addf7da2 -r 449852a92985 Makefile.am --- a/Makefile.am Mon Apr 07 11:24:18 2014 -0400 +++ b/Makefile.am Thu Apr 10 15:56:45 2014 -0400 @@ -465,9 +465,6 @@ if !WITH_RHINO sed -i '/RhinoBasedPacEvaluator/ d' $@ endif -if !HAVE_JAVA7 - sed -i '/VariableX509TrustManagerJDK7/ d' $@ -endif stamps/netx-html-gen.stamp: (cd $$NETX_SRCDIR/..; \ diff -r f664addf7da2 -r 449852a92985 acinclude.m4 --- a/acinclude.m4 Mon Apr 07 11:24:18 2014 -0400 +++ b/acinclude.m4 Thu Apr 10 15:56:45 2014 -0400 @@ -47,10 +47,18 @@ SYSTEM_JDK_DIR= ]) if test -z "${SYSTEM_JDK_DIR}"; then - for dir in /usr/lib/jvm/java-openjdk /usr/lib/jvm/icedtea6 \ - /usr/lib/jvm/java-6-openjdk /usr/lib/jvm/openjdk \ - /usr/lib/jvm/java-icedtea /usr/lib/jvm/java-gcj /usr/lib/jvm/gcj-jdk \ - /usr/lib/jvm/cacao ; do + for dir in /etc/alternatives/java_sdk \ + /usr/lib/jvm/java-1.7.0-openjdk \ + /usr/lib/jvm/icedtea7 \ + /usr/lib/jvm/java-7-openjdk \ + /usr/lib/jvm/java-1.8.0-openjdk \ + /usr/lib/jvm/icedtea8 \ + /usr/lib/jvm/java-8-openjdk \ + /usr/lib/jvm/java-icedtea \ + /usr/lib/jvm/java-openjdk \ + /usr/lib/jvm/openjdk \ + /usr/lib/jvm/cacao \ + /usr/lib/jvm/jamvm ; do if test -d $dir; then SYSTEM_JDK_DIR=$dir break @@ -698,7 +706,7 @@ AC_REQUIRE([IT_CHECK_FOR_JRE]) AC_MSG_CHECKING([for a Java virtual machine]) AC_ARG_WITH([java], - [AS_HELP_STRING(--with-java,specify location of the 1.5 java vm)], + [AS_HELP_STRING(--with-java, specify location of the Java 1.7 VM)], [ JAVA="${withval}" ], @@ -712,21 +720,29 @@ AC_PATH_PROG(JAVA, "java") fi if test -z "${JAVA}"; then - AC_PATH_PROG(JAVA, "gij") - fi - if test -z "${JAVA}"; then - AC_MSG_ERROR("A 1.5-compatible Java VM is required.") + AC_MSG_ERROR("A 1.7+-compatible Java VM is required.") fi AC_MSG_RESULT(${JAVA}) AC_SUBST(JAVA) +]) + +AC_DEFUN_ONCE([IT_CHECK_JAVA_VERSION], +[ + AC_REQUIRE([IT_FIND_JAVA]) + AC_MSG_CHECKING([JDK version]) JAVA_VERSION=`$JAVA -version 2>&1 | sed -n '1s/@<:@^"@:>@*"\(.*\)"$/\1/p'` + AC_MSG_RESULT($JAVA_VERSION) HAVE_JAVA7=`echo $JAVA_VERSION | awk '{if ($(0) >= 1.7) print "yes"}'` - if ! test -z "$HAVE_JAVA7" ; then - VERSION_DEFS='-DHAVE_JAVA7' + HAVE_JAVA8=`echo $JAVA_VERSION | awk '{if ($(0) >= 1.8) print "yes"}'` + if test -z "$HAVE_JAVA7"; then + AC_MSG_ERROR([JDK7 or newer is required, detected was: $JAVA_VERSION]) fi - - AM_CONDITIONAL([HAVE_JAVA7], test x"${HAVE_JAVA7}" = "xyes" ) + if ! test -z "$HAVE_JAVA8"; then + VERSION_DEFS="-DHAVE_JAVA8" + fi AC_SUBST(VERSION_DEFS) + AM_CONDITIONAL([HAVE_JAVA7], test x"${HAVE_JAVA7}" = "xyes") + AM_CONDITIONAL([HAVE_JAVA8], test x"${HAVE_JAVA8}" = "xyes") ]) AC_DEFUN_ONCE([IT_FIND_KEYTOOL], diff -r f664addf7da2 -r 449852a92985 configure.ac --- a/configure.ac Mon Apr 07 11:24:18 2014 -0400 +++ b/configure.ac Thu Apr 10 15:56:45 2014 -0400 @@ -37,6 +37,7 @@ FIND_JAVAC FIND_JAR FIND_ECJ_JAR +IT_CHECK_JAVA_VERSION IT_FIND_JAVADOC IT_FIND_KEYTOOL IT_FIND_JARSIGNER diff -r f664addf7da2 -r 449852a92985 netx/net/sourceforge/jnlp/security/VariableX509TrustManagerJDK6.java --- a/netx/net/sourceforge/jnlp/security/VariableX509TrustManagerJDK6.java Mon Apr 07 11:24:18 2014 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,75 +0,0 @@ -/* VariableX509TrustManagerJDK6.java - Copyright (C) 2012 Red Hat, Inc. - -This file is part of IcedTea. - -IcedTea is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License as published by -the Free Software Foundation, version 2. - -IcedTea is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with IcedTea; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. -*/ - -package net.sourceforge.jnlp.security; - -import java.security.cert.CertificateException; -import java.security.cert.X509Certificate; - -import com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager; - -public class VariableX509TrustManagerJDK6 extends X509ExtendedTrustManager { - - private VariableX509TrustManager vX509TM = VariableX509TrustManager.getInstance(); - - @Override - public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException { - checkClientTrusted(chain, authType, null, null); - } - - @Override - public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException { - vX509TM.checkTrustServer(chain, authType, null /* hostname*/, null /* socket */, null /* engine */); - } - - @Override - public X509Certificate[] getAcceptedIssuers() { - return vX509TM.getAcceptedIssuers(); - } - - @Override - public void checkClientTrusted(X509Certificate[] chain, String authType, String hostname, String algorithm) throws CertificateException { - vX509TM.checkTrustClient(chain, authType, hostname); // We don't need algorithm, we will always use this for TLS only - } - - @Override - public void checkServerTrusted(X509Certificate[] chain, String authType, String hostname, String algorithm) throws CertificateException { - // We don't need to pass algorithm, we will always use this for TLS only - vX509TM.checkTrustServer(chain, authType, hostname, null /* socket */, null /* engine */); - } - -} diff -r f664addf7da2 -r 449852a92985 plugin/icedteanp/IcedTeaNPPlugin.cc --- a/plugin/icedteanp/IcedTeaNPPlugin.cc Mon Apr 07 11:24:18 2014 -0400 +++ b/plugin/icedteanp/IcedTeaNPPlugin.cc Thu Apr 10 15:56:45 2014 -0400 @@ -64,16 +64,16 @@ #define PLUGIN_FULL_NAME PLUGIN_NAME " (using " PLUGIN_VERSION ")" #define PLUGIN_DESC "The " PLUGIN_NAME " executes Java applets." -#ifdef HAVE_JAVA7 +#ifdef HAVE_JAVA8 + #define JPI_VERSION "1.8.0_" JDK_UPDATE_VERSION + #define PLUGIN_APPLET_MIME_DESC \ + "application/x-java-applet;version=1.8:class,jar:IcedTea;" + #define PLUGIN_BEAN_MIME_DESC \ + "application/x-java-bean;version=1.8:class,jar:IcedTea;" +#else #define JPI_VERSION "1.7.0_" JDK_UPDATE_VERSION - #define PLUGIN_APPLET_MIME_DESC7 \ - "application/x-java-applet;version=1.7:class,jar:IcedTea;" - #define PLUGIN_BEAN_MIME_DESC7 \ - "application/x-java-bean;version=1.7:class,jar:IcedTea;" -#else - #define JPI_VERSION "1.6.0_" JDK_UPDATE_VERSION - #define PLUGIN_APPLET_MIME_DESC7 - #define PLUGIN_BEAN_MIME_DESC7 + #define PLUGIN_APPLET_MIME_DESC + #define PLUGIN_BEAN_MIME_DESC #endif #define PLUGIN_MIME_DESC \ @@ -93,7 +93,8 @@ "application/x-java-applet;version=1.4.2:class,jar:IcedTea;" \ "application/x-java-applet;version=1.5:class,jar:IcedTea;" \ "application/x-java-applet;version=1.6:class,jar:IcedTea;" \ - PLUGIN_APPLET_MIME_DESC7 \ + "application/x-java-applet;version=1.7:class,jar:IcedTea;" \ + PLUGIN_APPLET_MIME_DESC \ "application/x-java-applet;jpi-version=" JPI_VERSION ":class,jar:IcedTea;" \ "application/x-java-bean:class,jar:IcedTea;" \ "application/x-java-bean;version=1.1:class,jar:IcedTea;" \ @@ -110,7 +111,8 @@ "application/x-java-bean;version=1.4.2:class,jar:IcedTea;" \ "application/x-java-bean;version=1.5:class,jar:IcedTea;" \ "application/x-java-bean;version=1.6:class,jar:IcedTea;" \ - PLUGIN_BEAN_MIME_DESC7 \ + "application/x-java-bean;version=1.7:class,jar:IcedTea;" \ + PLUGIN_BEAN_MIME_DESC \ "application/x-java-bean;jpi-version=" JPI_VERSION ":class,jar:IcedTea;" \ "application/x-java-vm-npruntime::IcedTea;" From aazores at icedtea.classpath.org Thu Apr 10 20:03:36 2014 From: aazores at icedtea.classpath.org (aazores at icedtea.classpath.org) Date: Thu, 10 Apr 2014 20:03:36 +0000 Subject: /hg/icedtea-web: PolicyEditor update for Java 7 features Message-ID: changeset 3dde3780f8bd in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=3dde3780f8bd author: Andrew Azores date: Thu Apr 10 16:03:23 2014 -0400 PolicyEditor update for Java 7 features Update PolicyEditor classes for Java 7 - Swing Generics, Diamond operator. Also some formatting fixes. * netx/net/sourceforge/jnlp/security/policyeditor/CustomPolicyViewer.java * netx/net/sourceforge/jnlp/security/policyeditor/PermissionActions.java * netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java * netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java * netx/net/sourceforge/jnlp/security/policyeditor/PolicyEntry.java diffstat: ChangeLog | 10 + netx/net/sourceforge/jnlp/security/policyeditor/CustomPolicyViewer.java | 8 +- netx/net/sourceforge/jnlp/security/policyeditor/PermissionActions.java | 2 +- netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java | 175 +++++---- netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java | 30 +- netx/net/sourceforge/jnlp/security/policyeditor/PolicyEntry.java | 4 +- 6 files changed, 120 insertions(+), 109 deletions(-) diffs (truncated from 608 to 500 lines): diff -r 449852a92985 -r 3dde3780f8bd ChangeLog --- a/ChangeLog Thu Apr 10 15:56:45 2014 -0400 +++ b/ChangeLog Thu Apr 10 16:03:23 2014 -0400 @@ -1,3 +1,13 @@ +2014-04-10 Andrew Azores + + Update PolicyEditor classes for Java 7 - Swing Generics, Diamond operator. + Also some formatting fixes. + * netx/net/sourceforge/jnlp/security/policyeditor/CustomPolicyViewer.java + * netx/net/sourceforge/jnlp/security/policyeditor/PermissionActions.java + * netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java + * netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java + * netx/net/sourceforge/jnlp/security/policyeditor/PolicyEntry.java + 2014-04-10 Andrew Azores * Makefile.am: (HAVE_JAVA7) removed diff -r 449852a92985 -r 3dde3780f8bd netx/net/sourceforge/jnlp/security/policyeditor/CustomPolicyViewer.java --- a/netx/net/sourceforge/jnlp/security/policyeditor/CustomPolicyViewer.java Thu Apr 10 15:56:45 2014 -0400 +++ b/netx/net/sourceforge/jnlp/security/policyeditor/CustomPolicyViewer.java Thu Apr 10 16:03:23 2014 -0400 @@ -66,14 +66,14 @@ */ public class CustomPolicyViewer extends JFrame { - private final Collection customPermissions = new TreeSet(); + private final Collection customPermissions = new TreeSet<>(); private final JScrollPane scrollPane = new JScrollPane(); - private final DefaultListModel listModel = new DefaultListModel(); - private final JList list = new JList(listModel); + private final DefaultListModel listModel = new DefaultListModel<>(); + private final JList list = new JList<>(listModel); private final JButton addButton = new JButton(), removeButton = new JButton(), closeButton = new JButton(); private final JLabel listLabel = new JLabel(); private final ActionListener addButtonAction, removeButtonAction, closeButtonAction; - private final WeakReference weakThis = new WeakReference(this); + private final WeakReference weakThis = new WeakReference<>(this); /** * @param parent the parent PolicyEditor which created this CustomPolicyViewer diff -r 449852a92985 -r 3dde3780f8bd netx/net/sourceforge/jnlp/security/policyeditor/PermissionActions.java --- a/netx/net/sourceforge/jnlp/security/policyeditor/PermissionActions.java Thu Apr 10 15:56:45 2014 -0400 +++ b/netx/net/sourceforge/jnlp/security/policyeditor/PermissionActions.java Thu Apr 10 16:03:23 2014 -0400 @@ -88,7 +88,7 @@ } private static Set setFromString(final String string) { - final Set set = new HashSet(); + final Set set = new HashSet<>(); Collections.addAll(set, string.split(",")); return set; } diff -r 449852a92985 -r 3dde3780f8bd netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java --- a/netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java Thu Apr 10 15:56:45 2014 -0400 +++ b/netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java Thu Apr 10 16:03:23 2014 -0400 @@ -165,18 +165,18 @@ private File file; private boolean changesMade = false; private boolean closed = false; - private final Map> codebasePermissionsMap = new HashMap>(); - private final Map> customPermissionsMap = new HashMap>(); - private final Map checkboxMap = new TreeMap(); - private final List groupBoxList = new ArrayList(Group.values().length); + private final Map> codebasePermissionsMap = new HashMap<>(); + private final Map> customPermissionsMap = new HashMap<>(); + private final Map checkboxMap = new TreeMap<>(); + private final List groupBoxList = new ArrayList<>(Group.values().length); private final JScrollPane scrollPane = new JScrollPane(); - private final DefaultListModel listModel = new DefaultListModel(); - private final JList list = new JList(listModel); + private final DefaultListModel listModel = new DefaultListModel<>(); + private final JList list = new JList<>(listModel); private final JButton okButton = new JButton(), closeButton = new JButton(), addCodebaseButton = new JButton(), removeCodebaseButton = new JButton(); private final JFileChooser fileChooser; private CustomPolicyViewer cpViewer = null; - private final WeakReference weakThis = new WeakReference(this); + private final WeakReference weakThis = new WeakReference<>(this); private MD5SumWatcher fileWatcher; private final ActionListener okButtonAction, addCodebaseButtonAction, @@ -196,13 +196,13 @@ return group; } - private void setState(Map map) { - List backup = new LinkedList(); + private void setState(final Map map) { + final List backup = new LinkedList<>(); for (final ActionListener l : this.getActionListeners()) { backup.add(l); this.removeActionListener(l); } - int i = group.getState(map); + final int i = group.getState(map); this.setBackground(getParent().getBackground()); if (i > 0) { this.setSelected(true); @@ -215,7 +215,7 @@ this.setSelected(false); } - for (ActionListener al : backup) { + for (final ActionListener al : backup) { this.addActionListener(al); } } @@ -273,7 +273,7 @@ removeCodebaseButtonAction = new ActionListener() { @Override public void actionPerformed(final ActionEvent e) { - removeCodebase((String) list.getSelectedValue()); + removeCodebase(getSelectedCodebase()); } }; removeCodebaseButton.setText(R("PERemoveCodebase")); @@ -324,7 +324,7 @@ @Override public void run() { String codebase = getSelectedCodebase(); - if (codebase == null){ + if (codebase == null) { return; } if (cpViewer == null) { @@ -343,9 +343,9 @@ setupLayout(); } - + private String getSelectedCodebase() { - String codebase = (String) list.getSelectedValue(); + final String codebase = list.getSelectedValue(); if (codebase == null || codebase.isEmpty()) { return null; } @@ -355,7 +355,7 @@ return codebase; } - private static void preparePolicyEditorWindow(final PolicyEditorWindow w, PolicyEditor e) { + private static void preparePolicyEditorWindow(final PolicyEditorWindow w, final PolicyEditor e) { w.setModalityType(ModalityType.MODELESS); //at least some default w.setPolicyEditor(e); w.setTitle(R("PETitle")); @@ -386,7 +386,6 @@ editor.closeButton.setText(R("ButClose")); editor.closeButton.addActionListener(editor.closeButtonAction); - final Action saveAct = new AbstractAction() { @Override public void actionPerformed(final ActionEvent e) { @@ -437,7 +436,7 @@ private PolicyEditorFrame(final PolicyEditor editor) { super(); - preparePolicyEditorWindow((PolicyEditorWindow)this, editor); + preparePolicyEditorWindow((PolicyEditorWindow) this, editor); } @Override @@ -451,17 +450,17 @@ } @Override - public final void setPolicyEditor(PolicyEditor e) { + public final void setPolicyEditor(final PolicyEditor e) { editor = e; } @Override - public final void setDefaultCloseOperation(int operation) { + public final void setDefaultCloseOperation(final int operation) { super.setDefaultCloseOperation(operation); } @Override - public final void setJMenuBar(JMenuBar menu) { + public final void setJMenuBar(final JMenuBar menu) { super.setJMenuBar(menu); } @@ -471,7 +470,7 @@ } @Override - public void setModalityType(ModalityType type) { + public void setModalityType(final ModalityType type) { //no op for frame } @@ -502,11 +501,11 @@ private PolicyEditorDialog(final PolicyEditor editor) { super(); - preparePolicyEditorWindow((PolicyEditorWindow)this, editor); + preparePolicyEditorWindow((PolicyEditorWindow) this, editor); } @Override - public final void setTitle(String title) { + public final void setTitle(final String title) { super.setTitle(title); } @@ -516,17 +515,17 @@ } @Override - public final void setPolicyEditor(PolicyEditor e) { + public final void setPolicyEditor(final PolicyEditor e) { editor = e; } @Override - public final void setDefaultCloseOperation(int operation) { + public final void setDefaultCloseOperation(final int operation) { super.setDefaultCloseOperation(operation); } @Override - public final void setJMenuBar(JMenuBar menu) { + public final void setJMenuBar(final JMenuBar menu) { super.setJMenuBar(menu); } @@ -536,7 +535,7 @@ } @Override - public void setModalityType(ModalityType type) { + public void setModalityType(final ModalityType type) { super.setModalityType(type); } @@ -641,7 +640,7 @@ final Action act = new AbstractAction() { @Override public void actionPerformed(final ActionEvent e) { - removeCodebase((String) list.getSelectedValue()); + removeCodebase(getSelectedCodebase()); } }; setAccelerator(R("PERemoveCodebaseMnemonic"), ActionEvent.ALT_MASK, act, "RemoveCodebaseAccelerator"); @@ -726,6 +725,7 @@ stopAsking = true; } } catch (final MalformedURLException mfue) { + // ignore - loop/ask again } } addNewCodebase(codebase); @@ -773,7 +773,7 @@ if (permissions != null) { return new HashMap(permissions); } else { - final Map blank = new HashMap(); + final Map blank = new HashMap<>(); for (final PolicyEditorPermissions perm : PolicyEditorPermissions.values()) { blank.put(perm, false); } @@ -800,10 +800,10 @@ */ private void updateCheckboxes(final String codebase) { try { - if (SwingUtilities.isEventDispatchThread()){ - updateCheckboxesImpl(codebase); + if (SwingUtilities.isEventDispatchThread()) { + updateCheckboxesImpl(codebase); } else { - updateCheckboxesInvokeAndWait(codebase); + updateCheckboxesInvokeAndWait(codebase); } } catch (InterruptedException ex) { OutputController.getLogger().log(ex); @@ -811,52 +811,52 @@ OutputController.getLogger().log(ex); } } - + private void updateCheckboxesInvokeAndWait(final String codebase) throws InterruptedException, InvocationTargetException { SwingUtilities.invokeAndWait(new Runnable() { @Override public void run() { - updateCheckboxesImpl(codebase); + updateCheckboxesImpl(codebase); } }); } - - private void updateCheckboxesImpl(String codebase) { - for (final PolicyEditorPermissions perm : PolicyEditorPermissions.values()) { - final JCheckBox box = checkboxMap.get(perm); - for (final ActionListener l : box.getActionListeners()) { - box.removeActionListener(l); - } - initializeMapForCodebase(codebase); - final Map map = codebasePermissionsMap.get(codebase); - final boolean state; - if (map != null) { - final Boolean s = map.get(perm); - if (s != null) { - state = s; - } else { - state = false; - } - } else { - state = false; - } + + private void updateCheckboxesImpl(final String codebase) { + for (final PolicyEditorPermissions perm : PolicyEditorPermissions.values()) { + final JCheckBox box = checkboxMap.get(perm); + for (final ActionListener l : box.getActionListeners()) { + box.removeActionListener(l); + } + initializeMapForCodebase(codebase); + final Map map = codebasePermissionsMap.get(codebase); + final boolean state; + if (map != null) { + final Boolean s = map.get(perm); + if (s != null) { + state = s; + } else { + state = false; + } + } else { + state = false; + } + for (final JCheckBoxWithGroup jg : groupBoxList) { + jg.setState(map); + } + box.setSelected(state); + box.addActionListener(new ActionListener() { + @Override + public void actionPerformed(final ActionEvent e) { + changesMade = true; + map.put(perm, box.isSelected()); for (JCheckBoxWithGroup jg : groupBoxList) { jg.setState(map); } - box.setSelected(state); - box.addActionListener(new ActionListener() { - @Override - public void actionPerformed(final ActionEvent e) { - changesMade = true; - map.put(perm, box.isSelected()); - for (JCheckBoxWithGroup jg : groupBoxList) { - jg.setState(map); - } - } - }); } - } + }); + } + } /** * Set a mnemonic key for a menu item or button @@ -947,8 +947,8 @@ checkboxConstraints.gridy = 1; for (final JCheckBox box : checkboxMap.values()) { - if (PolicyEditorPermissions.Group.anyContains(box, checkboxMap)){ - //do not show boxes in any group + if (PolicyEditorPermissions.Group.anyContains(box, checkboxMap)) { + //do not show boxes in any group continue; } add(box, checkboxConstraints); @@ -960,7 +960,7 @@ } } //add groups - for (PolicyEditorPermissions.Group g : PolicyEditorPermissions.Group.values()) { + for (final PolicyEditorPermissions.Group g : PolicyEditorPermissions.Group.values()) { //no metter what, put group title on new line checkboxConstraints.gridy++; //all groups are in second column @@ -977,14 +977,14 @@ groupPanel.setVisible(!groupPanel.isVisible()); PolicyEditor.this.validate(); Container c = PolicyEditor.this.getParent(); - //find the window and repack it + // find the window and repack it while (!(c instanceof Window)) { if (c == null) { return; } c = c.getParent(); } - Window w = (Window) c; + final Window w = (Window) c; w.pack(); } @@ -993,34 +993,34 @@ groupCh.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { - String codebase = getSelectedCodebase(); + final String codebase = getSelectedCodebase(); if (codebase == null) { return; } - List backup = new LinkedList(); + List backup = new LinkedList<>(); for (final ActionListener l : groupCh.getActionListeners()) { backup.add(l); groupCh.removeActionListener(l); } final Map map = codebasePermissionsMap.get(codebase); - for (PolicyEditorPermissions p : groupCh.getGroup().getPermissions()) { + for (final PolicyEditorPermissions p : groupCh.getGroup().getPermissions()) { map.put(p, groupCh.isSelected()); } changesMade = true; updateCheckboxes(codebase); - for (ActionListener al : backup) { + for (final ActionListener al : backup) { groupCh.addActionListener(al); } } }); add(groupCh, checkboxConstraints); - //place panel with mebers below the title + // place panel with members below the title checkboxConstraints.gridy++; checkboxConstraints.gridx = 2; - //spread group's panel over two columns + // spread group's panel over two columns checkboxConstraints.gridwidth = 2; - checkboxConstraints.fill = checkboxConstraints.BOTH; + checkboxConstraints.fill = GridBagConstraints.BOTH; add(groupPanel, checkboxConstraints); final GridBagConstraints groupCheckboxLabelConstraints = new GridBagConstraints(); groupCheckboxLabelConstraints.anchor = GridBagConstraints.LINE_START; @@ -1028,7 +1028,7 @@ groupCheckboxLabelConstraints.weighty = 0; groupCheckboxLabelConstraints.gridx = 1; groupCheckboxLabelConstraints.gridy = 1; - for (PolicyEditorPermissions p : g.getPermissions()) { + for (final PolicyEditorPermissions p : g.getPermissions()) { groupPanel.add(checkboxMap.get(p), groupCheckboxLabelConstraints); // Two columns of checkboxes groupCheckboxLabelConstraints.gridx++; @@ -1042,7 +1042,6 @@ checkboxConstraints.gridwidth = 1; } - final JLabel codebaseListLabel = new JLabel(R("PECodebaseLabel")); codebaseListLabel.setBorder(new EmptyBorder(2, 2, 2, 2)); final GridBagConstraints listLabelConstraints = new GridBagConstraints(); @@ -1152,7 +1151,7 @@ // If this fails we'll end up handling it a few lines down anyway. } } - OpenFileResult ofr = FileUtils.testFilePermissions(file); + final OpenFileResult ofr = FileUtils.testFilePermissions(file); if (ofr == OpenFileResult.FAILURE || ofr == OpenFileResult.NOT_FILE) { FileUtils.showCouldNotOpenFilepathDialog(weakThis.get(), file.getPath()); return; @@ -1258,7 +1257,7 @@ } if (codebasePermissionsMap.get(codebase) == null) { - final Map map = new HashMap(); + final Map map = new HashMap<>(); for (final PolicyEditorPermissions perm : PolicyEditorPermissions.values()) { map.put(perm, false); } @@ -1266,7 +1265,7 @@ } if (customPermissionsMap.get(codebase) == null) { - final Set set = new HashSet(); + final Set set = new HashSet<>(); customPermissionsMap.put(codebase, set); } @@ -1307,8 +1306,10 @@ } final StringBuilder sb = new StringBuilder(); sb.append(AUTOGENERATED_NOTICE); - sb.append("\n/* Generated by PolicyEditor at ").append(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss") - .format(Calendar.getInstance().getTime())).append(" */").append(System.getProperty("line.separator")); + sb.append("\n/* Generated by PolicyEditor at ") + .append(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(Calendar.getInstance().getTime())) + .append(" */") + .append(System.getProperty("line.separator")); final Set enabledPermissions = new HashSet(); FileLock fileLock; try { @@ -1456,7 +1457,7 @@ From ptisnovs at icedtea.classpath.org Fri Apr 11 09:18:21 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Fri, 11 Apr 2014 09:18:21 +0000 Subject: /hg/gfx-test: Eight new common test methods added into BitBltBuf... Message-ID: changeset 0729e0676d9c in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=0729e0676d9c author: Pavel Tisnovsky date: Fri Apr 11 11:19:00 2014 +0200 Eight new common test methods added into BitBltBufferedImageOp. diffstat: ChangeLog | 5 + src/org/gfxtest/testsuites/BitBltBufferedImageOp.java | 160 ++++++++++++++++++ 2 files changed, 165 insertions(+), 0 deletions(-) diffs (182 lines): diff -r f063aeb24b7f -r 0729e0676d9c ChangeLog --- a/ChangeLog Thu Apr 10 09:36:51 2014 +0200 +++ b/ChangeLog Fri Apr 11 11:19:00 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-11 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/BitBltBufferedImageOp.java: + Eight new common test methods added into BitBltBufferedImageOp. + 2014-04-10 Pavel Tisnovsky * src/org/gfxtest/testsuites/BitBltUsingBgColor.java: diff -r f063aeb24b7f -r 0729e0676d9c src/org/gfxtest/testsuites/BitBltBufferedImageOp.java --- a/src/org/gfxtest/testsuites/BitBltBufferedImageOp.java Thu Apr 10 09:36:51 2014 +0200 +++ b/src/org/gfxtest/testsuites/BitBltBufferedImageOp.java Fri Apr 11 11:19:00 2014 +0200 @@ -1441,6 +1441,166 @@ } /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_USHORT_555_RGB}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltHorizontalStripesTypeUshort555RGB(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithHorizontalStripesImage(image, graphics2d, BufferedImage.TYPE_USHORT_555_RGB, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_USHORT_565_RGB}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltHorizontalStripesTypeUshort565RGB(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithHorizontalStripesImage(image, graphics2d, BufferedImage.TYPE_USHORT_565_RGB, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_USHORT_GRAY}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltHorizontalStripesTypeUshortGray(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithHorizontalStripesImage(image, graphics2d, BufferedImage.TYPE_USHORT_GRAY, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_3BYTE_BGR}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltVerticalStripesType3ByteBGR(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithVerticalStripesImage(image, graphics2d, BufferedImage.TYPE_3BYTE_BGR, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_4BYTE_ABGR}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltVerticalStripesType4ByteABGR(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithVerticalStripesImage(image, graphics2d, BufferedImage.TYPE_4BYTE_ABGR, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_4BYTE_ABGR_PRE}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltVerticalStripesType4ByteABGR_Pre(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithVerticalStripesImage(image, graphics2d, BufferedImage.TYPE_4BYTE_ABGR_PRE, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_BYTE_BINARY}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltVerticalStripesTypeByteBinary(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithVerticalStripesImage(image, graphics2d, BufferedImage.TYPE_BYTE_BINARY, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_BYTE_INDEXED}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltVerticalStripesTypeByteIndexed(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithVerticalStripesImage(image, graphics2d, BufferedImage.TYPE_BYTE_INDEXED, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_BYTE_GRAY}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltVerticalStripesTypeByteGray(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithVerticalStripesImage(image, graphics2d, BufferedImage.TYPE_BYTE_GRAY, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_INT_BGR}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltVerticalStripesTypeIntBGR(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithVerticalStripesImage(image, graphics2d, BufferedImage.TYPE_INT_BGR, rasterOp); + } + + /** * Entry point to the test suite. * * @param args not used in this case From jvanek at redhat.com Fri Apr 11 13:07:29 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Fri, 11 Apr 2014 15:07:29 +0200 Subject: [rfc][icedtea-web] conditional disabling of manifes tattributes In-Reply-To: <5346AE4A.9030106@redhat.com> References: <534691EA.8030606@redhat.com> <5346AE4A.9030106@redhat.com> Message-ID: <5347E911.8040707@redhat.com> On 04/10/2014 04:44 PM, Andrew Azores wrote: > On 04/10/2014 08:43 AM, Jiri Vanek wrote: >> Hi! >> >> This patch can disable the check for new manifest attributes. >> sevral motivations >> - I hate this feature >> - the remembering of this actions may take time to implement >> - and the most important - the testsuite... > > Most important indeed. > >> >> will go both head and 1.5. >> >> I'm hesitating whether to make this property public via itw-settings... Well if so, then as >> another changeset. Any opinion about publish it in itw-settings? >> >> J > > Ok to push, so that we can clean up some of the noise in the test suite. > > RE putting it in itweb-settings - I think the cleanest way to do this, if it's to be done at all, is > probably to add another security level. 'Minimal' or something perhaps? Because I don't think it > makes sense to add it in as a checkbox, for example, and have it possible to set security to High, > but disable manifest checks. I'm not sure if we really want to allow this, though. I can imagine > most users leaving the security level at Minimal once they discover that this gives them the least > amount of clicking to do before getting their applets to run :) Oh yes, that can be correct thing to do. But looking to the issue from this perspective, it is NO-GO argument for it as it is done. Well all correct applications should be updated to support new attributes.. but the legaxy, and still used ones? So I have another idea here - really extend ExtendedAppletsSecurity, and to allow "do not check manifest attributes" on the application/codebase - So all those dialogs will be moreover based on your abstraction of Extended Applets security. Also remember alaca checkbox issue will be solved by this. Bu the extension of ExtendedAppletsSecurity will needed to be done really carefully - and prepared before implementation. What do you think? From aazores at redhat.com Fri Apr 11 16:44:45 2014 From: aazores at redhat.com (Andrew Azores) Date: Fri, 11 Apr 2014 12:44:45 -0400 Subject: [rfc][icedtea-web] More Swing generics (warning cleanup) Message-ID: <53481BFD.6040202@redhat.com> Hi, Just more warnings cleanup, continuing with using Swing generics now that we've moved to Java 7. Also some nifty diamond operator. Thanks, -- Andrew A -------------- next part -------------- A non-text attachment was scrubbed... Name: swing-generics.patch Type: text/x-patch Size: 18739 bytes Desc: not available URL: From aazores at redhat.com Fri Apr 11 16:49:09 2014 From: aazores at redhat.com (Andrew Azores) Date: Fri, 11 Apr 2014 12:49:09 -0400 Subject: [rfc][icedtea-web] conditional disabling of manifes tattributes In-Reply-To: <5347E911.8040707@redhat.com> References: <534691EA.8030606@redhat.com> <5346AE4A.9030106@redhat.com> <5347E911.8040707@redhat.com> Message-ID: <53481D05.3000802@redhat.com> On 04/11/2014 09:07 AM, Jiri Vanek wrote: > On 04/10/2014 04:44 PM, Andrew Azores wrote: >> On 04/10/2014 08:43 AM, Jiri Vanek wrote: >>> Hi! >>> >>> This patch can disable the check for new manifest attributes. >>> sevral motivations >>> - I hate this feature >>> - the remembering of this actions may take time to implement >>> - and the most important - the testsuite... >> >> Most important indeed. >> >>> >>> will go both head and 1.5. >>> >>> I'm hesitating whether to make this property public via >>> itw-settings... Well if so, then as >>> another changeset. Any opinion about publish it in itw-settings? >>> >>> J >> >> Ok to push, so that we can clean up some of the noise in the test suite. >> >> RE putting it in itweb-settings - I think the cleanest way to do >> this, if it's to be done at all, is >> probably to add another security level. 'Minimal' or something >> perhaps? Because I don't think it >> makes sense to add it in as a checkbox, for example, and have it >> possible to set security to High, >> but disable manifest checks. I'm not sure if we really want to allow >> this, though. I can imagine >> most users leaving the security level at Minimal once they discover >> that this gives them the least >> amount of clicking to do before getting their applets to run :) > > > Oh yes, that can be correct thing to do. But looking to the issue from > this perspective, it is NO-GO argument for it as it is done. Well all > correct applications should be updated to support new attributes.. but > the legaxy, and still used ones? > > So I have another idea here - really extend ExtendedAppletsSecurity, > and to allow "do not check manifest attributes" on the > application/codebase - So all those dialogs will be moreover based on > your abstraction of Extended Applets security. Also remember alaca > checkbox issue will be solved by this. > > Bu the extension of ExtendedAppletsSecurity will needed to be done > really carefully - and prepared before implementation. > > What do you think? Sounds like it could be a lot of work, but should be worthwhile in the end. I think it will be very nice if we can unify all of our dialogs like this so that they can all make use of the same remembered action storage. Or at least, the ones that need to be able to remember actions. I'm not sure about having the manifest attribute check be an option to be selected on the dialog though, even with an option to remember it... but maybe it's the right thing to do. It just seems like the dialogs are getting busier and busier and more confusing looking, but you're right that this option will (hopefully) be used mostly for allowing some old applets which haven't been updated to be used still. In that kind of situation, which I think is the target, then applying the setting to all applets/globally maybe isn't the right choice. So as ugly and cluttered as the UI might become, I suppose this really should be done on a per-applet basis (maybe in addition to having it configurable globally?). Thanks, -- Andrew A From gnu.andrew at redhat.com Fri Apr 11 18:19:00 2014 From: gnu.andrew at redhat.com (Andrew Hughes) Date: Fri, 11 Apr 2014 14:19:00 -0400 (EDT) Subject: Oracle Java 8 problems due to TLS policy change In-Reply-To: References: Message-ID: <1013403333.3857697.1397240340516.JavaMail.zimbra@redhat.com> ----- Original Message ----- > Ping? > > On Fri, Apr 4, 2014 at 11:03 AM, helpcrypto helpcrypto > wrote: > > > According to > > http://docs.oracle.com/javase/8/docs/technotes/guides/security/enhancements-8.htmlOracle > > Java 8 now uses TLS1.1 and TLS1.2 (both enabled by default on > > Control Panel). > > > > This seems to be causing an error in our applet loading. Problem seems > > solved if both unchecked. Funny thing is our server only supports TLS1.0. > > > > Is icedtea8 following the same TLS policy? (switching to TLS1.1 and TLS1.2) > > If so, i should check if the same error appears. > > I'm not sure what you're referring to here. There is no control panel in IcedTea/OpenJDK 6, 7 or 8. I seem to remember TLS 1.2 support being added as part of 7 (it was one of the reasons for the addition of an explicit ECC provider). If this is related to deployment tools, then you need to be looking at IcedTea-Web, which is separate for any individual JDK. > > BTW: I have noticed latest Ubuntu pkg doesnt work anymore with our > > applet...so there must be a JSObject regression in the last...year? I'll > > let you know after tests. I guess you'd need to consult the packagers about this to start with and then they can forward the bug upstream if necessary. I don't know the individual versions etc. packaged by Ubuntu, or about any local changes they make. > > > > Thanks and good day! > > > -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 From aazores at redhat.com Fri Apr 11 18:29:52 2014 From: aazores at redhat.com (Andrew Azores) Date: Fri, 11 Apr 2014 14:29:52 -0400 Subject: Oracle Java 8 problems due to TLS policy change In-Reply-To: <1013403333.3857697.1397240340516.JavaMail.zimbra@redhat.com> References: <1013403333.3857697.1397240340516.JavaMail.zimbra@redhat.com> Message-ID: <534834A0.1060600@redhat.com> On 04/11/2014 02:19 PM, Andrew Hughes wrote: > > ----- Original Message ----- >> Ping? >> >> On Fri, Apr 4, 2014 at 11:03 AM, helpcrypto helpcrypto >> wrote: >>> According to >>> http://docs.oracle.com/javase/8/docs/technotes/guides/security/enhancements-8.htmlOracle >>> Java 8 now uses TLS1.1 and TLS1.2 (both enabled by default on >>> Control Panel). >>> >>> This seems to be causing an error in our applet loading. Problem seems >>> solved if both unchecked. Funny thing is our server only supports TLS1.0. >>> >>> Is icedtea8 following the same TLS policy? (switching to TLS1.1 and TLS1.2) >>> If so, i should check if the same error appears. >>> > I'm not sure what you're referring to here. There is no control panel in > IcedTea/OpenJDK 6, 7 or 8. I seem to remember TLS 1.2 support being added > as part of 7 (it was one of the reasons for the addition of an explicit > ECC provider). > > If this is related to deployment tools, then you need to be looking at IcedTea-Web, > which is separate for any individual JDK. Maybe Jiri can chime in here? > >>> BTW: I have noticed latest Ubuntu pkg doesnt work anymore with our >>> applet...so there must be a JSObject regression in the last...year? I'll >>> let you know after tests. > I guess you'd need to consult the packagers about this to start with and then > they can forward the bug upstream if necessary. I don't know the individual > versions etc. packaged by Ubuntu, or about any local changes they make. I think the bug report he filed [0] was about this 'BTW' part. If so, that problem has been resolved. [0] http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1731 Thanks, -- Andrew A From bugzilla-daemon at icedtea.classpath.org Fri Apr 11 23:25:01 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 11 Apr 2014 23:25:01 +0000 Subject: [Bug 1393] JPEG support in build is broken on non-system-libjpeg builds In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1393 --- Comment #2 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=ac30c0e7bfa6 author: andrew date: Sat Apr 12 00:24:34 2014 +0100 PR1393: JPEG support in build is broken on non-system-libjpeg builds -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew at icedtea.classpath.org Fri Apr 11 23:26:58 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 11 Apr 2014 23:26:58 +0000 Subject: /hg/release/icedtea7-forest-2.5/jdk: PR1393: JPEG support in bui... Message-ID: changeset 662aa183a547 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=662aa183a547 author: andrew date: Sat Apr 12 00:24:34 2014 +0100 PR1393: JPEG support in build is broken on non-system-libjpeg builds diffstat: make/sun/jpeg/FILES_c.gmk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r e3a2361b4d9b -r 662aa183a547 make/sun/jpeg/FILES_c.gmk --- a/make/sun/jpeg/FILES_c.gmk Wed Apr 02 20:04:12 2014 +0100 +++ b/make/sun/jpeg/FILES_c.gmk Sat Apr 12 00:24:34 2014 +0100 @@ -28,7 +28,7 @@ jpegdecoder.c ifneq ($(SYSTEM_JPEG), true) -FILES_c = \ +FILES_c += \ jcomapi.c \ jdapimin.c \ jdapistd.c \ From bugzilla-daemon at icedtea.classpath.org Fri Apr 11 23:27:04 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 11 Apr 2014 23:27:04 +0000 Subject: [Bug 1393] JPEG support in build is broken on non-system-libjpeg builds In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1393 --- Comment #3 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=662aa183a547 author: andrew date: Sat Apr 12 00:24:34 2014 +0100 PR1393: JPEG support in build is broken on non-system-libjpeg builds -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 11 23:27:50 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 11 Apr 2014 23:27:50 +0000 Subject: [Bug 1393] JPEG support in build is broken on non-system-libjpeg builds In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1393 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|2.5.0 |2.4.7 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ptisnovs at icedtea.classpath.org Mon Apr 14 08:00:30 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Mon, 14 Apr 2014 08:00:30 +0000 Subject: /hg/gfx-test: Ten new tests added into BitBltUsingBgColorAlpha. Message-ID: changeset b5d1d02925ea in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=b5d1d02925ea author: Pavel Tisnovsky date: Mon Apr 14 10:01:07 2014 +0200 Ten new tests added into BitBltUsingBgColorAlpha. diffstat: ChangeLog | 5 + src/org/gfxtest/testsuites/BitBltUsingBgColorAlpha.java | 150 ++++++++++++++++ 2 files changed, 155 insertions(+), 0 deletions(-) diffs (172 lines): diff -r 0729e0676d9c -r b5d1d02925ea ChangeLog --- a/ChangeLog Fri Apr 11 11:19:00 2014 +0200 +++ b/ChangeLog Mon Apr 14 10:01:07 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-14 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/BitBltUsingBgColorAlpha.java: + Ten new tests added into BitBltUsingBgColorAlpha. + 2014-04-11 Pavel Tisnovsky * src/org/gfxtest/testsuites/BitBltBufferedImageOp.java: diff -r 0729e0676d9c -r b5d1d02925ea src/org/gfxtest/testsuites/BitBltUsingBgColorAlpha.java --- a/src/org/gfxtest/testsuites/BitBltUsingBgColorAlpha.java Fri Apr 11 11:19:00 2014 +0200 +++ b/src/org/gfxtest/testsuites/BitBltUsingBgColorAlpha.java Mon Apr 14 10:01:07 2014 +0200 @@ -2008,6 +2008,156 @@ } /** + * Test basic BitBlt operation for empty buffered image with type TYPE_4BYTE_ABGR. + * Background color is set to Color.magenta. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltEmptyBufferedImageType4ByteABGRPrebackgroundMagentaAlpha000(TestImage image, Graphics2D graphics2d) + { + return doBitBltEmptyBufferedImageType4ByteABGRPre(image, graphics2d, Color.magenta, 0.0f); + } + + /** + * Test basic BitBlt operation for empty buffered image with type TYPE_4BYTE_ABGR. + * Background color is set to Color.magenta. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltEmptyBufferedImageType4ByteABGRPrebackgroundMagentaAlpha025(TestImage image, Graphics2D graphics2d) + { + return doBitBltEmptyBufferedImageType4ByteABGRPre(image, graphics2d, Color.magenta, 0.25f); + } + + /** + * Test basic BitBlt operation for empty buffered image with type TYPE_4BYTE_ABGR. + * Background color is set to Color.magenta. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltEmptyBufferedImageType4ByteABGRPrebackgroundMagentaAlpha050(TestImage image, Graphics2D graphics2d) + { + return doBitBltEmptyBufferedImageType4ByteABGRPre(image, graphics2d, Color.magenta, 0.5f); + } + + /** + * Test basic BitBlt operation for empty buffered image with type TYPE_4BYTE_ABGR. + * Background color is set to Color.magenta. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltEmptyBufferedImageType4ByteABGRPrebackgroundMagentaAlpha075(TestImage image, Graphics2D graphics2d) + { + return doBitBltEmptyBufferedImageType4ByteABGRPre(image, graphics2d, Color.magenta, 0.75f); + } + + /** + * Test basic BitBlt operation for empty buffered image with type TYPE_4BYTE_ABGR. + * Background color is set to Color.magenta. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltEmptyBufferedImageType4ByteABGRPrebackgroundMagentaAlpha100(TestImage image, Graphics2D graphics2d) + { + return doBitBltEmptyBufferedImageType4ByteABGRPre(image, graphics2d, Color.magenta, 1.00f); + } + + /** + * Test basic BitBlt operation for empty buffered image with type TYPE_4BYTE_ABGR. + * Background color is set to Color.white. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltEmptyBufferedImageType4ByteABGRPrebackgroundWhiteAlpha000(TestImage image, Graphics2D graphics2d) + { + return doBitBltEmptyBufferedImageType4ByteABGRPre(image, graphics2d, Color.white, 0.0f); + } + + /** + * Test basic BitBlt operation for empty buffered image with type TYPE_4BYTE_ABGR. + * Background color is set to Color.white. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltEmptyBufferedImageType4ByteABGRPrebackgroundWhiteAlpha025(TestImage image, Graphics2D graphics2d) + { + return doBitBltEmptyBufferedImageType4ByteABGRPre(image, graphics2d, Color.white, 0.25f); + } + + /** + * Test basic BitBlt operation for empty buffered image with type TYPE_4BYTE_ABGR. + * Background color is set to Color.white. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltEmptyBufferedImageType4ByteABGRPrebackgroundWhiteAlpha050(TestImage image, Graphics2D graphics2d) + { + return doBitBltEmptyBufferedImageType4ByteABGRPre(image, graphics2d, Color.white, 0.5f); + } + + /** + * Test basic BitBlt operation for empty buffered image with type TYPE_4BYTE_ABGR. + * Background color is set to Color.white. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltEmptyBufferedImageType4ByteABGRPrebackgroundWhiteAlpha075(TestImage image, Graphics2D graphics2d) + { + return doBitBltEmptyBufferedImageType4ByteABGRPre(image, graphics2d, Color.white, 0.75f); + } + + /** + * Test basic BitBlt operation for empty buffered image with type TYPE_4BYTE_ABGR. + * Background color is set to Color.white. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltEmptyBufferedImageType4ByteABGRPrebackgroundWhiteAlpha100(TestImage image, Graphics2D graphics2d) + { + return doBitBltEmptyBufferedImageType4ByteABGRPre(image, graphics2d, Color.white, 1.00f); + } + + /** * Test basic BitBlt operation for empty buffered image with type TYPE_INT_ARGB. * Background color is set to Color.black. * From bugzilla-daemon at icedtea.classpath.org Mon Apr 14 08:25:30 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 14 Apr 2014 08:25:30 +0000 Subject: [Bug 1710] Crash SIGSEGV in C2 Compilerthread when compiling one specific method In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1710 --- Comment #9 from Stefan Huehner --- A fix for this issue is now available it seems. If you check this jdk7u hotspot commit: http://hg.openjdk.java.net/jdk7u/jdk7u/hotspot/rev/7801eaea32d2 8038785: hot workaround fix for a crash in C2 compiler at Node::rematerialize Summary: This fix will introduce a performance regression. It should be reverted after proper fix will be found. As i am urgently looking for that fix to get fixed in openjdk-6 i did a test-build of a patched icedtea 1.13.1 with that fix. Good news is that i could not reproduce the bug (using the reproducer attached here) with that patched build. Note: The jdk7u patch does not apply perfect to openjdk-6. The patch does delete 2 hunks of code and 1 line is different in that deleted part. I changed that patch to just delete the same block of code and the resulting code does compile fine and runs my reproducer without crashing. Note that i did my testing using the ubuntu 12.04 openjdk-6 source package which runs some big (slow) testsuite during the build also. See modified diff attached here. Also the 1 line difference i mentioned above is the following: -- RegionNode *r = new (C) RegionNode(edges+1); +- RegionNode *r = new (C, edges+1) RegionNode(edges+1); First line is the one in jdk7, second the one in jdk6. Could someone with some hotspot knowledge please check if just deleting both hunks is still the right thing to do in openjdk-6? Lastly i would really like to see this fixed (and published in ubuntu-12.04) before end of this month, as in openjdk-6 it is a regression introduced in the 6b27 .. 7b30 timeframe. If i can help with any work related to that just let me know. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Mon Apr 14 08:27:55 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 14 Apr 2014 08:27:55 +0000 Subject: [Bug 1710] Crash SIGSEGV in C2 Compilerthread when compiling one specific method In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1710 --- Comment #10 from Stefan Huehner --- Created attachment 1070 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1070&action=edit Fix from jdk7u backported to openjdk6 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Mon Apr 14 08:28:40 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 14 Apr 2014 08:28:40 +0000 Subject: [Bug 1710] Crash SIGSEGV in C2 Compilerthread when compiling one specific method In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1710 --- Comment #11 from Stefan Huehner --- Created attachment 1071 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1071&action=edit Same fix but as patch on top of ubuntu openjdk-6 package -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From helpcrypto at gmail.com Mon Apr 14 12:41:40 2014 From: helpcrypto at gmail.com (helpcrypto helpcrypto) Date: Mon, 14 Apr 2014 14:41:40 +0200 Subject: Oracle Java 8 problems due to TLS policy change In-Reply-To: <1013403333.3857697.1397240340516.JavaMail.zimbra@redhat.com> References: <1013403333.3857697.1397240340516.JavaMail.zimbra@redhat.com> Message-ID: Hi Andrew, thx for replying. On Fri, Apr 11, 2014 at 8:19 PM, Andrew Hughes wrote: > > ----- Original Message ----- > > Ping? > > > > On Fri, Apr 4, 2014 at 11:03 AM, helpcrypto helpcrypto < > helpcrypto at gmail.com > > > wrote: > > > > > According to > > > > http://docs.oracle.com/javase/8/docs/technotes/guides/security/enhancements-8.htmlOracle > > > Java 8 now uses TLS1.1 and TLS1.2 (both enabled by default on > > > Control Panel). > > > > > > This seems to be causing an error in our applet loading. Problem seems > > > solved if both unchecked. Funny thing is our server only supports > TLS1.0. > > > > > > Is icedtea8 following the same TLS policy? (switching to TLS1.1 and > TLS1.2) > > > If so, i should check if the same error appears. > > > > > I'm not sure what you're referring to here. There is no control panel in > IcedTea/OpenJDK 6, 7 or 8. I seem to remember TLS 1.2 support being added > as part of 7 (it was one of the reasons for the addition of an explicit > ECC provider). > Oracle Java 8 JRE has enabled (by default) TLS 1.1 and TLS 1.2 and that's causing some problems in our case. I was wondering how OpenJDK/Icedtea is handling protocol priorities/this issue. Is there such a thing as "Icedtea-Web JRE 8" so I can test? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jvanek at redhat.com Mon Apr 14 12:52:33 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Mon, 14 Apr 2014 14:52:33 +0200 Subject: [rfc][icedtea-web] More Swing generics (warning cleanup) In-Reply-To: <53481BFD.6040202@redhat.com> References: <53481BFD.6040202@redhat.com> Message-ID: <534BDA11.7070806@redhat.com> On 04/11/2014 06:44 PM, Andrew Azores wrote: > Hi, > > Just more warnings cleanup, continuing with using Swing generics now that we've moved to Java 7. Also some nifty diamond operator. > > Thanks, > should be ok to go. From aazores at icedtea.classpath.org Mon Apr 14 13:22:05 2014 From: aazores at icedtea.classpath.org (aazores at icedtea.classpath.org) Date: Mon, 14 Apr 2014 13:22:05 +0000 Subject: /hg/icedtea-web: Use Swing generics, cleanup with diamond operator Message-ID: changeset 94dc6b7515b5 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=94dc6b7515b5 author: Andrew Azores date: Mon Apr 14 09:21:41 2014 -0400 Use Swing generics, cleanup with diamond operator * netx/net/sourceforge/jnlp/controlpanel/CachePane.java * netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java * netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java * netx/net/sourceforge/jnlp/controlpanel/DesktopShortcutPanel.java * netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java * netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java * netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java * netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java diffstat: ChangeLog | 12 +++ netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java | 7 +- netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java | 8 +- netx/net/sourceforge/jnlp/controlpanel/DesktopShortcutPanel.java | 5 +- netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java | 2 +- netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java | 32 +++++---- netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java | 16 ++-- netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java | 9 +- 8 files changed, 56 insertions(+), 35 deletions(-) diffs (361 lines): diff -r 3dde3780f8bd -r 94dc6b7515b5 ChangeLog --- a/ChangeLog Thu Apr 10 16:03:23 2014 -0400 +++ b/ChangeLog Mon Apr 14 09:21:41 2014 -0400 @@ -1,3 +1,15 @@ +2014-04-14 Andrew Azores + + Use Swing generics, cleanup with diamond operator + * netx/net/sourceforge/jnlp/controlpanel/CachePane.java + * netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java + * netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java + * netx/net/sourceforge/jnlp/controlpanel/DesktopShortcutPanel.java + * netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java + * netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java + * netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java + * netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java + 2014-04-10 Andrew Azores Update PolicyEditor classes for Java 7 - Swing Generics, Diamond operator. diff -r 3dde3780f8bd -r 94dc6b7515b5 netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java --- a/netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java Thu Apr 10 16:03:23 2014 -0400 +++ b/netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java Mon Apr 14 09:21:41 2014 -0400 @@ -292,12 +292,13 @@ settingsPanel.add(p, panel.toString()); } - final JList settingsList = new JList(panels); + final JList settingsList = new JList<>(panels); settingsList.addListSelectionListener(new ListSelectionListener() { @Override public void valueChanged(ListSelectionEvent e) { - JList list = (JList) e.getSource(); - SettingsPanel panel = (SettingsPanel) list.getSelectedValue(); + @SuppressWarnings("unchecked") + JList list = (JList) e.getSource(); + SettingsPanel panel = list.getSelectedValue(); CardLayout cl = (CardLayout) settingsPanel.getLayout(); cl.show(settingsPanel, panel.toString()); } diff -r 3dde3780f8bd -r 94dc6b7515b5 netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java --- a/netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java Thu Apr 10 16:03:23 2014 -0400 +++ b/netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java Mon Apr 14 09:21:41 2014 -0400 @@ -27,6 +27,7 @@ import java.awt.event.ActionListener; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; + import javax.swing.Box; import javax.swing.JButton; import javax.swing.JCheckBox; @@ -36,6 +37,7 @@ import javax.swing.JTextField; import javax.swing.event.DocumentEvent; import javax.swing.event.DocumentListener; + import net.sourceforge.jnlp.config.Defaults; import net.sourceforge.jnlp.config.DeploymentConfiguration; import net.sourceforge.jnlp.runtime.Translator; @@ -139,7 +141,7 @@ new ComboItem(Translator.R("DPShowJavawsOnly"), DeploymentConfiguration.CONSOLE_SHOW_JAVAWS) }; JLabel consoleLabel = new JLabel(Translator.R("DPJavaConsole")); - JComboBox consoleComboBox = new JComboBox(); + JComboBox consoleComboBox = new JComboBox<>(); consoleComboBox.setActionCommand(DeploymentConfiguration.KEY_CONSOLE_STARTUP_MODE); // The property this comboBox affects. JPanel consolePanel = new JPanel(); @@ -201,7 +203,6 @@ } @Override - @SuppressWarnings("unchecked") public void itemStateChanged(ItemEvent e) { Object o = e.getSource(); @@ -210,7 +211,8 @@ JCheckBox jcb = (JCheckBox) o; config.setProperty(jcb.getActionCommand(), String.valueOf(jcb.isSelected())); } else if (o instanceof JComboBox) { - JComboBox jcb = (JComboBox) o; + @SuppressWarnings("unchecked") + JComboBox jcb = (JComboBox) o; ComboItem c = (ComboItem) e.getItem(); config.setProperty(jcb.getActionCommand(), c.getValue()); } diff -r 3dde3780f8bd -r 94dc6b7515b5 netx/net/sourceforge/jnlp/controlpanel/DesktopShortcutPanel.java --- a/netx/net/sourceforge/jnlp/controlpanel/DesktopShortcutPanel.java Thu Apr 10 16:03:23 2014 -0400 +++ b/netx/net/sourceforge/jnlp/controlpanel/DesktopShortcutPanel.java Mon Apr 14 09:21:41 2014 -0400 @@ -62,7 +62,7 @@ private void addComponents() { GridBagConstraints c = new GridBagConstraints(); JLabel description = new JLabel("" + Translator.R("CPDesktopIntegrationDescription") + "
"); - JComboBox shortcutComboOptions = new JComboBox(); + JComboBox shortcutComboOptions = new JComboBox<>(); ComboItem[] items = { new ComboItem(Translator.R("DSPNeverCreate"), "NEVER"), new ComboItem(Translator.R("DSPAlwaysAllow"), "ALWAYS"), new ComboItem(Translator.R("DSPAskUser"), "ASK_USER"), @@ -94,8 +94,9 @@ add(filler, c); } + @SuppressWarnings("unchecked") public void itemStateChanged(ItemEvent e) { ComboItem c = (ComboItem) e.getItem(); - config.setProperty(((JComboBox) e.getSource()).getActionCommand(), c.getValue()); + config.setProperty(((JComboBox) e.getSource()).getActionCommand(), c.getValue()); } } diff -r 3dde3780f8bd -r 94dc6b7515b5 netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java --- a/netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java Thu Apr 10 16:03:23 2014 -0400 +++ b/netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java Mon Apr 14 09:21:41 2014 -0400 @@ -163,7 +163,7 @@ new ComboItem("7", "7"), new ComboItem("8", "8"), new ComboItem(Translator.R("TIFPMax"), "9"), }; - JComboBox cbCompression = new JComboBox(compressionOptions); + JComboBox cbCompression = new JComboBox<>(compressionOptions); cbCompression.setSelectedIndex(Integer.parseInt(this.config.getProperty(properties[3]))); cbCompression.addItemListener(new ItemListener() { @Override diff -r 3dde3780f8bd -r 94dc6b7515b5 netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java --- a/netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java Thu Apr 10 16:03:23 2014 -0400 +++ b/netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java Mon Apr 14 09:21:41 2014 -0400 @@ -51,6 +51,7 @@ import java.util.Date; import java.util.List; import java.util.regex.Pattern; + import javax.swing.DefaultCellEditor; import javax.swing.JComboBox; import javax.swing.JDialog; @@ -72,6 +73,7 @@ import javax.swing.table.TableCellRenderer; import javax.swing.table.TableModel; import javax.swing.table.TableRowSorter; + import net.sourceforge.jnlp.config.DeploymentConfiguration; import net.sourceforge.jnlp.runtime.Translator; import net.sourceforge.jnlp.security.appletextendedsecurity.AppletSecurityLevel; @@ -95,9 +97,9 @@ private javax.swing.JButton moveRowDownButton; private javax.swing.JCheckBox askBeforeActionCheckBox; private javax.swing.JCheckBox filterRegexesCheckBox; - private javax.swing.JComboBox mainPolicyComboBox; - private javax.swing.JComboBox deleteTypeComboBox; - private javax.swing.JComboBox viewFilter; + private javax.swing.JComboBox mainPolicyComboBox; + private javax.swing.JComboBox deleteTypeComboBox; + private javax.swing.JComboBox viewFilter; private javax.swing.JLabel globalBehaviourLabel; private javax.swing.JLabel securityLevelLabel; private javax.swing.JScrollPane userTableScrollPane; @@ -175,7 +177,7 @@ setButtons((!currentModel.back.isReadOnly())); } - public String appletItemsToCaption(List ii, String caption) { + public static String appletItemsToCaption(List ii, String caption) { StringBuilder sb = new StringBuilder(); for (UnsignedAppletActionEntry i : ii) { sb.append(appletItemToCaption(i, caption)).append("\n"); @@ -197,7 +199,7 @@ public static void removeSelectedFromTable(JTable table, boolean ask, UnsignedAppletActionTableModel data, Component forDialog) { int[] originalIndexes = table.getSelectedRows(); - List newIndexes = new ArrayList(originalIndexes.length); + List newIndexes = new ArrayList<>(originalIndexes.length); for (int i = 0; i < originalIndexes.length; i++) { //we need to remap values first int modelRow = table.convertRowIndexToModel(originalIndexes[i]); @@ -249,7 +251,7 @@ userTable = createTbale(customModel); globalTable = createTbale(globalModel); helpButton = new javax.swing.JButton(); - mainPolicyComboBox = new JComboBox(new AppletSecurityLevel[]{ + mainPolicyComboBox = new JComboBox<>(new AppletSecurityLevel[] { AppletSecurityLevel.DENY_ALL, AppletSecurityLevel.DENY_UNSIGNED, AppletSecurityLevel.ASK_UNSIGNED, @@ -258,8 +260,8 @@ mainPolicyComboBox.setSelectedItem(AppletSecurityLevel.getDefault()); securityLevelLabel = new javax.swing.JLabel(); globalBehaviourLabel = new javax.swing.JLabel(); - deleteTypeComboBox = new javax.swing.JComboBox(); - viewFilter = new javax.swing.JComboBox(); + deleteTypeComboBox = new javax.swing.JComboBox<>(); + viewFilter = new javax.swing.JComboBox<>(); deleteButton = new javax.swing.JButton(); testUrlButton = new javax.swing.JButton(); addRowButton = new javax.swing.JButton(); @@ -335,7 +337,7 @@ globalBehaviourLabel.setText(Translator.R("APPEXTSECguiPanelGlobalBehaviourCaption")); - deleteTypeComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[]{ + deleteTypeComboBox.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { Translator.R("APPEXTSECguiPanelDeleteMenuSelected"), Translator.R("APPEXTSECguiPanelDeleteMenuAllA"), Translator.R("APPEXTSECguiPanelDeleteMenuAllN"), @@ -343,7 +345,7 @@ Translator.R("APPEXTSECguiPanelDeleteMenuAlln"), Translator.R("APPEXTSECguiPanelDeleteMenuAllAll")})); - viewFilter.setModel(new javax.swing.DefaultComboBoxModel(new String[]{ + viewFilter.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { Translator.R("APPEXTSECguiPanelShowOnlyPermanent"), Translator.R("APPEXTSECguiPanelShowOnlyTemporal"), Translator.R("APPEXTSECguiPanelShowAll"), @@ -681,7 +683,7 @@ } } - private void helpButtonActionPerformed(java.awt.event.ActionEvent evt) { + private static void helpButtonActionPerformed(java.awt.event.ActionEvent evt) { JDialog d = new ExtendedAppletSecurityHelp(null, false); ScreenFinder.centerWindowsToCurrentScreen(d); d.setVisible(true); @@ -701,7 +703,11 @@ public TableCellEditor getCellEditor(int row, int column) { int columnx = convertColumnIndexToModel(column); if (columnx == 0) { - return new DefaultCellEditor(new JComboBox(new ExecuteAppletAction[]{ExecuteAppletAction.ALWAYS, ExecuteAppletAction.NEVER, ExecuteAppletAction.YES, ExecuteAppletAction.NO})); + return new DefaultCellEditor(new JComboBox<>(new ExecuteAppletAction[] { + ExecuteAppletAction.ALWAYS, + ExecuteAppletAction.NEVER, + ExecuteAppletAction.YES, + ExecuteAppletAction.NO })); } if (columnx == 2) { column = convertColumnIndexToModel(column); @@ -761,7 +767,7 @@ private void removeByBehaviour(ExecuteAppletAction unsignedAppletAction) { UnsignedAppletActionEntry[] items = currentModel.back.toArray(); if (askBeforeActionCheckBox.isSelected()) { - List toBeDeleted = new ArrayList(); + List toBeDeleted = new ArrayList<>(); for (int i = 0; i < items.length; i++) { UnsignedAppletActionEntry unsignedAppletActionEntry = items[i]; if (unsignedAppletActionEntry.getUnsignedAppletAction() == unsignedAppletAction) { diff -r 3dde3780f8bd -r 94dc6b7515b5 netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java --- a/netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java Thu Apr 10 16:03:23 2014 -0400 +++ b/netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java Mon Apr 14 09:21:41 2014 -0400 @@ -108,7 +108,7 @@ JTabbedPane tabbedPane; private final JTable userTable; private final JTable systemTable; - private JComboBox certificateTypeCombo; + private JComboBox certificateTypeCombo; private KeyStores.Type currentKeyStoreType; private KeyStores.Level currentKeyStoreLevel; @@ -130,7 +130,7 @@ userTable = new JTable(null); systemTable = new JTable(null); - disableForSystem = new ArrayList(); + disableForSystem = new ArrayList<>(); addComponents(); @@ -165,7 +165,7 @@ JLabel certificateTypeLabel = new JLabel(R("CVCertificateType")); - certificateTypeCombo = new JComboBox(certificateTypes); + certificateTypeCombo = new JComboBox<>(certificateTypes); certificateTypeCombo.addActionListener(new CertificateTypeListener()); certificateTypePanel.add(certificateTypeLabel, BorderLayout.LINE_START); @@ -257,7 +257,7 @@ private void readKeyStore() { Enumeration aliases = null; - certs = new ArrayList(); + certs = new ArrayList<>(); try { //Get all of the X509Certificates and put them into an ArrayList @@ -279,7 +279,7 @@ SecurityUtil.getCN(c.getIssuerX500Principal().getName()); } } catch (Exception e) { - //TODO + // TODO handle exception OutputController.getLogger().log(OutputController.Level.ERROR_ALL, e); } } @@ -314,9 +314,7 @@ if (result == JOptionPane.OK_OPTION) { return jpf.getPassword(); } - else { - return null; - } + return null; } /** Allows storing KeyStores.Types in a JComponent */ @@ -342,7 +340,7 @@ @Override @SuppressWarnings("unchecked")//this is just certificateTypeCombo, nothing else public void actionPerformed(ActionEvent e) { - JComboBox source = (JComboBox) e.getSource(); + JComboBox source = (JComboBox) e.getSource(); CertificateType type = (CertificateType) source.getSelectedItem(); currentKeyStoreType = type.getType(); repopulateTables(); diff -r 3dde3780f8bd -r 94dc6b7515b5 netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java --- a/netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java Thu Apr 10 16:03:23 2014 -0400 +++ b/netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java Mon Apr 14 09:21:41 2014 -0400 @@ -15,6 +15,7 @@ import java.util.Observer; import java.util.concurrent.atomic.AtomicBoolean; import java.util.regex.Pattern; + import javax.swing.ButtonGroup; import javax.swing.JFrame; import javax.swing.JMenuItem; @@ -26,6 +27,7 @@ import javax.swing.text.Document; import javax.swing.text.PlainDocument; import javax.swing.text.html.HTMLDocument; + import net.sourceforge.jnlp.runtime.JNLPRuntime; import net.sourceforge.jnlp.runtime.Translator; import net.sourceforge.jnlp.util.logging.headers.ObservableMessagesProvider; @@ -247,7 +249,6 @@ statistics.setText(model.createStatisticHint()); } - @SuppressWarnings("unchecked") private void initComponents() { jPanel2 = new javax.swing.JPanel(); @@ -267,7 +268,7 @@ showPreInit = new javax.swing.JCheckBox(); sortByLabel = new javax.swing.JLabel(); regExLabel = new javax.swing.JCheckBox(); - sortBy = new javax.swing.JComboBox(); + sortBy = new javax.swing.JComboBox<>(); searchLabel = new javax.swing.JLabel(); autorefresh = new javax.swing.JCheckBox(); refresh = new javax.swing.JButton(); @@ -362,7 +363,7 @@ regExLabel.setText(Translator.R("COPregex") + ":"); regExLabel.addActionListener(getDefaultActionSingleton()); - sortBy.setModel(new javax.swing.DefaultComboBoxModel(new String[]{ + sortBy.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { Translator.R("COPAsArrived"), Translator.R("COPuser"), Translator.R("COPorigin"), @@ -943,7 +944,7 @@ private javax.swing.JCheckBox showThread2; private javax.swing.JCheckBox showUser; private javax.swing.JCheckBox sortCopyAll; - private javax.swing.JComboBox sortBy; + private javax.swing.JComboBox sortBy; private javax.swing.JLabel sortByLabel; private javax.swing.JLabel statistics; private javax.swing.JCheckBox wordWrap; From jvanek at icedtea.classpath.org Mon Apr 14 13:51:44 2014 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Mon, 14 Apr 2014 13:51:44 +0000 Subject: /hg/release/icedtea-web-1.5: All manifest attributes can be disa... Message-ID: changeset 80e5f17e3bbc in /hg/release/icedtea-web-1.5 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.5?cmd=changeset;node=80e5f17e3bbc author: Jiri Vanek date: Mon Apr 14 15:20:30 2014 +0200 All manifest attributes can be disabled * netx/net/sourceforge/jnlp/config/Defaults.java: added new KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK configuration. * netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: Added KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK key * netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java: (isCheckEnabled) new method to check value of KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK (checkAll) is testing isCheckEnabled before checking individual attributes. diffstat: ChangeLog | 11 ++++++ netx/net/sourceforge/jnlp/config/Defaults.java | 6 +++ netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java | 5 ++ netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java | 18 +++++++-- 4 files changed, 36 insertions(+), 4 deletions(-) diffs (84 lines): diff -r 854acffa0c99 -r 80e5f17e3bbc ChangeLog --- a/ChangeLog Mon Apr 07 10:29:02 2014 -0400 +++ b/ChangeLog Mon Apr 14 15:20:30 2014 +0200 @@ -1,3 +1,14 @@ +2014-04-14 Jiri Vanek + + All manifest attributes can be disabled + * netx/net/sourceforge/jnlp/config/Defaults.java: added new + KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK configuration. + * netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: + Added KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK key + * netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java: + (isCheckEnabled) new method to check value of KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK + (checkAll) is testing isCheckEnabled before checking individual attributes. + 2014-04-07 Andrew Azores * netx/net/sourceforge/jnlp/security/SecurityDialogs.java: diff -r 854acffa0c99 -r 80e5f17e3bbc netx/net/sourceforge/jnlp/config/Defaults.java --- a/netx/net/sourceforge/jnlp/config/Defaults.java Mon Apr 07 10:29:02 2014 -0400 +++ b/netx/net/sourceforge/jnlp/config/Defaults.java Mon Apr 14 15:20:30 2014 +0200 @@ -428,6 +428,12 @@ DeploymentConfiguration.KEY_JRE_DIR, null, null + }, + //enable manifest-attributes checks + { + DeploymentConfiguration.KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK, + BasicValueValidators.getBooleanValidator(), + String.valueOf(true) } }; diff -r 854acffa0c99 -r 80e5f17e3bbc netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java --- a/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java Mon Apr 07 10:29:02 2014 -0400 +++ b/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java Mon Apr 14 15:20:30 2014 +0200 @@ -173,6 +173,11 @@ public static final String KEY_ENABLE_LOGGING_TOFILE = "deployment.log.file"; public static final String KEY_ENABLE_LOGGING_TOSTREAMS = "deployment.log.stdstreams"; public static final String KEY_ENABLE_LOGGING_TOSYSTEMLOG = "deployment.log.system"; + + /* + * manifest check + */ + public static final String KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK = "deployment.manifest.attributes.check"; /** * Console initial status. diff -r 854acffa0c99 -r 80e5f17e3bbc netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java --- a/netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java Mon Apr 07 10:29:02 2014 -0400 +++ b/netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java Mon Apr 14 15:20:30 2014 +0200 @@ -49,6 +49,7 @@ import net.sourceforge.jnlp.PluginBridge; import net.sourceforge.jnlp.ResourcesDesc; import net.sourceforge.jnlp.SecurityDesc; +import net.sourceforge.jnlp.config.DeploymentConfiguration; import net.sourceforge.jnlp.runtime.JNLPClassLoader.SecurityDelegate; import net.sourceforge.jnlp.runtime.JNLPClassLoader.SigningState; import net.sourceforge.jnlp.security.SecurityDialogs; @@ -74,10 +75,19 @@ } void checkAll() throws LaunchException { - checkTrustedOnlyAttribute(); - checkCodebaseAttribute(); - checkPermissionsAttribute(); - checkApplicationLibraryAllowableCodebaseAttribute(); + if (isCheckEnabled()) { + checkTrustedOnlyAttribute(); + checkCodebaseAttribute(); + checkPermissionsAttribute(); + checkApplicationLibraryAllowableCodebaseAttribute(); + } else { + OutputController.getLogger().log("Checking for attributes in manifest is disabled."); + } + } + + public static boolean isCheckEnabled() { + String value = JNLPRuntime.getConfiguration().getProperty(DeploymentConfiguration.KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK); + return Boolean.parseBoolean(value); } /** From jvanek at icedtea.classpath.org Mon Apr 14 14:39:16 2014 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Mon, 14 Apr 2014 14:39:16 +0000 Subject: /hg/icedtea-web: All manifest attributes can be disabled Message-ID: changeset 26b5ec24ec08 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=26b5ec24ec08 author: Jiri Vanek date: Mon Apr 14 16:39:04 2014 +0200 All manifest attributes can be disabled * netx/net/sourceforge/jnlp/config/Defaults.java: added new KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK configuration. * netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: Added KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK key * netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java: (isCheckEnabled) new method to check value of KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK (checkAll) is testing isCheckEnabled before checking individual attributes. diffstat: ChangeLog | 11 ++++++ netx/net/sourceforge/jnlp/config/Defaults.java | 6 +++ netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java | 5 ++ netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java | 18 +++++++-- 4 files changed, 36 insertions(+), 4 deletions(-) diffs (84 lines): diff -r 94dc6b7515b5 -r 26b5ec24ec08 ChangeLog --- a/ChangeLog Mon Apr 14 09:21:41 2014 -0400 +++ b/ChangeLog Mon Apr 14 16:39:04 2014 +0200 @@ -1,3 +1,14 @@ +2014-04-14 Jiri Vanek + + All manifest attributes can be disabled + * netx/net/sourceforge/jnlp/config/Defaults.java: added new + KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK configuration. + * netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: + Added KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK key + * netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java: + (isCheckEnabled) new method to check value of KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK + (checkAll) is testing isCheckEnabled before checking individual attributes. + 2014-04-14 Andrew Azores Use Swing generics, cleanup with diamond operator diff -r 94dc6b7515b5 -r 26b5ec24ec08 netx/net/sourceforge/jnlp/config/Defaults.java --- a/netx/net/sourceforge/jnlp/config/Defaults.java Mon Apr 14 09:21:41 2014 -0400 +++ b/netx/net/sourceforge/jnlp/config/Defaults.java Mon Apr 14 16:39:04 2014 +0200 @@ -428,6 +428,12 @@ DeploymentConfiguration.KEY_JRE_DIR, null, null + }, + //enable manifest-attributes checks + { + DeploymentConfiguration.KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK, + BasicValueValidators.getBooleanValidator(), + String.valueOf(true) } }; diff -r 94dc6b7515b5 -r 26b5ec24ec08 netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java --- a/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java Mon Apr 14 09:21:41 2014 -0400 +++ b/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java Mon Apr 14 16:39:04 2014 +0200 @@ -173,6 +173,11 @@ public static final String KEY_ENABLE_LOGGING_TOFILE = "deployment.log.file"; public static final String KEY_ENABLE_LOGGING_TOSTREAMS = "deployment.log.stdstreams"; public static final String KEY_ENABLE_LOGGING_TOSYSTEMLOG = "deployment.log.system"; + + /* + * manifest check + */ + public static final String KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK = "deployment.manifest.attributes.check"; /** * Console initial status. diff -r 94dc6b7515b5 -r 26b5ec24ec08 netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java --- a/netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java Mon Apr 14 09:21:41 2014 -0400 +++ b/netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java Mon Apr 14 16:39:04 2014 +0200 @@ -49,6 +49,7 @@ import net.sourceforge.jnlp.PluginBridge; import net.sourceforge.jnlp.ResourcesDesc; import net.sourceforge.jnlp.SecurityDesc; +import net.sourceforge.jnlp.config.DeploymentConfiguration; import net.sourceforge.jnlp.runtime.JNLPClassLoader.SecurityDelegate; import net.sourceforge.jnlp.runtime.JNLPClassLoader.SigningState; import net.sourceforge.jnlp.security.SecurityDialogs; @@ -74,10 +75,19 @@ } void checkAll() throws LaunchException { - checkTrustedOnlyAttribute(); - checkCodebaseAttribute(); - checkPermissionsAttribute(); - checkApplicationLibraryAllowableCodebaseAttribute(); + if (isCheckEnabled()) { + checkTrustedOnlyAttribute(); + checkCodebaseAttribute(); + checkPermissionsAttribute(); + checkApplicationLibraryAllowableCodebaseAttribute(); + } else { + OutputController.getLogger().log("Checking for attributes in manifest is disabled."); + } + } + + public static boolean isCheckEnabled() { + String value = JNLPRuntime.getConfiguration().getProperty(DeploymentConfiguration.KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK); + return Boolean.parseBoolean(value); } /** From aazores at redhat.com Mon Apr 14 15:44:52 2014 From: aazores at redhat.com (Andrew Azores) Date: Mon, 14 Apr 2014 11:44:52 -0400 Subject: [rfc][icedtea-web] PolicyEditor/temporary permissions for Thread/ThreadGroup access Message-ID: <534C0274.5050506@redhat.com> Hi, This patch just adds two new permissions to PolicyEditorPermissions and TemporaryPermissions - RuntimePermission with "modifyThread" and "modifyThreadGroup". Hopefully this enables more applets to be properly run sandboxed, without users having to resort to manually writing a custom policy. These are added to the "reflection" group in both places, although I'm not sure this is necessarily the best group. It isn't really a reflection permission, but it doesn't fit in better anywhere else. Do they warrant their own new group for PolicyEditor? How should they be bundled up for temporary permissions? Thanks, -- Andrew A -------------- next part -------------- A non-text attachment was scrubbed... Name: permissions-tuning.patch Type: text/x-patch Size: 8146 bytes Desc: not available URL: From jvanek at redhat.com Mon Apr 14 15:55:59 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Mon, 14 Apr 2014 17:55:59 +0200 Subject: [rfc][icedtea-web] PolicyEditor/temporary permissions for Thread/ThreadGroup access In-Reply-To: <534C0274.5050506@redhat.com> References: <534C0274.5050506@redhat.com> Message-ID: <534C050F.8080101@redhat.com> On 04/14/2014 05:44 PM, Andrew Azores wrote: > Hi, > > This patch just adds two new permissions to PolicyEditorPermissions and TemporaryPermissions - RuntimePermission with "modifyThread" and "modifyThreadGroup". Hopefully this enables more applets to be properly run sandboxed, without users having to resort to manually writing a custom policy. These are added to the "reflection" group in both places, although I'm not sure this is necessarily the best group. It isn't really a reflection permission, but it doesn't fit in better anywhere else. Do they warrant their own new group for PolicyEditor? How should they be bundled up for temporary permissions? > > Thanks, > 100% for reflection group. It is it.... Ok for head and 1.5.... From aazores at icedtea.classpath.org Mon Apr 14 16:06:47 2014 From: aazores at icedtea.classpath.org (aazores at icedtea.classpath.org) Date: Mon, 14 Apr 2014 16:06:47 +0000 Subject: /hg/icedtea-web: Add Thread/ThreadGroup permissions for PolicyEd... Message-ID: changeset e5175632c41a in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=e5175632c41a author: Andrew Azores date: Mon Apr 14 12:06:37 2014 -0400 Add Thread/ThreadGroup permissions for PolicyEditor and temp * netx/net/sourceforge/jnlp/resources/Messages.properties: (PEAccessThreads, PEAccessThreadsDetail, PEAccessThreadGroups, PEAccessThreadGroupsDetail) new messages * netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissions.java: (ACCESS_THREADS_PERMISSION, ACCESS_THREAD_GROUPS_PERMISSION) new permissions, added to reflection group. Use diamond operator. * netx/net/sourceforge/jnlp/security/policyeditor/PermissionTarget.java: (ACCESS_THREADS, ACCESS_THREAD_GROUPS) new targets * netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java: (ACCESS_THREADS, ACCESS_THREAD_GROUPS) new permissions, added to reflection group. Minor formatting fixes. diffstat: ChangeLog | 14 ++++++++ netx/net/sourceforge/jnlp/resources/Messages.properties | 4 ++ netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissions.java | 14 +++++--- netx/net/sourceforge/jnlp/security/policyeditor/PermissionTarget.java | 2 + netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java | 16 ++++++--- 5 files changed, 39 insertions(+), 11 deletions(-) diffs (145 lines): diff -r 26b5ec24ec08 -r e5175632c41a ChangeLog --- a/ChangeLog Mon Apr 14 16:39:04 2014 +0200 +++ b/ChangeLog Mon Apr 14 12:06:37 2014 -0400 @@ -1,3 +1,17 @@ +2014-04-14 Andrew Azores + + * netx/net/sourceforge/jnlp/resources/Messages.properties: + (PEAccessThreads, PEAccessThreadsDetail, PEAccessThreadGroups, + PEAccessThreadGroupsDetail) new messages + * netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissions.java: + (ACCESS_THREADS_PERMISSION, ACCESS_THREAD_GROUPS_PERMISSION) new + permissions, added to reflection group. Use diamond operator. + * netx/net/sourceforge/jnlp/security/policyeditor/PermissionTarget.java: + (ACCESS_THREADS, ACCESS_THREAD_GROUPS) new targets + * netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java: + (ACCESS_THREADS, ACCESS_THREAD_GROUPS) new permissions, added to + reflection group. Minor formatting fixes. + 2014-04-14 Jiri Vanek All manifest attributes can be disabled diff -r 26b5ec24ec08 -r e5175632c41a netx/net/sourceforge/jnlp/resources/Messages.properties --- a/netx/net/sourceforge/jnlp/resources/Messages.properties Mon Apr 14 16:39:04 2014 +0200 +++ b/netx/net/sourceforge/jnlp/resources/Messages.properties Mon Apr 14 12:06:37 2014 -0400 @@ -548,6 +548,10 @@ PEClassInPackageDetail=Allow applets to access classes from other applet packages (often used with Reflection) PEDeclaredMembers=Access private class data PEDeclaredMembersDetail=Allow applets to access normally hidden data from other Java classes (often used with Reflection) +PEAccessThreads=Modify threads +PEAccessThreadsDetail=Allow applets to start, stop, and otherwise manage threads +PEAccessThreadGroups=Modify threadgroups +PEAccessThreadGroupsDetail=Allow applets to start, stop, and otherwise manage thread groups PEExec=Execute commands PEExecDetail=Allow applets to execute system commands PEGetEnv=Get environment variables diff -r 26b5ec24ec08 -r e5175632c41a netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissions.java --- a/netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissions.java Mon Apr 14 16:39:04 2014 +0200 +++ b/netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissions.java Mon Apr 14 12:06:37 2014 -0400 @@ -83,6 +83,8 @@ public static final RuntimePermission CLASSLOADER_PERMISSION = new RuntimePermission(GET_CLASSLOADER.getTarget().target); public static final RuntimePermission ACCESS_CLASS_IN_PACKAGE_PERMISSION = new RuntimePermission(ACCESS_CLASS_IN_PACKAGE.getTarget().target); public static final RuntimePermission ACCESS_DECLARED_MEMBERS_PERMISSION = new RuntimePermission(ACCESS_DECLARED_MEMBERS.getTarget().target); + public static final RuntimePermission ACCESS_THREADS_PERMISSION = new RuntimePermission(ACCESS_THREADS.getTarget().target); + public static final RuntimePermission ACCESS_THREADGROUPS_PERMISSION = new RuntimePermission(ACCESS_THREAD_GROUPS.getTarget().target); public static final AWTPermission AWT_PERMISSION = new AWTPermission(ALL_AWT.getTarget().target); public static final AudioPermission PLAY_AUDIO_PERMISSION = new AudioPermission(PLAY_AUDIO.getTarget().target); @@ -93,8 +95,8 @@ public static final Collection ALL_PERMISSIONS, FILE_PERMISSIONS, PROPERTY_PERMISSIONS, NETWORK_PERMISSIONS, EXEC_PERMISSIONS, REFLECTION_PERMISSIONS, MEDIA_PERMISSIONS; static { - final Collection all = new HashSet(), file = new HashSet(), property = new HashSet(), - network = new HashSet(), exec = new HashSet(), reflection = new HashSet(), media = new HashSet(); + final Collection all = new HashSet<>(), file = new HashSet<>(), property = new HashSet<>(), + network = new HashSet<>(), exec = new HashSet<>(), reflection = new HashSet<>(), media = new HashSet<>(); file.add(READ_LOCAL_FILES_PERMISSION); file.add(WRITE_LOCAL_FILES_PERMISSION); @@ -121,6 +123,8 @@ reflection.add(CLASSLOADER_PERMISSION); reflection.add(ACCESS_CLASS_IN_PACKAGE_PERMISSION); reflection.add(ACCESS_DECLARED_MEMBERS_PERMISSION); + reflection.add(ACCESS_THREADS_PERMISSION); + reflection.add(ACCESS_THREADGROUPS_PERMISSION); REFLECTION_PERMISSIONS = Collections.unmodifiableCollection(reflection); media.add(AWT_PERMISSION); @@ -144,19 +148,19 @@ } private static Collection sum(final Permission... permissions) { - final Collection result = new HashSet(Arrays.asList(permissions)); + final Collection result = new HashSet<>(Arrays.asList(permissions)); return Collections.unmodifiableCollection(result); } private static Collection sum(final Collection a, final Collection b) { - final Collection result = new HashSet(); + final Collection result = new HashSet<>(); result.addAll(a); result.addAll(b); return Collections.unmodifiableCollection(result); } private static final Collection subtract(final Collection from, final Collection remove) { - final Collection result = new HashSet(from); + final Collection result = new HashSet<>(from); result.removeAll(remove); return Collections.unmodifiableCollection(result); } diff -r 26b5ec24ec08 -r e5175632c41a netx/net/sourceforge/jnlp/security/policyeditor/PermissionTarget.java --- a/netx/net/sourceforge/jnlp/security/policyeditor/PermissionTarget.java Mon Apr 14 16:39:04 2014 +0200 +++ b/netx/net/sourceforge/jnlp/security/policyeditor/PermissionTarget.java Mon Apr 14 12:06:37 2014 -0400 @@ -52,6 +52,8 @@ RECORD("record"), REFLECT("suppressAccessChecks"), GETENV("getenv.*"), + ACCESS_THREADS("modifyThread"), + ACCESS_THREAD_GROUPS("modifyThreadGroup"), ACCESS_CLASS_IN_PACKAGE("accessClassInPackage.*"), DECLARED_MEMBERS("accessDeclaredMembers"), CLASSLOADER("getClassLoader"); diff -r 26b5ec24ec08 -r e5175632c41a netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java --- a/netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java Mon Apr 14 16:39:04 2014 +0200 +++ b/netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java Mon Apr 14 12:06:37 2014 -0400 @@ -89,6 +89,12 @@ ACCESS_DECLARED_MEMBERS(R("PEDeclaredMembers"), R("PEDeclaredMembersDetail"), PermissionType.RUNTIME_PERMISSION, PermissionTarget.DECLARED_MEMBERS, PermissionActions.NONE), + ACCESS_THREADS(R("PEAccessThreads"), R("PEAccessThreadsDetail"), + PermissionType.RUNTIME_PERMISSION, PermissionTarget.ACCESS_THREADS, PermissionActions.NONE), + + ACCESS_THREAD_GROUPS(R("PEAccessThreadGroups"), R("PEAccessThreadGroupsDetail"), + PermissionType.RUNTIME_PERMISSION, PermissionTarget.ACCESS_THREAD_GROUPS, PermissionActions.NONE), + NETWORK(R("PENetwork"), R("PENetworkDetail"), PermissionType.SOCKET_PERMISSION, PermissionTarget.ALL, PermissionActions.NETALL), @@ -116,22 +122,20 @@ public static enum Group { ReadFileSystem(R("PEGReadFileSystem"), READ_LOCAL_FILES, READ_PROPERTIES, READ_SYSTEM_FILES, READ_TMP_FILES, GET_ENV), - WriteFileSystem(R("PEGWriteFileSystem"), WRITE_LOCAL_FILES, DELETE_LOCAL_FILES, WRITE_PROPERTIES, WRITE_SYSTEM_FILES, WRITE_TMP_FILES, - DELETE_TMP_FILES, EXEC_COMMANDS), - AccesUnowenedCode(R("PEGAccesUnowenedCode"), JAVA_REFLECTION, GET_CLASSLOADER, ACCESS_CLASS_IN_PACKAGE, ACCESS_DECLARED_MEMBERS), + WriteFileSystem(R("PEGWriteFileSystem"), WRITE_LOCAL_FILES, DELETE_LOCAL_FILES, WRITE_PROPERTIES, WRITE_SYSTEM_FILES, WRITE_TMP_FILES, DELETE_TMP_FILES, EXEC_COMMANDS), + AccessUnownedCode(R("PEGAccesUnowenedCode"), JAVA_REFLECTION, GET_CLASSLOADER, ACCESS_CLASS_IN_PACKAGE, ACCESS_DECLARED_MEMBERS, ACCESS_THREADS, ACCESS_THREAD_GROUPS), MediaAccess(R("PEGMediaAccess"), PLAY_AUDIO, RECORD_AUDIO, PRINT, CLIPBOARD); private final PolicyEditorPermissions[] permissions; - private final String title; + private final String title; private Group(final String title, final PolicyEditorPermissions... permissions) { this.title = title; this.permissions = permissions; - } public static boolean anyContains(final PolicyEditorPermissions permission) { - for (Group g : Group.values()) { + for (final Group g : Group.values()) { if (g.contains(permission)) { return true; } From aazores at icedtea.classpath.org Mon Apr 14 16:14:23 2014 From: aazores at icedtea.classpath.org (aazores at icedtea.classpath.org) Date: Mon, 14 Apr 2014 16:14:23 +0000 Subject: /hg/release/icedtea-web-1.5: Add Thread/ThreadGroup permissions ... Message-ID: changeset 72e24f635c8b in /hg/release/icedtea-web-1.5 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.5?cmd=changeset;node=72e24f635c8b author: Andrew Azores date: Mon Apr 14 12:14:15 2014 -0400 Add Thread/ThreadGroup permissions for PolicyEditor and temp * netx/net/sourceforge/jnlp/resources/Messages.properties: (PEAccessThreads, PEAccessThreadsDetail, PEAccessThreadGroups, PEAccessThreadGroupsDetail) new messages * netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissions.java: (ACCESS_THREADS_PERMISSION, ACCESS_THREAD_GROUPS_PERMISSION) new permissions, added to reflection group. * netx/net/sourceforge/jnlp/security/policyeditor/PermissionTarget.java: (ACCESS_THREADS, ACCESS_THREAD_GROUPS) new targets * netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java: (ACCESS_THREADS, ACCESS_THREAD_GROUPS) new permissions, added to reflection group. Minor formatting fixes. diffstat: ChangeLog | 14 ++++++++ netx/net/sourceforge/jnlp/resources/Messages.properties | 4 ++ netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissions.java | 9 ++++- netx/net/sourceforge/jnlp/security/policyeditor/PermissionTarget.java | 2 + netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java | 16 ++++++--- 5 files changed, 37 insertions(+), 8 deletions(-) diffs (122 lines): diff -r 80e5f17e3bbc -r 72e24f635c8b ChangeLog --- a/ChangeLog Mon Apr 14 15:20:30 2014 +0200 +++ b/ChangeLog Mon Apr 14 12:14:15 2014 -0400 @@ -1,3 +1,17 @@ +2014-04-14 Andrew Azores + + * netx/net/sourceforge/jnlp/resources/Messages.properties: + (PEAccessThreads, PEAccessThreadsDetail, PEAccessThreadGroups, + PEAccessThreadGroupsDetail) new messages + * netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissions.java: + (ACCESS_THREADS_PERMISSION, ACCESS_THREAD_GROUPS_PERMISSION) new + permissions, added to reflection group. + * netx/net/sourceforge/jnlp/security/policyeditor/PermissionTarget.java: + (ACCESS_THREADS, ACCESS_THREAD_GROUPS) new targets + * netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java: + (ACCESS_THREADS, ACCESS_THREAD_GROUPS) new permissions, added to + reflection group. Minor formatting fixes. + 2014-04-14 Jiri Vanek All manifest attributes can be disabled diff -r 80e5f17e3bbc -r 72e24f635c8b netx/net/sourceforge/jnlp/resources/Messages.properties --- a/netx/net/sourceforge/jnlp/resources/Messages.properties Mon Apr 14 15:20:30 2014 +0200 +++ b/netx/net/sourceforge/jnlp/resources/Messages.properties Mon Apr 14 12:14:15 2014 -0400 @@ -548,6 +548,10 @@ PEClassInPackageDetail=Allow applets to access classes from other applet packages (often used with Reflection) PEDeclaredMembers=Access private class data PEDeclaredMembersDetail=Allow applets to access normally hidden data from other Java classes (often used with Reflection) +PEAccessThreads=Modify threads +PEAccessThreadsDetail=Allow applets to start, stop, and otherwise manage threads +PEAccessThreadGroups=Modify threadgroups +PEAccessThreadGroupsDetail=Allow applets to start, stop, and otherwise manage thread groups PEExec=Execute commands PEExecDetail=Allow applets to execute system commands PEGetEnv=Get environment variables diff -r 80e5f17e3bbc -r 72e24f635c8b netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissions.java --- a/netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissions.java Mon Apr 14 15:20:30 2014 +0200 +++ b/netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissions.java Mon Apr 14 12:14:15 2014 -0400 @@ -83,6 +83,8 @@ public static final RuntimePermission CLASSLOADER_PERMISSION = new RuntimePermission(GET_CLASSLOADER.getTarget().target); public static final RuntimePermission ACCESS_CLASS_IN_PACKAGE_PERMISSION = new RuntimePermission(ACCESS_CLASS_IN_PACKAGE.getTarget().target); public static final RuntimePermission ACCESS_DECLARED_MEMBERS_PERMISSION = new RuntimePermission(ACCESS_DECLARED_MEMBERS.getTarget().target); + public static final RuntimePermission ACCESS_THREADS_PERMISSION = new RuntimePermission(ACCESS_THREADS.getTarget().target); + public static final RuntimePermission ACCESS_THREADGROUPS_PERMISSION = new RuntimePermission(ACCESS_THREAD_GROUPS.getTarget().target); public static final AWTPermission AWT_PERMISSION = new AWTPermission(ALL_AWT.getTarget().target); public static final AudioPermission PLAY_AUDIO_PERMISSION = new AudioPermission(PLAY_AUDIO.getTarget().target); @@ -93,8 +95,9 @@ public static final Collection ALL_PERMISSIONS, FILE_PERMISSIONS, PROPERTY_PERMISSIONS, NETWORK_PERMISSIONS, EXEC_PERMISSIONS, REFLECTION_PERMISSIONS, MEDIA_PERMISSIONS; static { - final Collection all = new HashSet(), file = new HashSet(), property = new HashSet(), - network = new HashSet(), exec = new HashSet(), reflection = new HashSet(), media = new HashSet(); + final Collection all = new HashSet(), file = new HashSet(), + property = new HashSet(), network = new HashSet(), exec = new HashSet(), + reflection = new HashSet(), media = new HashSet(); file.add(READ_LOCAL_FILES_PERMISSION); file.add(WRITE_LOCAL_FILES_PERMISSION); @@ -121,6 +124,8 @@ reflection.add(CLASSLOADER_PERMISSION); reflection.add(ACCESS_CLASS_IN_PACKAGE_PERMISSION); reflection.add(ACCESS_DECLARED_MEMBERS_PERMISSION); + reflection.add(ACCESS_THREADS_PERMISSION); + reflection.add(ACCESS_THREADGROUPS_PERMISSION); REFLECTION_PERMISSIONS = Collections.unmodifiableCollection(reflection); media.add(AWT_PERMISSION); diff -r 80e5f17e3bbc -r 72e24f635c8b netx/net/sourceforge/jnlp/security/policyeditor/PermissionTarget.java --- a/netx/net/sourceforge/jnlp/security/policyeditor/PermissionTarget.java Mon Apr 14 15:20:30 2014 +0200 +++ b/netx/net/sourceforge/jnlp/security/policyeditor/PermissionTarget.java Mon Apr 14 12:14:15 2014 -0400 @@ -52,6 +52,8 @@ RECORD("record"), REFLECT("suppressAccessChecks"), GETENV("getenv.*"), + ACCESS_THREADS("modifyThread"), + ACCESS_THREAD_GROUPS("modifyThreadGroup"), ACCESS_CLASS_IN_PACKAGE("accessClassInPackage.*"), DECLARED_MEMBERS("accessDeclaredMembers"), CLASSLOADER("getClassLoader"); diff -r 80e5f17e3bbc -r 72e24f635c8b netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java --- a/netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java Mon Apr 14 15:20:30 2014 +0200 +++ b/netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java Mon Apr 14 12:14:15 2014 -0400 @@ -89,6 +89,12 @@ ACCESS_DECLARED_MEMBERS(R("PEDeclaredMembers"), R("PEDeclaredMembersDetail"), PermissionType.RUNTIME_PERMISSION, PermissionTarget.DECLARED_MEMBERS, PermissionActions.NONE), + ACCESS_THREADS(R("PEAccessThreads"), R("PEAccessThreadsDetail"), + PermissionType.RUNTIME_PERMISSION, PermissionTarget.ACCESS_THREADS, PermissionActions.NONE), + + ACCESS_THREAD_GROUPS(R("PEAccessThreadGroups"), R("PEAccessThreadGroupsDetail"), + PermissionType.RUNTIME_PERMISSION, PermissionTarget.ACCESS_THREAD_GROUPS, PermissionActions.NONE), + NETWORK(R("PENetwork"), R("PENetworkDetail"), PermissionType.SOCKET_PERMISSION, PermissionTarget.ALL, PermissionActions.NETALL), @@ -116,21 +122,19 @@ public static enum Group { ReadFileSystem(R("PEGReadFileSystem"), READ_LOCAL_FILES, READ_PROPERTIES, READ_SYSTEM_FILES, READ_TMP_FILES, GET_ENV), - WriteFileSystem(R("PEGWriteFileSystem"), WRITE_LOCAL_FILES, DELETE_LOCAL_FILES, WRITE_PROPERTIES, WRITE_SYSTEM_FILES, WRITE_TMP_FILES, - DELETE_TMP_FILES, EXEC_COMMANDS), - AccesUnowenedCode(R("PEGAccesUnowenedCode"), JAVA_REFLECTION, GET_CLASSLOADER, ACCESS_CLASS_IN_PACKAGE, ACCESS_DECLARED_MEMBERS), + WriteFileSystem(R("PEGWriteFileSystem"), WRITE_LOCAL_FILES, DELETE_LOCAL_FILES, WRITE_PROPERTIES, WRITE_SYSTEM_FILES, WRITE_TMP_FILES, DELETE_TMP_FILES, EXEC_COMMANDS), + AccessUnownedCode(R("PEGAccesUnowenedCode"), JAVA_REFLECTION, GET_CLASSLOADER, ACCESS_CLASS_IN_PACKAGE, ACCESS_DECLARED_MEMBERS, ACCESS_THREADS, ACCESS_THREAD_GROUPS), MediaAccess(R("PEGMediaAccess"), PLAY_AUDIO, RECORD_AUDIO, PRINT, CLIPBOARD); private final PolicyEditorPermissions[] permissions; - private final String title; + private final String title; private Group(String title, PolicyEditorPermissions... permissions) { this.title = title; this.permissions = permissions; - } public static boolean anyContains(PolicyEditorPermissions permission) { - for (Group g : Group.values()) { + for (final Group g : Group.values()) { if (g.contains(permission)) { return true; } From gnu.andrew at redhat.com Mon Apr 14 21:01:24 2014 From: gnu.andrew at redhat.com (Andrew Hughes) Date: Mon, 14 Apr 2014 17:01:24 -0400 (EDT) Subject: /hg/icedtea-web: Makefile and configure updated for Java 7 In-Reply-To: References: Message-ID: <705518108.4759139.1397509284950.JavaMail.zimbra@redhat.com> ----- Original Message ----- > changeset 449852a92985 in /hg/icedtea-web > details: > http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=449852a92985 > author: Andrew Azores > date: Thu Apr 10 15:56:45 2014 -0400 > > Makefile and configure updated for Java 7 > > * Makefile.am: (HAVE_JAVA7) removed > * acinclude.m4: (IT_CHECK_JAVA_VERSION) new check for JDK version. > (IT_CHECK_FOR_JDK) changed directories to search for JDK, notably adding > alternatives-defined JDK location > * configure.ac: (IT_CHECK_JAVA_VERSION) new check for JDK version > * plugin/icedteanp/IcedTeaNPPlugin.cc: (HAVE_JAVA7) renamed and modified > to HAVE_JAVA8 > * netx/net/sourceforge/jnlp/security/VariableX509TrustManagerJDK6.java: > removed > > > diffstat: > > ChangeLog | 12 + > Makefile.am | 3 - > acinclude.m4 | 42 > +++- > configure.ac | 1 + > netx/net/sourceforge/jnlp/security/VariableX509TrustManagerJDK6.java | 75 > ---------- > plugin/icedteanp/IcedTeaNPPlugin.cc | 24 > +- > 6 files changed, 55 insertions(+), 102 deletions(-) > > diffs (244 lines): > > diff -r f664addf7da2 -r 449852a92985 ChangeLog > --- a/ChangeLog Mon Apr 07 11:24:18 2014 -0400 > +++ b/ChangeLog Thu Apr 10 15:56:45 2014 -0400 > @@ -1,3 +1,15 @@ > +2014-04-10 Andrew Azores > + > + * Makefile.am: (HAVE_JAVA7) removed > + * acinclude.m4: (IT_CHECK_JAVA_VERSION) new check for JDK version. > + (IT_CHECK_FOR_JDK) changed directories to search for JDK, notably adding > + alternatives-defined JDK location > + * configure.ac: (IT_CHECK_JAVA_VERSION) new check for JDK version > + * plugin/icedteanp/IcedTeaNPPlugin.cc: (HAVE_JAVA7) renamed and modified > + to HAVE_JAVA8 > + * netx/net/sourceforge/jnlp/security/VariableX509TrustManagerJDK6.java: > + removed > + > 2014-04-07 Andrew Azores > > * Makefile.am: (IT_LANGUAGE_SOURCE_VERSION, IT_CLASS_TARGET_VERSION) > diff -r f664addf7da2 -r 449852a92985 Makefile.am > --- a/Makefile.am Mon Apr 07 11:24:18 2014 -0400 > +++ b/Makefile.am Thu Apr 10 15:56:45 2014 -0400 > @@ -465,9 +465,6 @@ > if !WITH_RHINO > sed -i '/RhinoBasedPacEvaluator/ d' $@ > endif > -if !HAVE_JAVA7 > - sed -i '/VariableX509TrustManagerJDK7/ d' $@ > -endif > > stamps/netx-html-gen.stamp: > (cd $$NETX_SRCDIR/..; \ > diff -r f664addf7da2 -r 449852a92985 acinclude.m4 > --- a/acinclude.m4 Mon Apr 07 11:24:18 2014 -0400 > +++ b/acinclude.m4 Thu Apr 10 15:56:45 2014 -0400 > @@ -47,10 +47,18 @@ > SYSTEM_JDK_DIR= > ]) > if test -z "${SYSTEM_JDK_DIR}"; then > - for dir in /usr/lib/jvm/java-openjdk /usr/lib/jvm/icedtea6 \ > - /usr/lib/jvm/java-6-openjdk /usr/lib/jvm/openjdk \ > - /usr/lib/jvm/java-icedtea /usr/lib/jvm/java-gcj > /usr/lib/jvm/gcj-jdk \ > - /usr/lib/jvm/cacao ; do > + for dir in /etc/alternatives/java_sdk \ > + /usr/lib/jvm/java-1.7.0-openjdk \ > + /usr/lib/jvm/icedtea7 \ > + /usr/lib/jvm/java-7-openjdk \ > + /usr/lib/jvm/java-1.8.0-openjdk \ > + /usr/lib/jvm/icedtea8 \ > + /usr/lib/jvm/java-8-openjdk \ > + /usr/lib/jvm/java-icedtea \ > + /usr/lib/jvm/java-openjdk \ > + /usr/lib/jvm/openjdk \ > + /usr/lib/jvm/cacao \ > + /usr/lib/jvm/jamvm ; do This is what IcedTea 2.x has: ICEDTEA6_VMS="/usr/lib/jvm/icedtea-6 /usr/lib/jvm/icedtea6 /usr/lib/jvm/java-6-openjdk /usr/lib/jvm/java-1.6.0-openjdk.x86_64 /usr/lib64/jvm/java-1.6.0-openjdk /usr/lib/jvm/java-1.6.0" ICEDTEA7_VMS="/usr/lib/jvm/icedtea-7 /usr/lib/jvm/icedtea7 /usr/lib/jvm/java-1.7.0-openjdk /usr/lib/jvm/java-1.7.0-openjdk.x86_64 /usr/lib64/jvm/java-1.7.0-openjdk /usr/lib/jvm/java-1.7.0" for dir in ${BOOTSTRAP_VMS} ${ICEDTEA7_VMS} ${ICEDTEA6_VMS} \ /usr/lib/jvm/java-openjdk /usr/lib/jvm/openjdk /usr/lib/jvm/java-icedtea \ /etc/alternatives/java_sdk_openjdk ; do The above is notably missing 'icedtea-7' so won't work on Gentoo. Also, unless the issues with IcedTea-Web using proprietary APIs has been fixed since I last looked, GNU Classpath VMs like GCJ, CACAO and JamVM are never going to work. > if test -d $dir; then > SYSTEM_JDK_DIR=$dir > break > @@ -698,7 +706,7 @@ > AC_REQUIRE([IT_CHECK_FOR_JRE]) > AC_MSG_CHECKING([for a Java virtual machine]) > AC_ARG_WITH([java], > - [AS_HELP_STRING(--with-java,specify location of the 1.5 java > vm)], > + [AS_HELP_STRING(--with-java, specify location of the Java 1.7 > VM)], Why not just Java VM? > [ > JAVA="${withval}" > ], > @@ -712,21 +720,29 @@ > AC_PATH_PROG(JAVA, "java") > fi > if test -z "${JAVA}"; then > - AC_PATH_PROG(JAVA, "gij") > - fi > - if test -z "${JAVA}"; then > - AC_MSG_ERROR("A 1.5-compatible Java VM is required.") > + AC_MSG_ERROR("A 1.7+-compatible Java VM is required.") > fi > AC_MSG_RESULT(${JAVA}) > AC_SUBST(JAVA) > +]) > + > +AC_DEFUN_ONCE([IT_CHECK_JAVA_VERSION], > +[ > + AC_REQUIRE([IT_FIND_JAVA]) > + AC_MSG_CHECKING([JDK version]) > JAVA_VERSION=`$JAVA -version 2>&1 | sed -n '1s/@<:@^"@:>@*"\(.*\)"$/\1/p'` > + AC_MSG_RESULT($JAVA_VERSION) > HAVE_JAVA7=`echo $JAVA_VERSION | awk '{if ($(0) >= 1.7) print "yes"}'` > - if ! test -z "$HAVE_JAVA7" ; then > - VERSION_DEFS='-DHAVE_JAVA7' > + HAVE_JAVA8=`echo $JAVA_VERSION | awk '{if ($(0) >= 1.8) print "yes"}'` > + if test -z "$HAVE_JAVA7"; then > + AC_MSG_ERROR([JDK7 or newer is required, detected was: $JAVA_VERSION]) > fi > - > - AM_CONDITIONAL([HAVE_JAVA7], test x"${HAVE_JAVA7}" = "xyes" ) > + if ! test -z "$HAVE_JAVA8"; then > + VERSION_DEFS="-DHAVE_JAVA8" > + fi > AC_SUBST(VERSION_DEFS) > + AM_CONDITIONAL([HAVE_JAVA7], test x"${HAVE_JAVA7}" = "xyes") > + AM_CONDITIONAL([HAVE_JAVA8], test x"${HAVE_JAVA8}" = "xyes") > ]) > > AC_DEFUN_ONCE([IT_FIND_KEYTOOL], > diff -r f664addf7da2 -r 449852a92985 configure.ac > --- a/configure.ac Mon Apr 07 11:24:18 2014 -0400 > +++ b/configure.ac Thu Apr 10 15:56:45 2014 -0400 > @@ -37,6 +37,7 @@ > FIND_JAVAC > FIND_JAR > FIND_ECJ_JAR > +IT_CHECK_JAVA_VERSION > IT_FIND_JAVADOC > IT_FIND_KEYTOOL > IT_FIND_JARSIGNER > diff -r f664addf7da2 -r 449852a92985 > netx/net/sourceforge/jnlp/security/VariableX509TrustManagerJDK6.java > --- a/netx/net/sourceforge/jnlp/security/VariableX509TrustManagerJDK6.java > Mon Apr 07 11:24:18 2014 -0400 > +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 > @@ -1,75 +0,0 @@ > -/* VariableX509TrustManagerJDK6.java > - Copyright (C) 2012 Red Hat, Inc. > - > -This file is part of IcedTea. > - > -IcedTea is free software; you can redistribute it and/or > -modify it under the terms of the GNU General Public License as published by > -the Free Software Foundation, version 2. > - > -IcedTea is distributed in the hope that it will be useful, > -but WITHOUT ANY WARRANTY; without even the implied warranty of > -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > -General Public License for more details. > - > -You should have received a copy of the GNU General Public License > -along with IcedTea; see the file COPYING. If not, write to > -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, > MA > -02110-1301 USA. > - > -Linking this library statically or dynamically with other modules is > -making a combined work based on this library. Thus, the terms and > -conditions of the GNU General Public License cover the whole > -combination. > - > -As a special exception, the copyright holders of this library give you > -permission to link this library with independent modules to produce an > -executable, regardless of the license terms of these independent > -modules, and to copy and distribute the resulting executable under > -terms of your choice, provided that you also meet, for each linked > -independent module, the terms and conditions of the license of that > -module. An independent module is a module which is not derived from > -or based on this library. If you modify this library, you may extend > -this exception to your version of the library, but you are not > -obligated to do so. If you do not wish to do so, delete this > -exception statement from your version. > -*/ > - > -package net.sourceforge.jnlp.security; > - > -import java.security.cert.CertificateException; > -import java.security.cert.X509Certificate; > - > -import com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager; > - > -public class VariableX509TrustManagerJDK6 extends X509ExtendedTrustManager { > - > - private VariableX509TrustManager vX509TM = > VariableX509TrustManager.getInstance(); > - > - @Override > - public void checkClientTrusted(X509Certificate[] chain, String authType) > throws CertificateException { > - checkClientTrusted(chain, authType, null, null); > - } > - > - @Override > - public void checkServerTrusted(X509Certificate[] chain, String authType) > throws CertificateException { > - vX509TM.checkTrustServer(chain, authType, null /* hostname*/, null > /* socket */, null /* engine */); > - } > - > - @Override > - public X509Certificate[] getAcceptedIssuers() { > - return vX509TM.getAcceptedIssuers(); > - } > - > - @Override > - public void checkClientTrusted(X509Certificate[] chain, String authType, > String hostname, String algorithm) throws CertificateException { > - vX509TM.checkTrustClient(chain, authType, hostname); // We don't > need algorithm, we will always use this for TLS only > - } > - > - @Override > - public void checkServerTrusted(X509Certificate[] chain, String authType, > String hostname, String algorithm) throws CertificateException { > - // We don't need to pass algorithm, we will always use this for TLS > only > - vX509TM.checkTrustServer(chain, authType, hostname, null /* socket > */, null /* engine */); > - } > - > -} > diff -r f664addf7da2 -r 449852a92985 plugin/icedteanp/IcedTeaNPPlugin.cc > --- a/plugin/icedteanp/IcedTeaNPPlugin.cc Mon Apr 07 11:24:18 2014 -0400 > +++ b/plugin/icedteanp/IcedTeaNPPlugin.cc Thu Apr 10 15:56:45 2014 -0400 > @@ -64,16 +64,16 @@ > #define PLUGIN_FULL_NAME PLUGIN_NAME " (using " PLUGIN_VERSION ")" > #define PLUGIN_DESC "The " PLUGIN_NAME " > executes Java applets." > > -#ifdef HAVE_JAVA7 > +#ifdef HAVE_JAVA8 > + #define JPI_VERSION "1.8.0_" JDK_UPDATE_VERSION > + #define PLUGIN_APPLET_MIME_DESC \ > + "application/x-java-applet;version=1.8:class,jar:IcedTea;" > + #define PLUGIN_BEAN_MIME_DESC \ > + "application/x-java-bean;version=1.8:class,jar:IcedTea;" > +#else > #define JPI_VERSION "1.7.0_" JDK_UPDATE_VERSION > - #define PLUGIN_APPLET_MIME_DESC7 \ > - "application/x-java-applet;version=1.7:class,jar:IcedTea;" > - #define PLUGIN_BEAN_MIME_DESC7 \ > - "application/x-java-bean;version=1.7:class,jar:IcedTea;" > -#else > - #define JPI_VERSION "1.6.0_" JDK_UPDATE_VERSION > - #define PLUGIN_APPLET_MIME_DESC7 > - #define PLUGIN_BEAN_MIME_DESC7 > + #define PLUGIN_APPLET_MIME_DESC > + #define PLUGIN_BEAN_MIME_DESC > #endif > > #define PLUGIN_MIME_DESC \ > @@ -93,7 +93,8 @@ > "application/x-java-applet;version=1.4.2:class,jar:IcedTea;" \ > "application/x-java-applet;version=1.5:class,jar:IcedTea;" \ > "application/x-java-applet;version=1.6:class,jar:IcedTea;" \ > - PLUGIN_APPLET_MIME_DESC7 \ > + "application/x-java-applet;version=1.7:class,jar:IcedTea;" \ > + PLUGIN_APPLET_MIME_DESC \ > "application/x-java-applet;jpi-version=" JPI_VERSION ":class,jar:IcedTea;" > \ > "application/x-java-bean:class,jar:IcedTea;" \ > "application/x-java-bean;version=1.1:class,jar:IcedTea;" \ > @@ -110,7 +111,8 @@ > "application/x-java-bean;version=1.4.2:class,jar:IcedTea;" \ > "application/x-java-bean;version=1.5:class,jar:IcedTea;" \ > "application/x-java-bean;version=1.6:class,jar:IcedTea;" \ > - PLUGIN_BEAN_MIME_DESC7 \ > + "application/x-java-bean;version=1.7:class,jar:IcedTea;" \ > + PLUGIN_BEAN_MIME_DESC \ > "application/x-java-bean;jpi-version=" JPI_VERSION ":class,jar:IcedTea;" > \ > "application/x-java-vm-npruntime::IcedTea;" > > -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 From gnu.andrew at redhat.com Mon Apr 14 21:10:45 2014 From: gnu.andrew at redhat.com (Andrew Hughes) Date: Mon, 14 Apr 2014 17:10:45 -0400 (EDT) Subject: [rfc][icedtea-web] Java 7 bump In-Reply-To: <5343FF24.4010406@redhat.com> References: <53431771.2000300@redhat.com> <20140407213922.GM2293@redhat.com> <5343FF24.4010406@redhat.com> Message-ID: <874751430.4760647.1397509845682.JavaMail.zimbra@redhat.com> ----- Original Message ----- > On 04/07/2014 05:39 PM, Omair Majid wrote: > > * Andrew Azores [2014-04-07 17:24]: > >> Here's my attempt at getting the build system properly checking for > >> and working with Java 7. Only just seen this via the archives. As the build system was originally forked from IcedTea, it's probably worth keeping an eye on changes there and porting over as necessary. In particular, the JDK list seems to be outdated compared with IcedTea 2.x (see reply to commit). > > Previously, a 6 was the a minimal version, but icedtea-web would > > build/work with 7 too. The mirror of that would be requiring 7 but also > > working with 8. But I don't think this patch works with just 8. Am I > > mistaken? > > I have both 7 and 8 (and 5 due to GCJ) installed on my machine here and > the version check seemed to work properly in each case, switching > between them with system-switch-java since the first location checked is > now set by alternatives. With 5 it complained and failed, and with 7 or > 8 it completed normally. So as far as I can tell, I think it works. > > > > >> Note that (1) almost all of what I know about autotools was learned > >> today > > This is amazing stuff! > > Thanks :) > > > > >> - for dir in /usr/lib/jvm/java-openjdk /usr/lib/jvm/icedtea6 \ > >> - /usr/lib/jvm/java-6-openjdk /usr/lib/jvm/openjdk \ > >> - /usr/lib/jvm/java-icedtea /usr/lib/jvm/java-gcj > >> /usr/lib/jvm/gcj-jdk \ > >> - /usr/lib/jvm/cacao ; do > >> + for dir in /etc/alternatives/java_sdk \ > >> + /usr/lib/jvm/java-openjdk \ > >> + /usr/lib/jvm/java-1.7.0-openjdk \ > >> + /usr/lib/jvm/openjdk \ > >> + /usr/lib/jvm/java-icedtea \ > >> + /usr/lib/jvm/cacao ; do > > Wouldn't it make sense to add '/usr/lib/jvm/icedtea7' and > > '/usr/lib/jvm/java-7-openjdk' to the paths too? Or have those > > distributions changed the paths? With IcedTea, we put the most specific JDKs first and work down to general alternatives. ICEDTEA6_VMS="/usr/lib/jvm/icedtea-6 /usr/lib/jvm/icedtea6 /usr/lib/jvm/java-6-openjdk /usr/lib/jvm/java-1.6.0-openjdk.x86_64 /usr/lib64/jvm/java-1.6.0-openjdk /usr/lib/jvm/java-1.6.0" ICEDTEA7_VMS="/usr/lib/jvm/icedtea-7 /usr/lib/jvm/icedtea7 /usr/lib/jvm/java-1.7.0-openjdk /usr/lib/jvm/java-1.7.0-openjdk.x86_64 /usr/lib64/jvm/java-1.7.0-openjdk /usr/lib/jvm/java-1.7.0" for dir in ${BOOTSTRAP_VMS} ${ICEDTEA7_VMS} ${ICEDTEA6_VMS} \ /usr/lib/jvm/java-openjdk /usr/lib/jvm/openjdk /usr/lib/jvm/java-icedtea \ /etc/alternatives/java_sdk_openjdk ; do I've omitted BOOTSTRAP_VMS as it's irrelevant for ITW and won't work. > > > > I can't make up my mind whether we should try the well-known 7 or 8 > > locations. The default location may be 6, but it may also be the 7 or 8 > > VM the user wants to use. > > > >> AC_PATH_PROG(JAVA, "gij") > > Does 'gij' work? That's a 1.5 VM, right? Maybe this needs more cruft > > removed. > > I'm sure there's a lot more cruft I've missed. GCJ and other Classpath JDKs aren't any particular version specifically, because the TCK has never been made available to check this compatibility. Classpath contains a number of 1.6 classes/methods and I think even some 7 now. What code it will compile depends on what version of ecj is used with it. For this reason and others, I prefer to test for required features, rather than versions i.e. if you want to know if it can compile code with the diamond operator, compile some. This is generally how all autotools tests work e.g. checking for gcc... gcc checking whether the C compiler works... yes ... checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes etc. > > > > >> - AC_MSG_ERROR("A 1.5-compatible Java VM is required.") > >> + AC_MSG_ERROR("A 1.7-compatible Java VM is required.") > > 1.7 or newer, right? > > Well, yea. The 1.8 VM can still be called 1.7-compatible though, can't it? > > > > >> JAVA_VERSION=`$JAVA -version 2>&1 | sed -n > >> '1s/@<:@^"@:>@*"\(.*\)"$/\1/p'` > >> + AC_MSG_RESULT($JAVA_VERSION) > >> HAVE_JAVA7=`echo $JAVA_VERSION | awk '{if ($(0) >= 1.7) print "yes"}'` > >> - if ! test -z "$HAVE_JAVA7" ; then > >> - VERSION_DEFS='-DHAVE_JAVA7' > >> + HAVE_JAVA8=`echo $JAVA_VERSION | awk '{if ($(0) >= 1.8) print "yes"}'` > >> + if test -z "$HAVE_JAVA7"; then > > This test is for just 7. I take it you meant to test 8 here too? > > > > Thanks, > > Omair > > > > It tests and requires that at least 7 is in use, otherwise it fails out. > If 8 or higher is in use, then it does the same trick with -DHAVE_JAVA8 > so that the plugin can add 1.8 to its MIME types. Using > system-switch-java and reconfiguring/building, then checking > about:plugins in Firefox does show that when using 8, an additional MIME > type for it is added, just as before with 6 vs 7. Is the JDK determined at compile-time or at run-time? If I build with a 7 JDK, can I later run with an 8 JDK and it be recognised as such? > > Thanks, > > -- > Andrew A > > -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 From omajid at redhat.com Mon Apr 14 21:17:40 2014 From: omajid at redhat.com (Omair Majid) Date: Mon, 14 Apr 2014 17:17:40 -0400 Subject: [rfc][icedtea-web] Java 7 bump In-Reply-To: <874751430.4760647.1397509845682.JavaMail.zimbra@redhat.com> References: <53431771.2000300@redhat.com> <20140407213922.GM2293@redhat.com> <5343FF24.4010406@redhat.com> <874751430.4760647.1397509845682.JavaMail.zimbra@redhat.com> Message-ID: <20140414211739.GE2093@redhat.com> * Andrew Hughes [2014-04-14 17:10]: > For this reason and others, I prefer to test for required features, rather than versions > i.e. if you want to know if it can compile code with the diamond operator, compile some. > This is generally how all autotools tests work e.g. > > checking for gcc... gcc > checking whether the C compiler works... yes > ... > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking whether gcc understands -c and -o together... yes > etc. I see what you are saying and that's something I like myself. However, in the case of Java, it seems much simpler to assume things. For example, you can't claim what you have is 'Java 7' if it does not pass the Java 7 TCK. And for it to pass the Java 7 TCK, it must have a number of features (for example, swing library with generic support and diamond operator). > Is the JDK determined at compile-time or at run-time? If I build with a 7 JDK, > can I later run with an 8 JDK and it be recognised as such? Last I looked, it's compile time. Mostly because if you compile with 6, the 7-specific bits can not be compiled, and therefore don't work (correctly). Thanks, Omair -- PGP Key: 66484681 (http://pgp.mit.edu/) Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681 From jvanek at icedtea.classpath.org Tue Apr 15 09:32:34 2014 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Tue, 15 Apr 2014 09:32:34 +0000 Subject: /hg/release/icedtea-web-1.5: Reflect possibility of disabled man... Message-ID: changeset 216fe105f338 in /hg/release/icedtea-web-1.5 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.5?cmd=changeset;node=216fe105f338 author: Jiri Vanek date: Tue Apr 15 11:32:04 2014 +0200 Reflect possibility of disabled manifest check to unit-test * tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java: new field (attCheckValue) to store original value. (setPermissions) is enabling check and (resetPermissions) returning back to original diffstat: ChangeLog | 7 +++++++ tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java | 4 ++++ 2 files changed, 11 insertions(+), 0 deletions(-) diffs (38 lines): diff -r 72e24f635c8b -r 216fe105f338 ChangeLog --- a/ChangeLog Mon Apr 14 12:14:15 2014 -0400 +++ b/ChangeLog Tue Apr 15 11:32:04 2014 +0200 @@ -1,3 +1,10 @@ +2014-04-15 Jiri Vanek + + Reflect possibility of disabled manifest check to unit-test + * tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java: new field + (attCheckValue) to store original value. (setPermissions) is enabling check + and (resetPermissions) returning back to original + 2014-04-14 Andrew Azores * netx/net/sourceforge/jnlp/resources/Messages.properties: diff -r 72e24f635c8b -r 216fe105f338 tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java --- a/tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java Mon Apr 14 12:14:15 2014 -0400 +++ b/tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java Tue Apr 15 11:32:04 2014 +0200 @@ -60,16 +60,20 @@ public class JNLPFileTest extends NoStdOutErrTest { private static AppletSecurityLevel level; + private static boolean attCheckValue; @BeforeClass public static void setPermissions() { level = AppletStartupSecuritySettings.getInstance().getSecurityLevel(); + attCheckValue = ManifestAttributesChecker.isCheckEnabled(); JNLPRuntime.getConfiguration().setProperty(DeploymentConfiguration.KEY_SECURITY_LEVEL, AppletSecurityLevel.ALLOW_UNSIGNED.toChars()); + JNLPRuntime.getConfiguration().setProperty(DeploymentConfiguration.KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK, String.valueOf(true)); } @AfterClass public static void resetPermissions() { JNLPRuntime.getConfiguration().setProperty(DeploymentConfiguration.KEY_SECURITY_LEVEL, level.toChars()); + JNLPRuntime.getConfiguration().setProperty(DeploymentConfiguration.KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK, String.valueOf(attCheckValue)); } From jvanek at icedtea.classpath.org Tue Apr 15 09:32:46 2014 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Tue, 15 Apr 2014 09:32:46 +0000 Subject: /hg/icedtea-web: Reflect possibility of disabled manifest check ... Message-ID: changeset 3f9913affb06 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=3f9913affb06 author: Jiri Vanek date: Tue Apr 15 11:32:02 2014 +0200 Reflect possibility of disabled manifest check to unit-test * tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java: new field (attCheckValue) to store original value. (setPermissions) is enabling check and (resetPermissions) returning back to original diffstat: ChangeLog | 7 +++++++ tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java | 4 ++++ 2 files changed, 11 insertions(+), 0 deletions(-) diffs (38 lines): diff -r e5175632c41a -r 3f9913affb06 ChangeLog --- a/ChangeLog Mon Apr 14 12:06:37 2014 -0400 +++ b/ChangeLog Tue Apr 15 11:32:02 2014 +0200 @@ -1,3 +1,10 @@ +2014-04-15 Jiri Vanek + + Reflect possibility of disabled manifest check to unit-test + * tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java: new field + (attCheckValue) to store original value. (setPermissions) is enabling check + and (resetPermissions) returning back to original + 2014-04-14 Andrew Azores * netx/net/sourceforge/jnlp/resources/Messages.properties: diff -r e5175632c41a -r 3f9913affb06 tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java --- a/tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java Mon Apr 14 12:06:37 2014 -0400 +++ b/tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java Tue Apr 15 11:32:02 2014 +0200 @@ -60,16 +60,20 @@ public class JNLPFileTest extends NoStdOutErrTest { private static AppletSecurityLevel level; + private static boolean attCheckValue; @BeforeClass public static void setPermissions() { level = AppletStartupSecuritySettings.getInstance().getSecurityLevel(); + attCheckValue = ManifestAttributesChecker.isCheckEnabled(); JNLPRuntime.getConfiguration().setProperty(DeploymentConfiguration.KEY_SECURITY_LEVEL, AppletSecurityLevel.ALLOW_UNSIGNED.toChars()); + JNLPRuntime.getConfiguration().setProperty(DeploymentConfiguration.KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK, String.valueOf(true)); } @AfterClass public static void resetPermissions() { JNLPRuntime.getConfiguration().setProperty(DeploymentConfiguration.KEY_SECURITY_LEVEL, level.toChars()); + JNLPRuntime.getConfiguration().setProperty(DeploymentConfiguration.KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK, String.valueOf(attCheckValue)); } From ptisnovs at icedtea.classpath.org Tue Apr 15 10:59:13 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Tue, 15 Apr 2014 10:59:13 +0000 Subject: /hg/gfx-test: Ten new tests added into CAGOperationsOnChordAndRe... Message-ID: changeset 0b4d4357871d in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=0b4d4357871d author: Pavel Tisnovsky date: Tue Apr 15 12:59:53 2014 +0200 Ten new tests added into CAGOperationsOnChordAndRectangle. diffstat: ChangeLog | 5 + src/org/gfxtest/testsuites/CAGOperationsOnChordAndRectangle.java | 237 ++++++++++ 2 files changed, 242 insertions(+), 0 deletions(-) diffs (259 lines): diff -r b5d1d02925ea -r 0b4d4357871d ChangeLog --- a/ChangeLog Mon Apr 14 10:01:07 2014 +0200 +++ b/ChangeLog Tue Apr 15 12:59:53 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-15 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/CAGOperationsOnChordAndRectangle.java: + Ten new tests added into CAGOperationsOnChordAndRectangle. + 2014-04-14 Pavel Tisnovsky * src/org/gfxtest/testsuites/BitBltUsingBgColorAlpha.java: diff -r b5d1d02925ea -r 0b4d4357871d src/org/gfxtest/testsuites/CAGOperationsOnChordAndRectangle.java --- a/src/org/gfxtest/testsuites/CAGOperationsOnChordAndRectangle.java Mon Apr 14 10:01:07 2014 +0200 +++ b/src/org/gfxtest/testsuites/CAGOperationsOnChordAndRectangle.java Tue Apr 15 12:59:53 2014 +0200 @@ -1309,6 +1309,243 @@ } /** + * Checks the process of creating and rendering new geometric shape + * constructed from chord and rectangle using inverse subtract operator. + * The shape is rendered using wide stroke. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSmallChordInsideRectangleInverseSubtractExtraWideStrokePaint(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set extra wide stroke width + CommonRenderingStyles.setStrokeExtraThickWidth(graphics2d); + // create area using inverse subtract operator + Area area = CommonCAGOperations.createAreaFromSmallerChordInsideRectangleUsingInverseSubtractOperator(image); + // draw the area + graphics2d.draw(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from chord and rectangle using intersect operator. The shape + * is rendered using wide stroke. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSmallChordInsideRectangleIntersectExtraWideStrokePaint(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set extra wide stroke width + CommonRenderingStyles.setStrokeExtraThickWidth(graphics2d); + // create area using intersect operator + Area area = CommonCAGOperations.createAreaFromSmallerChordInsideRectangleUsingIntersectOperator(image); + // draw the area + graphics2d.draw(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from chord and rectangle using XOR operator. The shape is + * rendered using extra wide stroke. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSmallChordInsideRectangleXorExtraWideStrokePaint(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set stroke extra width + CommonRenderingStyles.setStrokeExtraThickWidth(graphics2d); + // create area using XOR operator + Area area = CommonCAGOperations.createAreaFromSmallerChordInsideRectangleUsingXorOperator(image); + // draw the area + graphics2d.draw(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from a chord inside a rectangle using union operator. The shape is + * rendered using color fill. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSmallChordInsideRectangleUnionColorPaint(TestImage image, Graphics2D graphics2d) + { + // set fill color + CommonRenderingStyles.setFillColor(graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromSmallerChordInsideRectangleUsingUnionOperator(image); + // fill the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from a chord inside a rectangle using subtract operator. The shape is + * rendered using color fill. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSmallChordInsideRectangleSubtractColorPaint(TestImage image, Graphics2D graphics2d) + { + // set fill color + CommonRenderingStyles.setFillColor(graphics2d); + // create area using subtract operator + Area area = CommonCAGOperations.createAreaFromSmallerChordInsideRectangleUsingSubtractOperator(image); + // fill the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from a chord inside a rectangle using inverse subtract operator. + * The shape is rendered using color fill. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSmallChordInsideRectangleInverseSubtractColorPaint(TestImage image, Graphics2D graphics2d) + { + // set fill color + CommonRenderingStyles.setFillColor(graphics2d); + // create area using inverse subtract operator + Area area = CommonCAGOperations.createAreaFromSmallerChordInsideRectangleUsingInverseSubtractOperator(image); + // fill the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from a chord inside a rectangle using intersect operator. + * The shape is rendered using color fill. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSmallChordInsideRectangleIntersectColorPaint(TestImage image, Graphics2D graphics2d) + { + // set fill color + CommonRenderingStyles.setFillColor(graphics2d); + // create area using intersect operator + Area area = CommonCAGOperations.createAreaFromSmallerChordInsideRectangleUsingIntersectOperator(image); + // fill the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from a chord inside a rectangle using XOR operator. + * The shape is rendered using color fill. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSmallChordInsideRectangleXorColorPaint(TestImage image, Graphics2D graphics2d) + { + // set fill color + CommonRenderingStyles.setFillColor(graphics2d); + // create area using Xor operator + Area area = CommonCAGOperations.createAreaFromSmallerChordInsideRectangleUsingXorOperator(image); + // fill the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from a chord inside a rectangle using union operator. The shape is + * rendered using radial gradient fill. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSmallChordInsideRectangleUnionRadialGradientPaint(TestImage image, Graphics2D graphics2d) + { + // set radial gradient fill + CommonRenderingStyles.setRadialGradientFill(image, graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromSmallerChordInsideRectangleUsingUnionOperator(image); + // fill the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from a chord inside a rectangle using subtract operator. The shape is + * rendered using radial gradient fill. + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSmallChordInsideRectangleSubtractRadialGradientPaint(TestImage image, Graphics2D graphics2d) + { + // set radial gradient fill + CommonRenderingStyles.setRadialGradientFill(image, graphics2d); + // create area using subtract operator + Area area = CommonCAGOperations.createAreaFromSmallerChordInsideRectangleUsingSubtractOperator(image); + // fill the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** * Entry point to the test suite. * * @param args not used in this case From ptisnovs at icedtea.classpath.org Tue Apr 15 11:18:59 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Tue, 15 Apr 2014 11:18:59 +0000 Subject: /hg/rhino-tests: Nine new tests added into BindingsTest. Message-ID: changeset 6cb1ff232c39 in /hg/rhino-tests details: http://icedtea.classpath.org/hg/rhino-tests?cmd=changeset;node=6cb1ff232c39 author: Pavel Tisnovsky date: Tue Apr 15 13:19:41 2014 +0200 Nine new tests added into BindingsTest. diffstat: ChangeLog | 5 + src/org/RhinoTests/BindingsTest.java | 98 ++++++++++++++++++++++++++++++++++- 2 files changed, 98 insertions(+), 5 deletions(-) diffs (178 lines): diff -r 9b40969f01e3 -r 6cb1ff232c39 ChangeLog --- a/ChangeLog Thu Apr 10 11:05:49 2014 +0200 +++ b/ChangeLog Tue Apr 15 13:19:41 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-15 Pavel Tisnovsky + + * src/org/RhinoTests/BindingsTest.java: + Nine new tests added into BindingsTest. + 2014-04-10 Pavel Tisnovsky * src/org/RhinoTests/CompiledScriptTest.java: diff -r 9b40969f01e3 -r 6cb1ff232c39 src/org/RhinoTests/BindingsTest.java --- a/src/org/RhinoTests/BindingsTest.java Thu Apr 10 11:05:49 2014 +0200 +++ b/src/org/RhinoTests/BindingsTest.java Tue Apr 15 13:19:41 2014 +0200 @@ -1,7 +1,7 @@ /* Rhino test framework - Copyright (C) 2011, 2012 Red Hat + Copyright (C) 2011, 2012, 2013, 2014 Red Hat This file is part of IcedTea. @@ -41,15 +41,18 @@ package org.RhinoTests; import java.util.HashMap; +import java.util.Hashtable; import java.util.Map; +import java.util.LinkedHashMap; import java.util.TreeMap; import javax.script.SimpleBindings; import javax.script.Bindings; /** + * Test for the class javax.script.Bingings. + * * @author Pavel Tisnovsky - * */ public class BindingsTest extends BaseRhinoTest { @@ -65,6 +68,9 @@ return; } + /** + * Test of the default constructor. + */ protected void testConstructor1() { Bindings bindings = new SimpleBindings(); assertNotNull(bindings, "new SimpleBindings() failed"); @@ -72,6 +78,9 @@ assertTrue(bindings.size() == 0, "bindings should be empty"); } + /** + * Test of the constructor with Map parameter.. + */ protected void testConstructor2() { Bindings bindings = new SimpleBindings(new HashMap()); assertNotNull(bindings, "new SimpleBindings() failed"); @@ -87,6 +96,20 @@ } protected void testConstructor4() { + Bindings bindings = new SimpleBindings(new Hashtable()); + assertNotNull(bindings, "new SimpleBindings() failed"); + assertTrue(bindings.isEmpty(), "bindings should be empty"); + assertTrue(bindings.size() == 0, "bindings should be empty"); + } + + protected void testConstructor5() { + Bindings bindings = new SimpleBindings(new LinkedHashMap()); + assertNotNull(bindings, "new SimpleBindings() failed"); + assertTrue(bindings.isEmpty(), "bindings should be empty"); + assertTrue(bindings.size() == 0, "bindings should be empty"); + } + + protected void testConstructor6() { Map map = new HashMap(); map.put("key", "value"); Bindings bindings = new SimpleBindings(map); @@ -97,7 +120,7 @@ assertEquals(bindings.get("key"), "value", "wrong value returned"); } - protected void testConstructor5() { + protected void testConstructor7() { Map map = new TreeMap(); map.put("key", "value"); Bindings bindings = new SimpleBindings(map); @@ -108,7 +131,29 @@ assertEquals(bindings.get("key"), "value", "wrong value returned"); } - protected void testConstructor6() { + protected void testConstructor8() { + Map hashtable = new Hashtable(); + hashtable.put("key", "value"); + Bindings bindings = new SimpleBindings(hashtable); + assertNotNull(bindings, "new SimpleBindings() failed"); + assertTrue(!bindings.isEmpty(), "bindings should not be empty"); + assertTrue(bindings.size() == 1, "bindings should not be empty"); + assertNotNull(bindings.get("key"), "this object should be stored in bindings"); + assertEquals(bindings.get("key"), "value", "wrong value returned"); + } + + protected void testConstructor9() { + Map hashtable = new LinkedHashMap(); + hashtable.put("key", "value"); + Bindings bindings = new SimpleBindings(hashtable); + assertNotNull(bindings, "new SimpleBindings() failed"); + assertTrue(!bindings.isEmpty(), "bindings should not be empty"); + assertTrue(bindings.size() == 1, "bindings should not be empty"); + assertNotNull(bindings.get("key"), "this object should be stored in bindings"); + assertEquals(bindings.get("key"), "value", "wrong value returned"); + } + + protected void testConstructor10() { Map map = new HashMap(); map.put("key", null); Bindings bindings = new SimpleBindings(map); @@ -118,8 +163,51 @@ assertNull(bindings.get("key"), "this object should be stored in bindings"); } - protected void testConstructor7() { + protected void testConstructor11() { + Map map = new TreeMap(); + map.put("key", null); + Bindings bindings = new SimpleBindings(map); + assertNotNull(bindings, "new SimpleBindings() failed"); + assertTrue(!bindings.isEmpty(), "bindings should not be empty"); + assertTrue(bindings.size() == 1, "bindings should not be empty"); + assertNull(bindings.get("key"), "this object should be stored in bindings"); + } + + protected void testConstructor12() { + Map map = new LinkedHashMap(); + map.put("key", "value"); + map.put("key", null); + Bindings bindings = new SimpleBindings(map); + assertNotNull(bindings, "new SimpleBindings() failed"); + assertTrue(!bindings.isEmpty(), "bindings should not be empty"); + assertTrue(bindings.size() == 1, "bindings should not be empty"); + assertNull(bindings.get("key"), "this object should be stored in bindings"); + } + + protected void testConstructor13() { Map map = new HashMap(); + map.put("key", "value"); + map.put("key", null); + Bindings bindings = new SimpleBindings(map); + assertNotNull(bindings, "new SimpleBindings() failed"); + assertTrue(!bindings.isEmpty(), "bindings should not be empty"); + assertTrue(bindings.size() == 1, "bindings should not be empty"); + assertNull(bindings.get("key"), "this object should be stored in bindings"); + } + + protected void testConstructor14() { + Map map = new TreeMap(); + map.put("key", "value"); + map.put("key", null); + Bindings bindings = new SimpleBindings(map); + assertNotNull(bindings, "new SimpleBindings() failed"); + assertTrue(!bindings.isEmpty(), "bindings should not be empty"); + assertTrue(bindings.size() == 1, "bindings should not be empty"); + assertNull(bindings.get("key"), "this object should be stored in bindings"); + } + + protected void testConstructor15() { + Map map = new LinkedHashMap(); map.put("key", null); Bindings bindings = new SimpleBindings(map); assertNotNull(bindings, "new SimpleBindings() failed"); From bugzilla-daemon at icedtea.classpath.org Tue Apr 15 11:48:13 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 15 Apr 2014 11:48:13 +0000 Subject: [Bug 1583] XML Parse error? In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1583 Patrick Kolze changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |patrick.kolze at affinitas.de --- Comment #1 from Patrick Kolze --- Hi, i am facing a similar problem on Debian 7 64 bit. 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux " ii openjdk-7-jdk:amd64 7u25-2.3.10-1~deb7u1 amd64 OpenJDK Development Kit (JDK) ii openjdk-7-jre:amd64 7u25-2.3.10-1~deb7u1 amd64 OpenJDK Java runtime, using Hotspot JIT ii openjdk-7-jre-headless:amd64 7u25-2.3.10-1~deb7u1 amd64 OpenJDK Java runtime, using Hotspot JIT (headless) ii openjdk-7-jre-lib 7u25-2.3.10-1~deb7u1 all OpenJDK Java runtime (architecture independent libraries) " "ii icedtea-7-jre-jamvm:amd64 7u25-2.3.10-1~deb7u1 amd64 Alternative JVM for OpenJDK, using JamVM ii icedtea-7-plugin:amd64 1.4-3~deb7u2 amd64 web browser plugin based on OpenJDK and IcedTea to execute Java applets " "netx: Read Error: Could not read or parse the JNLP file. (Invalid XML document syntax. (XML Parse Exception during parsing of a jnlp element at line 52: Expected: /))" If i download the file "jviewer.jnlp" and check line 52 it seems that its a syntax error. "..... ^M %IP-ADDRESS%^M 6373^M HadshASHashah^BjkkjaSG7hASJhjgjhasg818AG ^M ^M ...." If i change it to "..... ^M %IP-ADDRESS%^M 6373^M HadshASHashah^B^M jkkjaSG7hASJhjgjhasg818AG^M ^M ...." it works ! On a 32 bit Debian it work without a problem. Best Regards Patrick -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jvanek at redhat.com Tue Apr 15 15:48:50 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 15 Apr 2014 17:48:50 +0200 Subject: [rfc][icedtea-web] conditional disabling of manifes tattributes In-Reply-To: <53481D05.3000802@redhat.com> References: <534691EA.8030606@redhat.com> <5346AE4A.9030106@redhat.com> <5347E911.8040707@redhat.com> <53481D05.3000802@redhat.com> Message-ID: <534D54E2.20500@redhat.com> On 04/11/2014 06:49 PM, Andrew Azores wrote: > On 04/11/2014 09:07 AM, Jiri Vanek wrote: >> On 04/10/2014 04:44 PM, Andrew Azores wrote: >>> On 04/10/2014 08:43 AM, Jiri Vanek wrote: >>>> Hi! >>>> >>>> This patch can disable the check for new manifest attributes. >>>> sevral motivations >>>> - I hate this feature >>>> - the remembering of this actions may take time to implement >>>> - and the most important - the testsuite... >>> >>> Most important indeed. >>> >>>> >>>> will go both head and 1.5. >>>> >>>> I'm hesitating whether to make this property public via itw-settings... Well if so, then as >>>> another changeset. Any opinion about publish it in itw-settings? >>>> >>>> J >>> >>> Ok to push, so that we can clean up some of the noise in the test suite. >>> >>> RE putting it in itweb-settings - I think the cleanest way to do this, if it's to be done at all, is >>> probably to add another security level. 'Minimal' or something perhaps? Because I don't think it >>> makes sense to add it in as a checkbox, for example, and have it possible to set security to High, >>> but disable manifest checks. I'm not sure if we really want to allow this, though. I can imagine >>> most users leaving the security level at Minimal once they discover that this gives them the least >>> amount of clicking to do before getting their applets to run :) >> >> >> Oh yes, that can be correct thing to do. But looking to the issue from this perspective, it is >> NO-GO argument for it as it is done. Well all correct applications should be updated to support >> new attributes.. but the legaxy, and still used ones? I have pushed at the end. This shortcut for testsuite is needed. >> >> So I have another idea here - really extend ExtendedAppletsSecurity, and to allow "do not check >> manifest attributes" on the application/codebase - So all those dialogs will be moreover based on >> your abstraction of Extended Applets security. Also remember alaca checkbox issue will be solved >> by this. >> >> Bu the extension of ExtendedAppletsSecurity will needed to be done really carefully - and prepared >> before implementation. >> >> What do you think? > > Sounds like it could be a lot of work, but should be worthwhile in the end. I think it will be very > nice if we can unify all of our dialogs like this so that they can all make use of the same > remembered action storage. Or at least, the ones that need to be able to remember actions. I'm not > sure about having the manifest attribute check be an option to be selected on the dialog though, > even with an option to remember it... but maybe it's the right thing to do. It just seems like the > dialogs are getting busier and busier and more confusing looking, but you're right that this option > will (hopefully) be used mostly for allowing some old applets which haven't been updated to be used > still. In that kind of situation, which I think is the target, then applying the setting to all > applets/globally maybe isn't the right choice. So as ugly and cluttered as the UI might become, I > suppose this really should be done on a per-applet basis (maybe in addition to having it > configurable globally?). > Hi attached patch is adding the basic support for multiple types of actions. Well it apeared that the implementation itself will be quit easy (if this approach will be used) but most troubles will be in itw-settings. The table will requires serious revork on level of filtering, sorting, delting and especially editing of first - action - column. General idea is - instead of one ExecuteAppletAction unsignedAppletAction will be list of them, encapsualted in AppletSecurityActions unsignedAppletAction; In file it will be encoded instead of current one char, as one-word string - see the tests. To read/write the correct action for given type, there will be set of getters/setters - tight now there is public ExecuteAppletAction getUnsignedAppletAction() { + return getAction(0); + } + + public void setUnsignedAppletAction(ExecuteAppletAction a) { + actions.set(0,a); + } And they will encapsulate the order in list. If nothing else...This is nicely backward compatible, and scaleable for growth of "remember me" dialogs :) Once this is aproved -if ever - I will add few more "on top of it" work like -table or rember for ALACAto se hw it works - before push itself. J. -------------- next part -------------- A non-text attachment was scrubbed... Name: multipleActionsBasePatch.patch Type: text/x-patch Size: 22358 bytes Desc: not available URL: From andrew at icedtea.classpath.org Tue Apr 15 20:50:01 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 15 Apr 2014 20:50:01 +0000 Subject: /hg/release/icedtea7-forest-2.4: 9 new changesets Message-ID: changeset 6e2c0ed18bcf in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=6e2c0ed18bcf author: ohrstrom date: Tue Dec 18 09:57:01 2012 +0100 8004145: New improved hgforest.sh, ctrl-c now properly terminates mercurial processes. Reviewed-by: ohair, erikj changeset 09076440571c in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=09076440571c author: chegar date: Wed Feb 06 11:36:19 2013 +0000 8007625: race with nested repos in /common/bin/hgforest.sh Reviewed-by: dholmes, ohair, ohrstrom changeset dcda915025f2 in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=dcda915025f2 author: mduigou date: Mon Apr 01 21:11:51 2013 -0700 8011178: improve common/bin/hgforest.sh python detection (MacOS) Reviewed-by: ohair changeset 159143926e11 in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=159143926e11 author: mduigou date: Tue Apr 02 14:56:19 2013 -0700 8011342: hgforest.sh : 'python --version' not supported on older python Reviewed-by: wetmore changeset dc4ec31fe96a in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=dc4ec31fe96a author: mduigou date: Wed Apr 03 16:26:10 2013 -0700 8011350: hgforest.sh uses non-POSIX sh features that may fail with some shells Reviewed-by: tbell, katleman, dholmes changeset 4c1899b8560d in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=4c1899b8560d author: mduigou date: Tue Sep 03 15:23:16 2013 -0700 8024200: handle hg wrapper with space after #! Reviewed-by: tbell changeset ff115bc0aa2b in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=ff115bc0aa2b author: mduigou date: Fri Oct 11 15:20:13 2013 -0700 8025796: hgforest.sh could trigger unbuffered output from hg without complicated machinations Reviewed-by: mduigou Contributed-by: Dmitry Samersoff changeset faceb8904d1b in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=faceb8904d1b author: aph date: Fri Apr 04 18:34:37 2014 +0100 Red Hat local: Fix for repo with path statting with / . changeset 13970e76b784 in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=13970e76b784 author: andrew date: Fri Apr 04 18:44:40 2014 +0100 Remove unused hgforest script diffstat: common/bin/hgforest.sh | 190 +++++++++++++++++++++++++++++++++++++++++++++++ get_source.sh | 4 +- make/scripts/hgforest.sh | 144 ----------------------------------- 3 files changed, 192 insertions(+), 146 deletions(-) diffs (356 lines): diff -r d1abda35e18d -r 13970e76b784 common/bin/hgforest.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/bin/hgforest.sh Fri Apr 04 18:44:40 2014 +0100 @@ -0,0 +1,190 @@ +#!/bin/sh + +# +# Copyright (c) 2009, 2013, 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 +# under the terms of the GNU General Public License version 2 only, as +# published by the Free Software Foundation. +# +# This code is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# version 2 for more details (a copy is included in the LICENSE file that +# accompanied this code). +# +# You should have received a copy of the GNU General Public License version +# 2 along with this work; if not, write to the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA +# or visit www.oracle.com if you need additional information or have any +# questions. +# + +# Shell script for a fast parallel forest command +command="$1" +pull_extra_base="$2" + +if [ "" = "$command" ] ; then + echo No command to hg supplied! + exit 1 +fi + +# Clean out the temporary directory that stores the pid files. +tmp=/tmp/forest.$$ +rm -f -r ${tmp} +mkdir -p ${tmp} + +safe_interrupt () { + if [ -d ${tmp} ]; then + if [ "`ls ${tmp}/*.pid`" != "" ]; then + echo "Waiting for processes ( `cat ${tmp}/*.pid | tr '\n' ' '`) to terminate nicely!" + sleep 1 + # Pipe stderr to dev/null to silence kill, that complains when trying to kill + # a subprocess that has already exited. + kill -TERM `cat ${tmp}/*.pid | tr '\n' ' '` 2> /dev/null + wait + echo Interrupt complete! + fi + fi + rm -f -r ${tmp} + exit 1 +} + +nice_exit () { + if [ -d ${tmp} ]; then + if [ "`ls ${tmp}`" != "" ]; then + wait + fi + fi + rm -f -r ${tmp} +} + +trap 'safe_interrupt' INT QUIT +trap 'nice_exit' EXIT + +# Only look in specific locations for possible forests (avoids long searches) +pull_default="" +repos="" +repos_extra="" +if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then + subrepos="corba jaxp jaxws langtools jdk hotspot" + if [ -f .hg/hgrc ] ; then + pull_default=`hg paths default` + if [ "${pull_default}" = "" ] ; then + echo "ERROR: Need initial clone with 'hg paths default' defined" + exit 1 + fi + fi + if [ "${pull_default}" = "" ] ; then + echo "ERROR: Need initial repository to use this script" + exit 1 + fi + for i in ${subrepos} ; do + if [ ! -f ${i}/.hg/hgrc ] ; then + repos="${repos} ${i}" + fi + done + if [ "${pull_extra_base}" != "" ] ; then + subrepos_extra="jdk/src/closed jdk/make/closed jdk/test/closed hotspot/make/closed hotspot/src/closed hotspot/test/closed deploy install sponsors pubs" + pull_default_tail=`echo ${pull_default} | sed -e 's@^.*://[^/]*/\(.*\)@\1@'` + pull_extra="${pull_extra_base}/${pull_default_tail}" + for i in ${subrepos_extra} ; do + if [ ! -f ${i}/.hg/hgrc ] ; then + repos_extra="${repos_extra} ${i}" + fi + done + fi + at_a_time=2 + # Any repos to deal with? + if [ "${repos}" = "" -a "${repos_extra}" = "" ] ; then + exit + fi +else + hgdirs=`ls -d ./.hg ./*/.hg ./*/*/.hg ./*/*/*/.hg ./*/*/*/*/.hg 2>/dev/null` + # Derive repository names from the .hg directory locations + for i in ${hgdirs} ; do + repos="${repos} `echo ${i} | sed -e 's@/.hg$@@'`" + done + for i in ${repos} ; do + if [ -h ${i}/.hg/store/lock -o -f ${i}/.hg/store/lock ] ; then + locked="${i} ${locked}" + fi + done + at_a_time=8 + # Any repos to deal with? + if [ "${repos}" = "" ] ; then + echo "No repositories to process." + exit + fi + if [ "${locked}" != "" ] ; then + echo "These repositories are locked: ${locked}" + exit + fi +fi + +# Echo out what repositories we do a command on. +echo "# Repositories: ${repos} ${repos_extra}" +echo + +# Run the supplied command on all repos in parallel. +n=0 +for i in ${repos} ${repos_extra} ; do + n=`expr ${n} '+' 1` + repopidfile=`echo ${i} | sed -e 's at ./@@' -e 's@/@_ at g'` + reponame=`echo ${i} | sed -e :a -e 's/^.\{1,20\}$/ &/;ta'` + pull_base="${pull_default}" + for j in $repos_extra ; do + if [ "$i" = "$j" ] ; then + pull_base="${pull_extra}" + fi + done + ( + ( + if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then + pull_newrepo="${pull_base}/${i}" + # pull_newrepo="`echo ${pull_base}/${i} | sed -e 's@\([^:]/\)//*@\1 at g'`" + echo hg clone ${pull_newrepo} ${i} + path="`dirname ${i}`" + if [ "${path}" != "." ] ; then + times=0 + while [ ! -d "${path}" ] ## nested repo, ensure containing dir exists + do + times=`expr ${times} '+' 1` + if [ `expr ${times} '%' 10` -eq 0 ] ; then + echo ${path} still not created, waiting... + fi + sleep 5 + done + fi + (PYTHONUNBUFFERED=true hg clone ${pull_newrepo} ${i}; echo "$?" > ${tmp}/${repopidfile}.pid.rc )& + else + echo "cd ${i} && hg $*" + cd ${i} && (PYTHONUNBUFFERED=true hg "$@"; echo "$?" > ${tmp}/${repopidfile}.pid.rc )& + fi + echo $! > ${tmp}/${repopidfile}.pid + ) 2>&1 | sed -e "s@^@${reponame}: @") & + + if [ `expr ${n} '%' ${at_a_time}` -eq 0 ] ; then + sleep 2 + echo Waiting 5 secs before spawning next background command. + sleep 3 + fi +done +# Wait for all hg commands to complete +wait + +# Terminate with exit 0 only if all subprocesses were successful +ec=0 +if [ -d ${tmp} ]; then + for rc in ${tmp}/*.pid.rc ; do + exit_code=`cat ${rc} | tr -d ' \n\r'` + if [ "${exit_code}" != "0" ] ; then + echo "WARNING: ${rc} exited abnormally." + ec=1 + fi + done +fi +exit ${ec} diff -r d1abda35e18d -r 13970e76b784 get_source.sh --- a/get_source.sh Wed Mar 26 16:02:33 2014 +0000 +++ b/get_source.sh Fri Apr 04 18:44:40 2014 +0100 @@ -26,8 +26,8 @@ # # Get clones of all nested repositories -sh ./make/scripts/hgforest.sh clone $* +sh ./common/bin/hgforest.sh clone "$@" || exit 1 # Update all existing repositories to the latest sources -sh ./make/scripts/hgforest.sh pull -u +sh ./common/bin/hgforest.sh pull -u diff -r d1abda35e18d -r 13970e76b784 make/scripts/hgforest.sh --- a/make/scripts/hgforest.sh Wed Mar 26 16:02:33 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,144 +0,0 @@ -#!/bin/sh - -# -# Copyright (c) 2009, 2012, 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 -# under the terms of the GNU General Public License version 2 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# version 2 for more details (a copy is included in the LICENSE file that -# accompanied this code). -# -# You should have received a copy of the GNU General Public License version -# 2 along with this work; if not, write to the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. -# -# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA -# or visit www.oracle.com if you need additional information or have any -# questions. -# - -# Shell script for a fast parallel forest command -command="$1" -pull_extra_base="$2" - -tmp=/tmp/forest.$$ -rm -f -r ${tmp} -mkdir -p ${tmp} - -# Remove tmp area on A. B. Normal termination -trap 'rm -f -r ${tmp}' KILL -trap 'rm -f -r ${tmp}' EXIT - -# Only look in specific locations for possible forests (avoids long searches) -pull_default="" -repos="" -repos_extra="" -if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then - subrepos="corba jaxp jaxws langtools jdk hotspot" - if [ -f .hg/hgrc ] ; then - pull_default=`hg paths default` - if [ "${pull_default}" = "" ] ; then - echo "ERROR: Need initial clone with 'hg paths default' defined" - exit 1 - fi - fi - if [ "${pull_default}" = "" ] ; then - echo "ERROR: Need initial repository to use this script" - exit 1 - fi - for i in ${subrepos} ; do - if [ ! -f ${i}/.hg/hgrc ] ; then - repos="${repos} ${i}" - fi - done - if [ "${pull_extra_base}" != "" ] ; then - subrepos_extra="jdk/src/closed jdk/make/closed jdk/test/closed hotspot/make/closed hotspot/src/closed hotspot/test/closed deploy install sponsors pubs" - pull_default_tail=`echo ${pull_default} | sed -e 's@^.*://[^/]*/\(.*\)@\1@'` - pull_extra="${pull_extra_base}/${pull_default_tail}" - for i in ${subrepos_extra} ; do - if [ ! -f ${i}/.hg/hgrc ] ; then - repos_extra="${repos_extra} ${i}" - fi - done - fi - at_a_time=2 - # Any repos to deal with? - if [ "${repos}" = "" -a "${repos_extra}" = "" ] ; then - echo "No repositories to clone." - exit - fi -else - hgdirs=`ls -d ./.hg ./*/.hg ./*/*/.hg ./*/*/*/.hg ./*/*/*/*/.hg 2>/dev/null` - # Derive repository names from the .hg directory locations - for i in ${hgdirs} ; do - repos="${repos} `echo ${i} | sed -e 's@/.hg$@@'`" - done - at_a_time=8 - # Any repos to deal with? - if [ "${repos}" = "" ] ; then - echo "No repositories to process." - exit - fi -fi - -# Echo out what repositories we will clone -echo "# Repos: ${repos} ${repos_extra}" - -# Run the supplied command on all repos in parallel, save output until end -n=0 -for i in ${repos} ; do - echo "Starting on ${i}" - n=`expr ${n} '+' 1` - ( - ( - if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then - pull_newrepo="`echo ${pull_default}/${i} | sed -e 's@\([^:]/\)//*@\1 at g'`" - cline="hg clone ${pull_newrepo} ${i}" - echo "# ${cline}" - ( eval "${cline}" ) - else - cline="hg $*" - echo "# cd ${i} && ${cline}" - ( cd ${i} && eval "${cline}" ) - fi - echo "# exit code $?" - ) > ${tmp}/repo.${n} 2>&1 ; cat ${tmp}/repo.${n} ) & - if [ `expr ${n} '%' ${at_a_time}` -eq 0 ] ; then - sleep 5 - fi -done -# Wait for all hg commands to complete -wait - -if [ "${repos_extra}" != "" ] ; then - for i in ${repos_extra} ; do - echo "Starting on ${i}" - n=`expr ${n} '+' 1` - ( - ( - pull_newextrarepo="`echo ${pull_extra}/${i} | sed -e 's@\([^:]/\)//*@\1 at g'`" - cline="hg clone ${pull_newextrarepo} ${i}" - echo "# ${cline}" - ( eval "${cline}" ) - echo "# exit code $?" - ) > ${tmp}/repo.${n} 2>&1 ; cat ${tmp}/repo.${n} ) & - if [ `expr ${n} '%' ${at_a_time}` -eq 0 ] ; then - sleep 5 - fi - done - # Wait for all hg commands to complete - wait -fi - -# Cleanup -rm -f -r ${tmp} - -# Terminate with exit 0 all the time (hard to know when to say "failed") -exit 0 - From andrew at icedtea.classpath.org Tue Apr 15 20:50:08 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 15 Apr 2014 20:50:08 +0000 Subject: /hg/release/icedtea7-forest-2.4/corba: 8025005: Enhance CORBA in... Message-ID: changeset e6ad5b912691 in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=e6ad5b912691 author: msheppar date: Tue Jan 21 12:46:58 2014 +0000 8025005: Enhance CORBA initializations Summary: restructure ORB.init() processing flow. Reviewed-by: alanb, coffeys, skoivu diffstat: src/share/classes/com/sun/corba/se/impl/io/ObjectStreamClass.java | 126 +++------ src/share/classes/com/sun/corba/se/impl/orbutil/ObjectStreamClassUtil_1_3.java | 19 +- src/share/classes/com/sun/corba/se/impl/orbutil/ObjectStreamClass_1_3_1.java | 69 ++--- src/share/classes/org/omg/CORBA/ORB.java | 34 ++- 4 files changed, 105 insertions(+), 143 deletions(-) diffs (truncated from 780 to 500 lines): diff -r 83199e0b01cf -r e6ad5b912691 src/share/classes/com/sun/corba/se/impl/io/ObjectStreamClass.java --- a/src/share/classes/com/sun/corba/se/impl/io/ObjectStreamClass.java Wed Mar 26 16:03:42 2014 +0000 +++ b/src/share/classes/com/sun/corba/se/impl/io/ObjectStreamClass.java Tue Jan 21 12:46:58 2014 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 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 @@ -52,6 +52,7 @@ import java.io.DataOutputStream; import java.io.ByteArrayOutputStream; import java.io.InvalidClassException; +import java.io.Externalizable; import java.io.Serializable; import java.util.Arrays; @@ -82,15 +83,15 @@ public static final long kDefaultUID = -1; private static Object noArgsList[] = {}; - private static Class noTypesList[] = {}; + private static Class noTypesList[] = {}; /** true if represents enum type */ private boolean isEnum; private static final Bridge bridge = - (Bridge)AccessController.doPrivileged( - new PrivilegedAction() { - public Object run() { + AccessController.doPrivileged( + new PrivilegedAction() { + public Bridge run() { return Bridge.get() ; } } @@ -100,7 +101,7 @@ * is returned if the specified class does not implement * java.io.Serializable or java.io.Externalizable. */ - static final ObjectStreamClass lookup(Class cl) + static final ObjectStreamClass lookup(Class cl) { ObjectStreamClass desc = lookupInternal(cl); if (desc.isSerializable() || desc.isExternalizable()) @@ -112,7 +113,7 @@ * Find the class descriptor for the specified class. * Package access only so it can be called from ObjectIn/OutStream. */ - static ObjectStreamClass lookupInternal(Class cl) + static ObjectStreamClass lookupInternal(Class cl) { /* Synchronize on the hashtable so no two threads will do * this at the same time. @@ -123,14 +124,14 @@ desc = findDescriptorFor(cl); if (desc == null) { /* Check if it's serializable */ - boolean serializable = classSerializable.isAssignableFrom(cl); + boolean serializable = Serializable.class.isAssignableFrom(cl); /* If the class is only Serializable, * lookup the descriptor for the superclass. */ ObjectStreamClass superdesc = null; if (serializable) { - Class superclass = cl.getSuperclass(); + Class superclass = cl.getSuperclass(); if (superclass != null) superdesc = lookup(superclass); } @@ -143,7 +144,7 @@ if (serializable) { externalizable = ((superdesc != null) && superdesc.isExternalizable()) || - classExternalizable.isAssignableFrom(cl); + Externalizable.class.isAssignableFrom(cl); if (externalizable) { serializable = false; } @@ -187,7 +188,7 @@ * that have evolved from a common root class and agree to be serialized * and deserialized using a common format. */ - public static final long getSerialVersionUID( java.lang.Class clazz) { + public static final long getSerialVersionUID( java.lang.Class clazz) { ObjectStreamClass theosc = ObjectStreamClass.lookup( clazz ); if( theosc != null ) { @@ -221,7 +222,7 @@ /** * Return the actual (computed) serialVersionUID for this class. */ - public static final long getActualSerialVersionUID( java.lang.Class clazz ) + public static final long getActualSerialVersionUID( java.lang.Class clazz ) { ObjectStreamClass theosc = ObjectStreamClass.lookup( clazz ); if( theosc != null ) @@ -251,7 +252,7 @@ * Return the class in the local VM that this version is mapped to. * Null is returned if there is no corresponding local class. */ - public final Class forClass() { + public final Class forClass() { return ofClass; } @@ -351,7 +352,7 @@ * Create a new ObjectStreamClass from a loaded class. * Don't call this directly, call lookup instead. */ - private ObjectStreamClass(java.lang.Class cl, ObjectStreamClass superdesc, + private ObjectStreamClass(java.lang.Class cl, ObjectStreamClass superdesc, boolean serial, boolean extern) { ofClass = cl; /* created from this class */ @@ -390,7 +391,7 @@ PersistentFieldsValue() { } - ObjectStreamField[] get(Class type) { + ObjectStreamField[] get(Class type) { Object value = map.get(type); if (value == null) { value = computeValue(type); @@ -448,7 +449,7 @@ if (initialized) return; - final Class cl = ofClass; + final Class cl = ofClass; if (!serializable || externalizable || @@ -576,9 +577,9 @@ * will call it as necessary. */ writeObjectMethod = getPrivateMethod( cl, "writeObject", - new Class[] { java.io.ObjectOutputStream.class }, Void.TYPE ) ; + new Class[] { java.io.ObjectOutputStream.class }, Void.TYPE ) ; readObjectMethod = getPrivateMethod( cl, "readObject", - new Class[] { java.io.ObjectInputStream.class }, Void.TYPE ) ; + new Class[] { java.io.ObjectInputStream.class }, Void.TYPE ) ; } return null; } @@ -604,9 +605,9 @@ * class, or null if none found. Access checks are disabled on the * returned method (if any). */ - private static Method getPrivateMethod(Class cl, String name, - Class[] argTypes, - Class returnType) + private static Method getPrivateMethod(Class cl, String name, + Class[] argTypes, + Class returnType) { try { Method meth = cl.getDeclaredMethod(name, argTypes); @@ -667,7 +668,7 @@ * Fill in the reflected Fields that will be used * for reading. */ - final void setClass(Class cl) throws InvalidClassException { + final void setClass(Class cl) throws InvalidClassException { if (cl == null) { localClassDesc = null; @@ -934,9 +935,9 @@ * Access checks are disabled on the returned constructor (if any), since * the defining class may still be non-public. */ - private static Constructor getExternalizableConstructor(Class cl) { + private static Constructor getExternalizableConstructor(Class cl) { try { - Constructor cons = cl.getDeclaredConstructor(new Class[0]); + Constructor cons = cl.getDeclaredConstructor(new Class[0]); cons.setAccessible(true); return ((cons.getModifiers() & Modifier.PUBLIC) != 0) ? cons : null; @@ -950,15 +951,15 @@ * superclass, or null if none found. Access checks are disabled on the * returned constructor (if any). */ - private static Constructor getSerializableConstructor(Class cl) { - Class initCl = cl; + private static Constructor getSerializableConstructor(Class cl) { + Class initCl = cl; while (Serializable.class.isAssignableFrom(initCl)) { if ((initCl = initCl.getSuperclass()) == null) { return null; } } try { - Constructor cons = initCl.getDeclaredConstructor(new Class[0]); + Constructor cons = initCl.getDeclaredConstructor(new Class[0]); int mods = cons.getModifiers(); if ((mods & Modifier.PRIVATE) != 0 || ((mods & (Modifier.PUBLIC | Modifier.PROTECTED)) == 0 && @@ -1063,7 +1064,7 @@ * items to the hash accumulating in the digest stream. * Fold the hash into a long. Use the SHA secure hash function. */ - private static long _computeSerialVersionUID(Class cl) { + private static long _computeSerialVersionUID(Class cl) { if (DEBUG_SVUID) msg( "Computing SerialVersionUID for " + cl ) ; ByteArrayOutputStream devnull = new ByteArrayOutputStream(512); @@ -1117,7 +1118,7 @@ * them from its computation. */ - Class interfaces[] = cl.getInterfaces(); + Class interfaces[] = cl.getInterfaces(); Arrays.sort(interfaces, compareClassByName); for (int i = 0; i < interfaces.length; i++) { @@ -1247,7 +1248,7 @@ return h; } - private static long computeStructuralUID(com.sun.corba.se.impl.io.ObjectStreamClass osc, Class cl) { + private static long computeStructuralUID(com.sun.corba.se.impl.io.ObjectStreamClass osc, Class cl) { ByteArrayOutputStream devnull = new ByteArrayOutputStream(512); long h = 0; @@ -1267,7 +1268,7 @@ DataOutputStream data = new DataOutputStream(mdo); // Get SUID of parent - Class parent = cl.getSuperclass(); + Class parent = cl.getSuperclass(); if ((parent != null)) // SerialBug 1; acc. to spec the one for // java.lang.object @@ -1323,10 +1324,10 @@ /** * Compute the JVM signature for the class. */ - static String getSignature(Class clazz) { + static String getSignature(Class clazz) { String type = null; if (clazz.isArray()) { - Class cl = clazz; + Class cl = clazz; int dimensions = 0; while (cl.isArray()) { dimensions++; @@ -1372,7 +1373,7 @@ sb.append("("); - Class[] params = meth.getParameterTypes(); // avoid clone + Class[] params = meth.getParameterTypes(); // avoid clone for (int j = 0; j < params.length; j++) { sb.append(getSignature(params[j])); } @@ -1389,7 +1390,7 @@ sb.append("("); - Class[] params = cons.getParameterTypes(); // avoid clone + Class[] params = cons.getParameterTypes(); // avoid clone for (int j = 0; j < params.length; j++) { sb.append(getSignature(params[j])); } @@ -1409,7 +1410,7 @@ * The entries are extended from java.lang.ref.SoftReference so the * gc will be able to free them if needed. */ - private static ObjectStreamClass findDescriptorFor(Class cl) { + private static ObjectStreamClass findDescriptorFor(Class cl) { int hash = cl.hashCode(); int index = (hash & 0x7FFFFFFF) % descriptorFor.length; @@ -1456,7 +1457,7 @@ descriptorFor[index] = e; } - private static Field[] getDeclaredFields(final Class clz) { + private static Field[] getDeclaredFields(final Class clz) { return (Field[]) AccessController.doPrivileged(new PrivilegedAction() { public Object run() { return clz.getDeclaredFields(); @@ -1490,7 +1491,7 @@ /* * Class that is a descriptor for in this virtual machine. */ - private Class ofClass; + private Class ofClass; /* * True if descriptor for a proxy class. @@ -1562,30 +1563,17 @@ * Returns true if the given class defines a static initializer method, * false otherwise. */ - private static boolean hasStaticInitializer(Class cl) { + private static boolean hasStaticInitializer(Class cl) { if (hasStaticInitializerMethod == null) { - Class classWithThisMethod = null; + Class classWithThisMethod = null; try { - try { - // When using rip-int with Merlin or when this is a Merlin - // workspace, the method we want is in sun.misc.ClassReflector - // and absent from java.io.ObjectStreamClass. - // - // When compiling rip-int with JDK 1.3.x, we have to get it - // from java.io.ObjectStreamClass. - classWithThisMethod = Class.forName("sun.misc.ClassReflector"); - } catch (ClassNotFoundException cnfe) { - // Do nothing. This is either not a Merlin workspace, - // or rip-int is being compiled with something other than - // Merlin, probably JDK 1.3. Fall back on java.io.ObjectStreaClass. - } if (classWithThisMethod == null) classWithThisMethod = java.io.ObjectStreamClass.class; hasStaticInitializerMethod = classWithThisMethod.getDeclaredMethod("hasStaticInitializer", - new Class[] { Class.class }); + new Class[] { Class.class }); } catch (NoSuchMethodException ex) { } @@ -1610,22 +1598,6 @@ } - /* The Class Object for java.io.Serializable */ - private static Class classSerializable = null; - private static Class classExternalizable = null; - - /* - * Resolve java.io.Serializable at load time. - */ - static { - try { - classSerializable = Class.forName("java.io.Serializable"); - classExternalizable = Class.forName("java.io.Externalizable"); - } catch (Throwable e) { - System.err.println("Could not load java.io.Serializable or java.io.Externalizable."); - } - } - /** use serialVersionUID from JDK 1.1. for interoperability */ private static final long serialVersionUID = -6120832682080437368L; @@ -1663,8 +1635,8 @@ private static class CompareClassByName implements Comparator { public int compare(Object o1, Object o2) { - Class c1 = (Class)o1; - Class c2 = (Class)o2; + Class c1 = (Class)o1; + Class c2 = (Class)o2; return (c1.getName()).compareTo(c2.getName()); } } @@ -1778,12 +1750,12 @@ * * Copied from the Merlin java.io.ObjectStreamClass. */ - private static Method getInheritableMethod(Class cl, String name, - Class[] argTypes, - Class returnType) + private static Method getInheritableMethod(Class cl, String name, + Class[] argTypes, + Class returnType) { Method meth = null; - Class defCl = cl; + Class defCl = cl; while (defCl != null) { try { meth = defCl.getDeclaredMethod(name, argTypes); @@ -1815,7 +1787,7 @@ * * Copied from the Merlin java.io.ObjectStreamClass. */ - private static boolean packageEquals(Class cl1, Class cl2) { + private static boolean packageEquals(Class cl1, Class cl2) { Package pkg1 = cl1.getPackage(), pkg2 = cl2.getPackage(); return ((pkg1 == pkg2) || ((pkg1 != null) && (pkg1.equals(pkg2)))); } diff -r 83199e0b01cf -r e6ad5b912691 src/share/classes/com/sun/corba/se/impl/orbutil/ObjectStreamClassUtil_1_3.java --- a/src/share/classes/com/sun/corba/se/impl/orbutil/ObjectStreamClassUtil_1_3.java Wed Mar 26 16:03:42 2014 +0000 +++ b/src/share/classes/com/sun/corba/se/impl/orbutil/ObjectStreamClassUtil_1_3.java Tue Jan 21 12:46:58 2014 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2002, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 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 @@ -94,7 +94,7 @@ }); } - public static long computeStructuralUID(boolean hasWriteObject, Class cl) { + public static long computeStructuralUID(boolean hasWriteObject, Class cl) { ByteArrayOutputStream devnull = new ByteArrayOutputStream(512); long h = 0; @@ -119,7 +119,7 @@ // Object method in there // Get SUID of parent - Class parent = cl.getSuperclass(); + Class parent = cl.getSuperclass(); if ((parent != null) && (parent != java.lang.Object.class)) { boolean hasWriteObjectFlag = false; Class [] args = {java.io.ObjectOutputStream.class}; @@ -503,19 +503,6 @@ Class classWithThisMethod = null; try { - try { - // When using rip-int with Merlin or when this is a Merlin - // workspace, the method we want is in sun.misc.ClassReflector - // and absent from java.io.ObjectStreamClass. - // - // When compiling rip-int with JDK 1.3.x, we have to get it - // from java.io.ObjectStreamClass. - classWithThisMethod = Class.forName("sun.misc.ClassReflector"); - } catch (ClassNotFoundException cnfe) { - // Do nothing. This is either not a Merlin workspace, - // or rip-int is being compiled with something other than - // Merlin, probably JDK 1.3. Fall back on java.io.ObjectStreaClass. - } if (classWithThisMethod == null) classWithThisMethod = java.io.ObjectStreamClass.class; diff -r 83199e0b01cf -r e6ad5b912691 src/share/classes/com/sun/corba/se/impl/orbutil/ObjectStreamClass_1_3_1.java --- a/src/share/classes/com/sun/corba/se/impl/orbutil/ObjectStreamClass_1_3_1.java Wed Mar 26 16:03:42 2014 +0000 +++ b/src/share/classes/com/sun/corba/se/impl/orbutil/ObjectStreamClass_1_3_1.java Tue Jan 21 12:46:58 2014 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 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 @@ -53,6 +53,7 @@ import java.io.ByteArrayOutputStream; import java.io.InvalidClassException; import java.io.Serializable; +import java.io.Externalizable; import java.util.Arrays; import java.util.Comparator; @@ -88,7 +89,7 @@ public static final long kDefaultUID = -1; private static Object noArgsList[] = {}; - private static Class noTypesList[] = {}; + private static Class noTypesList[] = {}; private static Hashtable translatedFields; @@ -96,7 +97,7 @@ * is returned if the specified class does not implement * java.io.Serializable or java.io.Externalizable. */ - static final ObjectStreamClass_1_3_1 lookup(Class cl) + static final ObjectStreamClass_1_3_1 lookup(Class cl) { ObjectStreamClass_1_3_1 desc = lookupInternal(cl); if (desc.isSerializable() || desc.isExternalizable()) @@ -108,7 +109,7 @@ * Find the class descriptor for the specified class. * Package access only so it can be called from ObjectIn/OutStream. */ - static ObjectStreamClass_1_3_1 lookupInternal(Class cl) + static ObjectStreamClass_1_3_1 lookupInternal(Class cl) { /* Synchronize on the hashtable so no two threads will do * this at the same time. @@ -122,13 +123,13 @@ } /* Check if it's serializable */ - boolean serializable = classSerializable.isAssignableFrom(cl); + boolean serializable = Serializable.class.isAssignableFrom(cl); /* If the class is only Serializable, * lookup the descriptor for the superclass. */ ObjectStreamClass_1_3_1 superdesc = null; if (serializable) { - Class superclass = cl.getSuperclass(); + Class superclass = cl.getSuperclass(); if (superclass != null) superdesc = lookup(superclass); } @@ -141,7 +142,7 @@ if (serializable) { From andrew at icedtea.classpath.org Tue Apr 15 20:50:14 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 15 Apr 2014 20:50:14 +0000 Subject: /hg/release/icedtea7-forest-2.4/jaxp: 2 new changesets Message-ID: changeset 9c07ba84aaa3 in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=9c07ba84aaa3 author: aefimov date: Mon Jan 13 19:07:53 2014 +0400 8029282: Enhance CharInfo set up Reviewed-by: joehw changeset 94b7e8e0d96f in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=94b7e8e0d96f author: aefimov date: Thu Jan 16 12:56:28 2014 +0400 8031330: Refactor ObjectFactory Reviewed-by: joehw diffstat: src/com/sun/org/apache/xalan/internal/utils/ObjectFactory.java | 25 +- src/com/sun/org/apache/xalan/internal/utils/SecuritySupport.java | 2 +- src/com/sun/org/apache/xerces/internal/utils/ObjectFactory.java | 14 +- src/com/sun/org/apache/xml/internal/serializer/CharInfo.java | 125 ++++----- src/com/sun/org/apache/xml/internal/serializer/ToHTMLStream.java | 2 +- src/com/sun/org/apache/xml/internal/serializer/ToXMLStream.java | 2 +- 6 files changed, 77 insertions(+), 93 deletions(-) diffs (353 lines): diff -r 076644826249 -r 94b7e8e0d96f src/com/sun/org/apache/xalan/internal/utils/ObjectFactory.java --- a/src/com/sun/org/apache/xalan/internal/utils/ObjectFactory.java Wed Mar 26 16:03:42 2014 +0000 +++ b/src/com/sun/org/apache/xalan/internal/utils/ObjectFactory.java Thu Jan 16 12:56:28 2014 +0400 @@ -54,8 +54,8 @@ // // Constants // - private static final String XALAN_INTERNAL = "com.sun.org.apache.xalan.internal"; - private static final String XERCES_INTERNAL = "com.sun.org.apache.xerces.internal"; + private static final String JAXP_INTERNAL = "com.sun.org.apache"; + private static final String STAX_INTERNAL = "com.sun.xml.internal"; // name of default properties file to look for in JDK's jre/lib directory private static final String DEFAULT_PROPERTIES_FILENAME = @@ -497,12 +497,8 @@ public static Class findProviderClass(String className, boolean doFallback) throws ClassNotFoundException, ConfigurationError { - if (System.getSecurityManager()!=null) { - return Class.forName(className); - } else { - return findProviderClass (className, + return findProviderClass (className, findClassLoader (), doFallback); - } } /** @@ -517,8 +513,8 @@ SecurityManager security = System.getSecurityManager(); try{ if (security != null){ - if (className.startsWith(XALAN_INTERNAL) || - className.startsWith(XERCES_INTERNAL)) { + if (className.startsWith(JAXP_INTERNAL) || + className.startsWith(STAX_INTERNAL)) { cl = null; } else { final int lastDot = className.lastIndexOf("."); @@ -533,16 +529,7 @@ Class providerClass; if (cl == null) { - // XXX Use the bootstrap ClassLoader. There is no way to - // load a class using the bootstrap ClassLoader that works - // in both JDK 1.1 and Java 2. However, this should still - // work b/c the following should be true: - // - // (cl == null) iff current ClassLoader == null - // - // Thus Class.forName(String) will use the current - // ClassLoader which will be the bootstrap ClassLoader. - providerClass = Class.forName(className); + providerClass = Class.forName(className, false, ObjectFactory.class.getClassLoader()); } else { try { providerClass = cl.loadClass(className); diff -r 076644826249 -r 94b7e8e0d96f src/com/sun/org/apache/xalan/internal/utils/SecuritySupport.java --- a/src/com/sun/org/apache/xalan/internal/utils/SecuritySupport.java Wed Mar 26 16:03:42 2014 +0000 +++ b/src/com/sun/org/apache/xalan/internal/utils/SecuritySupport.java Thu Jan 16 12:56:28 2014 +0400 @@ -57,7 +57,7 @@ return securitySupport; } - static ClassLoader getContextClassLoader() { + public static ClassLoader getContextClassLoader() { return (ClassLoader) AccessController.doPrivileged(new PrivilegedAction() { public Object run() { ClassLoader cl = null; diff -r 076644826249 -r 94b7e8e0d96f src/com/sun/org/apache/xerces/internal/utils/ObjectFactory.java --- a/src/com/sun/org/apache/xerces/internal/utils/ObjectFactory.java Wed Mar 26 16:03:42 2014 +0000 +++ b/src/com/sun/org/apache/xerces/internal/utils/ObjectFactory.java Thu Jan 16 12:56:28 2014 +0400 @@ -48,7 +48,8 @@ // // Constants // - private static final String DEFAULT_INTERNAL_CLASSES = "com.sun.org.apache."; + private static final String JAXP_INTERNAL = "com.sun.org.apache"; + private static final String STAX_INTERNAL = "com.sun.xml.internal"; // name of default properties file to look for in JDK's jre/lib directory private static final String DEFAULT_PROPERTIES_FILENAME = "xerces.properties"; @@ -288,12 +289,8 @@ public static Class findProviderClass(String className, boolean doFallback) throws ClassNotFoundException, ConfigurationError { - if (System.getSecurityManager()!=null) { - return Class.forName(className); - } else { - return findProviderClass (className, + return findProviderClass (className, findClassLoader (), doFallback); - } } /** * Find a Class using the specified ClassLoader @@ -306,7 +303,8 @@ //restrict the access to package as speicified in java.security policy SecurityManager security = System.getSecurityManager(); if (security != null) { - if (className.startsWith(DEFAULT_INTERNAL_CLASSES)) { + if (className.startsWith(JAXP_INTERNAL) || + className.startsWith(STAX_INTERNAL)) { cl = null; } else { final int lastDot = className.lastIndexOf("."); @@ -318,7 +316,7 @@ Class providerClass; if (cl == null) { //use the bootstrap ClassLoader. - providerClass = Class.forName(className); + providerClass = Class.forName(className, false, ObjectFactory.class.getClassLoader()); } else { try { providerClass = cl.loadClass(className); diff -r 076644826249 -r 94b7e8e0d96f src/com/sun/org/apache/xml/internal/serializer/CharInfo.java --- a/src/com/sun/org/apache/xml/internal/serializer/CharInfo.java Wed Mar 26 16:03:42 2014 +0000 +++ b/src/com/sun/org/apache/xml/internal/serializer/CharInfo.java Thu Jan 16 12:56:28 2014 +0400 @@ -22,6 +22,11 @@ */ package com.sun.org.apache.xml.internal.serializer; +import com.sun.org.apache.xalan.internal.utils.SecuritySupport; +import com.sun.org.apache.xml.internal.serializer.utils.MsgKey; +import com.sun.org.apache.xml.internal.serializer.utils.SystemIDResolver; +import com.sun.org.apache.xml.internal.serializer.utils.Utils; +import com.sun.org.apache.xml.internal.serializer.utils.WrappedRuntimeException; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; @@ -29,19 +34,11 @@ import java.net.URL; import java.util.Enumeration; import java.util.HashMap; +import java.util.Locale; import java.util.PropertyResourceBundle; import java.util.ResourceBundle; -import java.security.AccessController; -import java.security.PrivilegedAction; - import javax.xml.transform.TransformerException; -import com.sun.org.apache.xml.internal.serializer.utils.MsgKey; -import com.sun.org.apache.xml.internal.serializer.utils.SystemIDResolver; -import com.sun.org.apache.xml.internal.serializer.utils.Utils; -import com.sun.org.apache.xml.internal.serializer.utils.WrappedRuntimeException; -import com.sun.org.apache.xalan.internal.utils.ObjectFactory; - /** * This class provides services that tell if a character should have * special treatement, such as entity reference substitution or normalization @@ -176,13 +173,19 @@ // file // 3) try treating the resource a URI - if (internal) { - try { + try { + if (internal) { // Load entity property files by using PropertyResourceBundle, // cause of security issure for applets entities = PropertyResourceBundle.getBundle(entitiesResource); - } catch (Exception e) {} - } + } else { + ClassLoader cl = SecuritySupport.getContextClassLoader(); + if (cl != null) { + entities = PropertyResourceBundle.getBundle(entitiesResource, + Locale.getDefault(), cl); + } + } + } catch (Exception e) {} if (entities != null) { Enumeration keys = entities.getKeys(); @@ -198,6 +201,7 @@ set(S_CARRIAGERETURN); } else { InputStream is = null; + String err = null; // Load user specified resource file by using URL loading, it // requires a valid URI as parameter @@ -205,18 +209,22 @@ if (internal) { is = CharInfo.class.getResourceAsStream(entitiesResource); } else { - ClassLoader cl = ObjectFactory.findClassLoader(); - if (cl == null) { - is = ClassLoader.getSystemResourceAsStream(entitiesResource); - } else { - is = cl.getResourceAsStream(entitiesResource); + ClassLoader cl = SecuritySupport.getContextClassLoader(); + if (cl != null) { + try { + is = cl.getResourceAsStream(entitiesResource); + } catch (Exception e) { + err = e.getMessage(); + } } if (is == null) { try { URL url = new URL(entitiesResource); is = url.openStream(); - } catch (Exception e) {} + } catch (Exception e) { + err = e.getMessage(); + } } } @@ -224,7 +232,7 @@ throw new RuntimeException( Utils.messages.createMessage( MsgKey.ER_RESOURCE_COULD_NOT_FIND, - new Object[] {entitiesResource, entitiesResource})); + new Object[] {entitiesResource, err})); } // Fix Bugzilla#4000: force reading in UTF-8 @@ -456,64 +464,56 @@ return isCleanTextASCII[value]; } -// In the future one might want to use the array directly and avoid -// the method call, but I think the JIT alreay inlines this well enough -// so don't do it (for now) - bjm -// public final boolean[] getASCIIClean() -// { -// return isCleanTextASCII; -// } + /** + * Read an internal resource file that describes the mapping of + * characters to entity references; Construct a CharInfo object. + * + * @param entitiesFileName Name of entities resource file that should + * be loaded, which describes the mapping of characters to entity references. + * @param method the output method type, which should be one of "xml", "html", and "text". + * @return an instance of CharInfo + * + * @xsl.usage internal + */ + static CharInfo getCharInfoInternal(String entitiesFileName, String method) + { + CharInfo charInfo = (CharInfo) m_getCharInfoCache.get(entitiesFileName); + if (charInfo != null) { + return charInfo; + } - private static CharInfo getCharInfoBasedOnPrivilege( - final String entitiesFileName, final String method, - final boolean internal){ - return (CharInfo) AccessController.doPrivileged( - new PrivilegedAction() { - public Object run() { - return new CharInfo(entitiesFileName, - method, internal);} - }); + charInfo = new CharInfo(entitiesFileName, method, true); + m_getCharInfoCache.put(entitiesFileName, charInfo); + return charInfo; } /** - * Factory that reads in a resource file that describes the mapping of - * characters to entity references. + * Constructs a CharInfo object using the following process to try reading + * the entitiesFileName parameter: * - * Resource files must be encoded in UTF-8 and have a format like: + * 1) attempt to load it as a ResourceBundle + * 2) try using the class loader to find the specified file + * 3) try opening it as an URI + * + * In case of 2 and 3, the resource file must be encoded in UTF-8 and have the + * following format: *
      * # First char # is a comment
      * Entity numericValue
      * quot 34
      * amp 38
      * 
- * (Note: Why don't we just switch to .properties files? Oct-01 -sc) * - * @param entitiesResource Name of entities resource file that should - * be loaded, which describes that mapping of characters to entity references. - * @param method the output method type, which should be one of "xml", "html", "text"... - * - * @xsl.usage internal + * @param entitiesFileName Name of entities resource file that should + * be loaded, which describes the mapping of characters to entity references. + * @param method the output method type, which should be one of "xml", "html", and "text". + * @return an instance of CharInfo */ static CharInfo getCharInfo(String entitiesFileName, String method) { - CharInfo charInfo = (CharInfo) m_getCharInfoCache.get(entitiesFileName); - if (charInfo != null) { - return charInfo; - } - - // try to load it internally - cache try { - charInfo = getCharInfoBasedOnPrivilege(entitiesFileName, - method, true); - m_getCharInfoCache.put(entitiesFileName, charInfo); - return charInfo; - } catch (Exception e) {} - - // try to load it externally - do not cache - try { - return getCharInfoBasedOnPrivilege(entitiesFileName, - method, false); + return new CharInfo(entitiesFileName, method, false); } catch (Exception e) {} String absoluteEntitiesFileName; @@ -530,8 +530,7 @@ } } - return getCharInfoBasedOnPrivilege(entitiesFileName, - method, false); + return new CharInfo(absoluteEntitiesFileName, method, false); } /** Table of user-specified char infos. */ diff -r 076644826249 -r 94b7e8e0d96f src/com/sun/org/apache/xml/internal/serializer/ToHTMLStream.java --- a/src/com/sun/org/apache/xml/internal/serializer/ToHTMLStream.java Wed Mar 26 16:03:42 2014 +0000 +++ b/src/com/sun/org/apache/xml/internal/serializer/ToHTMLStream.java Thu Jan 16 12:56:28 2014 +0400 @@ -60,7 +60,7 @@ */ private static final CharInfo m_htmlcharInfo = // new CharInfo(CharInfo.HTML_ENTITIES_RESOURCE); - CharInfo.getCharInfo(CharInfo.HTML_ENTITIES_RESOURCE, Method.HTML); + CharInfo.getCharInfoInternal(CharInfo.HTML_ENTITIES_RESOURCE, Method.HTML); /** A digital search trie for fast, case insensitive lookup of ElemDesc objects. */ static final Trie m_elementFlags = new Trie(); diff -r 076644826249 -r 94b7e8e0d96f src/com/sun/org/apache/xml/internal/serializer/ToXMLStream.java --- a/src/com/sun/org/apache/xml/internal/serializer/ToXMLStream.java Wed Mar 26 16:03:42 2014 +0000 +++ b/src/com/sun/org/apache/xml/internal/serializer/ToXMLStream.java Thu Jan 16 12:56:28 2014 +0400 @@ -58,7 +58,7 @@ */ private static CharInfo m_xmlcharInfo = // new CharInfo(CharInfo.XML_ENTITIES_RESOURCE); - CharInfo.getCharInfo(CharInfo.XML_ENTITIES_RESOURCE, Method.XML); + CharInfo.getCharInfoInternal(CharInfo.XML_ENTITIES_RESOURCE, Method.XML); /** * Default constructor. From andrew at icedtea.classpath.org Tue Apr 15 20:50:22 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 15 Apr 2014 20:50:22 +0000 Subject: /hg/release/icedtea7-forest-2.4/jaxws: 5 new changesets Message-ID: changeset 45a5daf8e5f5 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=45a5daf8e5f5 author: mkos date: Thu Feb 13 18:20:10 2014 +0100 8025030: Enhance stream handling Summary: Avoiding caching data initialized via TCCL in static context; fix also reviewed by Iaroslav Savytskyi, Alexander Fomin Reviewed-by: ahgross, mgrebac, skoivu changeset 8cc8b2723913 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=8cc8b2723913 author: mkos date: Tue Nov 12 11:22:53 2013 +0100 8025152: Enhance activation set up Summary: fix also reviewed by Alexander Fomin Reviewed-by: dfuchs, hawtin Contributed-by: bill.shannon at oracle.com changeset e48f6c97d9e0 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=e48f6c97d9e0 author: mkos date: Mon Feb 17 13:32:02 2014 -0800 8026188: Enhance envelope factory Summary: Avoiding caching data initialized via TCCL in static context; fix also reviewed by Alexander Fomin Reviewed-by: ahgross, mgrebac, skoivu changeset f63e9e536eb7 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=f63e9e536eb7 author: mkos date: Thu Feb 06 11:06:01 2014 +0100 8026801: Enhance endpoint addressing Summary: Caching data initialized via TCCL in static context; fix also reviewed by Iaroslav Savytskyi, Alexander Fomin Reviewed-by: ahgross, mgrebac, skoivu changeset bd9a50a78d04 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=bd9a50a78d04 author: mkos date: Fri Dec 13 16:37:37 2013 +0100 8028388: 9 jaxws tests failed in nightly build with java.lang.ClassCastException Summary: test regression; fix also reviewed by Bill Shannon, Alexander Fomin Reviewed-by: mgrebac diffstat: src/share/jaf_classes/javax/activation/CommandMap.java | 31 ++- src/share/jaf_classes/javax/activation/DataHandler.java | 9 +- src/share/jaf_classes/javax/activation/FileTypeMap.java | 38 ++- src/share/jaf_classes/javax/activation/MailcapCommandMap.java | 16 +- src/share/jaf_classes/javax/activation/MimetypesFileTypeMap.java | 16 +- src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/Internalizer.java | 13 +- src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/JAXWSBindingExtensionHandler.java | 12 +- src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/internalizer/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/internalizer/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/internalizer/Internalizer.java | 11 +- src/share/jaxws_classes/com/sun/xml/internal/bind/DatatypeConverterImpl.java | 37 ++- src/share/jaxws_classes/com/sun/xml/internal/bind/Messages.java | 48 ++++ src/share/jaxws_classes/com/sun/xml/internal/bind/Messages.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/Messages.java | 3 +- src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/Messages.properties | 5 +- src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeBuiltinLeafInfoImpl.java | 24 +- src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/output/XMLStreamWriterOutput.java | 18 +- src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/unmarshaller/StAXStreamConnector.java | 19 +- src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl.java | 108 ++++----- src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/EnvelopeFactory.java | 55 ++-- src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/XMLStreamBuffer.java | 11 +- src/share/jaxws_classes/com/sun/xml/internal/ws/api/streaming/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/ws/api/streaming/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/ws/api/streaming/XMLStreamReaderFactory.java | 47 ++-- src/share/jaxws_classes/com/sun/xml/internal/ws/api/streaming/XMLStreamWriterFactory.java | 66 +++-- src/share/jaxws_classes/com/sun/xml/internal/ws/binding/BindingImpl.java | 59 +++++- src/share/jaxws_classes/com/sun/xml/internal/ws/developer/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/ws/developer/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/ws/developer/MemberSubmissionEndpointReference.java | 13 +- src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/MimeCodec.java | 32 +-- src/share/jaxws_classes/com/sun/xml/internal/ws/policy/sourcemodel/attach/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/ws/policy/sourcemodel/attach/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/ws/policy/sourcemodel/attach/ExternalAttachmentsUnmarshaller.java | 12 +- src/share/jaxws_classes/com/sun/xml/internal/ws/spi/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/ws/spi/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/ws/spi/ProviderImpl.java | 11 +- src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/XmlUtil.java | 28 +- src/share/jaxws_classes/com/sun/xml/internal/xsom/util/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/xsom/util/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/xsom/util/DomAnnotationParserFactory.java | 11 +- src/share/jaxws_classes/javax/xml/bind/DatatypeConverterImpl.java | 41 ++- src/share/jaxws_classes/javax/xml/bind/Messages.java | 4 +- src/share/jaxws_classes/javax/xml/bind/Messages.properties | 5 +- src/share/jaxws_classes/javax/xml/ws/wsaddressing/W3CEndpointReference.java | 4 +- 52 files changed, 1638 insertions(+), 326 deletions(-) diffs (truncated from 2910 to 500 lines): diff -r 622332638ead -r bd9a50a78d04 src/share/jaf_classes/javax/activation/CommandMap.java --- a/src/share/jaf_classes/javax/activation/CommandMap.java Wed Mar 26 16:03:43 2014 +0000 +++ b/src/share/jaf_classes/javax/activation/CommandMap.java Fri Dec 13 16:37:37 2013 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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,6 +25,9 @@ package javax.activation; +import java.util.Map; +import java.util.WeakHashMap; + /** * The CommandMap class provides an interface to a registry of @@ -38,6 +41,8 @@ */ public abstract class CommandMap { private static CommandMap defaultCommandMap = null; + private static Map map = + new WeakHashMap(); /** * Get the default CommandMap. @@ -56,11 +61,18 @@ * * @return the CommandMap */ - public static CommandMap getDefaultCommandMap() { - if (defaultCommandMap == null) - defaultCommandMap = new MailcapCommandMap(); + public static synchronized CommandMap getDefaultCommandMap() { + if (defaultCommandMap != null) + return defaultCommandMap; - return defaultCommandMap; + // fetch per-thread-context-class-loader default + ClassLoader tccl = SecuritySupport.getContextClassLoader(); + CommandMap def = map.get(tccl); + if (def == null) { + def = new MailcapCommandMap(); + map.put(tccl, def); + } + return def; } /** @@ -71,7 +83,7 @@ * @exception SecurityException if the caller doesn't have permission * to change the default */ - public static void setDefaultCommandMap(CommandMap commandMap) { + public static synchronized void setDefaultCommandMap(CommandMap commandMap) { SecurityManager security = System.getSecurityManager(); if (security != null) { try { @@ -79,13 +91,16 @@ security.checkSetFactory(); } catch (SecurityException ex) { // otherwise, we also allow it if this code and the - // factory come from the same class loader (e.g., + // factory come from the same (non-system) class loader (e.g., // the JAF classes were loaded with the applet classes). - if (CommandMap.class.getClassLoader() != + if (CommandMap.class.getClassLoader() == null || + CommandMap.class.getClassLoader() != commandMap.getClass().getClassLoader()) throw ex; } } + // remove any per-thread-context-class-loader CommandMap + map.remove(SecuritySupport.getContextClassLoader()); defaultCommandMap = commandMap; } diff -r 622332638ead -r bd9a50a78d04 src/share/jaf_classes/javax/activation/DataHandler.java --- a/src/share/jaf_classes/javax/activation/DataHandler.java Wed Mar 26 16:03:43 2014 +0000 +++ b/src/share/jaf_classes/javax/activation/DataHandler.java Fri Dec 13 16:37:37 2013 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -368,7 +368,12 @@ // if it's not set, set it... if (transferFlavors == emptyFlavors) transferFlavors = getDataContentHandler().getTransferDataFlavors(); - return transferFlavors; + + if (transferFlavors == emptyFlavors) + return transferFlavors; + else + return transferFlavors.clone(); + } /** diff -r 622332638ead -r bd9a50a78d04 src/share/jaf_classes/javax/activation/FileTypeMap.java --- a/src/share/jaf_classes/javax/activation/FileTypeMap.java Wed Mar 26 16:03:43 2014 +0000 +++ b/src/share/jaf_classes/javax/activation/FileTypeMap.java Fri Dec 13 16:37:37 2013 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -26,6 +26,8 @@ package javax.activation; import java.io.File; +import java.util.Map; +import java.util.WeakHashMap; /** * The FileTypeMap is an abstract class that provides a data typing @@ -48,6 +50,8 @@ public abstract class FileTypeMap { private static FileTypeMap defaultMap = null; + private static Map map = + new WeakHashMap(); /** * The default constructor. @@ -78,11 +82,11 @@ * Sets the default FileTypeMap for the system. This instance * will be returned to callers of getDefaultFileTypeMap. * - * @param map The FileTypeMap. + * @param fileTypeMap The FileTypeMap. * @exception SecurityException if the caller doesn't have permission * to change the default */ - public static void setDefaultFileTypeMap(FileTypeMap map) { + public static synchronized void setDefaultFileTypeMap(FileTypeMap fileTypeMap) { SecurityManager security = System.getSecurityManager(); if (security != null) { try { @@ -90,14 +94,17 @@ security.checkSetFactory(); } catch (SecurityException ex) { // otherwise, we also allow it if this code and the - // factory come from the same class loader (e.g., + // factory come from the same (non-system) class loader (e.g., // the JAF classes were loaded with the applet classes). - if (FileTypeMap.class.getClassLoader() != - map.getClass().getClassLoader()) + if (FileTypeMap.class.getClassLoader() == null || + FileTypeMap.class.getClassLoader() != + fileTypeMap.getClass().getClassLoader()) throw ex; } } - defaultMap = map; + // remove any per-thread-context-class-loader FileTypeMap + map.remove(SecuritySupport.getContextClassLoader()); + defaultMap = fileTypeMap; } /** @@ -109,10 +116,17 @@ * @return The default FileTypeMap * @see javax.activation.FileTypeMap#setDefaultFileTypeMap */ - public static FileTypeMap getDefaultFileTypeMap() { - // XXX - probably should be synchronized - if (defaultMap == null) - defaultMap = new MimetypesFileTypeMap(); - return defaultMap; + public static synchronized FileTypeMap getDefaultFileTypeMap() { + if (defaultMap != null) + return defaultMap; + + // fetch per-thread-context-class-loader default + ClassLoader tccl = SecuritySupport.getContextClassLoader(); + FileTypeMap def = map.get(tccl); + if (def == null) { + def = new MimetypesFileTypeMap(); + map.put(tccl, def); + } + return def; } } diff -r 622332638ead -r bd9a50a78d04 src/share/jaf_classes/javax/activation/MailcapCommandMap.java --- a/src/share/jaf_classes/javax/activation/MailcapCommandMap.java Wed Mar 26 16:03:43 2014 +0000 +++ b/src/share/jaf_classes/javax/activation/MailcapCommandMap.java Fri Dec 13 16:37:37 2013 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -120,11 +120,7 @@ public class MailcapCommandMap extends CommandMap { /* * We manage a collection of databases, searched in order. - * The default database is shared between all instances - * of this class. - * XXX - Can we safely share more databases between instances? */ - private static MailcapFile defDB = null; private MailcapFile[] DB; private static final int PROG = 0; // programmatically added entries @@ -164,14 +160,10 @@ loadAllResources(dbv, "META-INF/mailcap"); LogSupport.log("MailcapCommandMap: load DEF"); - synchronized (MailcapCommandMap.class) { - // see if another instance has created this yet. - if (defDB == null) - defDB = loadResource("/META-INF/mailcap.default"); - } + mf = loadResource("/META-INF/mailcap.default"); - if (defDB != null) - dbv.add(defDB); + if (mf != null) + dbv.add(mf); DB = new MailcapFile[dbv.size()]; DB = (MailcapFile[])dbv.toArray(DB); diff -r 622332638ead -r bd9a50a78d04 src/share/jaf_classes/javax/activation/MimetypesFileTypeMap.java --- a/src/share/jaf_classes/javax/activation/MimetypesFileTypeMap.java Wed Mar 26 16:03:43 2014 +0000 +++ b/src/share/jaf_classes/javax/activation/MimetypesFileTypeMap.java Fri Dec 13 16:37:37 2013 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -69,11 +69,7 @@ public class MimetypesFileTypeMap extends FileTypeMap { /* * We manage a collection of databases, searched in order. - * The default database is shared between all instances - * of this class. - * XXX - Can we safely share more databases between instances? */ - private static MimeTypeFile defDB = null; private MimeTypeFile[] DB; private static final int PROG = 0; // programmatically added entries @@ -114,14 +110,10 @@ loadAllResources(dbv, "META-INF/mime.types"); LogSupport.log("MimetypesFileTypeMap: load DEF"); - synchronized (MimetypesFileTypeMap.class) { - // see if another instance has created this yet. - if (defDB == null) - defDB = loadResource("/META-INF/mimetypes.default"); - } + mf = loadResource("/META-INF/mimetypes.default"); - if (defDB != null) - dbv.addElement(defDB); + if (mf != null) + dbv.addElement(mf); DB = new MimeTypeFile[dbv.size()]; dbv.copyInto(DB); diff -r 622332638ead -r bd9a50a78d04 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/ContextClassloaderLocal.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/ContextClassloaderLocal.java Fri Dec 13 16:37:37 2013 +0100 @@ -0,0 +1,86 @@ +/* + * Copyright (c) 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 + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +package com.sun.tools.internal.ws.wsdl.parser; + +import java.security.AccessController; +import java.security.PrivilegedAction; +import java.text.MessageFormat; +import java.util.ResourceBundle; +import java.util.WeakHashMap; + +/** + * Simple utility ensuring that the value is cached only in case it is non-internal implementation + */ +abstract class ContextClassloaderLocal { + + private static final String FAILED_TO_CREATE_NEW_INSTANCE = "FAILED_TO_CREATE_NEW_INSTANCE"; + + private WeakHashMap CACHE = new WeakHashMap(); + + public V get() throws Error { + ClassLoader tccl = getContextClassLoader(); + V instance = CACHE.get(tccl); + if (instance == null) { + instance = createNewInstance(); + CACHE.put(tccl, instance); + } + return instance; + } + + public void set(V instance) { + CACHE.put(getContextClassLoader(), instance); + } + + protected abstract V initialValue() throws Exception; + + private V createNewInstance() { + try { + return initialValue(); + } catch (Exception e) { + throw new Error(format(FAILED_TO_CREATE_NEW_INSTANCE, getClass().getName()), e); + } + } + + private static String format(String property, Object... args) { + String text = ResourceBundle.getBundle(ContextClassloaderLocal.class.getName()).getString(property); + return MessageFormat.format(text, args); + } + + private static ClassLoader getContextClassLoader() { + return (ClassLoader) + AccessController.doPrivileged(new PrivilegedAction() { + public Object run() { + ClassLoader cl = null; + try { + cl = Thread.currentThread().getContextClassLoader(); + } catch (SecurityException ex) { + } + return cl; + } + }); + } +} + diff -r 622332638ead -r bd9a50a78d04 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/ContextClassloaderLocal.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/ContextClassloaderLocal.properties Fri Dec 13 16:37:37 2013 +0100 @@ -0,0 +1,27 @@ +# +# Copyright (c) 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 +# under the terms of the GNU General Public License version 2 only, as +# published by the Free Software Foundation. Oracle designates this +# particular file as subject to the "Classpath" exception as provided +# by Oracle in the LICENSE file that accompanied this code. +# +# This code is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# version 2 for more details (a copy is included in the LICENSE file that +# accompanied this code). +# +# You should have received a copy of the GNU General Public License version +# 2 along with this work; if not, write to the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA +# or visit www.oracle.com if you need additional information or have any +# questions. +# +# Error messages for ContextClassloaderLocal utility class +FAILED_TO_CREATE_NEW_INSTANCE=Failed to create new instance of {0} + diff -r 622332638ead -r bd9a50a78d04 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/Internalizer.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/Internalizer.java Wed Mar 26 16:03:43 2014 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/Internalizer.java Fri Dec 13 16:37:37 2013 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 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 @@ -65,8 +65,15 @@ * @author Vivek Pandey */ public class Internalizer { - private static final XPathFactory xpf = XPathFactory.newInstance(); - private final XPath xpath = xpf.newXPath(); + + private static final ContextClassloaderLocal xpf = new ContextClassloaderLocal() { + @Override + protected XPathFactory initialValue() throws Exception { + return XPathFactory.newInstance(); + } + }; + + private final XPath xpath = xpf.get().newXPath(); private final WsimportOptions options; private final DOMForest forest; private final ErrorReceiver errorReceiver; diff -r 622332638ead -r bd9a50a78d04 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/JAXWSBindingExtensionHandler.java --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/JAXWSBindingExtensionHandler.java Wed Mar 26 16:03:43 2014 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/JAXWSBindingExtensionHandler.java Fri Dec 13 16:37:37 2013 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 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 @@ -56,8 +56,14 @@ */ public class JAXWSBindingExtensionHandler extends AbstractExtensionHandler { - private static final XPathFactory xpf = XPathFactory.newInstance(); - private final XPath xpath = xpf.newXPath(); + private static final ContextClassloaderLocal xpf = new ContextClassloaderLocal() { + @Override + protected XPathFactory initialValue() throws Exception { + return XPathFactory.newInstance(); + } + }; + + private final XPath xpath = xpf.get().newXPath(); public JAXWSBindingExtensionHandler(Map extensionHandlerMap) { super(extensionHandlerMap); diff -r 622332638ead -r bd9a50a78d04 src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/internalizer/ContextClassloaderLocal.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/internalizer/ContextClassloaderLocal.java Fri Dec 13 16:37:37 2013 +0100 @@ -0,0 +1,86 @@ +/* + * Copyright (c) 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 + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +package com.sun.tools.internal.xjc.reader.internalizer; + +import java.security.AccessController; +import java.security.PrivilegedAction; +import java.text.MessageFormat; +import java.util.ResourceBundle; +import java.util.WeakHashMap; + +/** + * Simple utility ensuring that the value is cached only in case it is non-internal implementation + */ +abstract class ContextClassloaderLocal { + + private static final String FAILED_TO_CREATE_NEW_INSTANCE = "FAILED_TO_CREATE_NEW_INSTANCE"; + + private WeakHashMap CACHE = new WeakHashMap(); + + public V get() throws Error { + ClassLoader tccl = getContextClassLoader(); + V instance = CACHE.get(tccl); + if (instance == null) { + instance = createNewInstance(); + CACHE.put(tccl, instance); + } From andrew at icedtea.classpath.org Tue Apr 15 20:50:29 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 15 Apr 2014 20:50:29 +0000 Subject: /hg/release/icedtea7-forest-2.4/langtools: 8026736: Enhance Java... Message-ID: changeset 8c26a3c39128 in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=8c26a3c39128 author: bpatel date: Mon Jan 13 14:46:55 2014 -0800 8026736: Enhance Javadoc pages Reviewed-by: jjg diffstat: src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (19 lines): diff -r a4b41531c1f4 -r 8c26a3c39128 src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java --- a/src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java Wed Mar 26 16:03:43 2014 +0000 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java Mon Jan 13 14:46:55 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 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 @@ -235,7 +235,7 @@ } else if (opt.equals("-doctitle")) { doctitle = os[1]; } else if (opt.equals("-windowtitle")) { - windowtitle = os[1]; + windowtitle = os[1].replaceAll("\\<.*?>", ""); } else if (opt.equals("-top")) { top = os[1]; } else if (opt.equals("-bottom")) { From andrew at icedtea.classpath.org Tue Apr 15 20:50:36 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 15 Apr 2014 20:50:36 +0000 Subject: /hg/release/icedtea7-forest-2.4/hotspot: 2 new changesets Message-ID: changeset 3b7eb739cbd0 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=3b7eb739cbd0 author: dsimms date: Fri Jan 10 15:38:30 2014 +0100 8029858: Enhance array copies Summary: Just read the source element once Reviewed-by: coleenp, ahgross changeset 69b542696e5b in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=69b542696e5b author: hseigel date: Thu Feb 20 13:51:45 2014 -0500 8034926: Attribute classes properly Summary: Add check to prevent underflow Reviewed-by: coleenp, ahgross diffstat: src/share/vm/classfile/classFileParser.cpp | 7 ++++++- src/share/vm/oops/objArrayKlass.cpp | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diffs (34 lines): diff -r 7f4fbcd8815d -r 69b542696e5b src/share/vm/classfile/classFileParser.cpp --- a/src/share/vm/classfile/classFileParser.cpp Thu Mar 27 23:21:09 2014 +0000 +++ b/src/share/vm/classfile/classFileParser.cpp Thu Feb 20 13:51:45 2014 -0500 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 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 @@ -2661,6 +2661,11 @@ "Short length on BootstrapMethods in class file %s", CHECK); + guarantee_property(attribute_byte_length > sizeof(u2), + "Invalid BootstrapMethods attribute length %u in class file %s", + attribute_byte_length, + CHECK); + // The attribute contains a counted array of counted tuples of shorts, // represending bootstrap specifiers: // length*{bootstrap_method_index, argument_count*{argument_index}} diff -r 7f4fbcd8815d -r 69b542696e5b src/share/vm/oops/objArrayKlass.cpp --- a/src/share/vm/oops/objArrayKlass.cpp Thu Mar 27 23:21:09 2014 +0000 +++ b/src/share/vm/oops/objArrayKlass.cpp Thu Feb 20 13:51:45 2014 -0500 @@ -149,7 +149,7 @@ if (element_is_null || Klass::cast((new_val->klass()))->is_subtype_of(bound)) { bs->write_ref_field_pre(p, new_val); - *p = *from; + *p = element; } else { // We must do a barrier to cover the partial copy. const size_t pd = pointer_delta(p, dst, (size_t)heapOopSize); From andrew at icedtea.classpath.org Tue Apr 15 20:50:49 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 15 Apr 2014 20:50:49 +0000 Subject: /hg/release/icedtea7-forest-2.4/jdk: 32 new changesets Message-ID: changeset 612fdc57fca6 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=612fdc57fca6 author: vadim date: Wed Nov 13 13:19:42 2013 +0400 8023046: Enhance splashscreen support Reviewed-by: anthony, pchelko, mschoene changeset ff5b0f171afc in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=ff5b0f171afc author: pchelko date: Fri Dec 20 13:37:06 2013 +0400 8025010: Enhance AWT contexts Reviewed-by: art, serb, hawtin changeset be14c5a032ab in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=be14c5a032ab author: weijun date: Mon Nov 25 15:00:36 2013 +0800 8026067: Enhance signed jar verification Reviewed-by: ddehaven, ahgross, mullan changeset d4165e359b3d in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=d4165e359b3d author: serb date: Mon Oct 28 20:51:33 2013 +0400 8026163: Enhance media provisioning Reviewed-by: art, skoivu changeset 4e9ca79d6358 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=4e9ca79d6358 author: lancea date: Wed Oct 30 12:30:13 2013 -0400 8026200: Enhance RowSet Factory Reviewed-by: alanb, skoivu changeset be96e10d83a8 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=be96e10d83a8 author: robm date: Wed Jan 15 17:56:27 2014 +0000 8026716: (aio) Enhance asynchronous channel handling Reviewed-by: alanb, coffeys changeset 8043b975fe36 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=8043b975fe36 author: malenkov date: Thu Oct 24 13:10:36 2013 +0400 8026797: Enhance data transfers Reviewed-by: art, skoivu changeset e080b4646e2b in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=e080b4646e2b author: wetmore date: Thu Jan 16 15:07:56 2014 -0800 8027766: Enhance RSA processing Summary: Refactored code Reviewed-by: mullan, xuelei changeset d4df6bc4ad40 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=d4df6bc4ad40 author: prr date: Mon Dec 16 10:19:56 2013 -0800 8027775: Enhance ICU code. Reviewed-by: srl, bae, mschoene changeset b546b01bdcb3 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=b546b01bdcb3 author: bae date: Wed Nov 27 12:08:21 2013 +0400 8027841: Enhance pixel manipulations Reviewed-by: prr, vadim changeset 2c4fb2498be6 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=2c4fb2498be6 author: lancea date: Fri Nov 15 11:19:36 2013 -0500 8028385: Enhance RowSet Factory Reviewed-by: alanb, skoivu changeset 5a334a43301b in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=5a334a43301b author: jbachorik date: Mon Dec 23 14:29:27 2013 +0100 8029286: Enhance subject delegation Reviewed-by: dfuchs, ahgross changeset 6614096624fc in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=6614096624fc author: kizune date: Thu Dec 19 22:00:54 2013 +0400 8029699: Update Poller demo Reviewed-by: dcubed changeset f62cfed25355 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=f62cfed25355 author: serb date: Fri Jan 10 21:20:55 2014 +0400 8029730: Improve audio device additions Reviewed-by: prr, mschoene changeset 39e574735ec8 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=39e574735ec8 author: jbachorik date: Mon Dec 23 15:33:11 2013 +0100 8029735: Enhance service mgmt natives Reviewed-by: sla, mschoene changeset 17321bb1e7a8 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=17321bb1e7a8 author: dfuchs date: Thu Jan 16 15:13:15 2014 +0100 8029740: Enhance handling of loggers Reviewed-by: mchung, ahgross changeset a7d42517d3f1 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=a7d42517d3f1 author: juh date: Thu Jan 16 18:08:15 2014 -0500 8029745: Enhance algorithm checking Reviewed-by: mullan changeset f09a3112e130 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=f09a3112e130 author: prr date: Tue Jan 21 08:47:30 2014 -0800 8031335: Better color profiling 8029750: Enhance LCMS color processing Reviewed-by: bae, vadim, mschoene changeset 295f650717e5 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=295f650717e5 author: pchelko date: Tue Dec 17 13:59:04 2013 +0400 8029760: Enhance AWT image libraries Reviewed-by: prr, vadim, mschoene changeset 37ddcae4e994 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=37ddcae4e994 author: jrose date: Fri Dec 13 18:03:41 2013 -0800 8029844: Enhance argument validation Summary: make defensive copy of a varargs array Reviewed-by: mchung, twisti, ahgross changeset d8d0385cfde0 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=d8d0385cfde0 author: prr date: Thu Dec 19 09:20:59 2013 -0800 8029854: Enhance JPEG decodings Reviewed-by: bae, vadim, mschoene changeset 9d031873813f in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=9d031873813f author: vinnie date: Tue Jan 21 10:55:05 2014 +0000 8030731: Improve name service robustness Reviewed-by: weijun, michaelm, skoivu changeset e07840c8307b in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=e07840c8307b author: serb date: Tue Jan 21 07:56:57 2014 +0400 8031352: Enhance PNG handling Reviewed-by: prr, mschoene changeset 19c17762d8f0 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=19c17762d8f0 author: dmeetry date: Tue Jan 21 20:38:01 2014 +0400 8031394: (sl) Fix exception handling in ServiceLoader Reviewed-by: alanb changeset 4be4362e6c8b in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=4be4362e6c8b author: robm date: Mon Jan 27 13:42:59 2014 +0000 8031395: Enhance LDAP processing Reviewed-by: weijun, coffeys changeset b66a441ea56a in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=b66a441ea56a author: prr date: Fri Jan 24 10:34:31 2014 -0800 8032370: No "Truncated file" warning from IIOReadWarningListener on JPEGImageReader Reviewed-by: bae, vadim changeset eb725548e799 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=eb725548e799 author: twisti date: Mon Feb 03 13:00:51 2014 -0800 8032686: Issues with method invoke Reviewed-by: jrose, vlivanov, ahgross changeset bde6db46ee26 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=bde6db46ee26 author: kizune date: Fri Feb 07 20:21:23 2014 +0400 8033618: Correct logging output Reviewed-by: ksrini, alanb, ahgross changeset b10388f3a382 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=b10388f3a382 author: igerasim date: Wed Mar 12 12:46:11 2014 +0400 8035834: InetAddress.getLocalHost() can hang after JDK-8030731 was fixed Reviewed-by: vinnie changeset 5b9b47ebf559 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=5b9b47ebf559 author: mbankal date: Mon Mar 10 18:40:38 2014 +0000 8036794: Manage JavaScript instances Reviewed-by: sundar, ahgross changeset 25072b5b7e78 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=25072b5b7e78 author: pchelko date: Wed Apr 09 15:27:54 2014 +0100 8031477: [macosx] Loading AWT native library fails 8002191: AWT-Shutdown thread does not start with the AppletSecurity on Linux 8031032: SQE test failures after JDK-8025010 was fixed Reviewed-by: serb, ddehaven changeset 9448fff93286 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=9448fff93286 author: andrew date: Sat Apr 12 00:23:06 2014 +0100 PR1393: JPEG support in build is broken on non-system-libjpeg builds diffstat: make/sun/jpeg/FILES_c.gmk | 2 +- src/macosx/classes/sun/font/CFontManager.java | 31 +- src/macosx/classes/sun/lwawt/LWToolkit.java | 21 +- src/macosx/classes/sun/lwawt/macosx/CClipboard.java | 2 +- src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java | 9 +- src/macosx/native/sun/awt/LWCToolkit.m | 4 +- src/macosx/native/sun/awt/awt.m | 11 +- src/macosx/native/sun/osxapp/ThreadUtilities.h | 4 +- src/macosx/native/sun/osxapp/ThreadUtilities.m | 27 +- src/share/classes/com/sun/jmx/remote/security/SubjectDelegator.java | 20 +- src/share/classes/com/sun/jndi/dns/DnsClient.java | 101 ++- src/share/classes/com/sun/jndi/ldap/LdapBindingEnumeration.java | 21 +- src/share/classes/com/sun/jndi/ldap/LdapSearchEnumeration.java | 22 +- src/share/classes/com/sun/media/sound/JDK13Services.java | 129 +-- src/share/classes/com/sun/media/sound/JSSecurityManager.java | 2 +- src/share/classes/com/sun/rowset/CachedRowSetImpl.java | 23 +- src/share/classes/com/sun/rowset/internal/CachedRowSetWriter.java | 13 +- src/share/classes/java/awt/EventQueue.java | 4 +- src/share/classes/java/awt/datatransfer/SystemFlavorMap.java | 63 +- src/share/classes/java/lang/invoke/BoundMethodHandle.java | 83 +- src/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java | 3 +- src/share/classes/java/lang/invoke/MethodHandles.java | 2 + src/share/classes/java/util/ServiceLoader.java | 2 +- src/share/classes/java/util/jar/JarVerifier.java | 20 +- src/share/classes/java/util/logging/LogManager.java | 20 +- src/share/classes/java/util/logging/Logger.java | 38 +- src/share/classes/javax/script/ScriptEngineManager.java | 24 +- src/share/classes/javax/sql/rowset/RowSetProvider.java | 26 +- src/share/classes/javax/sql/rowset/serial/SQLInputImpl.java | 13 +- src/share/classes/javax/sql/rowset/spi/SyncFactory.java | 48 +- src/share/classes/sun/awt/AWTAutoShutdown.java | 17 +- src/share/classes/sun/awt/SunToolkit.java | 3 +- src/share/classes/sun/awt/datatransfer/ClipboardTransferable.java | 2 +- src/share/classes/sun/awt/datatransfer/SunClipboard.java | 12 +- src/share/classes/sun/font/CreatedFontTracker.java | 44 +- src/share/classes/sun/font/SunFontManager.java | 34 +- src/share/classes/sun/java2d/Disposer.java | 18 +- src/share/classes/sun/java2d/opengl/OGLRenderQueue.java | 9 +- src/share/classes/sun/misc/InnocuousThread.java | 121 ++++ src/share/classes/sun/misc/Service.java | 2 +- src/share/classes/sun/misc/ThreadGroupUtils.java | 55 ++ src/share/classes/sun/nio/ch/Invoker.java | 12 + src/share/classes/sun/nio/ch/ThreadPool.java | 35 +- src/share/classes/sun/security/provider/SeedGenerator.java | 31 +- src/share/classes/sun/security/provider/certpath/AlgorithmChecker.java | 2 +- src/share/classes/sun/security/rsa/RSAPadding.java | 131 +++- src/share/classes/sun/security/ssl/SignatureAndHashAlgorithm.java | 2 +- src/share/classes/sun/security/tools/JarSigner.java | 20 +- src/share/classes/sun/security/util/SignatureFileVerifier.java | 46 + src/share/native/com/sun/java/util/jar/pack/unpack.cpp | 36 +- src/share/native/sun/awt/giflib/dgif_lib.c | 4 +- src/share/native/sun/awt/image/gif/gifdecoder.c | 1 + src/share/native/sun/awt/image/jpeg/imageioJPEG.c | 4 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdmarker.c | 6 + src/share/native/sun/awt/image/jpeg/jpegdecoder.c | 3 + src/share/native/sun/awt/libpng/pngrtran.c | 3 + src/share/native/sun/awt/libpng/pngset.c | 11 + src/share/native/sun/awt/medialib/awt_ImagingLib.c | 82 ++- src/share/native/sun/font/layout/ContextualGlyphSubstProc2.cpp | 1 + src/share/native/sun/font/layout/ContextualSubstSubtables.cpp | 7 +- src/share/native/sun/font/layout/LookupProcessor.cpp | 1 + src/share/native/sun/font/layout/MarkToBasePosnSubtables.cpp | 1 + src/share/native/sun/font/layout/OpenTypeUtilities.cpp | 2 +- src/share/native/sun/font/layout/SegmentArrayProcessor.cpp | 1 + src/share/native/sun/font/layout/StateTableProcessor.cpp | 1 + src/share/native/sun/java2d/cmm/lcms/cmscam02.c | 4 +- src/share/native/sun/java2d/cmm/lcms/cmscgats.c | 61 +- src/share/native/sun/java2d/cmm/lcms/cmscnvrt.c | 99 ++- src/share/native/sun/java2d/cmm/lcms/cmserr.c | 2 - src/share/native/sun/java2d/cmm/lcms/cmsgamma.c | 59 +- src/share/native/sun/java2d/cmm/lcms/cmsgmt.c | 54 +- src/share/native/sun/java2d/cmm/lcms/cmsintrp.c | 69 +- src/share/native/sun/java2d/cmm/lcms/cmsio0.c | 167 ++++- src/share/native/sun/java2d/cmm/lcms/cmsio1.c | 242 +++++---- src/share/native/sun/java2d/cmm/lcms/cmslut.c | 89 +- src/share/native/sun/java2d/cmm/lcms/cmsmd5.c | 2 +- src/share/native/sun/java2d/cmm/lcms/cmsnamed.c | 52 +- src/share/native/sun/java2d/cmm/lcms/cmsopt.c | 107 ++- src/share/native/sun/java2d/cmm/lcms/cmspack.c | 24 +- src/share/native/sun/java2d/cmm/lcms/cmspcs.c | 4 + src/share/native/sun/java2d/cmm/lcms/cmsplugin.c | 47 +- src/share/native/sun/java2d/cmm/lcms/cmsps2.c | 5 +- src/share/native/sun/java2d/cmm/lcms/cmssamp.c | 246 ++++---- src/share/native/sun/java2d/cmm/lcms/cmstypes.c | 264 +++++---- src/share/native/sun/java2d/cmm/lcms/cmsvirt.c | 191 ++++-- src/share/native/sun/java2d/cmm/lcms/cmswtpnt.c | 66 +- src/share/native/sun/java2d/cmm/lcms/cmsxform.c | 29 +- src/share/native/sun/java2d/cmm/lcms/lcms2.h | 18 +- src/share/native/sun/java2d/cmm/lcms/lcms2_internal.h | 28 +- src/share/native/sun/management/Flag.c | 4 +- src/share/native/sun/management/GcInfoBuilder.c | 15 +- src/solaris/classes/sun/awt/X11/XClipboard.java | 4 +- src/solaris/classes/sun/awt/X11/XToolkit.java | 21 +- src/solaris/classes/sun/awt/X11GraphicsDevice.java | 21 +- src/solaris/demo/jni/Poller/Poller.c | 12 +- src/solaris/native/com/sun/media/sound/PLATFORM_API_SolarisOS_Utils.c | 2 +- src/windows/classes/sun/awt/shell/Win32ShellFolderManager2.java | 12 +- src/windows/classes/sun/awt/windows/WClipboard.java | 3 +- src/windows/classes/sun/awt/windows/WToolkit.java | 37 +- src/windows/classes/sun/java2d/d3d/D3DScreenUpdateManager.java | 37 +- src/windows/native/sun/windows/awt_Toolkit.cpp | 11 +- 101 files changed, 2201 insertions(+), 1455 deletions(-) diffs (truncated from 8231 to 500 lines): diff -r a1fe933e5be6 -r 9448fff93286 make/sun/jpeg/FILES_c.gmk --- a/make/sun/jpeg/FILES_c.gmk Wed Mar 26 16:01:18 2014 +0000 +++ b/make/sun/jpeg/FILES_c.gmk Sat Apr 12 00:23:06 2014 +0100 @@ -28,7 +28,7 @@ jpegdecoder.c ifndef USE_SYSTEM_JPEG -FILES_c = \ +FILES_c += \ jcomapi.c \ jdapimin.c \ jdapistd.c \ diff -r a1fe933e5be6 -r 9448fff93286 src/macosx/classes/sun/font/CFontManager.java --- a/src/macosx/classes/sun/font/CFontManager.java Wed Mar 26 16:01:18 2014 +0000 +++ b/src/macosx/classes/sun/font/CFontManager.java Sat Apr 12 00:23:06 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 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 @@ -27,6 +27,8 @@ import java.awt.*; import java.io.File; +import java.security.AccessController; +import java.security.PrivilegedAction; import java.util.ArrayList; import java.util.HashMap; import java.util.Hashtable; @@ -38,6 +40,7 @@ import sun.awt.FontConfiguration; import sun.awt.HeadlessToolkit; +import sun.misc.ThreadGroupUtils; import sun.lwawt.macosx.*; public class CFontManager extends SunFontManager { @@ -218,21 +221,17 @@ java.security.AccessController.doPrivileged( new java.security.PrivilegedAction() { public Object run() { - /* The thread must be a member of a thread group - * which will not get GCed before VM exit. - * Make its parent the top-level thread group. - */ - ThreadGroup tg = - Thread.currentThread().getThreadGroup(); - for (ThreadGroup tgn = tg; - tgn != null; - tg = tgn, tgn = tg.getParent()); - fileCloser = new Thread(tg, fileCloserRunnable); - fileCloser.setContextClassLoader(null); - Runtime.getRuntime().addShutdownHook(fileCloser); - return null; - } - }); + /* The thread must be a member of a thread group + * which will not get GCed before VM exit. + * Make its parent the top-level thread group. + */ + ThreadGroup rootTG = ThreadGroupUtils.getRootThreadGroup(); + fileCloser = new Thread(rootTG, fileCloserRunnable); + fileCloser.setContextClassLoader(null); + Runtime.getRuntime().addShutdownHook(fileCloser); + return null; + } + }); } } } diff -r a1fe933e5be6 -r 9448fff93286 src/macosx/classes/sun/lwawt/LWToolkit.java --- a/src/macosx/classes/sun/lwawt/LWToolkit.java Wed Mar 26 16:01:18 2014 +0000 +++ b/src/macosx/classes/sun/lwawt/LWToolkit.java Sat Apr 12 00:23:06 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 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 @@ -38,6 +38,7 @@ import sun.awt.*; import sun.lwawt.macosx.*; import sun.print.*; +import sun.misc.ThreadGroupUtils; public abstract class LWToolkit extends SunToolkit implements Runnable { @@ -66,22 +67,16 @@ protected final void init() { AWTAutoShutdown.notifyToolkitThreadBusy(); - ThreadGroup mainTG = AccessController.doPrivileged( + ThreadGroup rootTG = AccessController.doPrivileged( new PrivilegedAction() { public ThreadGroup run() { - ThreadGroup currentTG = Thread.currentThread().getThreadGroup(); - ThreadGroup parentTG = currentTG.getParent(); - while (parentTG != null) { - currentTG = parentTG; - parentTG = currentTG.getParent(); - } - return currentTG; - } - } + return ThreadGroupUtils.getRootThreadGroup(); + } + } ); Runtime.getRuntime().addShutdownHook( - new Thread(mainTG, new Runnable() { + new Thread(rootTG, new Runnable() { public void run() { shutdown(); waitForRunState(STATE_CLEANUP); @@ -89,7 +84,7 @@ }) ); - Thread toolkitThread = new Thread(mainTG, this, "AWT-LW"); + Thread toolkitThread = new Thread(rootTG, this, "AWT-LW"); toolkitThread.setDaemon(true); toolkitThread.setPriority(Thread.NORM_PRIORITY + 1); toolkitThread.start(); diff -r a1fe933e5be6 -r 9448fff93286 src/macosx/classes/sun/lwawt/macosx/CClipboard.java --- a/src/macosx/classes/sun/lwawt/macosx/CClipboard.java Wed Mar 26 16:01:18 2014 +0000 +++ b/src/macosx/classes/sun/lwawt/macosx/CClipboard.java Sat Apr 12 00:23:06 2014 +0100 @@ -53,7 +53,7 @@ } protected void setContentsNative(Transferable contents) { - + FlavorTable flavorMap = getDefaultFlavorTable(); // Don't use delayed Clipboard rendering for the Transferable's data. // If we did that, we would call Transferable.getTransferData on // the Toolkit thread, which is a security hole. diff -r a1fe933e5be6 -r 9448fff93286 src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java --- a/src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java Wed Mar 26 16:01:18 2014 +0000 +++ b/src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java Sat Apr 12 00:23:06 2014 +0100 @@ -414,8 +414,15 @@ } // Intended to be called from the LWCToolkit.m only. - private static void installToolkitThreadNameInJava() { + private static void installToolkitThreadInJava() { Thread.currentThread().setName(CThreading.APPKIT_THREAD_NAME); + AccessController.doPrivileged(new PrivilegedAction() { + @Override + public Void run() { + Thread.currentThread().setContextClassLoader(null); + return null; + } + }); } @Override diff -r a1fe933e5be6 -r 9448fff93286 src/macosx/native/sun/awt/LWCToolkit.m --- a/src/macosx/native/sun/awt/LWCToolkit.m Wed Mar 26 16:01:18 2014 +0000 +++ b/src/macosx/native/sun/awt/LWCToolkit.m Sat Apr 12 00:23:06 2014 +0100 @@ -193,8 +193,8 @@ JNIEnv *env = [ThreadUtilities getJNIEnv]; static JNF_CLASS_CACHE(jc_LWCToolkit, "sun/lwawt/macosx/LWCToolkit"); - static JNF_STATIC_MEMBER_CACHE(jsm_installToolkitThreadNameInJava, jc_LWCToolkit, "installToolkitThreadNameInJava", "()V"); - JNFCallStaticVoidMethod(env, jsm_installToolkitThreadNameInJava); + static JNF_STATIC_MEMBER_CACHE(jsm_installToolkitThreadInJava, jc_LWCToolkit, "installToolkitThreadInJava", "()V"); + JNFCallStaticVoidMethod(env, jsm_installToolkitThreadInJava); }); gNumberOfButtons = sun_lwawt_macosx_LWCToolkit_BUTTONS; diff -r a1fe933e5be6 -r 9448fff93286 src/macosx/native/sun/awt/awt.m --- a/src/macosx/native/sun/awt/awt.m Wed Mar 26 16:01:18 2014 +0000 +++ b/src/macosx/native/sun/awt/awt.m Sat Apr 12 00:23:06 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 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 @@ -432,6 +432,15 @@ forceEmbeddedMode = YES; } + JNIEnv* env = [ThreadUtilities getJNIEnvUncached]; + jclass jc_ThreadGroupUtils = (*env)->FindClass(env, "sun/misc/ThreadGroupUtils"); + jmethodID sjm_getRootThreadGroup = (*env)->GetStaticMethodID(env, jc_ThreadGroupUtils, "getRootThreadGroup", "()Ljava/lang/ThreadGroup;"); + jobject rootThreadGroup = (*env)->CallStaticObjectMethod(env, jc_ThreadGroupUtils, sjm_getRootThreadGroup); + [ThreadUtilities setAppkitThreadGroup:(*env)->NewGlobalRef(env, rootThreadGroup)]; + // The current thread was attached in getJNIEnvUncached. + // Detach it back. It will be reattached later if needed with a proper TG + [ThreadUtilities detachCurrentThread]; + BOOL headless = isHeadless(env); // We need to let Foundation know that this is a multithreaded application, if it isn't already. diff -r a1fe933e5be6 -r 9448fff93286 src/macosx/native/sun/osxapp/ThreadUtilities.h --- a/src/macosx/native/sun/osxapp/ThreadUtilities.h Wed Mar 26 16:01:18 2014 +0000 +++ b/src/macosx/native/sun/osxapp/ThreadUtilities.h Sat Apr 12 00:23:06 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 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 @@ -127,6 +127,8 @@ + (JNIEnv*)getJNIEnv; + (JNIEnv*)getJNIEnvUncached; ++ (void)detachCurrentThread; ++ (void)setAppkitThreadGroup:(jobject)group; //Wrappers for the corresponding JNFRunLoop methods with a check for main thread + (void)performOnMainThreadWaiting:(BOOL)wait block:(void (^)())block; diff -r a1fe933e5be6 -r 9448fff93286 src/macosx/native/sun/osxapp/ThreadUtilities.m --- a/src/macosx/native/sun/osxapp/ThreadUtilities.m Wed Mar 26 16:01:18 2014 +0000 +++ b/src/macosx/native/sun/osxapp/ThreadUtilities.m Sat Apr 12 00:23:06 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 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 @@ -33,23 +33,44 @@ // The following must be named "jvm", as there are extern references to it in AWT JavaVM *jvm = NULL; static JNIEnv *appKitEnv = NULL; +static jobject appkitThreadGroup = NULL; + +inline void attachCurrentThread(void** env) { + if ([NSThread isMainThread]) { + JavaVMAttachArgs args; + args.version = JNI_VERSION_1_4; + args.name = "AppKit Thread"; + args.group = appkitThreadGroup; + (*jvm)->AttachCurrentThreadAsDaemon(jvm, env, &args); + } else { + (*jvm)->AttachCurrentThreadAsDaemon(jvm, env, NULL); + } +} @implementation ThreadUtilities + (JNIEnv*)getJNIEnv { AWT_ASSERT_APPKIT_THREAD; if (appKitEnv == NULL) { - (*jvm)->AttachCurrentThreadAsDaemon(jvm, (void **)&appKitEnv, NULL); + attachCurrentThread((void **)&appKitEnv); } return appKitEnv; } + (JNIEnv*)getJNIEnvUncached { JNIEnv *env = NULL; - (*jvm)->AttachCurrentThreadAsDaemon(jvm, (void **)&env, nil); + attachCurrentThread((void **)&env); return env; } ++ (void)detachCurrentThread { + (*jvm)->DetachCurrentThread(jvm); +} + ++ (void)setAppkitThreadGroup:(jobject)group { + appkitThreadGroup = group; +} + + (void)performOnMainThreadWaiting:(BOOL)wait block:(void (^)())block { if ([NSThread isMainThread] && wait == YES) { block(); diff -r a1fe933e5be6 -r 9448fff93286 src/share/classes/com/sun/jmx/remote/security/SubjectDelegator.java --- a/src/share/classes/com/sun/jmx/remote/security/SubjectDelegator.java Wed Mar 26 16:01:18 2014 +0000 +++ b/src/share/classes/com/sun/jmx/remote/security/SubjectDelegator.java Sat Apr 12 00:23:06 2014 +0100 @@ -35,6 +35,8 @@ import javax.management.remote.SubjectDelegationPermission; import com.sun.jmx.remote.util.CacheMap; +import java.util.ArrayList; +import java.util.Collection; public class SubjectDelegator { private static final int PRINCIPALS_CACHE_SIZE = 10; @@ -53,11 +55,14 @@ boolean removeCallerContext) throws SecurityException { + if (System.getSecurityManager() != null && authenticatedACC == null) { + throw new SecurityException("Illegal AccessControlContext: null"); + } if (principalsCache == null || accCache == null) { principalsCache = - new CacheMap(PRINCIPALS_CACHE_SIZE); + new CacheMap<>(PRINCIPALS_CACHE_SIZE); accCache = - new CacheMap(ACC_CACHE_SIZE); + new CacheMap<>(ACC_CACHE_SIZE); } // Retrieve the principals for the given @@ -101,14 +106,15 @@ // principal in the delegated subject // final Principal[] dp = delegatedPrincipals; + final Collection permissions = new ArrayList<>(dp.length); + for(Principal p : dp) { + final String pname = p.getClass().getName() + "." + p.getName(); + permissions.add(new SubjectDelegationPermission(pname)); + } PrivilegedAction action = new PrivilegedAction() { public Void run() { - for (int i = 0 ; i < dp.length ; i++) { - final String pname = - dp[i].getClass().getName() + "." + dp[i].getName(); - Permission sdp = - new SubjectDelegationPermission(pname); + for (Permission sdp : permissions) { AccessController.checkPermission(sdp); } return null; diff -r a1fe933e5be6 -r 9448fff93286 src/share/classes/com/sun/jndi/dns/DnsClient.java --- a/src/share/classes/com/sun/jndi/dns/DnsClient.java Wed Mar 26 16:01:18 2014 +0000 +++ b/src/share/classes/com/sun/jndi/dns/DnsClient.java Sat Apr 12 00:23:06 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 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 @@ -30,13 +30,14 @@ import java.net.DatagramPacket; import java.net.InetAddress; import java.net.Socket; +import java.security.SecureRandom; import javax.naming.*; import java.util.Collections; import java.util.Map; import java.util.HashMap; -import java.util.Set; -import java.util.HashSet; + +import sun.security.jca.JCAUtil; // Some of this code began life as part of sun.javaos.net.DnsClient // originally by sritchie at eng 1/96. It was first hacked up for JNDI @@ -77,6 +78,8 @@ }; private static final int DEFAULT_PORT = 53; + private static final int TRANSACTION_ID_BOUND = 0x10000; + private static final SecureRandom random = JCAUtil.getSecureRandom(); private InetAddress[] servers; private int[] serverPorts; private int timeout; // initial timeout on UDP queries in ms @@ -85,7 +88,7 @@ private DatagramSocket udpSocket; // Requests sent - private Set reqs; + private Map reqs; // Responses received private Map resps; @@ -134,7 +137,8 @@ throw ne; } } - reqs = Collections.synchronizedSet(new HashSet()); + reqs = Collections.synchronizedMap( + new HashMap()); resps = Collections.synchronizedMap(new HashMap()); } @@ -153,10 +157,6 @@ } } - - private int ident = 0; // used to set the msg ID field - private Object identLock = new Object(); - /* * If recursion is true, recursion is requested on the query. * If auth is true, only authoritative responses are accepted; other @@ -167,15 +167,22 @@ throws NamingException { int xid; - synchronized (identLock) { - ident = 0xFFFF & (ident + 1); - xid = ident; - } + Packet pkt; + ResourceRecord collision; - // enqueue the outstanding request - reqs.add(xid); + do { + // Generate a random transaction ID + xid = random.nextInt(TRANSACTION_ID_BOUND); + pkt = makeQueryPacket(fqdn, xid, qclass, qtype, recursion); - Packet pkt = makeQueryPacket(fqdn, xid, qclass, qtype, recursion); + // enqueue the outstanding request + synchronized (reqs) { + if ((collision = reqs.put(xid, new ResourceRecord(pkt.getData(), + pkt.length(), Header.HEADER_SIZE, true, false))) != null) { + reqs.put(xid, collision); // revert + } + } + } while (collision != null); Exception caughtException = null; boolean[] doNotRetry = new boolean[servers.length]; @@ -305,11 +312,8 @@ ResourceRecords queryZone(DnsName zone, int qclass, boolean recursion) throws NamingException { - int xid; - synchronized (identLock) { - ident = 0xFFFF & (ident + 1); - xid = ident; - } + int xid = random.nextInt(TRANSACTION_ID_BOUND); + Packet pkt = makeQueryPacket(zone, xid, qclass, ResourceRecord.QTYPE_AXFR, recursion); Exception caughtException = null; @@ -390,6 +394,7 @@ DatagramPacket opkt = new DatagramPacket( pkt.getData(), pkt.length(), server, port); DatagramPacket ipkt = new DatagramPacket(new byte[8000], 8000); + // Packets may only be sent to or received from this server address udpSocket.connect(server, port); int pktTimeout = (timeout * (1 << retry)); try { @@ -524,7 +529,7 @@ "\tResponse Q:" + resps); } byte[] pkt; - if ((pkt = (byte[]) resps.get(xid)) != null) { + if ((pkt = resps.get(xid)) != null) { checkResponseCode(new Header(pkt, pkt.length)); synchronized (queuesLock) { resps.remove(xid); @@ -543,6 +548,9 @@ * Checks the header of an incoming DNS response. * Returns true if it matches the given xid and throws a naming * exception, if appropriate, based on the response code. + * + * Also checks that the domain name, type and class in the response + * match those in the original query. */ private boolean isMatchResponse(byte[] pkt, int xid) throws NamingException { @@ -552,7 +560,7 @@ throw new CommunicationException("DNS error: expecting response"); } - if (!reqs.contains(xid)) { // already received, ignore the response + if (!reqs.containsKey(xid)) { // already received, ignore the response return false; } @@ -561,14 +569,47 @@ if (debug) { dprint("XID MATCH:" + xid); } + checkResponseCode(hdr); + if (!hdr.query && hdr.numQuestions == 1) { - checkResponseCode(hdr); - // remove the response for the xid if received by some other thread. - synchronized (queuesLock) { - resps.remove(xid); - reqs.remove(xid); + ResourceRecord rr = new ResourceRecord(pkt, pkt.length, + Header.HEADER_SIZE, true, false); + + // Retrieve the original query + ResourceRecord query = reqs.get(xid); + int qtype = query.getType(); + int qclass = query.getRrclass(); + DnsName qname = query.getName(); + + // Check that the type/class/name in the query section of the + // response match those in the original query + if ((qtype == ResourceRecord.QTYPE_STAR || + qtype == rr.getType()) && + (qclass == ResourceRecord.QCLASS_STAR || + qclass == rr.getRrclass()) && + qname.equals(rr.getName())) { + From bugzilla-daemon at icedtea.classpath.org Tue Apr 15 20:50:59 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 15 Apr 2014 20:50:59 +0000 Subject: [Bug 1393] JPEG support in build is broken on non-system-libjpeg builds In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1393 --- Comment #4 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=9448fff93286 author: andrew date: Sat Apr 12 00:23:06 2014 +0100 PR1393: JPEG support in build is broken on non-system-libjpeg builds -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew at icedtea.classpath.org Tue Apr 15 20:55:44 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 15 Apr 2014 20:55:44 +0000 Subject: /hg/icedtea6: 5 new changesets Message-ID: changeset 8c338e95fea0 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=8c338e95fea0 author: Andrew John Hughes date: Sat Feb 01 15:57:33 2014 +0000 Start work on next release, b31. 2014-02-01 Andrew John Hughes * Makefile.am: (OPENJDK_VERSION): Bump to next release, b31. changeset 2fba937157de in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=2fba937157de author: Andrew John Hughes date: Tue Feb 04 15:30:30 2014 +0000 Sync linker-libs-order.patch with upstream. 2014-02-01 Andrew John Hughes * patches/linker-libs-order.patch: Regenerate, removing upstreamed fragment. changeset 787402b1e556 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=787402b1e556 author: Andrew John Hughes date: Wed Apr 09 22:51:45 2014 +0100 Merge changeset d755adce0a9b in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=d755adce0a9b author: Andrew John Hughes date: Thu Apr 10 11:29:11 2014 +0100 Fix to build against 2014/04/15 security patches. 2014-04-10 Andrew John Hughes * patches/merge_fix.patch, * patches/openjdk/4685768-focus.patch, * patches/openjdk/4993545-nativeinlightfixer.patch, * patches/openjdk/6444769-windowwithwarningtest.patch, * patches/openjdk/6607170-request_focus.patch, * patches/openjdk/6607660-treelock.patch, * patches/openjdk/6616323-component_array.patch, * patches/openjdk/6633275-shaped_translucent_windows.patch, * patches/openjdk/6637796-set_bounds.patch, * patches/openjdk/6656651-windows_lcd_glyphs.patch, * patches/openjdk/6682046-shape_calculation.patch, * patches/openjdk/6693253-security_warning.patch, * patches/openjdk/6725214-direct3d-01.patch, * patches/openjdk/6748082-isDisplayLocal.patch, * patches/openjdk/6755274-glgetstring-crash.patch, * patches/openjdk/6769607-modal-hangs.patch, * patches/openjdk/6791612-opengl-jni-fix.patch, * patches/openjdk/6797195-hw_lw_mixing.patch, * patches/openjdk/6984543-onscreen_rendering_resize_test.patch, * patches/openjdk/7110396-sound_code_build_fix.patch, * patches/openjdk/8035893-jvm_getversioninfo_zeroing.patch, * patches/openjdk/oj6-29-jdk_version_info_zeroing.patch, * patches/security/20120214/7112642.patch, * patches/security/20130618/8009071-improve_shape_handling.patch: Removed; upstreamed. * Makefile.am: (SPECIAL_SECURITY_PATCH_1): Removed. (SPECIAL_SECURITY_PATCH_2): Likewise. (LCMS_PATCHES): Add latest security fixes for users of in-tree LCMS2. (UPSTREAMED_PATCHES): Set to empty. (ICEDTEA_PATCHES): Remove upstreamed patches. * patches/nomotif-6706121.patch: Regenerated. * patches/security/20131015/8014098-better_profile_validation.patch, * patches/security/20140415/8031335-better_colour_profiling.patch: Security fixes for LCMS 2, taken from IcedTea 2.4.x. changeset 7ae2f5096960 in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=7ae2f5096960 author: Andrew John Hughes date: Thu Apr 10 20:43:27 2014 +0100 Update from b31 tarball. 2014-04-10 Andrew John Hughes * Makefile.am: (OPENJDK_DATE): Update to b31 release date. (OPENJDK_SHA256SUM): Set to hash of new b31 tarball. diffstat: ChangeLog | 143 + Makefile.am | 112 +- NEWS | 15 + acinclude.m4 | 117 +- configure.ac | 1 + contrib/jck/compile-native-code.sh | 3 + javac.in | 11 +- patches/linker-libs-order.patch | 44 +- patches/merge_fix.patch | 280 - patches/nomotif-6706121.patch | 270 +- patches/openjdk/4685768-focus.patch | 398 - patches/openjdk/4993545-nativeinlightfixer.patch | 408 - patches/openjdk/6444769-windowwithwarningtest.patch | 352 - patches/openjdk/6607170-request_focus.patch | 709 - patches/openjdk/6607660-treelock.patch | 112 - patches/openjdk/6616323-component_array.patch | 1083 - patches/openjdk/6633275-shaped_translucent_windows.patch | 6197 - patches/openjdk/6637796-set_bounds.patch | 465 - patches/openjdk/6656651-windows_lcd_glyphs.patch | 938 - patches/openjdk/6682046-shape_calculation.patch | 506 - patches/openjdk/6693253-security_warning.patch | 5391 - patches/openjdk/6725214-direct3d-01.patch | 62027 ---------- patches/openjdk/6748082-isDisplayLocal.patch | 116 - patches/openjdk/6755274-glgetstring-crash.patch | 56 - patches/openjdk/6769607-modal-hangs.patch | 164 - patches/openjdk/6791612-opengl-jni-fix.patch | 27 - patches/openjdk/6797195-hw_lw_mixing.patch | 3277 - patches/openjdk/6984543-onscreen_rendering_resize_test.patch | 30 - patches/openjdk/7151089-numa_should_not_free_shm_large_pages.patch | 29 + patches/openjdk/8013057-detect_mmap_commit_failures.patch | 867 + patches/openjdk/8026887-make_large_page_allocations_easier_to_debug.patch | 81 + patches/security/20120214/7112642.patch | 750 - patches/security/20130618/8009071-improve_shape_handling.patch | 1014 - patches/security/20131015/8014098-better_profile_validation.patch | 59 + patches/security/20140415/8031335-better_colour_profiling.patch | 4433 + 35 files changed, 5953 insertions(+), 84532 deletions(-) diffs (truncated from 91592 to 500 lines): diff -r 963a9ab43d7f -r 7ae2f5096960 ChangeLog --- a/ChangeLog Thu Jan 30 21:38:08 2014 +0000 +++ b/ChangeLog Thu Apr 10 20:43:27 2014 +0100 @@ -1,3 +1,146 @@ +2014-04-10 Andrew John Hughes + + * Makefile.am: + (OPENJDK_DATE): Update to b31 release date. + (OPENJDK_SHA256SUM): Set to hash of new b31 tarball. + +2014-04-10 Andrew John Hughes + + * patches/merge_fix.patch, + * patches/openjdk/4685768-focus.patch, + * patches/openjdk/4993545-nativeinlightfixer.patch, + * patches/openjdk/6444769-windowwithwarningtest.patch, + * patches/openjdk/6607170-request_focus.patch, + * patches/openjdk/6607660-treelock.patch, + * patches/openjdk/6616323-component_array.patch, + * patches/openjdk/6633275-shaped_translucent_windows.patch, + * patches/openjdk/6637796-set_bounds.patch, + * patches/openjdk/6656651-windows_lcd_glyphs.patch, + * patches/openjdk/6682046-shape_calculation.patch, + * patches/openjdk/6693253-security_warning.patch, + * patches/openjdk/6725214-direct3d-01.patch, + * patches/openjdk/6748082-isDisplayLocal.patch, + * patches/openjdk/6755274-glgetstring-crash.patch, + * patches/openjdk/6769607-modal-hangs.patch, + * patches/openjdk/6791612-opengl-jni-fix.patch, + * patches/openjdk/6797195-hw_lw_mixing.patch, + * patches/openjdk/6984543-onscreen_rendering_resize_test.patch, + * patches/openjdk/7110396-sound_code_build_fix.patch, + * patches/openjdk/8035893-jvm_getversioninfo_zeroing.patch, + * patches/openjdk/oj6-29-jdk_version_info_zeroing.patch, + * patches/security/20120214/7112642.patch, + * patches/security/20130618/8009071-improve_shape_handling.patch: + Removed; upstreamed. + * Makefile.am: + (SPECIAL_SECURITY_PATCH_1): Removed. + (SPECIAL_SECURITY_PATCH_2): Likewise. + (LCMS_PATCHES): Add latest security fixes for users of in-tree LCMS2. + (UPSTREAMED_PATCHES): Set to empty. + (ICEDTEA_PATCHES): Remove upstreamed patches. + * patches/nomotif-6706121.patch: Regenerated. + * patches/security/20131015/8014098-better_profile_validation.patch, + * patches/security/20140415/8031335-better_colour_profiling.patch: + Security fixes for LCMS 2, taken from IcedTea 2.4.x. + +2014-04-02 Andrew John Hughes + + * NEWS: Add 1.13.2 release notes. + +2014-03-25 Andrew John Hughes + + * Makefile.am: + (UPSTREAMED_PATCHES): Add patches from unreleased upstream. + (ICEDTEA_PATCHES): Include UPSTREAMED_PATCHES. + * NEWS: Updated. + * patches/openjdk/7110396-sound_code_build_fix.patch, + * patches/openjdk/8035893-jvm_getversioninfo_zeroing.patch, + * patches/openjdk/oj6-29-jdk_version_info_zeroing.patch: + Add new patches from upstream. + +2014-03-24 Pavel Tisnovsky + + * contrib/jck/compile-native-code.sh: + Fixed compilation failure on Aarch64. + +2012-08-16 Andrew John Hughes + + PR1712: Allow -Werror to be turned off in the + HotSpot build + * Makefile.am: + (WERROR_STATUS): Set to true or false + depending on if ENABLE_WERROR is set or not. + (ICEDTEA_ENV): Use WERROR_STATUS to set + COMPILER_WARNINGS_FATAL. + * acinclude.m4: + (IT_ENABLE_WERROR): New macro to enable -Werror. + This is disabled by default. + * configure.ac: Call IT_ENABLE_WERROR. + * javac.in: Handle stripping of arguments which + take parameters, specifically -Xmaxwarns. + * NEWS: Updated. + +2014-02-19 Andrew John Hughes + + PR1714: Update PaX support to detect running PaX + kernel and use newer tools + * Makefile.am: + (clean-local): Remove clean-icedtea, clean-icedtea-debug + and clean-icedtea-ecj; pulled in by dependents. + (.PHONY): Add clean-runnable-icedtea, clean-runnable-icedtea-debug + and clean-runnable-icedtea-ecj. + (runnable-icedtea): Depend on icedtea and pax-mark-vm. + (clean-runnable-icedtea): Clean stamp. + (icedtea-against-icedtea): Depend on runnable-icedtea rather + than icedtea and pax-mark-vm. + (clean-icedtea-against-icedtea): Depend on clean-runnable-icedtea rather + than clean-pax-mark-vm. + (runnable-icedtea-debug): Depend on icedtea-debug and pax-mark-vm-debug. + (clean-runnable-icedtea-debug): Clean stamp. + (icedtea-debug-against-icedtea): Depend on runnable-icedtea-debug rather + than icedtea-debug and pax-mark-vm-debug. + (clean-icedtea-debug-against-icedtea): Depend on clean-runnable-icedtea-debug + rather than clean-pax-mark-vm. + (add-archive): Depend on runnable-icedtea as the target executes java. + (add-archive-debug): Likewise with runnable-icedtea-debug. + (check-crypto): Depend on runnable-icedtea as the target executes java. + (check-crypto-debug): Likewise with runnable-icedtea-debug. + (runnable-icedtea-ecj): Depend on icedtea-ecj and pax-mark-vm-ecj. + (clean-runnable-icedtea-ecj): Clean stamp. + (icedtea-against-ecj): Depend on runnable-icedtea-ecj rather + than icedtea-ecj and pax-mark-vm-ecj. + (clean-icedtea-against-ecj): Depend on clean-runnable-icedtea-ecj + rather than clean-pax-mark-vm. + (add-archive-ecj): Depend on runnable-icedtea-ecj as the target executes java. + (check-crypto-boot): Depend on runnable-icedtea-ecj as the target executes java. + * NEWS: Updated. + * acinclude.m4: + (IT_HAS_PAX): New macro to detect whether the running + kernel uses PaX. + (IT_WITH_PAX): Rewritten to search for PaX tools - + currently paxmark.sh, paxctl-ng, chpax and paxctl - + and fail if a tool isn't found and a PaX kernel is + being used. + +2014-03-17 Andrew John Hughes + + * Makefile.am: + (ICEDTEA_PATCHES): Add new patches. + * NEWS: Updated. + * patches/openjdk/7151089-numa_should_not_free_shm_large_pages.patch, + * patches/openjdk/8013057-detect_mmap_commit_failures.patch, + * patches/openjdk/8026887-make_large_page_allocations_easier_to_debug.patch: + Backports to improve mmap failure output. + +2014-02-01 Andrew John Hughes + + * patches/linker-libs-order.patch: + Regenerate, removing upstreamed fragment. + +2014-02-01 Andrew John Hughes + + * Makefile.am: + (OPENJDK_VERSION): Bump to next release, b31. + 2014-01-30 Andrew John Hughes * NEWS: Add 1.11.15 release notes. diff -r 963a9ab43d7f -r 7ae2f5096960 Makefile.am --- a/Makefile.am Thu Jan 30 21:38:08 2014 +0000 +++ b/Makefile.am Thu Apr 10 20:43:27 2014 +0100 @@ -1,8 +1,8 @@ # Dependencies -OPENJDK_DATE = 21_jan_2014 -OPENJDK_SHA256SUM = ebd9fdf39c8590cd620cb78c481ca233f5919f2819237b5d2b440666f1dd3475 -OPENJDK_VERSION = b30 +OPENJDK_DATE = 15_apr_2014 +OPENJDK_SHA256SUM = 362d9bf20e91393b52dd0513896d39831cf320c49bd4bf1e28124f21569b72eb +OPENJDK_VERSION = b31 OPENJDK_URL = https://java.net/downloads/openjdk6/ CACAO_VERSION = 68fe50ac34ec @@ -286,9 +286,6 @@ SECURITY_PATCHES = \ patches/security/20120830/7182135-impossible_to_use_some_editors_directly.patch -SPECIAL_SECURITY_PATCH_1 = patches/security/20120214/7112642.patch -SPECIAL_SECURITY_PATCH_2 = patches/security/20130618/8009071-improve_shape_handling.patch - if ENABLE_LCMS2 LCMS_PATCHES = \ patches/openjdk/lcms2/6523398-writing_tags.patch \ @@ -306,37 +303,23 @@ patches/openjdk/lcms2/bundled/8007925-improve_cmsstagealloclabv2tov4curves.patch \ patches/openjdk/lcms2/bundled/8009654-cmsnamed_stability.patch \ patches/openjdk/lcms2/bundled/7042594-tck_failure.patch \ - patches/openjdk/lcms2/bundled/8007927-improve_cmsallocprofilesequencedescription.patch + patches/openjdk/lcms2/bundled/8007927-improve_cmsallocprofilesequencedescription.patch \ + patches/security/20131015/8014098-better_profile_validation.patch \ + patches/security/20140415/8031335-better_colour_profiling.patch endif else LCMS_PATCHES = \ patches/lcms.patch endif +UPSTREAMED_PATCHES = + ICEDTEA_PATCHES = \ $(DROP_PATCHES) \ $(SECURITY_PATCHES) \ + $(UPSTREAMED_PATCHES) \ patches/openjdk/6733501-icedtea_lcms_test.patch \ $(LCMS_PATCHES) \ - patches/openjdk/4993545-nativeinlightfixer.patch \ - patches/openjdk/6637796-set_bounds.patch \ - patches/openjdk/6607660-treelock.patch \ - patches/openjdk/6607170-request_focus.patch \ - patches/openjdk/4685768-focus.patch \ - patches/openjdk/6616323-component_array.patch \ - patches/openjdk/6682046-shape_calculation.patch \ - patches/openjdk/6797195-hw_lw_mixing.patch \ - patches/openjdk/6725214-direct3d-01.patch \ - patches/openjdk/6748082-isDisplayLocal.patch \ - patches/openjdk/6633275-shaped_translucent_windows.patch \ - $(SPECIAL_SECURITY_PATCH_1) \ - patches/openjdk/6769607-modal-hangs.patch \ - patches/openjdk/6791612-opengl-jni-fix.patch \ - patches/openjdk/6755274-glgetstring-crash.patch \ - patches/openjdk/6984543-onscreen_rendering_resize_test.patch \ - patches/openjdk/6693253-security_warning.patch \ - patches/openjdk/6444769-windowwithwarningtest.patch \ - patches/openjdk/6656651-windows_lcd_glyphs.patch \ patches/openjdk/6791502-invalid_icc_profile.patch \ patches/openjdk/6793818-jpegimagereader_too_greedy.patch \ patches/openjdk/6631559-dont_load_libjpeg_to_register_imageio_plugins.patch \ @@ -356,7 +339,6 @@ patches/headers.patch \ patches/gcc-suffix.patch \ patches/libraries-splashscreen.patch \ - $(SPECIAL_SECURITY_PATCH_2) \ patches/uname.patch \ patches/nomotif-6706121.patch \ patches/nomotif.patch \ @@ -497,7 +479,6 @@ patches/openjdk/p11cipher-6924489-ckr_operation_not_initialized.patch \ patches/openjdk/p11cipher-6604496-support_ckm_aes_ctr.patch \ patches/openjdk/p11cipher-6414899-p11digest_should_support_cloning.patch \ - patches/merge_fix.patch \ patches/traceable.patch \ patches/pr1319-support_giflib_5.patch \ patches/openjdk/6718364-inference_failure.patch \ @@ -630,7 +611,10 @@ patches/windows-jdk-sizecalc.patch \ patches/shark_fixes_from_8003868.patch \ patches/8003992_support_6.patch \ - patches/shark-drop_compile_method_arg_following_7083786.patch + patches/shark-drop_compile_method_arg_following_7083786.patch \ + patches/openjdk/7151089-numa_should_not_free_shm_large_pages.patch \ + patches/openjdk/8013057-detect_mmap_commit_failures.patch \ + patches/openjdk/8026887-make_large_page_allocations_easier_to_debug.patch if WITH_RHINO ICEDTEA_PATCHES += \ @@ -775,6 +759,12 @@ ICEDTEA_PKG = $(EMPTY) (${PKGVERSION}) endif +if ENABLE_WERROR +WERROR_STATUS=true +else +WERROR_STATUS=false +endif + ICEDTEA_ENV = \ ALT_JDK_IMPORT_PATH="$(BOOT_DIR)" \ ANT="$(ANT)" \ @@ -817,7 +807,8 @@ ALT_OUTPUTDIR="$(BUILD_OUTPUT_DIR)" \ STATIC_CXX="false" \ BUILD_GCC=gcc$(GCC_SUFFIX) \ - BUILD_CXX=g++$(GCC_SUFFIX) + BUILD_CXX=g++$(GCC_SUFFIX) \ + COMPILER_WARNINGS_FATAL="$(WERROR_STATUS)" if ENABLE_CACAO ICEDTEA_ENV += \ @@ -966,8 +957,8 @@ fi clean-local: clean-tests $(PULSE_JAVA_CLEAN_TARGET) \ - clean-icedtea clean-icedtea-debug clean-icedtea-ecj clean-extract clean-ports \ - clean-overlay clean-native-ecj clean-icedtea-against-icedtea clean-icedtea-debug-against-icedtea \ + clean-extract clean-ports clean-overlay clean-native-ecj \ + clean-icedtea-against-icedtea clean-icedtea-debug-against-icedtea \ clean-icedtea-against-ecj clean-extract-ecj clean-generated clean-replace-hotspot \ clean-rewriter clean-rewrite-rhino clean-rt clean-bootstrap-directory \ clean-bootstrap-directory-ecj clean-bootstrap-directory-symlink \ @@ -1011,7 +1002,8 @@ clean-add-pulseaudio-ecj clean-add-nss-ecj clean-add-tzdata-support-ecj clean-fonts \ clean-download-hotspot clean-tests clean-tapset-report jtregcheck clean-pax-mark-vm \ clean-pax-mark-vm-debug clean-pax-mark-vm-ecj clean-check-crypto clean-check-crypto-debug \ - clean-check-crypto-boot clean-cryptocheck + clean-check-crypto-boot clean-cryptocheck clean-runnable-icedtea clean-runnable-icedtea-debug \ + clean-runnable-icedtea-ecj env: @echo 'unset JAVA_HOME' @@ -1720,31 +1712,44 @@ rm -rf $(DEBUG_BUILD_OUTPUT_DIR) rm -f stamps/icedtea-debug.stamp -stamps/icedtea-against-icedtea.stamp: stamps/icedtea.stamp \ +stamps/runnable-icedtea.stamp: stamps/icedtea.stamp stamps/pax-mark-vm.stamp + mkdir -p stamps + touch $@ + +clean-runnable-icedtea: clean-icedtea clean-pax-mark-vm + rm -f stamps/runnable-icedtea.stamp + +stamps/icedtea-against-icedtea.stamp: stamps/runnable-icedtea.stamp \ stamps/add-jamvm.stamp stamps/add-cacao.stamp stamps/add-zero.stamp \ stamps/add-systemtap.stamp stamps/add-pulseaudio.stamp stamps/add-nss.stamp \ - stamps/add-tzdata-support.stamp stamps/add-archive.stamp stamps/pax-mark-vm.stamp \ - stamps/check-crypto.stamp + stamps/add-tzdata-support.stamp stamps/add-archive.stamp stamps/check-crypto.stamp mkdir -p stamps touch $@ clean-icedtea-against-icedtea: clean-add-jamvm clean-add-zero clean-add-cacao \ clean-add-systemtap clean-add-pulseaudio clean-add-nss clean-add-tzdata-support \ - clean-add-archive clean-pax-mark-vm clean-check-crypto + clean-add-archive clean-check-crypto clean-runnable-icedtea rm -f stamps/icedtea-against-icedtea.stamp -stamps/icedtea-debug-against-icedtea.stamp: stamps/icedtea-debug.stamp \ +stamps/runnable-icedtea-debug.stamp: stamps/icedtea-debug.stamp stamps/pax-mark-vm-debug.stamp + mkdir -p stamps + touch $@ + +clean-runnable-icedtea-debug: clean-icedtea-debug clean-pax-mark-vm-debug + rm -f stamps/runnable-icedtea-debug.stamp + +stamps/icedtea-debug-against-icedtea.stamp: stamps/runnable-icedtea-debug.stamp \ stamps/add-jamvm-debug.stamp stamps/add-cacao-debug.stamp \ stamps/add-zero-debug.stamp stamps/add-systemtap-debug.stamp stamps/add-pulseaudio-debug.stamp \ stamps/add-nss-debug.stamp stamps/add-tzdata-support-debug.stamp stamps/add-archive-debug.stamp \ - stamps/pax-mark-vm-debug.stamp stamps/check-crypto-debug.stamp + stamps/check-crypto-debug.stamp mkdir -p stamps touch $@ clean-icedtea-debug-against-icedtea: clean-add-zero-debug \ clean-add-jamvm-debug clean-add-cacao-debug clean-add-systemtap-debug \ clean-add-pulseaudio-debug clean-add-nss-debug clean-add-tzdata-support-debug \ - clean-add-archive-debug clean-pax-mark-vm-debug clean-check-crypto-debug + clean-add-archive-debug clean-runnable-icedtea-debug clean-check-crypto-debug rm -f stamps/icedtea-debug-against-icedtea.stamp stamps/add-systemtap.stamp: stamps/icedtea.stamp @@ -1986,7 +1991,7 @@ fi rm -f stamps/add-tzdata-support-debug.stamp -stamps/add-archive.stamp: stamps/icedtea.stamp +stamps/add-archive.stamp: stamps/runnable-icedtea.stamp if !ENABLE_JAMVM if !ENABLE_CACAO if !ZERO_BUILD @@ -2002,7 +2007,7 @@ rm -vf $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)/*/*.jsa rm -f stamps/add-archive.stamp -stamps/add-archive-debug.stamp: stamps/icedtea-debug.stamp +stamps/add-archive-debug.stamp: stamps/runnable-icedtea-debug.stamp if !ENABLE_JAMVM if !ENABLE_CACAO if !ZERO_BUILD @@ -2036,7 +2041,7 @@ clean-pax-mark-vm-debug: rm -f stamps/pax-mark-vm-debug.stamp -stamps/check-crypto.stamp: stamps/cryptocheck.stamp stamps/icedtea.stamp +stamps/check-crypto.stamp: stamps/cryptocheck.stamp stamps/runnable-icedtea.stamp if [ -e $(BUILD_OUTPUT_DIR)/j2sdk-image/bin/java ] ; then \ $(BUILD_OUTPUT_DIR)/j2sdk-image/bin/java -cp $(CRYPTO_CHECK_BUILD_DIR) TestCryptoLevel ; \ fi @@ -2046,7 +2051,7 @@ clean-check-crypto: rm -f stamps/check-crypto.stamp -stamps/check-crypto-debug.stamp: stamps/cryptocheck.stamp stamps/icedtea-debug.stamp +stamps/check-crypto-debug.stamp: stamps/cryptocheck.stamp stamps/runnable-icedtea-debug.stamp if [ -e $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java ] ; then \ $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java -cp $(CRYPTO_CHECK_BUILD_DIR) TestCryptoLevel ; \ fi @@ -2075,14 +2080,21 @@ rm -rf $(ECJ_BUILD_OUTPUT_DIR) rm -f stamps/icedtea-ecj.stamp -stamps/icedtea-against-ecj.stamp: stamps/icedtea-ecj.stamp stamps/add-systemtap-ecj.stamp \ - stamps/add-pulseaudio-ecj.stamp stamps/add-nss-ecj.stamp stamps/add-tzdata-support-ecj.stamp \ - stamps/add-archive-ecj.stamp stamps/pax-mark-vm-ecj.stamp stamps/check-crypto-boot.stamp +stamps/runnable-icedtea-ecj.stamp: stamps/icedtea-ecj.stamp stamps/pax-mark-vm-ecj.stamp mkdir -p stamps touch $@ +clean-runnable-icedtea-ecj: clean-icedtea-ecj clean-pax-mark-vm-ecj + rm -f stamps/runnable-icedtea-ecj.stamp + +stamps/icedtea-against-ecj.stamp: stamps/runnable-icedtea-ecj.stamp stamps/add-systemtap-ecj.stamp \ + stamps/add-pulseaudio-ecj.stamp stamps/add-nss-ecj.stamp stamps/add-tzdata-support-ecj.stamp \ + stamps/add-archive-ecj.stamp stamps/check-crypto-boot.stamp + mkdir -p stamps + touch $@ + clean-icedtea-against-ecj: clean-add-systemtap-ecj clean-add-pulseaudio-ecj clean-add-nss-ecj \ - clean-add-tzdata-support-ecj clean-add-archive-ecj clean-pax-mark-vm-ecj clean-check-crypto-boot + clean-add-tzdata-support-ecj clean-add-archive-ecj clean-runnable-icedtea-ecj clean-check-crypto-boot rm -f stamps/icedtea-against-ecj.stamp stamps/add-systemtap-ecj.stamp: stamps/icedtea-ecj.stamp @@ -2205,7 +2217,7 @@ fi rm -f stamps/add-tzdata-support-ecj.stamp -stamps/add-archive-ecj.stamp: stamps/icedtea-ecj.stamp +stamps/add-archive-ecj.stamp: stamps/runnable-icedtea-ecj.stamp if !ENABLE_JAMVM if !ENABLE_CACAO if !ZERO_BUILD @@ -2230,7 +2242,7 @@ clean-pax-mark-vm-ecj: rm -f stamps/pax-mark-vm-ecj.stamp -stamps/check-crypto-boot.stamp: stamps/cryptocheck.stamp stamps/icedtea-ecj.stamp +stamps/check-crypto-boot.stamp: stamps/cryptocheck.stamp stamps/runnable-icedtea-ecj.stamp if [ -e $(ECJ_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java ] ; then \ $(ECJ_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java -cp $(CRYPTO_CHECK_BUILD_DIR) TestCryptoLevel ; \ fi diff -r 963a9ab43d7f -r 7ae2f5096960 NEWS --- a/NEWS Thu Jan 30 21:38:08 2014 +0000 +++ b/NEWS Thu Apr 10 20:43:27 2014 +0100 @@ -14,6 +14,21 @@ New in release 1.14.0 (201X-XX-XX): +* Backports + - S7151089: PS NUMA: NUMA allocator should not attempt to free pages when using SHM large pages + - S8013057: Detect mmap() commit failures in Linux and Solaris os::commit_memory() impls and call vm_exit_out_of_memory() + - S8026887: Make issues due to failed large pages allocations easier to debug + +New in release 1.13.2 (2014-03-28): + +* Backports + - S7110396: Sound code fails to build with gcc 4.6 on multiarch Linux systems + - S8035893: JVM_GetVersionInfo fails to zero structure + - OJ29: JDK fails to zero jdk_version_info correctly +* Bug fixes + - PR1714, G498288: Update PaX support to detect running PaX kernel and use newer tools + - PR1712, G455426: Allow -Werror to be turned off in the HotSpot build + New in release 1.11.15 (2014-01-21): * Security fixes diff -r 963a9ab43d7f -r 7ae2f5096960 acinclude.m4 --- a/acinclude.m4 Thu Jan 30 21:38:08 2014 +0000 +++ b/acinclude.m4 Thu Apr 10 20:43:27 2014 +0100 @@ -2139,48 +2139,79 @@ AM_CONDITIONAL([VM_SUPPORTS_XBOOTCLASSPATH], test x"${it_cv_xbootclasspath_works}" = "xyes") ]) +AC_DEFUN_ONCE([IT_HAS_PAX], +[ + AC_MSG_CHECKING([if a PaX kernel is in use]) + if cat /proc/self/status | grep '^PaX' >&AS_MESSAGE_LOG_FD 2>&1; then + pax_active=yes; + else + pax_active=no; + fi + AC_MSG_RESULT([${pax_active}]) + AM_CONDITIONAL([USING_PAX], test x"${pax_active}" = "xyes") +]) + AC_DEFUN_ONCE([IT_WITH_PAX], [ - AC_MSG_CHECKING([for pax utility to use]) + AC_REQUIRE([IT_HAS_PAX]) + PAX_DEFAULT=/usr/sbin/paxmark.sh + AC_MSG_CHECKING([if a PaX utility was specified]) AC_ARG_WITH([pax], [AS_HELP_STRING(--with-pax=COMMAND,the command used for pax marking)], [ - PAX_COMMAND=${withval} - if test "x${PAX_COMMAND}" = "xno"; then - PAX_COMMAND="not specified" + if test "x${withval}" = "xyes"; then + PAX_COMMAND=no + else + PAX_COMMAND="${withval}" fi ], [ + PAX_COMMAND=no + ]) + AC_MSG_RESULT(${PAX_COMMAND}) + if test "x${PAX_COMMAND}" == "xno"; then + PAX_COMMAND=${PAX_DEFAULT} + fi + AC_MSG_CHECKING([if $PAX_COMMAND is a valid executable file]) + if test -x "${PAX_COMMAND}" && test -f "${PAX_COMMAND}"; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + PAX_COMMAND="" + AC_PATH_PROG(PAX_COMMAND, "paxmark.sh") + if test -z "${PAX_COMMAND}"; then From andrew at icedtea.classpath.org Tue Apr 15 20:57:31 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 15 Apr 2014 20:57:31 +0000 Subject: /hg/icedtea6-hg: 8 new changesets Message-ID: changeset 7d844153dc95 in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=7d844153dc95 author: Andrew John Hughes date: Tue Mar 18 12:32:37 2014 +0000 S8013057: Detect mmap() commit failures in Linux and Solaris os::commit_memory() impls and call vm_exit_out_of_memory() S7151089: PS NUMA: NUMA allocator should not attempt to free pages when using SHM large pages S8026887: Make issues due to failed large pages allocations easier to debug 2014-03-17 Andrew John Hughes * Makefile.am: (ICEDTEA_PATCHES): Add new patches. * NEWS: Updated. * patches/openjdk/7151089-numa_should_not_free_shm_large_pages.patch, * patches/openjdk/8013057-detect_mmap_commit_failures.patch, * patches/openjdk/8026887-make_large_page_allocations_easier_to_debug.patch: Backports to improve mmap failure output. changeset 975cb4907b2e in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=975cb4907b2e author: Andrew John Hughes date: Wed Mar 19 17:33:09 2014 +0000 PR1714: Update PaX support to detect running PaX kernel and use newer tools 2014-02-19 Andrew John Hughes PR1714: Update PaX support to detect running PaX kernel and use newer tools * Makefile.am: (clean-local): Remove clean-icedtea, clean-icedtea-debug and clean-icedtea-ecj; pulled in by dependents. (.PHONY): Add clean-runnable-icedtea, clean-runnable-icedtea-debug and clean-runnable-icedtea-ecj. (runnable-icedtea): Depend on icedtea and pax-mark-vm. (clean-runnable-icedtea): Clean stamp. (icedtea-against-icedtea): Depend on runnable-icedtea rather than icedtea and pax-mark-vm. (clean-icedtea-against-icedtea): Depend on clean-runnable-icedtea rather than clean-pax-mark-vm. (runnable-icedtea-debug): Depend on icedtea-debug and pax-mark-vm-debug. (clean-runnable-icedtea-debug): Clean stamp. (icedtea-debug-against-icedtea): Depend on runnable-icedtea-debug rather than icedtea-debug and pax-mark-vm-debug. (clean-icedtea-debug-against-icedtea): Depend on clean-runnable-icedtea-debug rather than clean-pax-mark-vm. (add-archive): Depend on runnable-icedtea as the target executes java. (add-archive-debug): Likewise with runnable-icedtea-debug. (check-crypto): Depend on runnable-icedtea as the target executes java. (check-crypto-debug): Likewise with runnable-icedtea-debug. (runnable-icedtea-ecj): Depend on icedtea-ecj and pax-mark-vm-ecj. (clean-runnable-icedtea-ecj): Clean stamp. (icedtea-against-ecj): Depend on runnable-icedtea-ecj rather than icedtea-ecj and pax-mark-vm-ecj. (clean-icedtea-against-ecj): Depend on clean-runnable-icedtea-ecj rather than clean-pax-mark-vm. (add-archive-ecj): Depend on runnable-icedtea-ecj as the target executes java. (check-crypto-boot): Depend on runnable-icedtea-ecj as the target executes java. * NEWS: Updated. * acinclude.m4: (IT_HAS_PAX): New macro to detect whether the running kernel uses PaX. (IT_WITH_PAX): Rewritten to search for PaX tools - currently paxmark.sh, paxctl-ng, chpax and paxctl - and fail if a tool isn't found and a PaX kernel is being used. changeset 9ace699eb46a in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=9ace699eb46a author: Andrew John Hughes date: Thu Mar 20 02:06:20 2014 +0000 PR1712: Allow -Werror to be turned off in the HotSpot build 2012-08-16 Andrew John Hughes PR1712: Allow -Werror to be turned off in the HotSpot build * Makefile.am: (WERROR_STATUS): Set to true or false depending on if ENABLE_WERROR is set or not. (ICEDTEA_ENV): Use WERROR_STATUS to set COMPILER_WARNINGS_FATAL. * acinclude.m4: (IT_ENABLE_WERROR): New macro to enable -Werror. This is disabled by default. * configure.ac: Call IT_ENABLE_WERROR. * javac.in: Handle stripping of arguments which take parameters, specifically -Xmaxwarns. * NEWS: Updated. changeset 0ef5e61b1b00 in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=0ef5e61b1b00 author: Pavel Tisnovsky date: Mon Mar 24 16:53:24 2014 -0400 Fixed compilation failure on Aarch64. changeset 03d11116ab06 in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=03d11116ab06 author: Andrew John Hughes date: Tue Mar 25 23:24:47 2014 +0000 Add unreleased upstream patches. 2014-03-25 Andrew John Hughes * Makefile.am: (UPSTREAMED_PATCHES): Add patches from unreleased upstream. (ICEDTEA_PATCHES): Include UPSTREAMED_PATCHES. * NEWS: Updated. * patches/openjdk/7110396-sound_code_build_fix.patch, * patches/openjdk/8035893-jvm_getversioninfo_zeroing.patch, * patches/openjdk/oj6-29-jdk_version_info_zeroing.patch: Add new patches from upstream. changeset 1c40103f425f in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=1c40103f425f author: Andrew John Hughes date: Wed Apr 02 16:17:56 2014 +0100 Add 1.13.2 release notes. 2014-04-02 Andrew John Hughes * NEWS: Add 1.13.2 release notes. changeset 787402b1e556 in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=787402b1e556 author: Andrew John Hughes date: Wed Apr 09 22:51:45 2014 +0100 Merge changeset d755adce0a9b in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=d755adce0a9b author: Andrew John Hughes date: Thu Apr 10 11:29:11 2014 +0100 Fix to build against 2014/04/15 security patches. 2014-04-10 Andrew John Hughes * patches/merge_fix.patch, * patches/openjdk/4685768-focus.patch, * patches/openjdk/4993545-nativeinlightfixer.patch, * patches/openjdk/6444769-windowwithwarningtest.patch, * patches/openjdk/6607170-request_focus.patch, * patches/openjdk/6607660-treelock.patch, * patches/openjdk/6616323-component_array.patch, * patches/openjdk/6633275-shaped_translucent_windows.patch, * patches/openjdk/6637796-set_bounds.patch, * patches/openjdk/6656651-windows_lcd_glyphs.patch, * patches/openjdk/6682046-shape_calculation.patch, * patches/openjdk/6693253-security_warning.patch, * patches/openjdk/6725214-direct3d-01.patch, * patches/openjdk/6748082-isDisplayLocal.patch, * patches/openjdk/6755274-glgetstring-crash.patch, * patches/openjdk/6769607-modal-hangs.patch, * patches/openjdk/6791612-opengl-jni-fix.patch, * patches/openjdk/6797195-hw_lw_mixing.patch, * patches/openjdk/6984543-onscreen_rendering_resize_test.patch, * patches/openjdk/7110396-sound_code_build_fix.patch, * patches/openjdk/8035893-jvm_getversioninfo_zeroing.patch, * patches/openjdk/oj6-29-jdk_version_info_zeroing.patch, * patches/security/20120214/7112642.patch, * patches/security/20130618/8009071-improve_shape_handling.patch: Removed; upstreamed. * Makefile.am: (SPECIAL_SECURITY_PATCH_1): Removed. (SPECIAL_SECURITY_PATCH_2): Likewise. (LCMS_PATCHES): Add latest security fixes for users of in-tree LCMS2. (UPSTREAMED_PATCHES): Set to empty. (ICEDTEA_PATCHES): Remove upstreamed patches. * patches/nomotif-6706121.patch: Regenerated. * patches/security/20131015/8014098-better_profile_validation.patch, * patches/security/20140415/8031335-better_colour_profiling.patch: Security fixes for LCMS 2, taken from IcedTea 2.4.x. diffstat: ChangeLog | 137 + Makefile.am | 108 +- NEWS | 15 + acinclude.m4 | 117 +- configure.ac | 1 + contrib/jck/compile-native-code.sh | 3 + javac.in | 11 +- patches/linker-libs-order.patch | 44 +- patches/merge_fix.patch | 280 - patches/nomotif-6706121.patch | 270 +- patches/openjdk/4685768-focus.patch | 398 - patches/openjdk/4993545-nativeinlightfixer.patch | 408 - patches/openjdk/6444769-windowwithwarningtest.patch | 352 - patches/openjdk/6607170-request_focus.patch | 709 - patches/openjdk/6607660-treelock.patch | 112 - patches/openjdk/6616323-component_array.patch | 1083 - patches/openjdk/6633275-shaped_translucent_windows.patch | 6197 - patches/openjdk/6637796-set_bounds.patch | 465 - patches/openjdk/6656651-windows_lcd_glyphs.patch | 938 - patches/openjdk/6682046-shape_calculation.patch | 506 - patches/openjdk/6693253-security_warning.patch | 5391 - patches/openjdk/6725214-direct3d-01.patch | 62027 ---------- patches/openjdk/6748082-isDisplayLocal.patch | 116 - patches/openjdk/6755274-glgetstring-crash.patch | 56 - patches/openjdk/6769607-modal-hangs.patch | 164 - patches/openjdk/6791612-opengl-jni-fix.patch | 27 - patches/openjdk/6797195-hw_lw_mixing.patch | 3277 - patches/openjdk/6984543-onscreen_rendering_resize_test.patch | 30 - patches/openjdk/7151089-numa_should_not_free_shm_large_pages.patch | 29 + patches/openjdk/8013057-detect_mmap_commit_failures.patch | 867 + patches/openjdk/8026887-make_large_page_allocations_easier_to_debug.patch | 81 + patches/security/20120214/7112642.patch | 750 - patches/security/20130618/8009071-improve_shape_handling.patch | 1014 - patches/security/20131015/8014098-better_profile_validation.patch | 59 + patches/security/20140415/8031335-better_colour_profiling.patch | 4433 + 35 files changed, 5945 insertions(+), 84530 deletions(-) diffs (truncated from 91583 to 500 lines): diff -r 963a9ab43d7f -r d755adce0a9b ChangeLog --- a/ChangeLog Thu Jan 30 21:38:08 2014 +0000 +++ b/ChangeLog Thu Apr 10 11:29:11 2014 +0100 @@ -1,3 +1,140 @@ +2014-04-10 Andrew John Hughes + + * patches/merge_fix.patch, + * patches/openjdk/4685768-focus.patch, + * patches/openjdk/4993545-nativeinlightfixer.patch, + * patches/openjdk/6444769-windowwithwarningtest.patch, + * patches/openjdk/6607170-request_focus.patch, + * patches/openjdk/6607660-treelock.patch, + * patches/openjdk/6616323-component_array.patch, + * patches/openjdk/6633275-shaped_translucent_windows.patch, + * patches/openjdk/6637796-set_bounds.patch, + * patches/openjdk/6656651-windows_lcd_glyphs.patch, + * patches/openjdk/6682046-shape_calculation.patch, + * patches/openjdk/6693253-security_warning.patch, + * patches/openjdk/6725214-direct3d-01.patch, + * patches/openjdk/6748082-isDisplayLocal.patch, + * patches/openjdk/6755274-glgetstring-crash.patch, + * patches/openjdk/6769607-modal-hangs.patch, + * patches/openjdk/6791612-opengl-jni-fix.patch, + * patches/openjdk/6797195-hw_lw_mixing.patch, + * patches/openjdk/6984543-onscreen_rendering_resize_test.patch, + * patches/openjdk/7110396-sound_code_build_fix.patch, + * patches/openjdk/8035893-jvm_getversioninfo_zeroing.patch, + * patches/openjdk/oj6-29-jdk_version_info_zeroing.patch, + * patches/security/20120214/7112642.patch, + * patches/security/20130618/8009071-improve_shape_handling.patch: + Removed; upstreamed. + * Makefile.am: + (SPECIAL_SECURITY_PATCH_1): Removed. + (SPECIAL_SECURITY_PATCH_2): Likewise. + (LCMS_PATCHES): Add latest security fixes for users of in-tree LCMS2. + (UPSTREAMED_PATCHES): Set to empty. + (ICEDTEA_PATCHES): Remove upstreamed patches. + * patches/nomotif-6706121.patch: Regenerated. + * patches/security/20131015/8014098-better_profile_validation.patch, + * patches/security/20140415/8031335-better_colour_profiling.patch: + Security fixes for LCMS 2, taken from IcedTea 2.4.x. + +2014-04-02 Andrew John Hughes + + * NEWS: Add 1.13.2 release notes. + +2014-03-25 Andrew John Hughes + + * Makefile.am: + (UPSTREAMED_PATCHES): Add patches from unreleased upstream. + (ICEDTEA_PATCHES): Include UPSTREAMED_PATCHES. + * NEWS: Updated. + * patches/openjdk/7110396-sound_code_build_fix.patch, + * patches/openjdk/8035893-jvm_getversioninfo_zeroing.patch, + * patches/openjdk/oj6-29-jdk_version_info_zeroing.patch: + Add new patches from upstream. + +2014-03-24 Pavel Tisnovsky + + * contrib/jck/compile-native-code.sh: + Fixed compilation failure on Aarch64. + +2012-08-16 Andrew John Hughes + + PR1712: Allow -Werror to be turned off in the + HotSpot build + * Makefile.am: + (WERROR_STATUS): Set to true or false + depending on if ENABLE_WERROR is set or not. + (ICEDTEA_ENV): Use WERROR_STATUS to set + COMPILER_WARNINGS_FATAL. + * acinclude.m4: + (IT_ENABLE_WERROR): New macro to enable -Werror. + This is disabled by default. + * configure.ac: Call IT_ENABLE_WERROR. + * javac.in: Handle stripping of arguments which + take parameters, specifically -Xmaxwarns. + * NEWS: Updated. + +2014-02-19 Andrew John Hughes + + PR1714: Update PaX support to detect running PaX + kernel and use newer tools + * Makefile.am: + (clean-local): Remove clean-icedtea, clean-icedtea-debug + and clean-icedtea-ecj; pulled in by dependents. + (.PHONY): Add clean-runnable-icedtea, clean-runnable-icedtea-debug + and clean-runnable-icedtea-ecj. + (runnable-icedtea): Depend on icedtea and pax-mark-vm. + (clean-runnable-icedtea): Clean stamp. + (icedtea-against-icedtea): Depend on runnable-icedtea rather + than icedtea and pax-mark-vm. + (clean-icedtea-against-icedtea): Depend on clean-runnable-icedtea rather + than clean-pax-mark-vm. + (runnable-icedtea-debug): Depend on icedtea-debug and pax-mark-vm-debug. + (clean-runnable-icedtea-debug): Clean stamp. + (icedtea-debug-against-icedtea): Depend on runnable-icedtea-debug rather + than icedtea-debug and pax-mark-vm-debug. + (clean-icedtea-debug-against-icedtea): Depend on clean-runnable-icedtea-debug + rather than clean-pax-mark-vm. + (add-archive): Depend on runnable-icedtea as the target executes java. + (add-archive-debug): Likewise with runnable-icedtea-debug. + (check-crypto): Depend on runnable-icedtea as the target executes java. + (check-crypto-debug): Likewise with runnable-icedtea-debug. + (runnable-icedtea-ecj): Depend on icedtea-ecj and pax-mark-vm-ecj. + (clean-runnable-icedtea-ecj): Clean stamp. + (icedtea-against-ecj): Depend on runnable-icedtea-ecj rather + than icedtea-ecj and pax-mark-vm-ecj. + (clean-icedtea-against-ecj): Depend on clean-runnable-icedtea-ecj + rather than clean-pax-mark-vm. + (add-archive-ecj): Depend on runnable-icedtea-ecj as the target executes java. + (check-crypto-boot): Depend on runnable-icedtea-ecj as the target executes java. + * NEWS: Updated. + * acinclude.m4: + (IT_HAS_PAX): New macro to detect whether the running + kernel uses PaX. + (IT_WITH_PAX): Rewritten to search for PaX tools - + currently paxmark.sh, paxctl-ng, chpax and paxctl - + and fail if a tool isn't found and a PaX kernel is + being used. + +2014-03-17 Andrew John Hughes + + * Makefile.am: + (ICEDTEA_PATCHES): Add new patches. + * NEWS: Updated. + * patches/openjdk/7151089-numa_should_not_free_shm_large_pages.patch, + * patches/openjdk/8013057-detect_mmap_commit_failures.patch, + * patches/openjdk/8026887-make_large_page_allocations_easier_to_debug.patch: + Backports to improve mmap failure output. + +2014-02-01 Andrew John Hughes + + * patches/linker-libs-order.patch: + Regenerate, removing upstreamed fragment. + +2014-02-01 Andrew John Hughes + + * Makefile.am: + (OPENJDK_VERSION): Bump to next release, b31. + 2014-01-30 Andrew John Hughes * NEWS: Add 1.11.15 release notes. diff -r 963a9ab43d7f -r d755adce0a9b Makefile.am --- a/Makefile.am Thu Jan 30 21:38:08 2014 +0000 +++ b/Makefile.am Thu Apr 10 11:29:11 2014 +0100 @@ -2,7 +2,7 @@ OPENJDK_DATE = 21_jan_2014 OPENJDK_SHA256SUM = ebd9fdf39c8590cd620cb78c481ca233f5919f2819237b5d2b440666f1dd3475 -OPENJDK_VERSION = b30 +OPENJDK_VERSION = b31 OPENJDK_URL = https://java.net/downloads/openjdk6/ CACAO_VERSION = 68fe50ac34ec @@ -286,9 +286,6 @@ SECURITY_PATCHES = \ patches/security/20120830/7182135-impossible_to_use_some_editors_directly.patch -SPECIAL_SECURITY_PATCH_1 = patches/security/20120214/7112642.patch -SPECIAL_SECURITY_PATCH_2 = patches/security/20130618/8009071-improve_shape_handling.patch - if ENABLE_LCMS2 LCMS_PATCHES = \ patches/openjdk/lcms2/6523398-writing_tags.patch \ @@ -306,37 +303,23 @@ patches/openjdk/lcms2/bundled/8007925-improve_cmsstagealloclabv2tov4curves.patch \ patches/openjdk/lcms2/bundled/8009654-cmsnamed_stability.patch \ patches/openjdk/lcms2/bundled/7042594-tck_failure.patch \ - patches/openjdk/lcms2/bundled/8007927-improve_cmsallocprofilesequencedescription.patch + patches/openjdk/lcms2/bundled/8007927-improve_cmsallocprofilesequencedescription.patch \ + patches/security/20131015/8014098-better_profile_validation.patch \ + patches/security/20140415/8031335-better_colour_profiling.patch endif else LCMS_PATCHES = \ patches/lcms.patch endif +UPSTREAMED_PATCHES = + ICEDTEA_PATCHES = \ $(DROP_PATCHES) \ $(SECURITY_PATCHES) \ + $(UPSTREAMED_PATCHES) \ patches/openjdk/6733501-icedtea_lcms_test.patch \ $(LCMS_PATCHES) \ - patches/openjdk/4993545-nativeinlightfixer.patch \ - patches/openjdk/6637796-set_bounds.patch \ - patches/openjdk/6607660-treelock.patch \ - patches/openjdk/6607170-request_focus.patch \ - patches/openjdk/4685768-focus.patch \ - patches/openjdk/6616323-component_array.patch \ - patches/openjdk/6682046-shape_calculation.patch \ - patches/openjdk/6797195-hw_lw_mixing.patch \ - patches/openjdk/6725214-direct3d-01.patch \ - patches/openjdk/6748082-isDisplayLocal.patch \ - patches/openjdk/6633275-shaped_translucent_windows.patch \ - $(SPECIAL_SECURITY_PATCH_1) \ - patches/openjdk/6769607-modal-hangs.patch \ - patches/openjdk/6791612-opengl-jni-fix.patch \ - patches/openjdk/6755274-glgetstring-crash.patch \ - patches/openjdk/6984543-onscreen_rendering_resize_test.patch \ - patches/openjdk/6693253-security_warning.patch \ - patches/openjdk/6444769-windowwithwarningtest.patch \ - patches/openjdk/6656651-windows_lcd_glyphs.patch \ patches/openjdk/6791502-invalid_icc_profile.patch \ patches/openjdk/6793818-jpegimagereader_too_greedy.patch \ patches/openjdk/6631559-dont_load_libjpeg_to_register_imageio_plugins.patch \ @@ -356,7 +339,6 @@ patches/headers.patch \ patches/gcc-suffix.patch \ patches/libraries-splashscreen.patch \ - $(SPECIAL_SECURITY_PATCH_2) \ patches/uname.patch \ patches/nomotif-6706121.patch \ patches/nomotif.patch \ @@ -497,7 +479,6 @@ patches/openjdk/p11cipher-6924489-ckr_operation_not_initialized.patch \ patches/openjdk/p11cipher-6604496-support_ckm_aes_ctr.patch \ patches/openjdk/p11cipher-6414899-p11digest_should_support_cloning.patch \ - patches/merge_fix.patch \ patches/traceable.patch \ patches/pr1319-support_giflib_5.patch \ patches/openjdk/6718364-inference_failure.patch \ @@ -630,7 +611,10 @@ patches/windows-jdk-sizecalc.patch \ patches/shark_fixes_from_8003868.patch \ patches/8003992_support_6.patch \ - patches/shark-drop_compile_method_arg_following_7083786.patch + patches/shark-drop_compile_method_arg_following_7083786.patch \ + patches/openjdk/7151089-numa_should_not_free_shm_large_pages.patch \ + patches/openjdk/8013057-detect_mmap_commit_failures.patch \ + patches/openjdk/8026887-make_large_page_allocations_easier_to_debug.patch if WITH_RHINO ICEDTEA_PATCHES += \ @@ -775,6 +759,12 @@ ICEDTEA_PKG = $(EMPTY) (${PKGVERSION}) endif +if ENABLE_WERROR +WERROR_STATUS=true +else +WERROR_STATUS=false +endif + ICEDTEA_ENV = \ ALT_JDK_IMPORT_PATH="$(BOOT_DIR)" \ ANT="$(ANT)" \ @@ -817,7 +807,8 @@ ALT_OUTPUTDIR="$(BUILD_OUTPUT_DIR)" \ STATIC_CXX="false" \ BUILD_GCC=gcc$(GCC_SUFFIX) \ - BUILD_CXX=g++$(GCC_SUFFIX) + BUILD_CXX=g++$(GCC_SUFFIX) \ + COMPILER_WARNINGS_FATAL="$(WERROR_STATUS)" if ENABLE_CACAO ICEDTEA_ENV += \ @@ -966,8 +957,8 @@ fi clean-local: clean-tests $(PULSE_JAVA_CLEAN_TARGET) \ - clean-icedtea clean-icedtea-debug clean-icedtea-ecj clean-extract clean-ports \ - clean-overlay clean-native-ecj clean-icedtea-against-icedtea clean-icedtea-debug-against-icedtea \ + clean-extract clean-ports clean-overlay clean-native-ecj \ + clean-icedtea-against-icedtea clean-icedtea-debug-against-icedtea \ clean-icedtea-against-ecj clean-extract-ecj clean-generated clean-replace-hotspot \ clean-rewriter clean-rewrite-rhino clean-rt clean-bootstrap-directory \ clean-bootstrap-directory-ecj clean-bootstrap-directory-symlink \ @@ -1011,7 +1002,8 @@ clean-add-pulseaudio-ecj clean-add-nss-ecj clean-add-tzdata-support-ecj clean-fonts \ clean-download-hotspot clean-tests clean-tapset-report jtregcheck clean-pax-mark-vm \ clean-pax-mark-vm-debug clean-pax-mark-vm-ecj clean-check-crypto clean-check-crypto-debug \ - clean-check-crypto-boot clean-cryptocheck + clean-check-crypto-boot clean-cryptocheck clean-runnable-icedtea clean-runnable-icedtea-debug \ + clean-runnable-icedtea-ecj env: @echo 'unset JAVA_HOME' @@ -1720,31 +1712,44 @@ rm -rf $(DEBUG_BUILD_OUTPUT_DIR) rm -f stamps/icedtea-debug.stamp -stamps/icedtea-against-icedtea.stamp: stamps/icedtea.stamp \ +stamps/runnable-icedtea.stamp: stamps/icedtea.stamp stamps/pax-mark-vm.stamp + mkdir -p stamps + touch $@ + +clean-runnable-icedtea: clean-icedtea clean-pax-mark-vm + rm -f stamps/runnable-icedtea.stamp + +stamps/icedtea-against-icedtea.stamp: stamps/runnable-icedtea.stamp \ stamps/add-jamvm.stamp stamps/add-cacao.stamp stamps/add-zero.stamp \ stamps/add-systemtap.stamp stamps/add-pulseaudio.stamp stamps/add-nss.stamp \ - stamps/add-tzdata-support.stamp stamps/add-archive.stamp stamps/pax-mark-vm.stamp \ - stamps/check-crypto.stamp + stamps/add-tzdata-support.stamp stamps/add-archive.stamp stamps/check-crypto.stamp mkdir -p stamps touch $@ clean-icedtea-against-icedtea: clean-add-jamvm clean-add-zero clean-add-cacao \ clean-add-systemtap clean-add-pulseaudio clean-add-nss clean-add-tzdata-support \ - clean-add-archive clean-pax-mark-vm clean-check-crypto + clean-add-archive clean-check-crypto clean-runnable-icedtea rm -f stamps/icedtea-against-icedtea.stamp -stamps/icedtea-debug-against-icedtea.stamp: stamps/icedtea-debug.stamp \ +stamps/runnable-icedtea-debug.stamp: stamps/icedtea-debug.stamp stamps/pax-mark-vm-debug.stamp + mkdir -p stamps + touch $@ + +clean-runnable-icedtea-debug: clean-icedtea-debug clean-pax-mark-vm-debug + rm -f stamps/runnable-icedtea-debug.stamp + +stamps/icedtea-debug-against-icedtea.stamp: stamps/runnable-icedtea-debug.stamp \ stamps/add-jamvm-debug.stamp stamps/add-cacao-debug.stamp \ stamps/add-zero-debug.stamp stamps/add-systemtap-debug.stamp stamps/add-pulseaudio-debug.stamp \ stamps/add-nss-debug.stamp stamps/add-tzdata-support-debug.stamp stamps/add-archive-debug.stamp \ - stamps/pax-mark-vm-debug.stamp stamps/check-crypto-debug.stamp + stamps/check-crypto-debug.stamp mkdir -p stamps touch $@ clean-icedtea-debug-against-icedtea: clean-add-zero-debug \ clean-add-jamvm-debug clean-add-cacao-debug clean-add-systemtap-debug \ clean-add-pulseaudio-debug clean-add-nss-debug clean-add-tzdata-support-debug \ - clean-add-archive-debug clean-pax-mark-vm-debug clean-check-crypto-debug + clean-add-archive-debug clean-runnable-icedtea-debug clean-check-crypto-debug rm -f stamps/icedtea-debug-against-icedtea.stamp stamps/add-systemtap.stamp: stamps/icedtea.stamp @@ -1986,7 +1991,7 @@ fi rm -f stamps/add-tzdata-support-debug.stamp -stamps/add-archive.stamp: stamps/icedtea.stamp +stamps/add-archive.stamp: stamps/runnable-icedtea.stamp if !ENABLE_JAMVM if !ENABLE_CACAO if !ZERO_BUILD @@ -2002,7 +2007,7 @@ rm -vf $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)/*/*.jsa rm -f stamps/add-archive.stamp -stamps/add-archive-debug.stamp: stamps/icedtea-debug.stamp +stamps/add-archive-debug.stamp: stamps/runnable-icedtea-debug.stamp if !ENABLE_JAMVM if !ENABLE_CACAO if !ZERO_BUILD @@ -2036,7 +2041,7 @@ clean-pax-mark-vm-debug: rm -f stamps/pax-mark-vm-debug.stamp -stamps/check-crypto.stamp: stamps/cryptocheck.stamp stamps/icedtea.stamp +stamps/check-crypto.stamp: stamps/cryptocheck.stamp stamps/runnable-icedtea.stamp if [ -e $(BUILD_OUTPUT_DIR)/j2sdk-image/bin/java ] ; then \ $(BUILD_OUTPUT_DIR)/j2sdk-image/bin/java -cp $(CRYPTO_CHECK_BUILD_DIR) TestCryptoLevel ; \ fi @@ -2046,7 +2051,7 @@ clean-check-crypto: rm -f stamps/check-crypto.stamp -stamps/check-crypto-debug.stamp: stamps/cryptocheck.stamp stamps/icedtea-debug.stamp +stamps/check-crypto-debug.stamp: stamps/cryptocheck.stamp stamps/runnable-icedtea-debug.stamp if [ -e $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java ] ; then \ $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java -cp $(CRYPTO_CHECK_BUILD_DIR) TestCryptoLevel ; \ fi @@ -2075,14 +2080,21 @@ rm -rf $(ECJ_BUILD_OUTPUT_DIR) rm -f stamps/icedtea-ecj.stamp -stamps/icedtea-against-ecj.stamp: stamps/icedtea-ecj.stamp stamps/add-systemtap-ecj.stamp \ - stamps/add-pulseaudio-ecj.stamp stamps/add-nss-ecj.stamp stamps/add-tzdata-support-ecj.stamp \ - stamps/add-archive-ecj.stamp stamps/pax-mark-vm-ecj.stamp stamps/check-crypto-boot.stamp +stamps/runnable-icedtea-ecj.stamp: stamps/icedtea-ecj.stamp stamps/pax-mark-vm-ecj.stamp mkdir -p stamps touch $@ +clean-runnable-icedtea-ecj: clean-icedtea-ecj clean-pax-mark-vm-ecj + rm -f stamps/runnable-icedtea-ecj.stamp + +stamps/icedtea-against-ecj.stamp: stamps/runnable-icedtea-ecj.stamp stamps/add-systemtap-ecj.stamp \ + stamps/add-pulseaudio-ecj.stamp stamps/add-nss-ecj.stamp stamps/add-tzdata-support-ecj.stamp \ + stamps/add-archive-ecj.stamp stamps/check-crypto-boot.stamp + mkdir -p stamps + touch $@ + clean-icedtea-against-ecj: clean-add-systemtap-ecj clean-add-pulseaudio-ecj clean-add-nss-ecj \ - clean-add-tzdata-support-ecj clean-add-archive-ecj clean-pax-mark-vm-ecj clean-check-crypto-boot + clean-add-tzdata-support-ecj clean-add-archive-ecj clean-runnable-icedtea-ecj clean-check-crypto-boot rm -f stamps/icedtea-against-ecj.stamp stamps/add-systemtap-ecj.stamp: stamps/icedtea-ecj.stamp @@ -2205,7 +2217,7 @@ fi rm -f stamps/add-tzdata-support-ecj.stamp -stamps/add-archive-ecj.stamp: stamps/icedtea-ecj.stamp +stamps/add-archive-ecj.stamp: stamps/runnable-icedtea-ecj.stamp if !ENABLE_JAMVM if !ENABLE_CACAO if !ZERO_BUILD @@ -2230,7 +2242,7 @@ clean-pax-mark-vm-ecj: rm -f stamps/pax-mark-vm-ecj.stamp -stamps/check-crypto-boot.stamp: stamps/cryptocheck.stamp stamps/icedtea-ecj.stamp +stamps/check-crypto-boot.stamp: stamps/cryptocheck.stamp stamps/runnable-icedtea-ecj.stamp if [ -e $(ECJ_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java ] ; then \ $(ECJ_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java -cp $(CRYPTO_CHECK_BUILD_DIR) TestCryptoLevel ; \ fi diff -r 963a9ab43d7f -r d755adce0a9b NEWS --- a/NEWS Thu Jan 30 21:38:08 2014 +0000 +++ b/NEWS Thu Apr 10 11:29:11 2014 +0100 @@ -14,6 +14,21 @@ New in release 1.14.0 (201X-XX-XX): +* Backports + - S7151089: PS NUMA: NUMA allocator should not attempt to free pages when using SHM large pages + - S8013057: Detect mmap() commit failures in Linux and Solaris os::commit_memory() impls and call vm_exit_out_of_memory() + - S8026887: Make issues due to failed large pages allocations easier to debug + +New in release 1.13.2 (2014-03-28): + +* Backports + - S7110396: Sound code fails to build with gcc 4.6 on multiarch Linux systems + - S8035893: JVM_GetVersionInfo fails to zero structure + - OJ29: JDK fails to zero jdk_version_info correctly +* Bug fixes + - PR1714, G498288: Update PaX support to detect running PaX kernel and use newer tools + - PR1712, G455426: Allow -Werror to be turned off in the HotSpot build + New in release 1.11.15 (2014-01-21): * Security fixes diff -r 963a9ab43d7f -r d755adce0a9b acinclude.m4 --- a/acinclude.m4 Thu Jan 30 21:38:08 2014 +0000 +++ b/acinclude.m4 Thu Apr 10 11:29:11 2014 +0100 @@ -2139,48 +2139,79 @@ AM_CONDITIONAL([VM_SUPPORTS_XBOOTCLASSPATH], test x"${it_cv_xbootclasspath_works}" = "xyes") ]) +AC_DEFUN_ONCE([IT_HAS_PAX], +[ + AC_MSG_CHECKING([if a PaX kernel is in use]) + if cat /proc/self/status | grep '^PaX' >&AS_MESSAGE_LOG_FD 2>&1; then + pax_active=yes; + else + pax_active=no; + fi + AC_MSG_RESULT([${pax_active}]) + AM_CONDITIONAL([USING_PAX], test x"${pax_active}" = "xyes") +]) + AC_DEFUN_ONCE([IT_WITH_PAX], [ - AC_MSG_CHECKING([for pax utility to use]) + AC_REQUIRE([IT_HAS_PAX]) + PAX_DEFAULT=/usr/sbin/paxmark.sh + AC_MSG_CHECKING([if a PaX utility was specified]) AC_ARG_WITH([pax], [AS_HELP_STRING(--with-pax=COMMAND,the command used for pax marking)], [ - PAX_COMMAND=${withval} - if test "x${PAX_COMMAND}" = "xno"; then - PAX_COMMAND="not specified" + if test "x${withval}" = "xyes"; then + PAX_COMMAND=no + else + PAX_COMMAND="${withval}" fi ], [ + PAX_COMMAND=no + ]) + AC_MSG_RESULT(${PAX_COMMAND}) + if test "x${PAX_COMMAND}" == "xno"; then + PAX_COMMAND=${PAX_DEFAULT} + fi + AC_MSG_CHECKING([if $PAX_COMMAND is a valid executable file]) + if test -x "${PAX_COMMAND}" && test -f "${PAX_COMMAND}"; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + PAX_COMMAND="" + AC_PATH_PROG(PAX_COMMAND, "paxmark.sh") + if test -z "${PAX_COMMAND}"; then + AC_PATH_PROG(PAX_COMMAND, "paxctl-ng") + fi + if test -z "${PAX_COMMAND}"; then + AC_PATH_PROG(PAX_COMMAND, "chpax") + fi + if test -z "${PAX_COMMAND}"; then + AC_PATH_PROG(PAX_COMMAND, "paxctl") + fi + if test -z "${PAX_COMMAND}"; then From andrew at icedtea.classpath.org Tue Apr 15 21:00:11 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 15 Apr 2014 21:00:11 +0000 Subject: /hg/release/icedtea6-1.13: 6 new changesets Message-ID: changeset 74f40b81e997 in /hg/release/icedtea6-1.13 details: http://icedtea.classpath.org/hg/release/icedtea6-1.13?cmd=changeset;node=74f40b81e997 author: Andrew John Hughes date: Thu Apr 10 11:29:11 2014 +0100 Fix to build against 2014/04/15 security patches. 2014-04-10 Andrew John Hughes * patches/merge_fix.patch, * patches/openjdk/4685768-focus.patch, * patches/openjdk/4993545-nativeinlightfixer.patch, * patches/openjdk/6444769-windowwithwarningtest.patch, * patches/openjdk/6607170-request_focus.patch, * patches/openjdk/6607660-treelock.patch, * patches/openjdk/6616323-component_array.patch, * patches/openjdk/6633275-shaped_translucent_windows.patch, * patches/openjdk/6637796-set_bounds.patch, * patches/openjdk/6656651-windows_lcd_glyphs.patch, * patches/openjdk/6682046-shape_calculation.patch, * patches/openjdk/6693253-security_warning.patch, * patches/openjdk/6725214-direct3d-01.patch, * patches/openjdk/6748082-isDisplayLocal.patch, * patches/openjdk/6755274-glgetstring-crash.patch, * patches/openjdk/6769607-modal-hangs.patch, * patches/openjdk/6791612-opengl-jni-fix.patch, * patches/openjdk/6797195-hw_lw_mixing.patch, * patches/openjdk/6984543-onscreen_rendering_resize_test.patch, * patches/openjdk/7110396-sound_code_build_fix.patch, * patches/openjdk/8035893-jvm_getversioninfo_zeroing.patch, * patches/openjdk/oj6-29-jdk_version_info_zeroing.patch, * patches/security/20120214/7112642.patch, * patches/security/20130618/8009071-improve_shape_handling.patch: Removed; upstreamed. * Makefile.am: (SPECIAL_SECURITY_PATCH_1): Removed. (SPECIAL_SECURITY_PATCH_2): Likewise. (LCMS_PATCHES): Add latest security fixes for users of in-tree LCMS2. (UPSTREAMED_PATCHES): Set to empty. (ICEDTEA_PATCHES): Remove upstreamed patches. * patches/nomotif-6706121.patch: Regenerated. * patches/security/20131015/8014098-better_profile_validation.patch, * patches/security/20140415/8031335-better_colour_profiling.patch: Security fixes for LCMS 2, taken from IcedTea 2.4.x. changeset 5985a60a3f3a in /hg/release/icedtea6-1.13 details: http://icedtea.classpath.org/hg/release/icedtea6-1.13?cmd=changeset;node=5985a60a3f3a author: Andrew John Hughes date: Thu Apr 10 20:43:27 2014 +0100 Update from b31 tarball. 2014-04-10 Andrew John Hughes * Makefile.am: (OPENJDK_DATE): Update to b31 release date. (OPENJDK_SHA256SUM): Set to hash of new b31 tarball. changeset 9d4591d4cbf0 in /hg/release/icedtea6-1.13 details: http://icedtea.classpath.org/hg/release/icedtea6-1.13?cmd=changeset;node=9d4591d4cbf0 author: Andrew John Hughes date: Thu Apr 10 21:49:13 2014 +0100 Update NEWS with b31 changes. 2014-04-10 Andrew John Hughes * NEWS: List changes imported from b31 tarball. changeset 2d7b38708b8e in /hg/release/icedtea6-1.13 details: http://icedtea.classpath.org/hg/release/icedtea6-1.13?cmd=changeset;node=2d7b38708b8e author: Andrew John Hughes date: Thu Apr 10 21:52:49 2014 +0100 Prepare for 1.13.3 release. 2014-04-10 Andrew John Hughes * NEWS: Add unembargo date. * configure.ac: Set to 1.13.3. changeset d616ea6189f4 in /hg/release/icedtea6-1.13 details: http://icedtea.classpath.org/hg/release/icedtea6-1.13?cmd=changeset;node=d616ea6189f4 author: Andrew John Hughes date: Fri Apr 11 17:12:10 2014 +0100 Set version to b31. 2014-04-11 Andrew John Hughes (OPENJDK_VERSION): Set to b31. changeset 46a990dcf085 in /hg/release/icedtea6-1.13 details: http://icedtea.classpath.org/hg/release/icedtea6-1.13?cmd=changeset;node=46a990dcf085 author: Andrew John Hughes date: Tue Apr 15 21:59:13 2014 +0100 Added tag icedtea6-1.13.3 for changeset d616ea6189f4 diffstat: .hgtags | 1 + ChangeLog | 57 + Makefile.am | 39 +- NEWS | 69 +- configure.ac | 2 +- patches/merge_fix.patch | 280 - patches/nomotif-6706121.patch | 270 +- patches/openjdk/4685768-focus.patch | 398 - patches/openjdk/4993545-nativeinlightfixer.patch | 408 - patches/openjdk/6444769-windowwithwarningtest.patch | 352 - patches/openjdk/6607170-request_focus.patch | 709 - patches/openjdk/6607660-treelock.patch | 112 - patches/openjdk/6616323-component_array.patch | 1083 - patches/openjdk/6633275-shaped_translucent_windows.patch | 6197 - patches/openjdk/6637796-set_bounds.patch | 465 - patches/openjdk/6656651-windows_lcd_glyphs.patch | 938 - patches/openjdk/6682046-shape_calculation.patch | 506 - patches/openjdk/6693253-security_warning.patch | 5391 - patches/openjdk/6725214-direct3d-01.patch | 62027 ---------- patches/openjdk/6748082-isDisplayLocal.patch | 116 - patches/openjdk/6755274-glgetstring-crash.patch | 56 - patches/openjdk/6769607-modal-hangs.patch | 164 - patches/openjdk/6791612-opengl-jni-fix.patch | 27 - patches/openjdk/6797195-hw_lw_mixing.patch | 3277 - patches/openjdk/6984543-onscreen_rendering_resize_test.patch | 30 - patches/openjdk/7110396-sound_code_build_fix.patch | 22 - patches/openjdk/8035893-jvm_getversioninfo_zeroing.patch | 21 - patches/openjdk/oj6-29-jdk_version_info_zeroing.patch | 21 - patches/security/20120214/7112642.patch | 750 - patches/security/20130618/8009071-improve_shape_handling.patch | 1014 - patches/security/20131015/8014098-better_profile_validation.patch | 59 + patches/security/20140415/8031335-better_colour_profiling.patch | 4433 + 32 files changed, 4776 insertions(+), 84518 deletions(-) diffs (truncated from 90227 to 500 lines): diff -r a1a682d73ee8 -r 46a990dcf085 .hgtags --- a/.hgtags Fri Mar 28 18:26:56 2014 +0000 +++ b/.hgtags Tue Apr 15 21:59:13 2014 +0100 @@ -25,3 +25,4 @@ 0770fe4c010590f293d189c83af2c49ac0c2268d icedtea6-1.13 eb77bc7992a9c321470c8426c901abd75ed8f567 icedtea6-1.13.1 84eda38cea6394a1973c62aed9e26086690db5c7 icedtea6-1.13.2 +d616ea6189f4d38427d0035eea31eb592ff90ebd icedtea6-1.13.3 diff -r a1a682d73ee8 -r 46a990dcf085 ChangeLog --- a/ChangeLog Fri Mar 28 18:26:56 2014 +0000 +++ b/ChangeLog Tue Apr 15 21:59:13 2014 +0100 @@ -1,3 +1,60 @@ +2014-04-11 Andrew John Hughes + + (OPENJDK_VERSION): Set to b31. + +2014-04-10 Andrew John Hughes + + * NEWS: Add unembargo date. + * configure.ac: Set to 1.13.3. + +2014-04-10 Andrew John Hughes + + * NEWS: List changes imported from b31 tarball. + +2014-04-10 Andrew John Hughes + + * Makefile.am: + (OPENJDK_DATE): Update to b31 release date. + (OPENJDK_SHA256SUM): Set to hash of new b31 tarball. + +2014-04-10 Andrew John Hughes + + * patches/merge_fix.patch, + * patches/openjdk/4685768-focus.patch, + * patches/openjdk/4993545-nativeinlightfixer.patch, + * patches/openjdk/6444769-windowwithwarningtest.patch, + * patches/openjdk/6607170-request_focus.patch, + * patches/openjdk/6607660-treelock.patch, + * patches/openjdk/6616323-component_array.patch, + * patches/openjdk/6633275-shaped_translucent_windows.patch, + * patches/openjdk/6637796-set_bounds.patch, + * patches/openjdk/6656651-windows_lcd_glyphs.patch, + * patches/openjdk/6682046-shape_calculation.patch, + * patches/openjdk/6693253-security_warning.patch, + * patches/openjdk/6725214-direct3d-01.patch, + * patches/openjdk/6748082-isDisplayLocal.patch, + * patches/openjdk/6755274-glgetstring-crash.patch, + * patches/openjdk/6769607-modal-hangs.patch, + * patches/openjdk/6791612-opengl-jni-fix.patch, + * patches/openjdk/6797195-hw_lw_mixing.patch, + * patches/openjdk/6984543-onscreen_rendering_resize_test.patch, + * patches/openjdk/7110396-sound_code_build_fix.patch, + * patches/openjdk/8035893-jvm_getversioninfo_zeroing.patch, + * patches/openjdk/oj6-29-jdk_version_info_zeroing.patch, + * patches/security/20120214/7112642.patch, + * patches/security/20130618/8009071-improve_shape_handling.patch: + Removed; upstreamed. + * Makefile.am: + (SPECIAL_SECURITY_PATCH_1): Removed. + (SPECIAL_SECURITY_PATCH_2): Likewise. + (LCMS_PATCHES): Add latest security fixes for users of in-tree LCMS2. + (UPSTREAMED_PATCHES): Set to empty. + (ICEDTEA_PATCHES): Remove upstreamed patches. + * patches/nomotif-6706121.patch: Regenerated. + * patches/security/20131015/8014098-better_profile_validation.patch, + * patches/security/20140415/8031335-better_colour_profiling.patch: + Security fixes for LCMS 2, taken from IcedTea 2.4.x. + 2014-03-28 Andrew John Hughes * NEWS: Fix OPENJDK6-29 bug reference. diff -r a1a682d73ee8 -r 46a990dcf085 Makefile.am --- a/Makefile.am Fri Mar 28 18:26:56 2014 +0000 +++ b/Makefile.am Tue Apr 15 21:59:13 2014 +0100 @@ -1,8 +1,8 @@ # Dependencies -OPENJDK_DATE = 21_jan_2014 -OPENJDK_SHA256SUM = ebd9fdf39c8590cd620cb78c481ca233f5919f2819237b5d2b440666f1dd3475 -OPENJDK_VERSION = b30 +OPENJDK_DATE = 15_apr_2014 +OPENJDK_SHA256SUM = 362d9bf20e91393b52dd0513896d39831cf320c49bd4bf1e28124f21569b72eb +OPENJDK_VERSION = b31 OPENJDK_URL = https://java.net/downloads/openjdk6/ CACAO_VERSION = 68fe50ac34ec @@ -286,9 +286,6 @@ SECURITY_PATCHES = \ patches/security/20120830/7182135-impossible_to_use_some_editors_directly.patch -SPECIAL_SECURITY_PATCH_1 = patches/security/20120214/7112642.patch -SPECIAL_SECURITY_PATCH_2 = patches/security/20130618/8009071-improve_shape_handling.patch - if ENABLE_LCMS2 LCMS_PATCHES = \ patches/openjdk/lcms2/6523398-writing_tags.patch \ @@ -306,17 +303,16 @@ patches/openjdk/lcms2/bundled/8007925-improve_cmsstagealloclabv2tov4curves.patch \ patches/openjdk/lcms2/bundled/8009654-cmsnamed_stability.patch \ patches/openjdk/lcms2/bundled/7042594-tck_failure.patch \ - patches/openjdk/lcms2/bundled/8007927-improve_cmsallocprofilesequencedescription.patch + patches/openjdk/lcms2/bundled/8007927-improve_cmsallocprofilesequencedescription.patch \ + patches/security/20131015/8014098-better_profile_validation.patch \ + patches/security/20140415/8031335-better_colour_profiling.patch endif else LCMS_PATCHES = \ patches/lcms.patch endif -UPSTREAMED_PATCHES = \ - patches/openjdk/7110396-sound_code_build_fix.patch \ - patches/openjdk/8035893-jvm_getversioninfo_zeroing.patch \ - patches/openjdk/oj6-29-jdk_version_info_zeroing.patch +UPSTREAMED_PATCHES = ICEDTEA_PATCHES = \ $(DROP_PATCHES) \ @@ -324,25 +320,6 @@ $(UPSTREAMED_PATCHES) \ patches/openjdk/6733501-icedtea_lcms_test.patch \ $(LCMS_PATCHES) \ - patches/openjdk/4993545-nativeinlightfixer.patch \ - patches/openjdk/6637796-set_bounds.patch \ - patches/openjdk/6607660-treelock.patch \ - patches/openjdk/6607170-request_focus.patch \ - patches/openjdk/4685768-focus.patch \ - patches/openjdk/6616323-component_array.patch \ - patches/openjdk/6682046-shape_calculation.patch \ - patches/openjdk/6797195-hw_lw_mixing.patch \ - patches/openjdk/6725214-direct3d-01.patch \ - patches/openjdk/6748082-isDisplayLocal.patch \ - patches/openjdk/6633275-shaped_translucent_windows.patch \ - $(SPECIAL_SECURITY_PATCH_1) \ - patches/openjdk/6769607-modal-hangs.patch \ - patches/openjdk/6791612-opengl-jni-fix.patch \ - patches/openjdk/6755274-glgetstring-crash.patch \ - patches/openjdk/6984543-onscreen_rendering_resize_test.patch \ - patches/openjdk/6693253-security_warning.patch \ - patches/openjdk/6444769-windowwithwarningtest.patch \ - patches/openjdk/6656651-windows_lcd_glyphs.patch \ patches/openjdk/6791502-invalid_icc_profile.patch \ patches/openjdk/6793818-jpegimagereader_too_greedy.patch \ patches/openjdk/6631559-dont_load_libjpeg_to_register_imageio_plugins.patch \ @@ -362,7 +339,6 @@ patches/headers.patch \ patches/gcc-suffix.patch \ patches/libraries-splashscreen.patch \ - $(SPECIAL_SECURITY_PATCH_2) \ patches/uname.patch \ patches/nomotif-6706121.patch \ patches/nomotif.patch \ @@ -503,7 +479,6 @@ patches/openjdk/p11cipher-6924489-ckr_operation_not_initialized.patch \ patches/openjdk/p11cipher-6604496-support_ckm_aes_ctr.patch \ patches/openjdk/p11cipher-6414899-p11digest_should_support_cloning.patch \ - patches/merge_fix.patch \ patches/traceable.patch \ patches/pr1319-support_giflib_5.patch \ patches/openjdk/6718364-inference_failure.patch \ diff -r a1a682d73ee8 -r 46a990dcf085 NEWS --- a/NEWS Fri Mar 28 18:26:56 2014 +0000 +++ b/NEWS Tue Apr 15 21:59:13 2014 +0100 @@ -12,7 +12,74 @@ CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY -New in release 1.13.3 (2014-04-XX): +New in release 1.13.3 (2014-04-15): + +* Security fixes + - S8023046: Enhance splashscreen support + - S8025005: Enhance CORBA initializations + - S8025010, CVE-2014-2412: Enhance AWT contexts + - S8025030, CVE-2014-2414: Enhance stream handling + - S8025152, CVE-2014-0458: Enhance activation set up + - S8026067: Enhance signed jar verification + - S8026163, CVE-2014-2427: Enhance media provisioning + - S8026188, CVE-2014-2423: Enhance envelope factory + - S8026200: Enhance RowSet Factory + - S8026736, CVE-2014-2398: Enhance Javadoc pages + - S8026797, CVE-2014-0451: Enhance data transfers + - S8026801, CVE-2014-0452: Enhance endpoint addressing + - S8027766, CVE-2014-0453: Enhance RSA processing + - S8027775: Enhance ICU code. + - S8027841, CVE-2014-0429: Enhance pixel manipulations + - S8028385: Enhance RowSet Factory + - S8029282, CVE-2014-2403: Enhance CharInfo set up + - S8029286: Enhance subject delegation + - S8029699: Update Poller demo + - S8029730: Improve audio device additions + - S8029735: Enhance service mgmt natives + - S8029740, CVE-2014-0446: Enhance handling of loggers + - S8029750: Enhance LCMS color processing + - S8029760, CVE-2014-0462: Enhance AWT image libraries + - S8029854, CVE-2014-2421: Enhance JPEG decodings + - S8029858, CVE-2014-0456: Enhance array copies + - S8030731, CVE-2014-0460: Improve name service robustness + - S8031330: Refactor ObjectFactory + - S8031335, CVE-2014-0459: Better color profiling (LCMS 2 only) + - S8031352, CVE-2014-2405: Enhance PNG handling + - S8031394, CVE-2014-0457: (sl) Fix exception handling in ServiceLoader + - S8031395: Enhance LDAP processing + - S8033618, CVE-2014-1876: Correct logging output + - S8034926, CVE-2014-2397: Attribute classes properly + - S8036794, CVE-2014-0461: Manage JavaScript instances +* Import of OpenJDK6 b31 + - OJ27: Change summary generator can leave out last changeset + - OJ28: Report generator should not include old changes + - OJ30: Remove @Override annotation on interfaces added by 2014/04/15 security fixes. + - S6680198: UnmarshalException caused by incompatible serialVersionUID + - S6742654: Code insertion/replacement attacks against signed jars + - S6779717: A Window does not show applet security warning icon on X platforms + - S6785058: Parent dn't get the focus after dialog is closed if security warning is applied + - S6799345: JFC demos threw exception in the Java Console when applets are closed + - S6828273: javax/swing/system/6799345/TestShutdown.java test fails with RuntimeException. + - S6867515: Reduce impact of D3D initializion on startup time + - S6891435: Improve D3D preloading + - S6911041: JCK api/signaturetest tests fails for Mixed Code PIT builds (b91) for all trains + - S6921823: JarVerifier csdomain field not initialized + - S6921839: Update trusted.libraries list + - S6924497: HotSpotDiagnosticsMXBean.getDiagnosticOptions throws NPE + - S6936389: FontManager.fileCloser may cause memory leak in applets + - S6946559: AWTToolKit thread crashes in JNU_GetEnv + - S6955783: ServiceUnavailableException caught even the secondary DNS is available + - S6987967: D3D preloading thread should initialize COM + - S7011446: ./windows/classes/sun/awt/windows/WToolkit.java needs to avoid spurious wakeup + - S7015232: missing copyright header in CheckZOrderChange.java + - S7119760: [macosx] The OpenGL queue flusher thread is created in the wrong thread group + - S7155051: DNS provider may return incorrect results + - S8002191: AWT-Shutdown thread does not start with the AppletSecurity on Linux + - S8028388: 9 jaxws tests failed in nightly build with java.lang.ClassCastException + - S8031032: SQE test failures after JDK-8025010 was fixed + - S8031477: [macosx] Loading AWT native library fails + - S8032370: No "Truncated file" warning from IIOReadWarningListener on JPEGImageReader + - S8035834: InetAddress.getLocalHost() can hang after JDK-8030731 was fixed New in release 1.13.2 (2014-03-28): diff -r a1a682d73ee8 -r 46a990dcf085 configure.ac --- a/configure.ac Fri Mar 28 18:26:56 2014 +0000 +++ b/configure.ac Tue Apr 15 21:59:13 2014 +0100 @@ -1,4 +1,4 @@ -AC_INIT([icedtea6],[1.13.3pre],[distro-pkg-dev at openjdk.java.net]) +AC_INIT([icedtea6],[1.13.3],[distro-pkg-dev at openjdk.java.net]) AC_CANONICAL_HOST AC_CANONICAL_TARGET AM_INIT_AUTOMAKE([1.9 tar-pax foreign]) diff -r a1a682d73ee8 -r 46a990dcf085 patches/merge_fix.patch --- a/patches/merge_fix.patch Fri Mar 28 18:26:56 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,280 +0,0 @@ -diff -Nru openjdk.orig/jdk/src/share/classes/java/awt/Window.java openjdk/jdk/src/share/classes/java/awt/Window.java ---- openjdk.orig/jdk/src/share/classes/java/awt/Window.java 2012-09-19 14:30:11.949624069 +0100 -+++ openjdk/jdk/src/share/classes/java/awt/Window.java 2012-09-19 14:33:18.101297411 +0100 -@@ -362,6 +362,70 @@ - public void setLWRequestStatus(Window changed, boolean status) { - changed.syncLWRequests = status; - } -+ public float getOpacity(Window window) { -+ return window.opacity; -+ } -+ public void setOpacity(Window window, float opacity) { -+ window.setOpacity(opacity); -+ } -+ public Shape getShape(Window window) { -+ return window.getShape(); -+ } -+ public void setShape(Window window, Shape shape) { -+ window.setShape(shape); -+ } -+ public boolean isOpaque(Window window) { -+ /* -+ return window.getBackground().getAlpha() < 255; -+ */ -+ synchronized (window.getTreeLock()) { -+ return window.opaque; -+ } -+ } -+ public void setOpaque(Window window, boolean opaque) { -+ /* -+ Color bg = window.getBackground(); -+ window.setBackground(new Color(bg.getRed(), bg.getGreen(), bg.getBlue(), -+ opaque ? 255 : 0)); -+ */ -+ window.setOpaque(opaque); -+ } -+ public void updateWindow(Window window, BufferedImage backBuffer) { -+ window.updateWindow(backBuffer); -+ } -+ -+ public Dimension getSecurityWarningSize(Window window) { -+ return new Dimension(window.securityWarningWidth, -+ window.securityWarningHeight); -+ } -+ -+ public void setSecurityWarningSize(Window window, int width, int height) -+ { -+ window.securityWarningWidth = width; -+ window.securityWarningHeight = height; -+ } -+ -+ public void setSecurityWarningPosition(Window window, -+ Point2D point, float alignmentX, float alignmentY) -+ { -+ window.securityWarningPointX = point.getX(); -+ window.securityWarningPointY = point.getY(); -+ window.securityWarningAlignmentX = alignmentX; -+ window.securityWarningAlignmentY = alignmentY; -+ -+ synchronized (window.getTreeLock()) { -+ WindowPeer peer = (WindowPeer)window.getPeer(); -+ if (peer != null) { -+ peer.repositionSecurityWarning(); -+ } -+ } -+ } -+ -+ public Point2D calculateSecurityWarningPosition(Window window, -+ double x, double y, double w, double h) -+ { -+ return window.calculateSecurityWarningPosition(x, y, w, h); -+ } - }); - } - -@@ -3504,75 +3568,6 @@ - y + h * securityWarningAlignmentY + securityWarningPointY); - } - -- static { -- AWTAccessor.setWindowAccessor(new AWTAccessor.WindowAccessor() { -- public float getOpacity(Window window) { -- return window.opacity; -- } -- public void setOpacity(Window window, float opacity) { -- window.setOpacity(opacity); -- } -- public Shape getShape(Window window) { -- return window.getShape(); -- } -- public void setShape(Window window, Shape shape) { -- window.setShape(shape); -- } -- public boolean isOpaque(Window window) { -- /* -- return window.getBackground().getAlpha() < 255; -- */ -- synchronized (window.getTreeLock()) { -- return window.opaque; -- } -- } -- public void setOpaque(Window window, boolean opaque) { -- /* -- Color bg = window.getBackground(); -- window.setBackground(new Color(bg.getRed(), bg.getGreen(), bg.getBlue(), -- opaque ? 255 : 0)); -- */ -- window.setOpaque(opaque); -- } -- public void updateWindow(Window window, BufferedImage backBuffer) { -- window.updateWindow(backBuffer); -- } -- -- public Dimension getSecurityWarningSize(Window window) { -- return new Dimension(window.securityWarningWidth, -- window.securityWarningHeight); -- } -- -- public void setSecurityWarningSize(Window window, int width, int height) -- { -- window.securityWarningWidth = width; -- window.securityWarningHeight = height; -- } -- -- public void setSecurityWarningPosition(Window window, -- Point2D point, float alignmentX, float alignmentY) -- { -- window.securityWarningPointX = point.getX(); -- window.securityWarningPointY = point.getY(); -- window.securityWarningAlignmentX = alignmentX; -- window.securityWarningAlignmentY = alignmentY; -- -- synchronized (window.getTreeLock()) { -- WindowPeer peer = (WindowPeer)window.getPeer(); -- if (peer != null) { -- peer.repositionSecurityWarning(); -- } -- } -- } -- -- public Point2D calculateSecurityWarningPosition(Window window, -- double x, double y, double w, double h) -- { -- return window.calculateSecurityWarningPosition(x, y, w, h); -- } -- }); // WindowAccessor -- } // static -- - } // class Window - - -diff -Nru openjdk.orig/jdk/src/share/classes/sun/awt/AWTAccessor.java openjdk/jdk/src/share/classes/sun/awt/AWTAccessor.java ---- openjdk.orig/jdk/src/share/classes/sun/awt/AWTAccessor.java 2012-09-19 14:30:11.949624069 +0100 -+++ openjdk/jdk/src/share/classes/sun/awt/AWTAccessor.java 2012-09-19 14:57:03.147675653 +0100 -@@ -26,6 +26,8 @@ - package sun.awt; - - import java.awt.*; -+import java.awt.geom.Point2D; -+import java.awt.image.BufferedImage; - - import sun.misc.Unsafe; - -@@ -63,6 +65,55 @@ - * components in the specified window to the specified value. - */ - void setLWRequestStatus(Window changed, boolean status); -+ /* -+ * Get opacity level of the given window. -+ */ -+ float getOpacity(Window window); -+ /* -+ * Set opacity level to the given window. -+ */ -+ void setOpacity(Window window, float opacity); -+ /* -+ * Get a shape assigned to the given window. -+ */ -+ Shape getShape(Window window); -+ /* -+ * Set a shape to the given window. -+ */ -+ void setShape(Window window, Shape shape); -+ /* -+ * Identify whether the given window is opaque (true) -+ * or translucent (false). -+ */ -+ boolean isOpaque(Window window); -+ /* -+ * Set the opaque preoperty to the given window. -+ */ -+ void setOpaque(Window window, boolean isOpaque); -+ /* -+ * Update the image of a non-opaque (translucent) window. -+ */ -+ void updateWindow(Window window, BufferedImage backBuffer); -+ -+ /** Get the size of the security warning. -+ */ -+ Dimension getSecurityWarningSize(Window w); -+ -+ /** -+ * Set the size of the security warning. -+ */ -+ void setSecurityWarningSize(Window w, int width, int height); -+ -+ /** Set the position of the security warning. -+ */ -+ void setSecurityWarningPosition(Window w, Point2D point, -+ float alignmentX, float alignmentY); -+ -+ /** Request to recalculate the new position of the security warning for -+ * the given window size/location as reported by the native system. -+ */ -+ Point2D calculateSecurityWarningPosition(Window window, -+ double x, double y, double w, double h); - } - - /* -@@ -147,61 +198,6 @@ - } - - /* -- * An interface of accessor for java.awt.Window class. -- */ -- public interface WindowAccessor { -- /* -- * Get opacity level of the given window. -- */ -- float getOpacity(Window window); -- /* -- * Set opacity level to the given window. -- */ -- void setOpacity(Window window, float opacity); -- /* -- * Get a shape assigned to the given window. -- */ -- Shape getShape(Window window); -- /* -- * Set a shape to the given window. -- */ -- void setShape(Window window, Shape shape); -- /* -- * Identify whether the given window is opaque (true) -- * or translucent (false). -- */ -- boolean isOpaque(Window window); -- /* From gnu.andrew at redhat.com Tue Apr 15 21:54:54 2014 From: gnu.andrew at redhat.com (Andrew Hughes) Date: Tue, 15 Apr 2014 22:54:54 +0100 Subject: [SECURITY] IcedTea 1.13.3 for OpenJDK 6 Released Message-ID: <20140415215449.GA2908@carrie.the212.com> The IcedTea project provides a harness to build the source code from OpenJDK using Free Software build tools, along with additional features such as a PulseAudio sound driver, the ability to build against system libraries and support for alternative virtual machines and architectures beyond those supported by OpenJDK. This release updates our OpenJDK 6 support in the 1.13.x series with the April 2014 security fixes. If you find an issue with the release, please report it to our bug database (http://icedtea.classpath.org/bugzilla) under the appropriate component. Development discussion takes place on the distro-pkg-dev at openjdk.java.net mailing list and patches are always welcome. Full details of the release can be found below. What's New? =========== New in release 1.13.3 (2014-04-15): * Security fixes - S8023046: Enhance splashscreen support - S8025005: Enhance CORBA initializations - S8025010, CVE-2014-2412: Enhance AWT contexts - S8025030, CVE-2014-2414: Enhance stream handling - S8025152, CVE-2014-0458: Enhance activation set up - S8026067: Enhance signed jar verification - S8026163, CVE-2014-2427: Enhance media provisioning - S8026188, CVE-2014-2423: Enhance envelope factory - S8026200: Enhance RowSet Factory - S8026736, CVE-2014-2398: Enhance Javadoc pages - S8026797, CVE-2014-0451: Enhance data transfers - S8026801, CVE-2014-0452: Enhance endpoint addressing - S8027766, CVE-2014-0453: Enhance RSA processing - S8027775: Enhance ICU code. - S8027841, CVE-2014-0429: Enhance pixel manipulations - S8028385: Enhance RowSet Factory - S8029282, CVE-2014-2403: Enhance CharInfo set up - S8029286: Enhance subject delegation - S8029699: Update Poller demo - S8029730: Improve audio device additions - S8029735: Enhance service mgmt natives - S8029740, CVE-2014-0446: Enhance handling of loggers - S8029750: Enhance LCMS color processing - S8029760, CVE-2013-6629: Enhance AWT image libraries (in-tree libjpeg) - S8029854, CVE-2014-2421: Enhance JPEG decodings - S8029858, CVE-2014-0456: Enhance array copies - S8030731, CVE-2014-0460: Improve name service robustness - S8031330: Refactor ObjectFactory - S8031335, CVE-2014-0459: Better color profiling (LCMS 2 only) - S8031352, CVE-2013-6954: Enhance PNG handling (in-tree libpng) - S8031394, CVE-2014-0457: (sl) Fix exception handling in ServiceLoader - S8031395: Enhance LDAP processing - S8033618, CVE-2014-1876: Correct logging output - S8034926, CVE-2014-2397: Attribute classes properly - S8036794, CVE-2014-0461: Manage JavaScript instances * Import of OpenJDK6 b31 - OJ27: Change summary generator can leave out last changeset - OJ28: Report generator should not include old changes - OJ30: Remove @Override annotation on interfaces added by 2014/04/15 security fixes. - S6680198: UnmarshalException caused by incompatible serialVersionUID - S6742654: Code insertion/replacement attacks against signed jars - S6779717: A Window does not show applet security warning icon on X platforms - S6785058: Parent dn't get the focus after dialog is closed if security warning is applied - S6799345: JFC demos threw exception in the Java Console when applets are closed - S6828273: javax/swing/system/6799345/TestShutdown.java test fails with RuntimeException. - S6867515: Reduce impact of D3D initializion on startup time - S6891435: Improve D3D preloading - S6911041: JCK api/signaturetest tests fails for Mixed Code PIT builds (b91) for all trains - S6921823: JarVerifier csdomain field not initialized - S6921839: Update trusted.libraries list - S6924497: HotSpotDiagnosticsMXBean.getDiagnosticOptions throws NPE - S6936389: FontManager.fileCloser may cause memory leak in applets - S6946559: AWTToolKit thread crashes in JNU_GetEnv - S6955783: ServiceUnavailableException caught even the secondary DNS is available - S6987967: D3D preloading thread should initialize COM - S7011446: ./windows/classes/sun/awt/windows/WToolkit.java needs to avoid spurious wakeup - S7015232: missing copyright header in CheckZOrderChange.java - S7119760: [macosx] The OpenGL queue flusher thread is created in the wrong thread group - S7155051: DNS provider may return incorrect results - S8002191: AWT-Shutdown thread does not start with the AppletSecurity on Linux - S8028388: 9 jaxws tests failed in nightly build with java.lang.ClassCastException - S8031032: SQE test failures after JDK-8025010 was fixed - S8031477: [macosx] Loading AWT native library fails - S8032370: No "Truncated file" warning from IIOReadWarningListener on JPEGImageReader - S8035834: InetAddress.getLocalHost() can hang after JDK-8030731 was fixed The tarballs can be downloaded from: http://icedtea.classpath.org/download/source/icedtea6-1.13.3.tar.gz http://icedtea.classpath.org/download/source/icedtea6-1.13.3.tar.xz We provide both gzip and xz tarballs, so that those who are able to make use of the smaller tarball produced by xz may do so. The tarballs are accompanied by digital signatures available at: http://icedtea.classpath.org/download/source/icedtea6-1.13.3.tar.gz.sig http://icedtea.classpath.org/download/source/icedtea6-1.13.3.tar.xz.sig These are produced using my public key. See details below. PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 SHA256 checksums: 15a5a9b4ff52f67a3dffd264e75d6f984bc196f47899376c206b1e51000fd072 icedtea6-1.13.3.tar.gz 00e7f7083fa907b9a39dfbae1a5461afe741d0cbf80456c8dbcefa37fa8f14da icedtea6-1.13.3.tar.gz.sig 0149ffffcfb55739357a2c720421cbc311e4ccb248c0c185ed67671d2c45f748 icedtea6-1.13.3.tar.xz a36f43665bfcfe0e03ae08507a7db7a09892f14cc9defe345ad344134cc3c17c icedtea6-1.13.3.tar.xz.sig The checksums can be downloaded from: http://icedtea.classpath.org/download/source/icedtea6-1.13.3.sha256 The following people helped with these releases: * Andrew Hughes (all other backports & bug fixes, release management) * Omair Majid (OJ26, OJ28) We would also like to thank the bug reporters and testers! To get started: $ tar xzf icedtea6-1.13.3.tar.gz or: $ tar x -I xz -f icedtea6-1.13.3.tar.xz then: $ mkdir icedtea-build $ cd icedtea-build $ ../icedtea6-1.13.3/configure $ make Full build requirements and instructions are available in the INSTALL file. Happy hacking! -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: From andrew at icedtea.classpath.org Tue Apr 15 22:56:49 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 15 Apr 2014 22:56:49 +0000 Subject: /hg/release/icedtea7-forest-2.4: Added tag icedtea-2.4.7 for cha... Message-ID: changeset c2294c7ee2ee in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=c2294c7ee2ee author: andrew date: Tue Apr 15 23:54:36 2014 +0100 Added tag icedtea-2.4.7 for changeset 13970e76b784 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 13970e76b784 -r c2294c7ee2ee .hgtags --- a/.hgtags Fri Apr 04 18:44:40 2014 +0100 +++ b/.hgtags Tue Apr 15 23:54:36 2014 +0100 @@ -411,3 +411,4 @@ 410eb7fef869645524ebb08293da1ba6215e5ce9 icedtea-2.4.5 b028e58c1b77759531652b7ec81764f3c05ec96c icedtea-2.4.6pre01 b028e58c1b77759531652b7ec81764f3c05ec96c icedtea-2.4.6 +13970e76b784af6454d9a01cf530a28305fa255f icedtea-2.4.7 From andrew at icedtea.classpath.org Tue Apr 15 22:56:57 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 15 Apr 2014 22:56:57 +0000 Subject: /hg/release/icedtea7-forest-2.4/corba: Added tag icedtea-2.4.7 f... Message-ID: changeset fee6e7671794 in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=fee6e7671794 author: andrew date: Tue Apr 15 23:54:24 2014 +0100 Added tag icedtea-2.4.7 for changeset e6ad5b912691 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r e6ad5b912691 -r fee6e7671794 .hgtags --- a/.hgtags Tue Jan 21 12:46:58 2014 +0000 +++ b/.hgtags Tue Apr 15 23:54:24 2014 +0100 @@ -413,3 +413,4 @@ 3594dbde270d68920afc5ee862d10f14c2a87dc8 icedtea-2.4.5 48ef1bb6d120dbf053f75787a40ef6faa38230f1 icedtea-2.4.6pre01 48ef1bb6d120dbf053f75787a40ef6faa38230f1 icedtea-2.4.6 +e6ad5b912691cda3037a1d1c15ac6ae3624e166b icedtea-2.4.7 From andrew at icedtea.classpath.org Tue Apr 15 22:57:03 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 15 Apr 2014 22:57:03 +0000 Subject: /hg/release/icedtea7-forest-2.4/jaxp: Added tag icedtea-2.4.7 fo... Message-ID: changeset d4e84082fc8f in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=d4e84082fc8f author: andrew date: Tue Apr 15 23:54:25 2014 +0100 Added tag icedtea-2.4.7 for changeset 94b7e8e0d96f diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 94b7e8e0d96f -r d4e84082fc8f .hgtags --- a/.hgtags Thu Jan 16 12:56:28 2014 +0400 +++ b/.hgtags Tue Apr 15 23:54:25 2014 +0100 @@ -413,3 +413,4 @@ 8fe156ad49e2db0e5034ffda4649e801b9c315da icedtea-2.4.5 e0ba4b9a8b91c10bacd0b316b2e04717e0f4662a icedtea-2.4.6pre01 e0ba4b9a8b91c10bacd0b316b2e04717e0f4662a icedtea-2.4.6 +94b7e8e0d96fee2552fe830d989897a5deabbc9a icedtea-2.4.7 From andrew at icedtea.classpath.org Tue Apr 15 22:57:09 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 15 Apr 2014 22:57:09 +0000 Subject: /hg/release/icedtea7-forest-2.4/jaxws: Added tag icedtea-2.4.7 f... Message-ID: changeset 1407fa0d521f in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=1407fa0d521f author: andrew date: Tue Apr 15 23:54:27 2014 +0100 Added tag icedtea-2.4.7 for changeset bd9a50a78d04 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r bd9a50a78d04 -r 1407fa0d521f .hgtags --- a/.hgtags Fri Dec 13 16:37:37 2013 +0100 +++ b/.hgtags Tue Apr 15 23:54:27 2014 +0100 @@ -413,3 +413,4 @@ 32ea8b1ed91a12ac4633d596f0713c2c67930874 icedtea-2.4.5 4bd947cd146bba78ac7ef45e3d28369c3faa8461 icedtea-2.4.6pre01 4bd947cd146bba78ac7ef45e3d28369c3faa8461 icedtea-2.4.6 +bd9a50a78d04745aafd4286a20d2b92127ac0fc7 icedtea-2.4.7 From andrew at icedtea.classpath.org Tue Apr 15 22:57:16 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 15 Apr 2014 22:57:16 +0000 Subject: /hg/release/icedtea7-forest-2.4/langtools: Added tag icedtea-2.4... Message-ID: changeset 3055c061e7e2 in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=3055c061e7e2 author: andrew date: Tue Apr 15 23:54:36 2014 +0100 Added tag icedtea-2.4.7 for changeset 8c26a3c39128 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 8c26a3c39128 -r 3055c061e7e2 .hgtags --- a/.hgtags Mon Jan 13 14:46:55 2014 -0800 +++ b/.hgtags Tue Apr 15 23:54:36 2014 +0100 @@ -413,3 +413,4 @@ dabd37b7e2950b42c1c9550caea26522348cd7b4 icedtea-2.4.5 06eeb77dac248eb62fed00aa25f9f9fa9b4df210 icedtea-2.4.6pre01 06eeb77dac248eb62fed00aa25f9f9fa9b4df210 icedtea-2.4.6 +8c26a3c3912898619032a5d913ba81ebfa6e4e22 icedtea-2.4.7 From andrew at icedtea.classpath.org Tue Apr 15 22:57:24 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 15 Apr 2014 22:57:24 +0000 Subject: /hg/release/icedtea7-forest-2.4/hotspot: Added tag icedtea-2.4.7... Message-ID: changeset ac48a818965e in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=ac48a818965e author: andrew date: Tue Apr 15 23:54:38 2014 +0100 Added tag icedtea-2.4.7 for changeset 69b542696e5b diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 69b542696e5b -r ac48a818965e .hgtags --- a/.hgtags Thu Feb 20 13:51:45 2014 -0500 +++ b/.hgtags Tue Apr 15 23:54:38 2014 +0100 @@ -626,3 +626,4 @@ 2cb58882dac3bf8b186ef15f847be926772bbf98 icedtea-2.4.5 00478c5bf5e93892b40bac1c293f8540d5be58ab icedtea-2.4.6pre01 172674e0ab65752a9a6e5bb7f563e03f8ca44be1 icedtea-2.4.6 +69b542696e5b678269d2a69b6163eb1471f84224 icedtea-2.4.7 From andrew at icedtea.classpath.org Tue Apr 15 22:57:31 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 15 Apr 2014 22:57:31 +0000 Subject: /hg/release/icedtea7-forest-2.4/jdk: Added tag icedtea-2.4.7 for... Message-ID: changeset cc46414da03e in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=cc46414da03e author: andrew date: Tue Apr 15 23:54:34 2014 +0100 Added tag icedtea-2.4.7 for changeset 9448fff93286 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 9448fff93286 -r cc46414da03e .hgtags --- a/.hgtags Sat Apr 12 00:23:06 2014 +0100 +++ b/.hgtags Tue Apr 15 23:54:34 2014 +0100 @@ -404,3 +404,4 @@ 9db88c18e114006dc242d1ba31683cbdb6151a5d icedtea-2.4.5 f582aad1fce8fe3410728dd40778dbde12f63beb icedtea-2.4.6pre01 b5282042aae07c3f9b6fed8879b3db7352556286 icedtea-2.4.6 +9448fff932863c309ac8361e7914e71e1b00d1a9 icedtea-2.4.7 From gnu_andrew at member.fsf.org Wed Apr 16 04:33:10 2014 From: gnu_andrew at member.fsf.org (Andrew Hughes) Date: Wed, 16 Apr 2014 05:33:10 +0100 Subject: [SECURITY] IcedTea 2.4.7 for OpenJDK 7 Released Message-ID: <20140416043310.GA8655@carrie.the212.com> The IcedTea project provides a harness to build the source code from OpenJDK using Free Software build tools, along with additional features such as a PulseAudio sound driver, the ability to build against system libraries and support for alternative virtual machines and architectures beyond those supported by OpenJDK. This release updates our OpenJDK 7 support in the 2.4.x series with the April 2014 security fixes. If you find an issue with the release, please report it to our bug database (http://icedtea.classpath.org/bugzilla) under the appropriate component. Development discussion takes place on the distro-pkg-dev at openjdk.java.net mailing list and patches are always welcome. Full details of the release can be found below. What's New? =========== New in release 2.4.7 (2014-04-15): * Security fixes - S8023046: Enhance splashscreen support - S8025005: Enhance CORBA initializations - S8025010, CVE-2014-2412: Enhance AWT contexts - S8025030, CVE-2014-2414: Enhance stream handling - S8025152, CVE-2014-0458: Enhance activation set up - S8026067: Enhance signed jar verification - S8026163, CVE-2014-2427: Enhance media provisioning - S8026188, CVE-2014-2423: Enhance envelope factory - S8026200: Enhance RowSet Factory - S8026716, CVE-2014-2402: (aio) Enhance asynchronous channel handling - S8026736, CVE-2014-2398: Enhance Javadoc pages - S8026797, CVE-2014-0451: Enhance data transfers - S8026801, CVE-2014-0452: Enhance endpoint addressing - S8027766, CVE-2014-0453: Enhance RSA processing - S8027775: Enhance ICU code. - S8027841, CVE-2014-0429: Enhance pixel manipulations - S8028385: Enhance RowSet Factory - S8029282, CVE-2014-2403: Enhance CharInfo set up - S8029286: Enhance subject delegation - S8029699: Update Poller demo - S8029730: Improve audio device additions - S8029735: Enhance service mgmt natives - S8029740, CVE-2014-0446: Enhance handling of loggers - S8029745, CVE-2014-0454: Enhance algorithm checking - S8029750: Enhance LCMS color processing (in-tree LCMS) - S8029760, CVE-2013-6629: Enhance AWT image libraries (in-tree libjpeg) - S8029844, CVE-2014-0455: Enhance argument validation - S8029854, CVE-2014-2421: Enhance JPEG decodings - S8029858, CVE-2014-0456: Enhance array copies - S8030731, CVE-2014-0460: Improve name service robustness - S8031330: Refactor ObjectFactory - S8031335, CVE-2014-0459: Better color profiling (in-tree LCMS) - S8031352, CVE-2013-6954: Enhance PNG handling (in-tree libpng) - S8031394, CVE-2014-0457: (sl) Fix exception handling in ServiceLoader - S8031395: Enhance LDAP processing - S8032686, CVE-2014-2413: Issues with method invoke - S8033618, CVE-2014-1876: Correct logging output - S8034926, CVE-2014-2397: Attribute classes properly - S8036794, CVE-2014-0461: Manage JavaScript instances * Backports - S8004145: New improved hgforest.sh, ctrl-c now properly terminates mercurial processes. - S8007625: race with nested repos in /common/bin/hgforest.sh - S8011178: improve common/bin/hgforest.sh python detection (MacOS) - S8011342: hgforest.sh : 'python --version' not supported on older python - S8011350: hgforest.sh uses non-POSIX sh features that may fail with some shells - S8024200: handle hg wrapper with space after #! - S8025796: hgforest.sh could trigger unbuffered output from hg without complicated machinations - S8028388: 9 jaxws tests failed in nightly build with java.lang.ClassCastException - S8031477: [macosx] Loading AWT native library fails - S8032370: No "Truncated file" warning from IIOReadWarningListener on JPEGImageReader - S8035834: InetAddress.getLocalHost() can hang after JDK-8030731 was fixed * Bug fixes - PR1393: JPEG support in build is broken on non-system-libjpeg builds - PR1726: configure fails looking for ecj.jar before even trying to find javac - Red Hat local: Fix for repo with path statting with / . - Remove unused hgforest script The tarballs can be downloaded from: http://icedtea.classpath.org/download/source/icedtea-2.4.7.tar.gz http://icedtea.classpath.org/download/source/icedtea-2.4.7.tar.xz We provide both gzip and xz tarballs, so that those who are able to make use of the smaller tarball produced by xz may do so. The tarballs are accompanied by digital signatures available at: http://icedtea.classpath.org/download/source/icedtea-2.4.7.tar.gz.sig http://icedtea.classpath.org/download/source/icedtea-2.4.7.tar.xz.sig These are produced using my public key. See details below. PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 SHA256 checksums: 754350cbd704b22b7ba3d14c8283eb2d896d137824f95a9e6a2b34678658ade1 icedtea-2.4.7.tar.gz 92a1ac08f3bdb1f0bca58a6528020ca0d7e7e720ad438743133de9d0b3bf875d icedtea-2.4.7.tar.gz.sig b66973bef7808f8fb03be64e44d312ea2d13590a68a6a4e6690dbcdd1947459d icedtea-2.4.7.tar.xz 6766d3fcd0e2b7c167bcb217e2a7c03b6582b84b5a246d71601b5d7863c60ba7 icedtea-2.4.7.tar.xz.sig The checksums can be downloaded from: http://icedtea.classpath.org/download/source/icedtea-2.4.7.sha256 The following people helped with these releases: * Andrew Haley (hgforest.sh path with leading '/' fix) * Andrew Hughes (all backports & bug fixes, release management) We would also like to thank the bug reporters and testers! To get started: $ tar xzf icedtea-2.4.7.tar.gz or: $ tar x -I xz -f icedtea-2.4.7.tar.xz then: $ mkdir icedtea-build $ cd icedtea-build $ ../icedtea-2.4.7/configure $ make Full build requirements and instructions are available in the INSTALL file. Happy hacking! -- Andrew :) PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: From andrew at icedtea.classpath.org Wed Apr 16 04:40:39 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 16 Apr 2014 04:40:39 +0000 Subject: /hg/release/icedtea7-2.4: 5 new changesets Message-ID: changeset 0eb67382af67 in /hg/release/icedtea7-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-2.4?cmd=changeset;node=0eb67382af67 author: Andrew John Hughes date: Wed Apr 16 03:18:47 2014 +0100 Bring in 2014/04/15 security fixes. 2014-03-28 Andrew John Hughes * Makefile.am: (CORBA_CHANGESET): Update to icedtea-2.4.7 tag. (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. (ICEDTEA_PATCHES): Add HotSpot security fixes for AArch64 port. (ICEDTEA_ENV): Set FULL_DEBUG_SYMBOLS=0 in AArch64 build to avoid generating .diz files. * NEWS: Updated. * hotspot.map: default updated to icedtea-2.4.7 tag. * patches/boot/ecj-autoboxing.patch: Regenerated. * patches/boot/ecj-diamond.patch: Regenerated and new cases added. * patches/boot/ecj-trywithresources.patch: Regenerated. * patches/hotspot/aarch64/20140415-8029858-enhance_array_copies.patch, * patches/hotspot/aarch64/20140415-8034926-attribute_classes_properly.patch: HotSpot security fixes for AArch64 port. changeset 7f6fe0d48257 in /hg/release/icedtea7-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-2.4?cmd=changeset;node=7f6fe0d48257 author: Andrew John Hughes date: Wed Apr 16 03:20:31 2014 +0100 Prepare for 2.4.7 release. 2014-03-27 Andrew John Hughes * NEWS: Set release date to today. * configure.ac: Set to 2.4.7. changeset 1cffa74f89e7 in /hg/release/icedtea7-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-2.4?cmd=changeset;node=1cffa74f89e7 author: Andrew John Hughes date: Wed Apr 16 05:19:28 2014 +0100 Set to u55b14. 2014-04-15 Andrew John Hughes * Makefile.am: (JDK_UPDATE_VERSION): Bump to 55 to match upstream. (BUILD_VERSION): Bump to b14 to match upstream. changeset 4bd27fce09c4 in /hg/release/icedtea7-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-2.4?cmd=changeset;node=4bd27fce09c4 author: Andrew John Hughes date: Wed Apr 16 05:19:58 2014 +0100 Correct erroneous ChangeLog dates. changeset cdff110048bd in /hg/release/icedtea7-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-2.4?cmd=changeset;node=cdff110048bd author: Andrew John Hughes date: Wed Apr 16 05:20:12 2014 +0100 Added tag icedtea-2.4.7 for changeset 4bd27fce09c4 diffstat: .hgtags | 1 + ChangeLog | 162 +- Makefile.am | 39 +- NEWS | 57 +- configure.ac | 2 +- hotspot.map | 2 +- patches/boot/ecj-autoboxing.patch | 236 +- patches/boot/ecj-diamond.patch | 3108 +++++---- patches/boot/ecj-trywithresources.patch | 208 +- patches/hotspot/aarch64/20140415-8029858-enhance_array_copies.patch | 22 + patches/hotspot/aarch64/20140415-8034926-attribute_classes_properly.patch | 32 + 11 files changed, 2037 insertions(+), 1832 deletions(-) diffs (truncated from 6159 to 500 lines): diff -r 76236fae3eea -r cdff110048bd .hgtags --- a/.hgtags Fri Mar 28 18:22:46 2014 +0000 +++ b/.hgtags Wed Apr 16 05:20:12 2014 +0100 @@ -42,3 +42,4 @@ 73ef620ce0a5d16d5c90e58eb17d022c1ecb572e icedtea-2.4.4 4bfa1c865fdd3d385c3bdf7a7c8611f80d42029d icedtea-2.4.5 7207e8b9dc7f2a1673b02e410e75927fa49651fa icedtea-2.4.6 +4bd27fce09c46e37a7256f5fb6a0699ab0c62df2 icedtea-2.4.7 diff -r 76236fae3eea -r cdff110048bd ChangeLog --- a/ChangeLog Fri Mar 28 18:22:46 2014 +0000 +++ b/ChangeLog Wed Apr 16 05:20:12 2014 +0100 @@ -1,3 +1,43 @@ +2014-04-15 Andrew John Hughes + + * Makefile.am: + (JDK_UPDATE_VERSION): Bump to 55 to match upstream. + (BUILD_VERSION): Bump to b14 to match upstream. + +2014-04-15 Andrew John Hughes + + * NEWS: Set release date to today. + * configure.ac: Set to 2.4.7. + +2014-04-15 Andrew John Hughes + + * Makefile.am: + (CORBA_CHANGESET): Update to icedtea-2.4.7 tag. + (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. + (ICEDTEA_PATCHES): Add HotSpot security fixes for + AArch64 port. + (ICEDTEA_ENV): Set FULL_DEBUG_SYMBOLS=0 in AArch64 + build to avoid generating .diz files. + * NEWS: Updated. + * hotspot.map: default updated to icedtea-2.4.7 tag. + * patches/boot/ecj-autoboxing.patch: Regenerated. + * patches/boot/ecj-diamond.patch: Regenerated and new + cases added. + * patches/boot/ecj-trywithresources.patch: Regenerated. + * patches/hotspot/aarch64/20140415-8029858-enhance_array_copies.patch, + * patches/hotspot/aarch64/20140415-8034926-attribute_classes_properly.patch: + HotSpot security fixes for AArch64 port. + 2014-03-28 Andrew John Hughes * acinclude.m4: @@ -12,15 +52,15 @@ * configure.ac: Bump to 2.4.7pre00. * NEWS: Add 2.4.7 section. -2014-03-26 Andrew John Hughes +2014-03-26 Andrew John Hughes * NEWS: Update with recent changes. -2014-03-28 Andrew John Hughes +2014-03-28 Andrew John Hughes * NEWS: Update release date. -2014-03-28 Andrew John Hughes +2014-03-28 Andrew John Hughes * acinclude.m4: (IT_ENABLE_ARM32JIT): Turn JIT on by default. @@ -34,12 +74,12 @@ * patches/hotspot/aarch64/werror.patch: Allow COMPILER_WARNINGS_FATAL to turn off -Werror. -2014-03-27 Andrew John Hughes +2014-03-27 Andrew John Hughes * NEWS: Updated. * hotspot.map: Bring in S8035893 backport. -2014-03-26 Andrew John Hughes +2014-03-26 Andrew John Hughes Perform configure checks using ecj.jar if native ecj is enabled. @@ -55,36 +95,36 @@ (IT_DIAMOND_CHECK): Depend on IT_CHECK_JAVA_AND_JAVAC_WORK. * configure.ac: Remove invocation of IT_WITH_GCJ. -2014-03-27 Andrew John Hughes +2014-03-27 Andrew John Hughes * hotspot.map: Update to latest aarch64 tree. -2014-03-27 Andrew John Hughes +2014-03-27 Andrew John Hughes * Makefile.am: (EXTRA_DIST): Don't look for patches in boot/hotspot/*. Do look for patches in hotspot/*. -2014-03-27 Andrew John Hughes +2014-03-27 Andrew John Hughes * NEWS: Set release date to today. * configure.ac: Set to 2.4.6. -2014-03-27 Andrew John Hughes +2014-03-27 Andrew John Hughes * acinclude.m4: (IT_ENABLE_ARM32JIT): Turn JIT off by default. * NEWS: Remove mention of turning JIT on by default. -2014-03-27 Andrew John Hughes +2014-03-27 Andrew John Hughes * acinclude.m4: (IT_ENABLE_ZERO_BUILD): Default to off on aarch64/arm64. (IT_WITH_HOTSPOT_BUILD): Default to aarch64 port on aarch64. -2014-03-27 Andrew John Hughes +2014-03-27 Andrew John Hughes * patches/boot/hotspot/default/jdk-dependency.patch: Moved to... @@ -96,7 +136,7 @@ * patches/boot/hotspot-jdk-dependency.patch: ...here. -2014-03-07 Andrew John Hughes +2014-03-07 Andrew John Hughes * patches/systemtap_gc.patch: Moved to... * Makefile.am: @@ -108,7 +148,7 @@ * patches/hotspot/default/systemtap_gc.patch: ... here. -2014-03-26 Andrew John Hughes +2014-03-26 Andrew John Hughes * Makefile.am: (JDK_CHANGESET): Bring in PR1713. @@ -118,24 +158,24 @@ Add AArch64 section and rename 'ARM port' section as 'ARM32 port'. -2014-03-21 Andrew John Hughes +2014-03-21 Andrew John Hughes * acinclude.m4: (IT_ENABLE_ARM32JIT): Turn JIT on by default. -2014-02-24 Andrew John Hughes +2014-02-24 Andrew John Hughes * NEWS: Add Gentoo bug reference for PaX update. -2014-02-24 Andrew John Hughes +2014-02-24 Andrew John Hughes PR1684: Build fails with empty PAX_COMMAND * Makefile.am: (ICEDTEA_ENV): Only add PAX_COMMAND when defined. * NEWS: Updated. -2014-02-21 Andrew John Hughes +2014-02-21 Andrew John Hughes * acinclude.m4: (IT_WITH_PAX): Leave PAX_COMMAND with the empty @@ -143,7 +183,7 @@ failures. * pax-mark-vm.in: Update PAX_COMMAND check. -2014-02-19 Andrew John Hughes +2014-02-19 Andrew John Hughes * patches/boot/test_gamma.patch, * patches/pax-mark-rmic-java.patch, @@ -179,7 +219,7 @@ * configure.ac: Run IT_ENABLE_ARM32JIT macro. * hotspot.map: Update to icedtea-2.4.6pre01 tag. -2014-02-19 Andrew John Hughes +2014-02-19 Andrew John Hughes PR1677: Update PaX support to detect running PaX kernel and use newer tools @@ -361,7 +401,7 @@ * NEWS: List PR1410, G478484 and G477456. -2013-05-28 Andrew John Hughes +2013-05-28 Andrew John Hughes PR1410: Icedtea 2.3.9 fails to build using icedtea 1.12.4 * Makefile.am: @@ -373,7 +413,7 @@ (clean-rt): Mirror creation of STAGE1_BOOT_RUNTIME in bootstrap-directory-stage1. -2013-01-15 Andrew John Hughes +2013-01-15 Andrew John Hughes * Makefile.am: (ICEDTEA_PATCHES): Add patch when building @@ -422,7 +462,7 @@ (JAMVM_VERSION): Updated JamVM to 2013-07-14 revision. (JAMVM_SHA256SUM): Updated. -2013-09-11 Andrew John Hughes +2013-09-11 Andrew John Hughes * acinclude.m4: (IT_CHECK_FOR_LCMS): Make error message mention @@ -472,25 +512,25 @@ the krb5.h header. * configure.ac: Invoke IT_CHECK_FOR_KERBEROS. -2013-07-24 Andrew John Hughes +2013-07-24 Andrew John Hughes * NEWS: Mention LCMS 2 change. -2013-07-24 Andrew John Hughes +2013-07-24 Andrew John Hughes * acinclude.m4: (IT_CHECK_FOR_LCMS): Turn system LCMS back on by default if the version is 2.5 or above with the latest security fixes. -2013-09-05 Andrew John Hughes +2013-09-05 Andrew John Hughes * NEWS: Add new OpenJDK changes, remove duplicates listed in 2.4.0 which were in earlier security releases. -2013-09-04 Andrew John Hughes +2013-09-04 Andrew John Hughes * Makefile.am, (OPENJDK_VERSION): Bump to b60. @@ -509,7 +549,7 @@ * hotspot.map: Update to IcedTea 2.4 branch HotSpot HEAD. -2013-07-30 Andrew John Hughes +2013-07-30 Andrew John Hughes * Makefile.am: (OPENJDK_VERSION): Bump to b34. @@ -537,16 +577,16 @@ Add new case in com.sun.org.apache.xml.internal.serializer.Encodings. -2013-07-08 Andrew John Hughes +2013-07-08 Andrew John Hughes * configure.ac: Bump to 2.4.2pre. * NEWS: Add 2.4.2 section. -2013-07-05 Andrew John Hughes +2013-07-05 Andrew John Hughes * configure.ac: Set version to 2.4.1. -2013-06-28 Andrew John Hughes +2013-06-28 Andrew John Hughes * acinclude.m4: (IT_WITH_HOTSPOT_BUILD): Define once. @@ -556,17 +596,17 @@ * configure.ac: Drop IT_ENABLE_ZERO_BUILD; called by IT_WITH_HOTSPOT_BUILD. -2013-06-25 Andrew John Hughes +2013-06-25 Andrew John Hughes * NEWS: Add Red Hat bugzilla references. -2013-07-05 Andrew John Hughes +2013-07-05 Andrew John Hughes * NEWS: Add latest security fixes and other changes brought in when syncing with 7u40 b31. Set release date. -2013-07-01 Andrew John Hughes +2013-07-01 Andrew John Hughes * Makefile.am: (OPENJDK_VERSION): Bump to b31. @@ -596,17 +636,17 @@ * patches/systemtap_gc.patch: Regenerated. -2013-06-11 Andrew John Hughes +2013-06-11 Andrew John Hughes * configure.ac: Bump to 2.4.1pre. * NEWS: Add 2.4.1 section. -2013-06-10 Andrew John Hughes +2013-06-10 Andrew John Hughes * NEWS: Update following release annoucement. -2013-04-21 Andrew John Hughes +2013-04-21 Andrew John Hughes * Makefile.am: (ICEDTEA_NAME): Make same across all versions. @@ -631,28 +671,28 @@ * hotspot.map: Update default to head of IcedTea7 2.4 forest HotSpot. -2013-06-09 Andrew John Hughes +2013-06-09 Andrew John Hughes * Makefile.am: (EXTRA_DIST): Remove non-existent JamVM patch directory. -2013-06-09 Andrew John Hughes +2013-06-09 Andrew John Hughes * Makefile.am: (GENERATED_FILES): Remove non-existent jconsole directory. -2013-06-09 Andrew John Hughes +2013-06-09 Andrew John Hughes * NEWS: Add Debian bug ID for PR1435. -2013-06-07 Andrew John Hughes +2013-06-07 Andrew John Hughes * configure.ac: Set to 2.4.0. * NEWS: Set release date. -2013-06-07 Andrew John Hughes +2013-06-07 Andrew John Hughes PR1276: Synchronise CACAO rules between IcedTea6/7/8 where possible @@ -685,7 +725,7 @@ * acinclude: New macro AC_CHECK_WITH_CACAO_SRC_DIR. * Makefile.am: Copy Cacao sources when USE_ALT_CACAO_SRC_DIR is used. -2013-06-06 Andrew John Hughes +2013-06-06 Andrew John Hughes S7191872: Xrender: No text displayed using 64 bit JDK on solaris11-sparc @@ -713,16 +753,16 @@ PR1435 and PR728. * hotspot.map: Update to IcedTea7 forest head. -2013-06-06 Andrew John Hughes +2013-06-06 Andrew John Hughes * ChangeLog: Update my Red Hat e-mail address. -2013-06-06 Andrew John Hughes +2013-06-06 Andrew John Hughes * AUTHORS: Include entries from THANKYOU. * THANKYOU: Removed. -2013-06-06 Andrew John Hughes +2013-06-06 Andrew John Hughes * INSTALL: Synchronise list of VMs with macro in acinclude.m4. @@ -738,7 +778,7 @@ * INSTALL: Add /etc/alternatives/java_sdk_openjdk. * acinclude.m4: Likewise. -2013-06-06 Andrew John Hughes +2013-06-06 Andrew John Hughes * AUTHORS: Updated with Michal. @@ -749,13 +789,13 @@ Remove check on ENABLE_XRENDER variable which is no longer set. -2013-06-06 Andrew John Hughes +2013-06-06 Andrew John Hughes * Makefile.am: (.PHONY): Add clean-cryptocheck. (clean-local): Likewise. -2013-06-05 Andrew John Hughes +2013-06-05 Andrew John Hughes * Makefile.am: (check-crypto): Depend on icedtea.stamp. @@ -764,7 +804,7 @@ (check-crypto-debug): Depend on icedtea-debug.stamp. (clean-crypto-boot): Depend on icedtea-boot.stamp. -2013-06-05 Andrew John Hughes +2013-06-05 Andrew John Hughes PR1280: Updating/Installing OpenJDK should recreate the shared class-data archive @@ -815,7 +855,7 @@ (clean-icedtea-stage1): Depend on clean-add-archive-boot. * NEWS: Mention. -2013-06-05 Andrew John Hughes +2013-06-05 Andrew John Hughes PR1170: Ensure unlimited crypto policy is in place. * Makefile.am: @@ -848,26 +888,26 @@ Checks whether the unlimited crypto policy is in place or not. -2013-05-23 Andrew John Hughes +2013-05-23 Andrew John Hughes * NEWS: Update with fixes brought in by latest forest updates. -2013-05-22 Andrew John Hughes +2013-05-22 Andrew John Hughes * NEWS: Remove CACAO changes which only appear on the loop branch. -2013-05-22 Andrew John Hughes +2013-05-22 Andrew John Hughes * NEWS: Add latest release notes. -2013-05-16 Andrew John Hughes +2013-05-16 Andrew John Hughes * javac.in: Fix accidental inclusion of hardcoded path. -2013-05-15 Andrew John Hughes +2013-05-15 Andrew John Hughes PR716: IcedTea7 should bootstrap with IcedTea6 * NEWS: Updated. @@ -931,12 +971,12 @@ (JAMVM_SHA256SUM): Updated. (ICEDTEA_PATCHES): Drop unneeded sun.misc.Perf patch. -2013-04-17 Andrew John Hughes +2013-04-17 Andrew John Hughes * patches/boot/ecj-diamond.patch: Regenerate due to security patches. -2013-04-24 Andrew John Hughes +2013-04-24 Andrew John Hughes PR1278: Synchronise CACAO versions between IcedTea6/7/8 where possible @@ -948,7 +988,7 @@ (ICEDTEA_PATCHES): Drop unneeded jsig patch. * NEWS: Updated. -2013-04-24 Andrew John Hughes +2013-04-24 Andrew John Hughes * Makefile.am, (OPENJDK_VERSION): Bump to b20. @@ -968,7 +1008,7 @@ * hotspot.map: Update to IcedTea7 forest head. * patches/systemtap_gc.patch: Regenerated. -2013-04-18 Andrew John Hughes +2013-04-18 Andrew John Hughes PR1404: Failure to bootstrap with ecj 4.2 * Makefile.am: @@ -1041,7 +1081,7 @@ * NEWS: Add release notes for 2.3.8, 2.1.7 & 2.2.7. From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:04:39 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:04:39 +0000 Subject: [Bug 1296] -Xshare:dump causes Zero to crash In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1296 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #5 from Andrew John Hughes --- The 1.12.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:05:10 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:05:10 +0000 Subject: [Bug 1386] Ameritrade Think or Swim crashes in Java VM: OpenJDK 64-Bit In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1386 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #2 from Andrew John Hughes --- The 1.12.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:05:42 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:05:42 +0000 Subject: [Bug 1481] Eclipse crashes while running gwt designer In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1481 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gnu.andrew at redhat.com Severity|blocker |normal -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:06:07 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:06:07 +0000 Subject: [Bug 1499] SIGSEV crash using jstock libdbus-1.so.3+0x287c0 outside VM In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1499 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #1 from Andrew John Hughes --- The 1.12.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:06:47 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:06:47 +0000 Subject: [Bug 1455] JVM crashing - SSL_write causing the issue In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1455 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |WONTFIX --- Comment #5 from Andrew John Hughes --- The 1.12.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:07:13 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:07:13 +0000 Subject: [Bug 1510] crashplan crash while starting In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1510 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #1 from Andrew John Hughes --- The 1.12.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:08:08 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:08:08 +0000 Subject: [Bug 1693] Could not find Xt - Try installing libXt-devel In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1693 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #3 from Andrew John Hughes --- The 1.12.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:08:18 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:08:18 +0000 Subject: [Bug 1651] jvm crash In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1651 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #2 from Andrew John Hughes --- The 1.12.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:08:40 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:08:40 +0000 Subject: [Bug 1516] [IcedTea6] Multiple AWT event queues in 1.12.6 security update broke Java applications (NetBeans, VisualVM, JOSM) In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1516 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #2 from Andrew John Hughes --- The 1.12.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:09:41 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:09:41 +0000 Subject: [Bug 1518] tomcat jdk bug In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1518 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from Andrew John Hughes --- The 1.12.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:10:19 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:10:19 +0000 Subject: [Bug 1518] tomcat jdk bug In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1518 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |WONTFIX -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:10:36 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:10:36 +0000 Subject: [Bug 1674] A fatal error has been detected by the Java Runtime Environment In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1674 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX Severity|major |normal --- Comment #1 from Andrew John Hughes --- The 1.12.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:10:50 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:10:50 +0000 Subject: [Bug 1681] Minecraft on Linux/Crunchbang crashes straight away In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1681 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #1 from Andrew John Hughes --- The 1.12.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:12:23 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:12:23 +0000 Subject: [Bug 1557] JVM Crash on Latest Amazon EC2 6.0_24-b24 IcedTea6 1.11.11.90 In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1557 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #3 from Andrew John Hughes --- The 1.11.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:13:20 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:13:20 +0000 Subject: [Bug 1208] Sudden crash In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1208 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX Severity|major |normal --- Comment #6 from Andrew John Hughes --- The 1.11.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:13:33 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:13:33 +0000 Subject: [Bug 1215] A fatal error has been detected by the Java Runtime Environment: SIGSEGV In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1215 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #3 from Andrew John Hughes --- The 1.11.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:14:58 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:14:58 +0000 Subject: [Bug 1250] In Minecraft I set tnt off and the server crashes. Why? In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1250 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #3 from Andrew John Hughes --- The 1.11.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:15:12 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:15:12 +0000 Subject: [Bug 1490] crash on start josm In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1490 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #5 from Andrew John Hughes --- The 1.11.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:16:10 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:16:10 +0000 Subject: [Bug 1220] openjdk crashed In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1220 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #6 from Andrew John Hughes --- The 1.11.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:17:22 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:17:22 +0000 Subject: [Bug 1054] SIGSEGV (0xb) while processing OSM data In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1054 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |gnu.andrew at redhat.com Resolution|--- |WONTFIX --- Comment #1 from Andrew John Hughes --- The 1.11.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:17:36 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:17:36 +0000 Subject: [Bug 1093] Problematic frame for java.lang.StringCoding$StringEncoder.encode leads to fatal error. In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1093 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #3 from Andrew John Hughes --- The 1.11.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:17:44 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:17:44 +0000 Subject: [Bug 1105] Fatal error running syncrify server on arm hardfloat In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1105 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #1 from Andrew John Hughes --- The 1.11.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:18:50 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:18:50 +0000 Subject: [Bug 874] SEGV failure In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=874 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #3 from Andrew John Hughes --- The 1.11.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:19:59 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:19:59 +0000 Subject: [Bug 876] SIGSEGV in libxul.so In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=876 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |gnu.andrew at redhat.com Resolution|--- |WONTFIX --- Comment #2 from Andrew John Hughes --- The 1.11.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:20:07 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:20:07 +0000 Subject: [Bug 889] A fatal error has been detected by the Java Runtime Environment In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=889 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |gnu.andrew at redhat.com Resolution|--- |WONTFIX --- Comment #2 from Andrew John Hughes --- The 1.11.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:20:20 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:20:20 +0000 Subject: [Bug 903] Hotspot SIGSEGV crash while processing infinity In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=903 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |gnu.andrew at redhat.com Resolution|--- |WONTFIX --- Comment #4 from Andrew John Hughes --- The 1.11.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:21:08 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:21:08 +0000 Subject: [Bug 1014] eclipse crach In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1014 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #1 from Andrew John Hughes --- The 1.11.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:21:24 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:21:24 +0000 Subject: [Bug 1022] SEGV when closing a Deflater in a finalizer In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1022 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |gnu.andrew at redhat.com Resolution|--- |WONTFIX Severity|critical |normal --- Comment #1 from Andrew John Hughes --- The 1.11.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:21:44 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:21:44 +0000 Subject: [Bug 1057] hs_err_pid2615.log In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1057 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #3 from Andrew John Hughes --- The 1.11.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:21:51 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:21:51 +0000 Subject: [Bug 1064] hs_err_pid2132.log In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1064 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #2 from Andrew John Hughes --- The 1.11.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:22:00 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:22:00 +0000 Subject: [Bug 1099] NetBeans crashes making a php project from source In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1099 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #1 from Andrew John Hughes --- The 1.11.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 05:22:36 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 05:22:36 +0000 Subject: [Bug 980] JVM crashed druing development in NetBeans on Fedora Core 16 In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=980 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #2 from Andrew John Hughes --- The 1.11.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jvanek at redhat.com Wed Apr 16 07:08:58 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Wed, 16 Apr 2014 09:08:58 +0200 Subject: [rfc][icedtea-web] conditional disabling of manifes tattributes In-Reply-To: <534D54E2.20500@redhat.com> References: <534691EA.8030606@redhat.com> <5346AE4A.9030106@redhat.com> <5347E911.8040707@redhat.com> <53481D05.3000802@redhat.com> <534D54E2.20500@redhat.com> Message-ID: <534E2C8A.5080009@redhat.com> On 04/15/2014 05:48 PM, Jiri Vanek wrote: > On 04/11/2014 06:49 PM, Andrew Azores wrote: >> On 04/11/2014 09:07 AM, Jiri Vanek wrote: >>> On 04/10/2014 04:44 PM, Andrew Azores wrote: >>>> On 04/10/2014 08:43 AM, Jiri Vanek wrote: >>>>> Hi! >>>>> >>>>> This patch can disable the check for new manifest attributes. >>>>> sevral motivations >>>>> - I hate this feature >>>>> - the remembering of this actions may take time to implement >>>>> - and the most important - the testsuite... >>>> >>>> Most important indeed. >>>> >>>>> >>>>> will go both head and 1.5. >>>>> >>>>> I'm hesitating whether to make this property public via itw-settings... Well if so, then as >>>>> another changeset. Any opinion about publish it in itw-settings? >>>>> >>>>> J >>>> >>>> Ok to push, so that we can clean up some of the noise in the test suite. >>>> >>>> RE putting it in itweb-settings - I think the cleanest way to do this, if it's to be done at >>>> all, is >>>> probably to add another security level. 'Minimal' or something perhaps? Because I don't think it >>>> makes sense to add it in as a checkbox, for example, and have it possible to set security to High, >>>> but disable manifest checks. I'm not sure if we really want to allow this, though. I can imagine >>>> most users leaving the security level at Minimal once they discover that this gives them the least >>>> amount of clicking to do before getting their applets to run :) >>> >>> >>> Oh yes, that can be correct thing to do. But looking to the issue from this perspective, it is >>> NO-GO argument for it as it is done. Well all correct applications should be updated to support >>> new attributes.. but the legaxy, and still used ones? > > I have pushed at the end. This shortcut for testsuite is needed. >>> >>> So I have another idea here - really extend ExtendedAppletsSecurity, and to allow "do not check >>> manifest attributes" on the application/codebase - So all those dialogs will be moreover based on >>> your abstraction of Extended Applets security. Also remember alaca checkbox issue will be solved >>> by this. >>> >>> Bu the extension of ExtendedAppletsSecurity will needed to be done really carefully - and prepared >>> before implementation. >>> >>> What do you think? >> >> Sounds like it could be a lot of work, but should be worthwhile in the end. I think it will be very >> nice if we can unify all of our dialogs like this so that they can all make use of the same >> remembered action storage. Or at least, the ones that need to be able to remember actions. I'm not >> sure about having the manifest attribute check be an option to be selected on the dialog though, >> even with an option to remember it... but maybe it's the right thing to do. It just seems like the >> dialogs are getting busier and busier and more confusing looking, but you're right that this option >> will (hopefully) be used mostly for allowing some old applets which haven't been updated to be used >> still. In that kind of situation, which I think is the target, then applying the setting to all >> applets/globally maybe isn't the right choice. So as ugly and cluttered as the UI might become, I >> suppose this really should be done on a per-applet basis (maybe in addition to having it >> configurable globally?). >> > > Hi attached patch is adding the basic support for multiple types of actions. Well it apeared that > the implementation itself will be quit easy (if this approach will be used) but most troubles will > be in itw-settings. The table will requires serious revork on level of filtering, sorting, delting > and especially editing of first - action - column. > > General idea is - instead of one ExecuteAppletAction unsignedAppletAction will be list of them, > encapsualted in AppletSecurityActions unsignedAppletAction; > In file it will be encoded instead of current one char, as one-word string - see the tests. > To read/write the correct action for given type, there will be set of getters/setters - tight now > there is > public ExecuteAppletAction getUnsignedAppletAction() { > + return getAction(0); > + } > + > + public void setUnsignedAppletAction(ExecuteAppletAction a) { > + actions.set(0,a); > + } > > And they will encapsulate the order in list. > > > If nothing else...This is nicely backward compatible, and scaleable for growth of "remember me" > dialogs :) > > Once this is aproved -if ever - I will add few more "on top of it" work like -table or rember for > ALACAto se hw it works - before push itself. > J. > > This is a bit better - get rid of paranoid constant of MAX_LENGTH. J. -------------- next part -------------- A non-text attachment was scrubbed... Name: multipleActionsBasePatch2.patch Type: text/x-patch Size: 24436 bytes Desc: not available URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 09:05:51 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 09:05:51 +0000 Subject: [Bug 1736] New: Awt loads gtk3 in all the look and feel configurations Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1736 Bug ID: 1736 Summary: Awt loads gtk3 in all the look and feel configurations Product: IcedTea Version: unspecified Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P5 Component: IcedTea Assignee: gnu.andrew at redhat.com Reporter: slakkims at in.ibm.com CC: unassigned at icedtea.classpath.org OS details: Ubuntu 13.10 GTK 3.8.6 and GTK 2.24.20 using OpenJDK Runtime Environment (IcedTea 2.4.4) (7u51-2.4.4) with all awt look and feel modes, gtk2 gets loaded This is causing trouble in eclipse in eclipse we use gtk3 and when we try to use awt, the gtk2 libraries are loading in all look and feel modes. the expected behaviow is gtk2 libraries should get loaded only in gtk look and feel mode only -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ptisnovs at icedtea.classpath.org Wed Apr 16 11:13:48 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Wed, 16 Apr 2014 11:13:48 +0000 Subject: /hg/gfx-test: Ten new tests added into CAGOperationsOnTwoTouchin... Message-ID: changeset 3f3aea48da06 in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=3f3aea48da06 author: Pavel Tisnovsky date: Wed Apr 16 13:14:23 2014 +0200 Ten new tests added into CAGOperationsOnTwoTouchingCircles. diffstat: ChangeLog | 5 + src/org/gfxtest/testsuites/CAGOperationsOnTwoTouchingCircles.java | 250 ++++++++++ 2 files changed, 255 insertions(+), 0 deletions(-) diffs (272 lines): diff -r 0b4d4357871d -r 3f3aea48da06 ChangeLog --- a/ChangeLog Tue Apr 15 12:59:53 2014 +0200 +++ b/ChangeLog Wed Apr 16 13:14:23 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-16 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/CAGOperationsOnTwoTouchingCircles.java: + Ten new tests added into CAGOperationsOnTwoTouchingCircles. + 2014-04-15 Pavel Tisnovsky * src/org/gfxtest/testsuites/CAGOperationsOnChordAndRectangle.java: diff -r 0b4d4357871d -r 3f3aea48da06 src/org/gfxtest/testsuites/CAGOperationsOnTwoTouchingCircles.java --- a/src/org/gfxtest/testsuites/CAGOperationsOnTwoTouchingCircles.java Tue Apr 15 12:59:53 2014 +0200 +++ b/src/org/gfxtest/testsuites/CAGOperationsOnTwoTouchingCircles.java Wed Apr 16 13:14:23 2014 +0200 @@ -2232,6 +2232,256 @@ return TestResult.PASSED; } + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two touching circles using inverse subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testInverseSubtractTextureFillUsingDiagonalStripesTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingDiagonalStripesTexture(image, graphics2d); + // create area using inverse subtract operator + Area area = CommonCAGOperations.createAreaFromTwoTouchingCirclesUsingInverseSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two touching circles using Intersect operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testIntersectTextureFillUsingDiagonalStripesTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingDiagonalStripesTexture(image, graphics2d); + // create area using Intersect operator + Area area = CommonCAGOperations.createAreaFromTwoTouchingCirclesUsingIntersectOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two touching circles using Xor operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testXorTextureFillUsingDiagonalStripesTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingDiagonalStripesTexture(image, graphics2d); + // create area using Xor operator + Area area = CommonCAGOperations.createAreaFromTwoTouchingCirclesUsingXorOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two touching circles using union operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testUnionTextureFillUsingColorDotsTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingColorDotsTexture(image, graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromTwoTouchingCirclesUsingUnionOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two touching circles using subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSubtractTextureFillUsingColorDotsTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingColorDotsTexture(image, graphics2d); + // create area using subtract operator + Area area = CommonCAGOperations.createAreaFromTwoTouchingCirclesUsingSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two touching circles using inverse subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testInverseSubtractTextureFillUsingColorDotsTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingColorDotsTexture(image, graphics2d); + // create area using inverse subtract operator + Area area = CommonCAGOperations.createAreaFromTwoTouchingCirclesUsingInverseSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two touching circles using Intersect operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testIntersectTextureFillUsingColorDotsTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingColorDotsTexture(image, graphics2d); + // create area using Intersect operator + Area area = CommonCAGOperations.createAreaFromTwoTouchingCirclesUsingIntersectOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two touching circles using Xor operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testXorTextureFillUsingColorDotsTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingColorDotsTexture(image, graphics2d); + // create area using Xor operator + Area area = CommonCAGOperations.createAreaFromTwoTouchingCirclesUsingXorOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two touching circles using union operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testUnionTextureFillUsingRGBTexture1(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingRGBTexture1(image, graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromTwoTouchingCirclesUsingUnionOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two touching circles using subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSubtractTextureFillUsingRGBTexture1(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingRGBTexture1(image, graphics2d); + // create area using subtract operator + Area area = CommonCAGOperations.createAreaFromTwoTouchingCirclesUsingSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + // create area using union operator Area area = CommonCAGOperations.createAreaFromTwoTouchingCirclesUsingUnionOperator(image); // draw the area From aazores at redhat.com Wed Apr 16 14:01:16 2014 From: aazores at redhat.com (Andrew Azores) Date: Wed, 16 Apr 2014 10:01:16 -0400 Subject: [rfc][icedtea-web] conditional disabling of manifes tattributes In-Reply-To: <534E2C8A.5080009@redhat.com> References: <534691EA.8030606@redhat.com> <5346AE4A.9030106@redhat.com> <5347E911.8040707@redhat.com> <53481D05.3000802@redhat.com> <534D54E2.20500@redhat.com> <534E2C8A.5080009@redhat.com> Message-ID: <534E8D2C.3000204@redhat.com> On 04/16/2014 03:08 AM, Jiri Vanek wrote: > On 04/15/2014 05:48 PM, Jiri Vanek wrote: >> On 04/11/2014 06:49 PM, Andrew Azores wrote: >>> On 04/11/2014 09:07 AM, Jiri Vanek wrote: >>>> On 04/10/2014 04:44 PM, Andrew Azores wrote: >>>>> On 04/10/2014 08:43 AM, Jiri Vanek wrote: >>>>>> Hi! >>>>>> >>>>>> This patch can disable the check for new manifest attributes. >>>>>> sevral motivations >>>>>> - I hate this feature >>>>>> - the remembering of this actions may take time to implement >>>>>> - and the most important - the testsuite... >>>>> >>>>> Most important indeed. >>>>> >>>>>> >>>>>> will go both head and 1.5. >>>>>> >>>>>> I'm hesitating whether to make this property public via >>>>>> itw-settings... Well if so, then as >>>>>> another changeset. Any opinion about publish it in itw-settings? >>>>>> >>>>>> J >>>>> >>>>> Ok to push, so that we can clean up some of the noise in the test >>>>> suite. >>>>> >>>>> RE putting it in itweb-settings - I think the cleanest way to do >>>>> this, if it's to be done at >>>>> all, is >>>>> probably to add another security level. 'Minimal' or something >>>>> perhaps? Because I don't think it >>>>> makes sense to add it in as a checkbox, for example, and have it >>>>> possible to set security to High, >>>>> but disable manifest checks. I'm not sure if we really want to >>>>> allow this, though. I can imagine >>>>> most users leaving the security level at Minimal once they >>>>> discover that this gives them the least >>>>> amount of clicking to do before getting their applets to run :) >>>> >>>> >>>> Oh yes, that can be correct thing to do. But looking to the issue >>>> from this perspective, it is >>>> NO-GO argument for it as it is done. Well all correct applications >>>> should be updated to support >>>> new attributes.. but the legaxy, and still used ones? >> >> I have pushed at the end. This shortcut for testsuite is needed. >>>> >>>> So I have another idea here - really extend >>>> ExtendedAppletsSecurity, and to allow "do not check >>>> manifest attributes" on the application/codebase - So all those >>>> dialogs will be moreover based on >>>> your abstraction of Extended Applets security. Also remember alaca >>>> checkbox issue will be solved >>>> by this. >>>> >>>> Bu the extension of ExtendedAppletsSecurity will needed to be done >>>> really carefully - and prepared >>>> before implementation. >>>> >>>> What do you think? >>> >>> Sounds like it could be a lot of work, but should be worthwhile in >>> the end. I think it will be very >>> nice if we can unify all of our dialogs like this so that they can >>> all make use of the same >>> remembered action storage. Or at least, the ones that need to be >>> able to remember actions. I'm not >>> sure about having the manifest attribute check be an option to be >>> selected on the dialog though, >>> even with an option to remember it... but maybe it's the right thing >>> to do. It just seems like the >>> dialogs are getting busier and busier and more confusing looking, >>> but you're right that this option >>> will (hopefully) be used mostly for allowing some old applets which >>> haven't been updated to be used >>> still. In that kind of situation, which I think is the target, then >>> applying the setting to all >>> applets/globally maybe isn't the right choice. So as ugly and >>> cluttered as the UI might become, I >>> suppose this really should be done on a per-applet basis (maybe in >>> addition to having it >>> configurable globally?). >>> >> >> Hi attached patch is adding the basic support for multiple types of >> actions. Well it apeared that >> the implementation itself will be quit easy (if this approach will be >> used) but most troubles will >> be in itw-settings. The table will requires serious revork on level >> of filtering, sorting, delting >> and especially editing of first - action - column. >> >> General idea is - instead of one ExecuteAppletAction >> unsignedAppletAction will be list of them, >> encapsualted in AppletSecurityActions unsignedAppletAction; >> In file it will be encoded instead of current one char, as one-word >> string - see the tests. >> To read/write the correct action for given type, there will be set of >> getters/setters - tight now >> there is >> public ExecuteAppletAction getUnsignedAppletAction() { >> + return getAction(0); >> + } >> + >> + public void setUnsignedAppletAction(ExecuteAppletAction a) { >> + actions.set(0,a); >> + } >> >> And they will encapsulate the order in list. >> >> >> If nothing else...This is nicely backward compatible, and scaleable >> for growth of "remember me" >> dialogs :) >> >> Once this is aproved -if ever - I will add few more "on top of it" >> work like -table or rember for >> ALACAto se hw it works - before push itself. >> J. >> >> > > This is a bit better - get rid of paranoid constant of MAX_LENGTH. > > J. > Just a few nits: - APPEXTSECunsetAppletActionNo should probably be renamed, why is the 'No' there? -- Should also be reworded, maybe "This applet has not been visited before" - AppletSecurityActions.fromString() - why 'break' on whitespace? I can understand if it was only internal whitespace, but even leading whitespace? eg the string " A" means UNSET? Maybe do a String#trim() first. -- Please move the private empty constructor to the top of the class as well - ExecuteAppletAction.fromString() - the RuntimeException message here should be reworded. "Undefined zero-length ExecuteAppletAction String representation" ? - ExecuteAppletAction should be refactored now that it has both a toChar and fromChar. I would suggest retaining the corresponding char as a field (so make a one-arg constructor), then toChar simply returns this and fromChar iterates over the enum values. If there is a matching enum value's char, return that enum value, otherwise return UNSET - Rather than doing 'for (int i = 0; i < str.length(); i++)' and 's.charAt(i)', how about for (char ch : s.toCharArray())? Thanks, -- Andrew A From jvanek at redhat.com Wed Apr 16 14:14:35 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Wed, 16 Apr 2014 16:14:35 +0200 Subject: [rfc][icedtea-web] conditional disabling of manifes tattributes In-Reply-To: <534E8D2C.3000204@redhat.com> References: <534691EA.8030606@redhat.com> <5346AE4A.9030106@redhat.com> <5347E911.8040707@redhat.com> <53481D05.3000802@redhat.com> <534D54E2.20500@redhat.com> <534E2C8A.5080009@redhat.com> <534E8D2C.3000204@redhat.com> Message-ID: <534E904B.3030004@redhat.com> On 04/16/2014 04:01 PM, Andrew Azores wrote: > On 04/16/2014 03:08 AM, Jiri Vanek wrote: >> On 04/15/2014 05:48 PM, Jiri Vanek wrote: >>> On 04/11/2014 06:49 PM, Andrew Azores wrote: >>>> On 04/11/2014 09:07 AM, Jiri Vanek wrote: >>>>> On 04/10/2014 04:44 PM, Andrew Azores wrote: >>>>>> On 04/10/2014 08:43 AM, Jiri Vanek wrote: >>>>>>> Hi! >>>>>>> >>>>>>> This patch can disable the check for new manifest attributes. >>>>>>> sevral motivations >>>>>>> - I hate this feature >>>>>>> - the remembering of this actions may take time to implement >>>>>>> - and the most important - the testsuite... >>>>>> >>>>>> Most important indeed. >>>>>> >>>>>>> >>>>>>> will go both head and 1.5. >>>>>>> >>>>>>> I'm hesitating whether to make this property public via itw-settings... Well if so, then as >>>>>>> another changeset. Any opinion about publish it in itw-settings? >>>>>>> >>>>>>> J >>>>>> >>>>>> Ok to push, so that we can clean up some of the noise in the test suite. >>>>>> >>>>>> RE putting it in itweb-settings - I think the cleanest way to do this, if it's to be done at >>>>>> all, is >>>>>> probably to add another security level. 'Minimal' or something perhaps? Because I don't think it >>>>>> makes sense to add it in as a checkbox, for example, and have it possible to set security to >>>>>> High, >>>>>> but disable manifest checks. I'm not sure if we really want to allow this, though. I can imagine >>>>>> most users leaving the security level at Minimal once they discover that this gives them the >>>>>> least >>>>>> amount of clicking to do before getting their applets to run :) >>>>> >>>>> >>>>> Oh yes, that can be correct thing to do. But looking to the issue from this perspective, it is >>>>> NO-GO argument for it as it is done. Well all correct applications should be updated to support >>>>> new attributes.. but the legaxy, and still used ones? >>> >>> I have pushed at the end. This shortcut for testsuite is needed. >>>>> >>>>> So I have another idea here - really extend ExtendedAppletsSecurity, and to allow "do not check >>>>> manifest attributes" on the application/codebase - So all those dialogs will be moreover based on >>>>> your abstraction of Extended Applets security. Also remember alaca checkbox issue will be solved >>>>> by this. >>>>> >>>>> Bu the extension of ExtendedAppletsSecurity will needed to be done really carefully - and prepared >>>>> before implementation. >>>>> >>>>> What do you think? >>>> >>>> Sounds like it could be a lot of work, but should be worthwhile in the end. I think it will be very >>>> nice if we can unify all of our dialogs like this so that they can all make use of the same >>>> remembered action storage. Or at least, the ones that need to be able to remember actions. I'm not >>>> sure about having the manifest attribute check be an option to be selected on the dialog though, >>>> even with an option to remember it... but maybe it's the right thing to do. It just seems like the >>>> dialogs are getting busier and busier and more confusing looking, but you're right that this option >>>> will (hopefully) be used mostly for allowing some old applets which haven't been updated to be used >>>> still. In that kind of situation, which I think is the target, then applying the setting to all >>>> applets/globally maybe isn't the right choice. So as ugly and cluttered as the UI might become, I >>>> suppose this really should be done on a per-applet basis (maybe in addition to having it >>>> configurable globally?). >>>> >>> >>> Hi attached patch is adding the basic support for multiple types of actions. Well it apeared that >>> the implementation itself will be quit easy (if this approach will be used) but most troubles will >>> be in itw-settings. The table will requires serious revork on level of filtering, sorting, delting >>> and especially editing of first - action - column. >>> >>> General idea is - instead of one ExecuteAppletAction unsignedAppletAction will be list of them, >>> encapsualted in AppletSecurityActions unsignedAppletAction; >>> In file it will be encoded instead of current one char, as one-word string - see the tests. >>> To read/write the correct action for given type, there will be set of getters/setters - tight now >>> there is >>> public ExecuteAppletAction getUnsignedAppletAction() { >>> + return getAction(0); >>> + } >>> + >>> + public void setUnsignedAppletAction(ExecuteAppletAction a) { >>> + actions.set(0,a); >>> + } >>> >>> And they will encapsulate the order in list. >>> >>> >>> If nothing else...This is nicely backward compatible, and scaleable for growth of "remember me" >>> dialogs :) >>> >>> Once this is aproved -if ever - I will add few more "on top of it" work like -table or rember for >>> ALACAto se hw it works - before push itself. >>> J. >>> >>> >> >> This is a bit better - get rid of paranoid constant of MAX_LENGTH. >> >> J. >> > > Just a few nits: > > - APPEXTSECunsetAppletActionNo should probably be renamed, why is the 'No' there? > -- Should also be reworded, maybe "This applet has not been visited before" > - AppletSecurityActions.fromString() - why 'break' on whitespace? I can understand if it was only > internal whitespace, but even leading whitespace? eg the string " A" means UNSET? Maybe do a > String#trim() first. > -- Please move the private empty constructor to the top of the class as well > - ExecuteAppletAction.fromString() - the RuntimeException message here should be reworded. > "Undefined zero-length ExecuteAppletAction String representation" ? > - ExecuteAppletAction should be refactored now that it has both a toChar and fromChar. I would > suggest retaining the corresponding char as a field (so make a one-arg constructor), then toChar > simply returns this and fromChar iterates over the enum values. If there is a matching enum value's > char, return that enum value, otherwise return UNSET > - Rather than doing 'for (int i = 0; i < str.length(); i++)' and 's.charAt(i)', how about for (char > ch : s.toCharArray())? > > Thanks, > And general approach? From jvanek at redhat.com Wed Apr 16 14:50:47 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Wed, 16 Apr 2014 16:50:47 +0200 Subject: [rfc][icedtea-web] replace jlabel by jeditorpane Message-ID: <534E98C7.7050106@redhat.com> This small patch is replacing label - in our favorite Extendable AppTrustWarningPanel by Jeditor pane. There is only reason for this. To have The links clickable. Which would be necessary for case if alaca or similar being rememberable and to moved forward to AppTrustWarningPanel. Thoughts? -------------- next part -------------- A non-text attachment was scrubbed... Name: jlabelToJeditorpane.patch Type: text/x-patch Size: 5434 bytes Desc: not available URL: From ChPhilli at redhat.com Wed Apr 16 14:53:32 2014 From: ChPhilli at redhat.com (Chris Phillips) Date: Wed, 16 Apr 2014 10:53:32 -0400 Subject: Attached patch to fix accidental reversion of fix for 1188. Message-ID: <534E996C.8010407@redhat.com> Hi Andy, Good catch! Must have missed the 1188 fix from Xerxes R?nby. Attached patch to fix. Sorry, Chris -------------- next part -------------- # HG changeset patch # User chrisphi # Date 1397659560 14400 # Node ID dfbe3191bbc40658d0add25334e320798c43afcd # Parent ac48a818965e8e3ad1a345e42db035d7c123e11d Fix accidental reversion of pr#1188 for armel diff --git a/src/cpu/zero/vm/cppInterpreter_arm.S b/src/cpu/zero/vm/cppInterpreter_arm.S --- a/src/cpu/zero/vm/cppInterpreter_arm.S +++ b/src/cpu/zero/vm/cppInterpreter_arm.S @@ -367,7 +367,7 @@ flds s1, [stack, #4] add stack, #4 #else - POP r0 + POP r1 #endif .endm From andrew at icedtea.classpath.org Wed Apr 16 15:09:21 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 16 Apr 2014 15:09:21 +0000 Subject: /hg/release/icedtea7-forest-2.4/hotspot: Fix accidental reversio... Message-ID: changeset 66e42ed3c1c8 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=66e42ed3c1c8 author: chrisphi date: Wed Apr 16 16:09:05 2014 +0100 Fix accidental reversion of PR1188 for armel diffstat: src/cpu/zero/vm/cppInterpreter_arm.S | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r ac48a818965e -r 66e42ed3c1c8 src/cpu/zero/vm/cppInterpreter_arm.S --- a/src/cpu/zero/vm/cppInterpreter_arm.S Tue Apr 15 23:54:38 2014 +0100 +++ b/src/cpu/zero/vm/cppInterpreter_arm.S Wed Apr 16 16:09:05 2014 +0100 @@ -367,7 +367,7 @@ flds s1, [stack, #4] add stack, #4 #else - POP r0 + POP r1 #endif .endm From aazores at redhat.com Wed Apr 16 17:46:14 2014 From: aazores at redhat.com (Andrew Azores) Date: Wed, 16 Apr 2014 13:46:14 -0400 Subject: [rfc][icedtea-web] conditional disabling of manifes tattributes In-Reply-To: <534E904B.3030004@redhat.com> References: <534691EA.8030606@redhat.com> <5346AE4A.9030106@redhat.com> <5347E911.8040707@redhat.com> <53481D05.3000802@redhat.com> <534D54E2.20500@redhat.com> <534E2C8A.5080009@redhat.com> <534E8D2C.3000204@redhat.com> <534E904B.3030004@redhat.com> Message-ID: <534EC1E6.8020804@redhat.com> On 04/16/2014 10:14 AM, Jiri Vanek wrote: > On 04/16/2014 04:01 PM, Andrew Azores wrote: >> On 04/16/2014 03:08 AM, Jiri Vanek wrote: >>> On 04/15/2014 05:48 PM, Jiri Vanek wrote: >>>> On 04/11/2014 06:49 PM, Andrew Azores wrote: >>>>> On 04/11/2014 09:07 AM, Jiri Vanek wrote: >>>>>> On 04/10/2014 04:44 PM, Andrew Azores wrote: >>>>>>> On 04/10/2014 08:43 AM, Jiri Vanek wrote: >>>>>>>> Hi! >>>>>>>> >>>>>>>> This patch can disable the check for new manifest attributes. >>>>>>>> sevral motivations >>>>>>>> - I hate this feature >>>>>>>> - the remembering of this actions may take time to implement >>>>>>>> - and the most important - the testsuite... >>>>>>> >>>>>>> Most important indeed. >>>>>>> >>>>>>>> >>>>>>>> will go both head and 1.5. >>>>>>>> >>>>>>>> I'm hesitating whether to make this property public via >>>>>>>> itw-settings... Well if so, then as >>>>>>>> another changeset. Any opinion about publish it in itw-settings? >>>>>>>> >>>>>>>> J >>>>>>> >>>>>>> Ok to push, so that we can clean up some of the noise in the >>>>>>> test suite. >>>>>>> >>>>>>> RE putting it in itweb-settings - I think the cleanest way to do >>>>>>> this, if it's to be done at >>>>>>> all, is >>>>>>> probably to add another security level. 'Minimal' or something >>>>>>> perhaps? Because I don't think it >>>>>>> makes sense to add it in as a checkbox, for example, and have it >>>>>>> possible to set security to >>>>>>> High, >>>>>>> but disable manifest checks. I'm not sure if we really want to >>>>>>> allow this, though. I can imagine >>>>>>> most users leaving the security level at Minimal once they >>>>>>> discover that this gives them the >>>>>>> least >>>>>>> amount of clicking to do before getting their applets to run :) >>>>>> >>>>>> >>>>>> Oh yes, that can be correct thing to do. But looking to the issue >>>>>> from this perspective, it is >>>>>> NO-GO argument for it as it is done. Well all correct >>>>>> applications should be updated to support >>>>>> new attributes.. but the legaxy, and still used ones? >>>> >>>> I have pushed at the end. This shortcut for testsuite is needed. >>>>>> >>>>>> So I have another idea here - really extend >>>>>> ExtendedAppletsSecurity, and to allow "do not check >>>>>> manifest attributes" on the application/codebase - So all those >>>>>> dialogs will be moreover based on >>>>>> your abstraction of Extended Applets security. Also remember >>>>>> alaca checkbox issue will be solved >>>>>> by this. >>>>>> >>>>>> Bu the extension of ExtendedAppletsSecurity will needed to be >>>>>> done really carefully - and prepared >>>>>> before implementation. >>>>>> >>>>>> What do you think? >>>>> >>>>> Sounds like it could be a lot of work, but should be worthwhile in >>>>> the end. I think it will be very >>>>> nice if we can unify all of our dialogs like this so that they can >>>>> all make use of the same >>>>> remembered action storage. Or at least, the ones that need to be >>>>> able to remember actions. I'm not >>>>> sure about having the manifest attribute check be an option to be >>>>> selected on the dialog though, >>>>> even with an option to remember it... but maybe it's the right >>>>> thing to do. It just seems like the >>>>> dialogs are getting busier and busier and more confusing looking, >>>>> but you're right that this option >>>>> will (hopefully) be used mostly for allowing some old applets >>>>> which haven't been updated to be used >>>>> still. In that kind of situation, which I think is the target, >>>>> then applying the setting to all >>>>> applets/globally maybe isn't the right choice. So as ugly and >>>>> cluttered as the UI might become, I >>>>> suppose this really should be done on a per-applet basis (maybe in >>>>> addition to having it >>>>> configurable globally?). >>>>> >>>> >>>> Hi attached patch is adding the basic support for multiple types of >>>> actions. Well it apeared that >>>> the implementation itself will be quit easy (if this approach will >>>> be used) but most troubles will >>>> be in itw-settings. The table will requires serious revork on level >>>> of filtering, sorting, delting >>>> and especially editing of first - action - column. >>>> >>>> General idea is - instead of one ExecuteAppletAction >>>> unsignedAppletAction will be list of them, >>>> encapsualted in AppletSecurityActions unsignedAppletAction; >>>> In file it will be encoded instead of current one char, as one-word >>>> string - see the tests. >>>> To read/write the correct action for given type, there will be set >>>> of getters/setters - tight now >>>> there is >>>> public ExecuteAppletAction getUnsignedAppletAction() { >>>> + return getAction(0); >>>> + } >>>> + >>>> + public void setUnsignedAppletAction(ExecuteAppletAction a) { >>>> + actions.set(0,a); >>>> + } >>>> >>>> And they will encapsulate the order in list. >>>> >>>> >>>> If nothing else...This is nicely backward compatible, and scaleable >>>> for growth of "remember me" >>>> dialogs :) >>>> >>>> Once this is aproved -if ever - I will add few more "on top of it" >>>> work like -table or rember for >>>> ALACAto se hw it works - before push itself. >>>> J. >>>> >>>> >>> >>> This is a bit better - get rid of paranoid constant of MAX_LENGTH. >>> >>> J. >>> >> >> Just a few nits: >> >> - APPEXTSECunsetAppletActionNo should probably be renamed, why is the >> 'No' there? >> -- Should also be reworded, maybe "This applet has not been visited >> before" >> - AppletSecurityActions.fromString() - why 'break' on whitespace? I >> can understand if it was only >> internal whitespace, but even leading whitespace? eg the string " A" >> means UNSET? Maybe do a >> String#trim() first. >> -- Please move the private empty constructor to the top of the class >> as well >> - ExecuteAppletAction.fromString() - the RuntimeException message >> here should be reworded. >> "Undefined zero-length ExecuteAppletAction String representation" ? >> - ExecuteAppletAction should be refactored now that it has both a >> toChar and fromChar. I would >> suggest retaining the corresponding char as a field (so make a >> one-arg constructor), then toChar >> simply returns this and fromChar iterates over the enum values. If >> there is a matching enum value's >> char, return that enum value, otherwise return UNSET >> - Rather than doing 'for (int i = 0; i < str.length(); i++)' and >> 's.charAt(i)', how about for (char >> ch : s.toCharArray())? >> >> Thanks, >> > > And general approach? > It seems okay, although I'm not sure I completely understand the motivation behind it. Can you explain more why we need to have this multiple-action structure? Thanks, -- Andrew A From andrew at icedtea.classpath.org Wed Apr 16 18:41:25 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 16 Apr 2014 18:41:25 +0000 Subject: /hg/release/icedtea7-forest-2.4: 28 new changesets Message-ID: changeset a831c212ee26 in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=a831c212ee26 author: katleman date: Fri Dec 20 18:52:49 2013 -0800 Added tag jdk7u51-b31 for changeset 626e76f127a4 changeset 162bb2b05002 in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=162bb2b05002 author: katleman date: Thu Dec 26 13:04:49 2013 -0800 Added tag jdk7u51-b30 for changeset d2eeac0235ed changeset b5ea303f23a5 in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=b5ea303f23a5 author: asaha date: Tue Dec 31 08:51:46 2013 -0800 Merge changeset 15bc13cd7f5d in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=15bc13cd7f5d author: asaha date: Mon Dec 16 12:12:16 2013 -0800 Added tag jdk7u55-b00 for changeset df53ec7eb789 changeset c3d30d2cb568 in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=c3d30d2cb568 author: asaha date: Mon Dec 16 14:53:10 2013 -0800 Added tag jdk7u55-b01 for changeset 15bc13cd7f5d changeset b0410dc4b96d in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=b0410dc4b96d author: asaha date: Mon Dec 16 18:47:39 2013 -0800 Merge changeset 994ef5c95d58 in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=994ef5c95d58 author: asaha date: Fri Dec 20 11:45:31 2013 -0800 Merge changeset bb37b9e70364 in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=bb37b9e70364 author: asaha date: Fri Dec 20 14:12:35 2013 -0800 Merge changeset b829c5947c6c in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=b829c5947c6c author: asaha date: Fri Dec 20 21:28:51 2013 -0800 Merge changeset 2b423d0ecded in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=2b423d0ecded author: katleman date: Tue Dec 24 14:45:42 2013 -0800 Added tag jdk7u55-b02 for changeset b829c5947c6c changeset a72b902cdd39 in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=a72b902cdd39 author: asaha date: Thu Dec 26 15:48:45 2013 -0800 Merge changeset 62a645cfaadf in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=62a645cfaadf author: katleman date: Mon Jan 06 13:56:47 2014 -0800 Added tag jdk7u55-b03 for changeset a72b902cdd39 changeset 15188023cffd in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=15188023cffd author: katleman date: Wed Jan 08 13:23:48 2014 -0800 Added tag jdk7u45-b35 for changeset d0d5badd77ab changeset 472d67871307 in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=472d67871307 author: asaha date: Wed Jan 08 14:10:51 2014 -0800 Merge changeset 6a8ee3807562 in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=6a8ee3807562 author: asaha date: Thu Jan 09 07:54:58 2014 -0800 Merge changeset 92ac508efb9e in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=92ac508efb9e author: katleman date: Mon Jan 13 16:14:27 2014 -0800 Added tag jdk7u55-b04 for changeset 6a8ee3807562 changeset 6c7cd2146f69 in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=6c7cd2146f69 author: katleman date: Wed Jan 22 10:06:18 2014 -0800 Added tag jdk7u55-b05 for changeset 92ac508efb9e changeset 5cad0f56c685 in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=5cad0f56c685 author: katleman date: Tue Jan 28 11:49:14 2014 -0800 Added tag jdk7u55-b06 for changeset 6c7cd2146f69 changeset f617c33f98e1 in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=f617c33f98e1 author: katleman date: Tue Feb 04 13:11:34 2014 -0800 Added tag jdk7u55-b07 for changeset 5cad0f56c685 changeset 1f02b1889f70 in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=1f02b1889f70 author: katleman date: Tue Feb 11 13:10:59 2014 -0800 Added tag jdk7u55-b08 for changeset f617c33f98e1 changeset 736c951b19b9 in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=736c951b19b9 author: katleman date: Tue Feb 18 12:41:07 2014 -0800 Added tag jdk7u55-b09 for changeset 1f02b1889f70 changeset 2a55bbab15f6 in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=2a55bbab15f6 author: katleman date: Tue Feb 18 13:35:58 2014 -0800 Added tag jdk7u55-b09 for changeset 736c951b19b9 changeset f4ace62029de in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=f4ace62029de author: katleman date: Tue Feb 25 12:19:22 2014 -0800 Added tag jdk7u55-b10 for changeset 2a55bbab15f6 changeset de268da51b54 in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=de268da51b54 author: katleman date: Tue Mar 04 12:01:27 2014 -0800 Added tag jdk7u55-b11 for changeset f4ace62029de changeset d972a2d9e4f3 in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=d972a2d9e4f3 author: katleman date: Tue Mar 11 12:59:14 2014 -0700 Added tag jdk7u55-b12 for changeset de268da51b54 changeset 0820b4707cfa in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=0820b4707cfa author: katleman date: Tue Mar 18 12:07:30 2014 -0700 Added tag jdk7u55-b13 for changeset d972a2d9e4f3 changeset 997ab3897d6e in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=997ab3897d6e author: katleman date: Thu Mar 27 11:22:57 2014 -0700 Added tag jdk7u55-b30 for changeset 0820b4707cfa changeset f0fab6df83bb in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=f0fab6df83bb author: andrew date: Wed Apr 16 19:41:03 2014 +0100 Merge jdk7u55-b14 diffstat: .hgtags | 37 +++++++++ .jcheck/conf | 2 - common/bin/hgforest.sh | 190 +++++++++++++++++++++++++++++++++++++++++++++++ get_source.sh | 4 +- make/Defs-internal.gmk | 15 +++- make/scripts/hgforest.sh | 144 ----------------------------------- 6 files changed, 243 insertions(+), 149 deletions(-) diffs (truncated from 525 to 500 lines): diff -r 626e76f127a4 -r f0fab6df83bb .hgtags --- a/.hgtags Thu Dec 19 09:31:19 2013 -0800 +++ b/.hgtags Wed Apr 16 19:41:03 2014 +0100 @@ -50,6 +50,7 @@ 3ac6dcf7823205546fbbc3d4ea59f37358d0b0d4 jdk7-b73 2c88089b6e1c053597418099a14232182c387edc jdk7-b74 d1516b9f23954b29b8e76e6f4efc467c08c78133 jdk7-b75 +f0bfd9bd1a0e674288a8a4d17dcbb9e632b42e6d icedtea7-1.12 c8b63075403d53a208104a8a6ea5072c1cb66aab jdk7-b76 1f17ca8353babb13f4908c1f87d11508232518c8 jdk7-b77 ab4ae8f4514693a9fe17ca2fec0239d8f8450d2c jdk7-b78 @@ -63,6 +64,7 @@ 433a60a9c0bf1b26ee7e65cebaa89c541f497aed jdk7-b86 6b1069f53fbc30663ccef49d78c31bb7d6967bde jdk7-b87 82135c848d5fcddb065e98ae77b81077c858f593 jdk7-b88 +195fcceefddce1963bb26ba32920de67806ed2db icedtea7-1.13 7f1ba4459972bf84b8201dc1cc4f62b1fe1c74f4 jdk7-b89 425ba3efabbfe0b188105c10aaf7c3c8fa8d1a38 jdk7-b90 97d8b6c659c29c8493a8b2b72c2796a021a8cf79 jdk7-b91 @@ -111,6 +113,7 @@ ddc2fcb3682ffd27f44354db666128827be7e3c3 jdk7-b134 783bd02b4ab4596059c74b10a1793d7bd2f1c157 jdk7-b135 2fe76e73adaa5133ac559f0b3c2c0707eca04580 jdk7-b136 +d4aea1a51d625f5601c840714c7c94f1de5bc1af icedtea-1.14 7654afc6a29e43cb0a1343ce7f1287bf690d5e5f jdk7-b137 fc47c97bbbd91b1f774d855c48a7e285eb1a351a jdk7-b138 7ed6d0b9aaa12320832a7ddadb88d6d8d0dda4c1 jdk7-b139 @@ -123,6 +126,7 @@ 2d38c2a79c144c30cd04d143d83ee7ec6af40771 jdk7-b146 3ac30b3852876ccad6bd61697b5f9efa91ca7bc6 jdk7u1-b01 d91364304d7c4ecd34caffdba2b840aeb0d10b51 jdk7-b147 +3defd24c2671eb2e7796b5dc45b98954341d73a7 icedtea-2.0-branchpoint 34451dc0580d5c95d97b95a564e6198f36545d68 jdk7u1-b02 bf735d852f79bdbb3373c777eec3ff27e035e7ba jdk7u1-b03 f66a2bada589f4157789e6f66472954d2f1c114e jdk7u1-b04 @@ -141,6 +145,7 @@ b2deaf5bde5ec455a06786e8e2aea2e673be13aa jdk7u2-b12 c95558e566ac3605c480a3d070b1102088dab07f jdk7u2-b13 e30fd289f0019700575593ee4e1635fbc5c9a484 jdk7u2-b21 +a66b58021165f5a43e3974fe5fb9fead29824098 icedtea-2.1-branchpoint e30fd289f0019700575593ee4e1635fbc5c9a484 jdk7u3-b02 becd013ae6072a6633ba015fc4f5862fca589cee jdk7u3-b03 d64361a28584728aa25dca3781cffbaf4199e088 jdk7u3-b04 @@ -157,6 +162,7 @@ 2b07c262a8a9ff78dc908efb9d7b3bb099df9ac4 jdk7u4-b10 1abfee16e8cc7e3950052befa78dbf14a5ca9cfc jdk7u4-b11 e6f915094dccbba16df6ebeb002e6867392eda40 jdk7u4-b12 +e7886f5ad6cc837092386fa513e670d4a770456c icedtea-2.2-branchpoint 9108e3c2f07ffa218641d93893ac9928e95d213a jdk7u4-b13 d9580838fd08872fc0da648ecfc6782704b4aac1 jdk7u4-b14 008753000680a2008175d14b25373356f531aa07 jdk7u4-b15 @@ -191,6 +197,7 @@ 528f1589f5f2adf18d5d21384ba668b9aa79841e jdk7u6-b15 7b77364eb09faac4c37ce9dd2c2308ca5525f18f jdk7u6-b16 b7c1b441d131c70278de299b5d1e59dce0755dc5 jdk7u6-b17 +0e7b94bd450d4270d4e9bd6c040c94fa4be714a6 icedtea-2.3-branchpoint 9c41f7b1460b106d18676899d24b6ea07de5a369 jdk7u6-b18 56291720b5e578046bc02761dcad2a575f99fd8e jdk7u6-b19 e79fa743fe5a801db4acc7a7daa68f581423e5d3 jdk7u6-b20 @@ -258,6 +265,7 @@ c3e42860af1cfd997fe1895594f652f0d1e9984e jdk7u12-b07 1a03ef4794dc8face4de605ae480d4c763e6b494 jdk7u12-b08 87cf81226f2012e5c21131adac7880f7e4da1133 jdk7u12-b09 +8a10a3c51f1cd88009008cf1b82071797b5f516d icedtea-2.4-branchpoint 745a15bb6d94765bb5c68048ff146590df9b8441 jdk7u14-b10 2d8fdaa5bb55b937028e385633ce58de4dcdb69c jdk7u14-b11 594dbbbb84add4aa310d51af7e298470d8cda458 jdk7u14-b12 @@ -333,6 +341,7 @@ d9d4dc020cb37142230f6a20d2a75a677c5cd26f jdk7u14-b19 b4b7795ef8047e3d2b2ba48a70c08d9184073100 jdk7u14-b19 f413e7a22c198559af5aca28309356e6d4edd78f jdk7u14-b20 +30065a72715f046e4a4bdec1c0cc7d65153c9d99 icedtea-2.4.0 41686e19d8189a546434a52dd9679e9b6a0a68be jdk7u14-b21 3e3177719b43f732239d6d51e96d26ee18440960 jdk7u14-b22 8c6e2197930c79f6beafd83181714cc817b83229 jdk7u40-b23 @@ -343,6 +352,8 @@ ac751f3867ecffca814b25daf5e19d82d83fc755 jdk7u40-b28 dbe42a627813892d1bb59a4240c24f60ef22930a jdk7u40-b29 1c141e6fde911c4974c87e340eb698754607f422 jdk7u40-b30 +ae86c6974e8ee35ef66121810ea9e748b7e677d9 icedtea-2.4.1 +58a2a470aa3bccd3eb3624e68bca9397c8cc26a2 jdk7u40-b31 e51f24701c608e57ba7ae69ba28bbc2daab02c4c jdk7u45-b01 da376fd5e4d68f8a45003a6e175267dc840711cc jdk7u40-b32 3fdfe7f1b06354e11e8af51b7c653c8a0adb3987 jdk7u40-b33 @@ -357,6 +368,7 @@ 3af81bfe320c12758234233da6fa27c3c0ffcdc4 jdk7u40-b42 1d53bd8fd2a62bcf336727ebec377ef7498dd4a6 jdk7u40-b43 dc1e099cd62d250b4a997ce694b47fe2f50d2905 jdk7u40-b60 +6125b83238df36d96b3f6bf5ca6c740693dd3651 icedtea-2.4.2 6359fa34199c9619dfec0f41d2eb22a4083ce610 jdk7u40-b61 a2605cf03226ce2fef7a899ce41521c654300975 jdk7u40-b62 07e41ff8674c9438cb1124cf78eed8636ed5d4fa jdk7u45-b02 @@ -377,9 +389,12 @@ 6fd67e0287a9893ea1f0090fe127f18a7e235148 jdk7u45-b17 f0cdb08a4624a623bdd178b04c4bf5a2fa4dc39a jdk7u45-b18 82f1f76c44124c31cb1151833fc15c13547ab280 jdk7u45-b30 +e2f5917da3c1b13bf8291d7864afba14ac35736a icedtea-2.4.3 +63b832c8ec92696277208631a6e71db4b33348e9 icedtea-2.4.4 f4373de4b75ba8d7f7a5d9c1f77e7884d9064b7e jdk7u45-b31 b73c006b5d81528dfb4104a79b994b56675bf75d jdk7u45-b33 05742477836cb30235328181c8e6cae5d4bb06fd jdk7u45-b34 +d0d5badd77abce0469830466ff7b910d3621d847 jdk7u45-b35 f2479abad143d2d9f33b6c872890ca0c5dd52530 jdk7u51-b00 c5822e1d1baa9625ee4e54b8e83a9bf529c883fc jdk7u51-b01 f750621fb31b8f6462b803b47bbf84f05cd5174a jdk7u51-b02 @@ -394,3 +409,25 @@ 573c4cfca7dda548463bb84330bddfd07fe1183f jdk7u51-b11 df53ec7eb789e7dec375a685dce1fa5cf63618b4 jdk7u51-b12 6c778574d87336a2e55156544af92ce2de799696 jdk7u51-b13 +410eb7fef869645524ebb08293da1ba6215e5ce9 icedtea-2.4.5 +b028e58c1b77759531652b7ec81764f3c05ec96c icedtea-2.4.6pre01 +b028e58c1b77759531652b7ec81764f3c05ec96c icedtea-2.4.6 +13970e76b784af6454d9a01cf530a28305fa255f icedtea-2.4.7 +d2eeac0235eda77d0a6c72c7235a6e96bc9ad4fb jdk7u51-b30 +626e76f127a44ba0118a545d37410f80000db8fb jdk7u51-b31 +df53ec7eb789e7dec375a685dce1fa5cf63618b4 jdk7u55-b00 +15bc13cd7f5d0bb06ab59935e25944fa7cb15bc8 jdk7u55-b01 +b829c5947c6cd473f42cadfe2c61399fb67c2da6 jdk7u55-b02 +a72b902cdd39d9f2f2d353d5ad629e543cbc01ae jdk7u55-b03 +6a8ee38075621564dd276e8ed7be576d637acf79 jdk7u55-b04 +92ac508efb9e00d88b04a2bd79ab8a55f450a048 jdk7u55-b05 +6c7cd2146f69cf0823765b3cf84c338c1dc7157c jdk7u55-b06 +5cad0f56c685a0673944dbc5632ea9ae7b9340c7 jdk7u55-b07 +f617c33f98e1941875457c5c227198c52917942e jdk7u55-b08 +1f02b1889f7098c1e6fdd271ef74c62a2e346b28 jdk7u55-b09 +736c951b19b9562830f61d5ebbad78775f200e94 jdk7u55-b09 +2a55bbab15f6c866281003dcf48708a9d8c145e9 jdk7u55-b10 +f4ace62029de00d2497058c3c0e1d26e019cde30 jdk7u55-b11 +de268da51b54a4f36bcc1a9af60faea285e94330 jdk7u55-b12 +d972a2d9e4f3f864d26c33ccfdacd8269e0f29a8 jdk7u55-b13 +0820b4707cfa75f8211b88b0daa67bba8475f498 jdk7u55-b30 diff -r 626e76f127a4 -r f0fab6df83bb .jcheck/conf --- a/.jcheck/conf Thu Dec 19 09:31:19 2013 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -project=jdk7 -bugids=dup diff -r 626e76f127a4 -r f0fab6df83bb common/bin/hgforest.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/bin/hgforest.sh Wed Apr 16 19:41:03 2014 +0100 @@ -0,0 +1,190 @@ +#!/bin/sh + +# +# Copyright (c) 2009, 2013, 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 +# under the terms of the GNU General Public License version 2 only, as +# published by the Free Software Foundation. +# +# This code is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# version 2 for more details (a copy is included in the LICENSE file that +# accompanied this code). +# +# You should have received a copy of the GNU General Public License version +# 2 along with this work; if not, write to the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA +# or visit www.oracle.com if you need additional information or have any +# questions. +# + +# Shell script for a fast parallel forest command +command="$1" +pull_extra_base="$2" + +if [ "" = "$command" ] ; then + echo No command to hg supplied! + exit 1 +fi + +# Clean out the temporary directory that stores the pid files. +tmp=/tmp/forest.$$ +rm -f -r ${tmp} +mkdir -p ${tmp} + +safe_interrupt () { + if [ -d ${tmp} ]; then + if [ "`ls ${tmp}/*.pid`" != "" ]; then + echo "Waiting for processes ( `cat ${tmp}/*.pid | tr '\n' ' '`) to terminate nicely!" + sleep 1 + # Pipe stderr to dev/null to silence kill, that complains when trying to kill + # a subprocess that has already exited. + kill -TERM `cat ${tmp}/*.pid | tr '\n' ' '` 2> /dev/null + wait + echo Interrupt complete! + fi + fi + rm -f -r ${tmp} + exit 1 +} + +nice_exit () { + if [ -d ${tmp} ]; then + if [ "`ls ${tmp}`" != "" ]; then + wait + fi + fi + rm -f -r ${tmp} +} + +trap 'safe_interrupt' INT QUIT +trap 'nice_exit' EXIT + +# Only look in specific locations for possible forests (avoids long searches) +pull_default="" +repos="" +repos_extra="" +if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then + subrepos="corba jaxp jaxws langtools jdk hotspot" + if [ -f .hg/hgrc ] ; then + pull_default=`hg paths default` + if [ "${pull_default}" = "" ] ; then + echo "ERROR: Need initial clone with 'hg paths default' defined" + exit 1 + fi + fi + if [ "${pull_default}" = "" ] ; then + echo "ERROR: Need initial repository to use this script" + exit 1 + fi + for i in ${subrepos} ; do + if [ ! -f ${i}/.hg/hgrc ] ; then + repos="${repos} ${i}" + fi + done + if [ "${pull_extra_base}" != "" ] ; then + subrepos_extra="jdk/src/closed jdk/make/closed jdk/test/closed hotspot/make/closed hotspot/src/closed hotspot/test/closed deploy install sponsors pubs" + pull_default_tail=`echo ${pull_default} | sed -e 's@^.*://[^/]*/\(.*\)@\1@'` + pull_extra="${pull_extra_base}/${pull_default_tail}" + for i in ${subrepos_extra} ; do + if [ ! -f ${i}/.hg/hgrc ] ; then + repos_extra="${repos_extra} ${i}" + fi + done + fi + at_a_time=2 + # Any repos to deal with? + if [ "${repos}" = "" -a "${repos_extra}" = "" ] ; then + exit + fi +else + hgdirs=`ls -d ./.hg ./*/.hg ./*/*/.hg ./*/*/*/.hg ./*/*/*/*/.hg 2>/dev/null` + # Derive repository names from the .hg directory locations + for i in ${hgdirs} ; do + repos="${repos} `echo ${i} | sed -e 's@/.hg$@@'`" + done + for i in ${repos} ; do + if [ -h ${i}/.hg/store/lock -o -f ${i}/.hg/store/lock ] ; then + locked="${i} ${locked}" + fi + done + at_a_time=8 + # Any repos to deal with? + if [ "${repos}" = "" ] ; then + echo "No repositories to process." + exit + fi + if [ "${locked}" != "" ] ; then + echo "These repositories are locked: ${locked}" + exit + fi +fi + +# Echo out what repositories we do a command on. +echo "# Repositories: ${repos} ${repos_extra}" +echo + +# Run the supplied command on all repos in parallel. +n=0 +for i in ${repos} ${repos_extra} ; do + n=`expr ${n} '+' 1` + repopidfile=`echo ${i} | sed -e 's at ./@@' -e 's@/@_ at g'` + reponame=`echo ${i} | sed -e :a -e 's/^.\{1,20\}$/ &/;ta'` + pull_base="${pull_default}" + for j in $repos_extra ; do + if [ "$i" = "$j" ] ; then + pull_base="${pull_extra}" + fi + done + ( + ( + if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then + pull_newrepo="${pull_base}/${i}" + # pull_newrepo="`echo ${pull_base}/${i} | sed -e 's@\([^:]/\)//*@\1 at g'`" + echo hg clone ${pull_newrepo} ${i} + path="`dirname ${i}`" + if [ "${path}" != "." ] ; then + times=0 + while [ ! -d "${path}" ] ## nested repo, ensure containing dir exists + do + times=`expr ${times} '+' 1` + if [ `expr ${times} '%' 10` -eq 0 ] ; then + echo ${path} still not created, waiting... + fi + sleep 5 + done + fi + (PYTHONUNBUFFERED=true hg clone ${pull_newrepo} ${i}; echo "$?" > ${tmp}/${repopidfile}.pid.rc )& + else + echo "cd ${i} && hg $*" + cd ${i} && (PYTHONUNBUFFERED=true hg "$@"; echo "$?" > ${tmp}/${repopidfile}.pid.rc )& + fi + echo $! > ${tmp}/${repopidfile}.pid + ) 2>&1 | sed -e "s@^@${reponame}: @") & + + if [ `expr ${n} '%' ${at_a_time}` -eq 0 ] ; then + sleep 2 + echo Waiting 5 secs before spawning next background command. + sleep 3 + fi +done +# Wait for all hg commands to complete +wait + +# Terminate with exit 0 only if all subprocesses were successful +ec=0 +if [ -d ${tmp} ]; then + for rc in ${tmp}/*.pid.rc ; do + exit_code=`cat ${rc} | tr -d ' \n\r'` + if [ "${exit_code}" != "0" ] ; then + echo "WARNING: ${rc} exited abnormally." + ec=1 + fi + done +fi +exit ${ec} diff -r 626e76f127a4 -r f0fab6df83bb get_source.sh --- a/get_source.sh Thu Dec 19 09:31:19 2013 -0800 +++ b/get_source.sh Wed Apr 16 19:41:03 2014 +0100 @@ -26,8 +26,8 @@ # # Get clones of all nested repositories -sh ./make/scripts/hgforest.sh clone $* +sh ./common/bin/hgforest.sh clone "$@" || exit 1 # Update all existing repositories to the latest sources -sh ./make/scripts/hgforest.sh pull -u +sh ./common/bin/hgforest.sh pull -u diff -r 626e76f127a4 -r f0fab6df83bb make/Defs-internal.gmk --- a/make/Defs-internal.gmk Thu Dec 19 09:31:19 2013 -0800 +++ b/make/Defs-internal.gmk Wed Apr 16 19:41:03 2014 +0100 @@ -303,6 +303,16 @@ ABS_JAXWS_DIST = $(JAXWS_OUTPUTDIR)/dist endif +# Command to PaX mark the VM +ifndef PAX_COMMAND + PAX_COMMAND = /usr/sbin/paxmark.sh +endif +ifeq ($(ARCH), i586) + PAX_COMMAND_ARGS="-msp" +else + PAX_COMMAND_ARGS="-m" +endif + # Common make arguments (supplied to all component builds) COMMON_BUILD_ARGUMENTS = \ JDK_TOPDIR=$(ABS_JDK_TOPDIR) \ @@ -322,7 +332,10 @@ JDK_MICRO_VERSION=$(JDK_MICRO_VERSION) \ PREVIOUS_MAJOR_VERSION=$(PREVIOUS_MAJOR_VERSION) \ PREVIOUS_MINOR_VERSION=$(PREVIOUS_MINOR_VERSION) \ - PREVIOUS_MICRO_VERSION=$(PREVIOUS_MICRO_VERSION) + PREVIOUS_MICRO_VERSION=$(PREVIOUS_MICRO_VERSION) \ + STATIC_CXX=$(STATIC_CXX) \ + PAX_COMMAND=$(PAX_COMMAND) \ + PAX_COMMAND_ARGS=$(PAX_COMMAND_ARGS) ifdef ARCH_DATA_MODEL COMMON_BUILD_ARGUMENTS += ARCH_DATA_MODEL=$(ARCH_DATA_MODEL) diff -r 626e76f127a4 -r f0fab6df83bb make/scripts/hgforest.sh --- a/make/scripts/hgforest.sh Thu Dec 19 09:31:19 2013 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,144 +0,0 @@ -#!/bin/sh - -# -# Copyright (c) 2009, 2012, 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 -# under the terms of the GNU General Public License version 2 only, as -# published by the Free Software Foundation. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# version 2 for more details (a copy is included in the LICENSE file that -# accompanied this code). -# -# You should have received a copy of the GNU General Public License version -# 2 along with this work; if not, write to the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. -# -# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA -# or visit www.oracle.com if you need additional information or have any -# questions. -# - -# Shell script for a fast parallel forest command -command="$1" -pull_extra_base="$2" - -tmp=/tmp/forest.$$ -rm -f -r ${tmp} -mkdir -p ${tmp} - -# Remove tmp area on A. B. Normal termination -trap 'rm -f -r ${tmp}' KILL -trap 'rm -f -r ${tmp}' EXIT - -# Only look in specific locations for possible forests (avoids long searches) -pull_default="" -repos="" -repos_extra="" -if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then - subrepos="corba jaxp jaxws langtools jdk hotspot" - if [ -f .hg/hgrc ] ; then - pull_default=`hg paths default` - if [ "${pull_default}" = "" ] ; then - echo "ERROR: Need initial clone with 'hg paths default' defined" - exit 1 - fi - fi - if [ "${pull_default}" = "" ] ; then - echo "ERROR: Need initial repository to use this script" - exit 1 - fi - for i in ${subrepos} ; do - if [ ! -f ${i}/.hg/hgrc ] ; then - repos="${repos} ${i}" - fi - done - if [ "${pull_extra_base}" != "" ] ; then - subrepos_extra="jdk/src/closed jdk/make/closed jdk/test/closed hotspot/make/closed hotspot/src/closed hotspot/test/closed deploy install sponsors pubs" - pull_default_tail=`echo ${pull_default} | sed -e 's@^.*://[^/]*/\(.*\)@\1@'` - pull_extra="${pull_extra_base}/${pull_default_tail}" - for i in ${subrepos_extra} ; do - if [ ! -f ${i}/.hg/hgrc ] ; then - repos_extra="${repos_extra} ${i}" - fi - done - fi - at_a_time=2 - # Any repos to deal with? - if [ "${repos}" = "" -a "${repos_extra}" = "" ] ; then - echo "No repositories to clone." - exit - fi -else - hgdirs=`ls -d ./.hg ./*/.hg ./*/*/.hg ./*/*/*/.hg ./*/*/*/*/.hg 2>/dev/null` - # Derive repository names from the .hg directory locations - for i in ${hgdirs} ; do - repos="${repos} `echo ${i} | sed -e 's@/.hg$@@'`" - done - at_a_time=8 - # Any repos to deal with? - if [ "${repos}" = "" ] ; then - echo "No repositories to process." - exit - fi -fi - -# Echo out what repositories we will clone -echo "# Repos: ${repos} ${repos_extra}" - -# Run the supplied command on all repos in parallel, save output until end -n=0 -for i in ${repos} ; do - echo "Starting on ${i}" - n=`expr ${n} '+' 1` - ( - ( - if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then - pull_newrepo="`echo ${pull_default}/${i} | sed -e 's@\([^:]/\)//*@\1 at g'`" - cline="hg clone ${pull_newrepo} ${i}" - echo "# ${cline}" - ( eval "${cline}" ) - else - cline="hg $*" - echo "# cd ${i} && ${cline}" - ( cd ${i} && eval "${cline}" ) - fi - echo "# exit code $?" - ) > ${tmp}/repo.${n} 2>&1 ; cat ${tmp}/repo.${n} ) & - if [ `expr ${n} '%' ${at_a_time}` -eq 0 ] ; then - sleep 5 - fi -done -# Wait for all hg commands to complete -wait - -if [ "${repos_extra}" != "" ] ; then From andrew at icedtea.classpath.org Wed Apr 16 18:41:34 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 16 Apr 2014 18:41:34 +0000 Subject: /hg/release/icedtea7-forest-2.4/corba: 30 new changesets Message-ID: changeset 171d49504c82 in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=171d49504c82 author: katleman date: Fri Dec 20 18:52:51 2013 -0800 Added tag jdk7u51-b31 for changeset 0ad990211737 changeset 00401b8a35fc in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=00401b8a35fc author: katleman date: Thu Dec 26 13:04:54 2013 -0800 Added tag jdk7u51-b30 for changeset 6563d12c48c9 changeset 62e0191837ed in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=62e0191837ed author: asaha date: Tue Dec 31 08:52:12 2013 -0800 Merge changeset aabfdc799c07 in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=aabfdc799c07 author: asaha date: Mon Dec 16 12:12:21 2013 -0800 Added tag jdk7u55-b00 for changeset 55a509ccc0e4 changeset bce83c3685b1 in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=bce83c3685b1 author: asaha date: Mon Dec 16 14:53:15 2013 -0800 Added tag jdk7u55-b01 for changeset aabfdc799c07 changeset 39680bab0f37 in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=39680bab0f37 author: asaha date: Mon Dec 16 18:48:24 2013 -0800 Merge changeset 7e24d228977a in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=7e24d228977a author: asaha date: Fri Dec 20 11:45:59 2013 -0800 Merge changeset a93f3b281a1e in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=a93f3b281a1e author: asaha date: Fri Dec 20 14:12:52 2013 -0800 Merge changeset db2e6d87bade in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=db2e6d87bade author: asaha date: Fri Dec 20 21:29:31 2013 -0800 Merge changeset bc8c237d636c in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=bc8c237d636c author: katleman date: Tue Dec 24 14:45:46 2013 -0800 Added tag jdk7u55-b02 for changeset db2e6d87bade changeset 02ff18f156bd in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=02ff18f156bd author: asaha date: Thu Dec 26 15:49:22 2013 -0800 Merge changeset 62d437f0b627 in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=62d437f0b627 author: katleman date: Mon Jan 06 13:56:49 2014 -0800 Added tag jdk7u55-b03 for changeset 02ff18f156bd changeset 04b7e00a5a38 in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=04b7e00a5a38 author: katleman date: Wed Jan 08 13:23:49 2014 -0800 Added tag jdk7u45-b35 for changeset fab1423e6ab8 changeset ee7d9f5d18fb in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=ee7d9f5d18fb author: asaha date: Wed Jan 08 14:11:43 2014 -0800 Merge changeset 6a88a170331f in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=6a88a170331f author: asaha date: Thu Jan 09 07:55:14 2014 -0800 Merge changeset 5d781480a041 in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=5d781480a041 author: katleman date: Mon Jan 13 16:14:32 2014 -0800 Added tag jdk7u55-b04 for changeset 6a88a170331f changeset a8d27c3fc4e4 in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=a8d27c3fc4e4 author: msheppar date: Tue Jan 21 12:46:58 2014 +0000 8025005: Enhance CORBA initializations Summary: restructure ORB.init() processing flow. Reviewed-by: alanb, coffeys, skoivu changeset af7f1808106b in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=af7f1808106b author: katleman date: Wed Jan 22 10:06:25 2014 -0800 Added tag jdk7u55-b05 for changeset a8d27c3fc4e4 changeset 44801796d42b in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=44801796d42b author: katleman date: Tue Jan 28 11:49:19 2014 -0800 Added tag jdk7u55-b06 for changeset af7f1808106b changeset aa98fb8dc360 in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=aa98fb8dc360 author: katleman date: Tue Feb 04 13:11:40 2014 -0800 Added tag jdk7u55-b07 for changeset 44801796d42b changeset 2a4842e7ca0b in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=2a4842e7ca0b author: katleman date: Tue Feb 11 13:11:02 2014 -0800 Added tag jdk7u55-b08 for changeset aa98fb8dc360 changeset 5805c3291eb3 in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=5805c3291eb3 author: katleman date: Tue Feb 18 12:41:09 2014 -0800 Added tag jdk7u55-b09 for changeset 2a4842e7ca0b changeset b9dae31c56a2 in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=b9dae31c56a2 author: katleman date: Tue Feb 18 13:36:00 2014 -0800 Added tag jdk7u55-b09 for changeset 5805c3291eb3 changeset 0f75d8ee8dda in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=0f75d8ee8dda author: katleman date: Tue Feb 25 12:19:34 2014 -0800 Added tag jdk7u55-b10 for changeset b9dae31c56a2 changeset cbd5b4b07e0c in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=cbd5b4b07e0c author: coffeys date: Tue Mar 04 00:45:16 2014 +0000 8035618: Four api/org_omg/CORBA TCK tests fail under plugin only Reviewed-by: alanb, mchung changeset 3cce2a49d18d in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=3cce2a49d18d author: katleman date: Tue Mar 04 12:01:29 2014 -0800 Added tag jdk7u55-b11 for changeset cbd5b4b07e0c changeset 8efa6e66c13a in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=8efa6e66c13a author: katleman date: Tue Mar 11 12:59:17 2014 -0700 Added tag jdk7u55-b12 for changeset 3cce2a49d18d changeset e041c52fe691 in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=e041c52fe691 author: katleman date: Tue Mar 18 12:07:32 2014 -0700 Added tag jdk7u55-b13 for changeset 8efa6e66c13a changeset a0bfd0e80ae0 in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=a0bfd0e80ae0 author: katleman date: Thu Mar 27 11:22:58 2014 -0700 Added tag jdk7u55-b30 for changeset e041c52fe691 changeset 179bc370340d in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=179bc370340d author: andrew date: Wed Apr 16 19:41:04 2014 +0100 Merge jdk7u55-b14 diffstat: .hgtags | 36 ++ .jcheck/conf | 2 - make/Makefile | 2 +- make/common/shared/Defs-java.gmk | 8 +- make/common/shared/Platform.gmk | 9 + src/share/classes/com/sun/corba/se/impl/io/ObjectStreamClass.java | 126 +++------ src/share/classes/com/sun/corba/se/impl/orbutil/ObjectStreamClassUtil_1_3.java | 19 +- src/share/classes/com/sun/corba/se/impl/orbutil/ObjectStreamClass_1_3_1.java | 69 ++--- src/share/classes/com/sun/corba/se/spi/orb/ORB.java | 31 +- src/share/classes/org/omg/CORBA/ORB.java | 34 ++- 10 files changed, 181 insertions(+), 155 deletions(-) diffs (truncated from 1034 to 500 lines): diff -r 0ad990211737 -r 179bc370340d .hgtags --- a/.hgtags Thu Dec 19 09:31:40 2013 -0800 +++ b/.hgtags Wed Apr 16 19:41:04 2014 +0100 @@ -50,6 +50,7 @@ b751c528c55560cf2adeaeef24b39ca1f4d1cbf7 jdk7-b73 5d0cf59a3203b9f57aceebc33ae656b884987955 jdk7-b74 0fb137085952c8e47878e240d1cb40f14de463c4 jdk7-b75 +d728db3889da23d9f74e45154b9261a43b4acd8d icedtea7-1.12 937144222e2219939101b0129d26a872a7956b13 jdk7-b76 6881f0383f623394b5ec73f27a5f329ff55d0467 jdk7-b77 a7f7276b48cd74d8eb1baa83fbf3d1ef4a2603c8 jdk7-b78 @@ -63,6 +64,7 @@ 6253e28826d16cf1aecc39ce04c8de1f6bf2df5f jdk7-b86 09a41111a401d327f65e453384d976a10154d9ea jdk7-b87 39e14d2da687c7e592142137517aaf689544820f jdk7-b88 +e805b4155d76f76d40ffae36a74546f79218c539 icedtea7-1.13 bb4424c5e778b842c064a8b1aa902b35f4397654 jdk7-b89 56ce07b0eb47b93a98a72adef0f21e602c460623 jdk7-b90 bcd2fc089227559ac5be927923609fac29f067fa jdk7-b91 @@ -111,6 +113,7 @@ 918003855fa0dba5acf4bf1fe36526d2fc4c1ba8 jdk7-b134 e0b72ae5dc5e824b342801c8d1d336a55eb54e2c jdk7-b135 48ef0c712e7cbf272f47f9224db92a3c6a9e2612 jdk7-b136 +b62418551e20fa19fbf57c49d4378b7096809e60 icedtea-1.14 a66c01d8bf895261715955df0b95545c000ed6a8 jdk7-b137 78d8cf04697e9df54f7f11e195b7da29b8e345a2 jdk7-b138 60b074ec6fcf5cdf9efce22fdfb02326ed8fa2d3 jdk7-b139 @@ -123,6 +126,7 @@ 770227a4087e4e401fe87ccd19738440111c3948 jdk7-b146 36f0efbc66ef8ace3cca8aa8d0c88f3334080f8a jdk7u1-b01 73323cb3396260d93e0ab731fd2d431096ceed0f jdk7-b147 +d034cc90ecc266d78b87d1429c426669431fcc1f icedtea-2.0-branchpoint 9515a2d034b4727c11aeea36354a549fbc469c4f jdk7u1-b02 dd71cb354c573c1addcda269a7dd9144bfce9587 jdk7u1-b03 eaee830124aa453627591d8f9eccb39d7e040876 jdk7u1-b04 @@ -141,6 +145,7 @@ 56b02f8ef70391a67c9fa71157a8faafbdff4b74 jdk7u2-b12 456ff1f14b14ef8cfe47cef95c8094f8443fa092 jdk7u2-b13 62b846b0c3259cae732e75df50a1b180a2541178 jdk7u2-b21 +ecb9fc90dea4720f5c1ba1354364ed610f463e41 icedtea-2.1-branchpoint 1b648adeeefa9b1fb022459e8e4f590b736c0fdd jdk7u3-b02 730fa05af5a9d10a3a7a1626d248b96d09f8069f jdk7u3-b03 7f7a9b1addb4925f4f6e17f6eb5cce986c3b626d jdk7u3-b04 @@ -157,6 +162,7 @@ 23777178e7eb61859be3f7240561aa1034ff9221 jdk7u4-b10 bdc37f3c09b6008667aff77432bb6d31cbae945e jdk7u4-b11 fddc26b35a31884d64315cf7c296570245e9c481 jdk7u4-b12 +9ffa2340e018131c900e9cc12c9f3a10698aa191 icedtea-2.2-branchpoint f7119745898016a98cddab3e69efb41c5a5aaf78 jdk7u4-b13 6a262c36caebb43972cbae5032cff632ce31d2cc jdk7u4-b14 d9bf21b76f093abfe451880d5db29e4932b1e72e jdk7u4-b15 @@ -191,6 +197,7 @@ 8da4015f405b0fa267cca4780d20cd012d0a9cb4 jdk7u6-b15 7674c7ed99a53a8dcf654ab8a6963199ef562a08 jdk7u6-b16 e4a676826cb3fe2f84e19105a027c15c097f98f1 jdk7u6-b17 +68c35d6e9548bc7be9c3ce73774c6d53b0d72d3b icedtea-2.3-branchpoint b3d767dbd67f518168c561e078be5e860bc60cfc jdk7u6-b18 5c046510b9308bf514f078d48fcf0112a376ad41 jdk7u6-b19 f0c51b691d34b4a06c1e22c7960be71e0d0ee84e jdk7u6-b20 @@ -258,6 +265,7 @@ 7969d5f219248de033c296ef75fff7aae7545bbd jdk7u12-b07 6f4d4c7a254d4aca3a7f2caabb75e6559a290393 jdk7u12-b08 c8c261b2220c5b966c07784682057a915defb0da jdk7u12-b09 +efbe4cef7fe2d46a197c39eb7a94e127e0bb4c5d icedtea-2.4-branchpoint 3877f9ae971eefbfbbcb16f2ff79c72ac10ac4bd jdk7u14-b10 3bd891cd98773cf841ad65f52f25e3e6fa185cef jdk7u14-b11 fbb83600db33de6211fc58ba2a2bbb6b356aa9c2 jdk7u14-b12 @@ -335,6 +343,7 @@ bfbaab73969d4d978d0280d6ad51bac8c47dbaf8 jdk7u14-b19 a921b45a1f9086a7d598a76f920639050386f996 jdk7u14-b19 54320e5d9da60df24f0e2c57c011809911dc06e1 jdk7u14-b20 +47084105fe834aa1c6f2ee2bbea01deaa05059dd icedtea-2.4.0 fb590ca4de9aaf1f6bca945be040dffc55b5e8d2 jdk7u14-b21 e5d89aa2c1a11dba841a646858dda9ea18dc8f57 jdk7u14-b22 d85df1552f877a1cc51f43bc07a42a0c48f18e0b jdk7u40-b23 @@ -345,6 +354,7 @@ c8b9201f88f4ce417df7a40efcb7fef656d94512 jdk7u40-b28 1ad0a5a3f7b1e9d95670d733d7e70714050ba6bf jdk7u40-b29 651dcadbd9774165e017f8b7d1bde7d7d280ae1d jdk7u40-b30 +23ae4e0e0cce13779c531a704bf95fda1764882b icedtea-2.4.1 3d2b811b8a798ff3b619f8330b08f551f7fdfd80 jdk7u40-b31 c5f85903c49aa716ee3cb93361dd60a3e88d866d jdk7u40-b32 1b7fbfdc31b859097d6a365ad0ba0e8ef92b4063 jdk7u40-b33 @@ -359,6 +369,7 @@ b4a480a039bc19b27bfb5fcbbbf75e651d2718b7 jdk7u40-b42 e29ea0b297e519010e661603a07bb8d48fa904a2 jdk7u40-b43 08737d863a7aa5eb39374b26c9585e1770affe92 jdk7u40-b60 +5ea58899ae9f26e8ad21d1be15f73d426e2b5fb1 icedtea-2.4.2 504acad3372298a79c231696d805f00f3beb2362 jdk7u40-b61 c9c225fb19c3aa6e1242c051833ecc69d00b7aa1 jdk7u40-b62 4f54264ca4df2fc50fbb9bb2654dad97776d10ac jdk7u45-b01 @@ -380,9 +391,12 @@ 8b8793f06c56e343962b473bc0fb79f23b8be734 jdk7u45-b17 80f65a8f58500ef5d93ddf4426d9c1909b79fadf jdk7u45-b18 a15e4a54504471f1e34a494ed66235870722a0f5 jdk7u45-b30 +8ed5df839fbccdb20f2718626402d28e5ea33542 icedtea-2.4.3 +468a4fe3400a2f6fd85f4e9023feb3b11e5edf1c icedtea-2.4.4 b7fb35bbe70d88eced3725b6e9070ad0b5b621ad jdk7u45-b31 d641ac83157ec86219519c0cbaf3122bdc997136 jdk7u45-b33 aa24e046a2da95637257c9effeaabe254db0aa0b jdk7u45-b34 +fab1423e6ab8ecf36da8b6bf2e454156ec701e8a jdk7u45-b35 b1f069eb48edfa6fb7428dc045a53e287215ef4a jdk7u51-b00 8d884cf2e8cce92d532950de2c7283d9804f9e58 jdk7u51-b01 327035fbb0433927c1b1af2bc0bcb84e7827f1b9 jdk7u51-b02 @@ -397,3 +411,25 @@ a26d0e8ab1027e70ae1ded8ede0086a0a4a10256 jdk7u51-b11 55a509ccc0e4ed49e311c7ecf2ed29a908bc1d6b jdk7u51-b12 e2f0036f712aa636cfd55334ac21ea7ca2587a7b jdk7u51-b13 +3594dbde270d68920afc5ee862d10f14c2a87dc8 icedtea-2.4.5 +48ef1bb6d120dbf053f75787a40ef6faa38230f1 icedtea-2.4.6pre01 +48ef1bb6d120dbf053f75787a40ef6faa38230f1 icedtea-2.4.6 +e6ad5b912691cda3037a1d1c15ac6ae3624e166b icedtea-2.4.7 +6563d12c48c92af39a27ca46b4515fad8e994667 jdk7u51-b30 +0ad990211737fe1b1e2737a3498ab266146d2c53 jdk7u51-b31 +55a509ccc0e4ed49e311c7ecf2ed29a908bc1d6b jdk7u55-b00 +aabfdc799c0799837dcbbf9ea8d6df1511978b1f jdk7u55-b01 +db2e6d87bade9d2061646ff9a6b39b5159fba0ec jdk7u55-b02 +02ff18f156bd3382fe22e4758b138370f5238e97 jdk7u55-b03 +6a88a170331fb38af5046e54bf75f38176af5c41 jdk7u55-b04 +a8d27c3fc4e4e6cd99fa164f04c30a71f474a2d6 jdk7u55-b05 +af7f1808106bf4e9b4680d943677299829245d08 jdk7u55-b06 +44801796d42bebc90e8c4c7fb5bd79db04b10b75 jdk7u55-b07 +aa98fb8dc3608a30ac593635b21aca2105aaab20 jdk7u55-b08 +2a4842e7ca0b2228017542cea0fed3b8d4f4491a jdk7u55-b09 +5805c3291eb3a82cd75e95ac06eb13daa7f92866 jdk7u55-b09 +b9dae31c56a2bf69fc5932cc490cd80fccc1e0fd jdk7u55-b10 +cbd5b4b07e0c8a5f61eff396b7622e7b04d2a164 jdk7u55-b11 +3cce2a49d18d93dfca2634db32368486ebbb1590 jdk7u55-b12 +8efa6e66c13a5329c312d1a521ffab75d9a330e3 jdk7u55-b13 +e041c52fe69128ec3439d26afef9b0fcba00684c jdk7u55-b30 diff -r 0ad990211737 -r 179bc370340d .jcheck/conf --- a/.jcheck/conf Thu Dec 19 09:31:40 2013 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -project=jdk7 -bugids=dup diff -r 0ad990211737 -r 179bc370340d make/Makefile --- a/make/Makefile Thu Dec 19 09:31:40 2013 -0800 +++ b/make/Makefile Wed Apr 16 19:41:04 2014 +0100 @@ -150,7 +150,7 @@ #----- bin.zip -BIN_ZIP_FILES = $(BUILD_DIR/lib/orb.idl $(BUILD_DIR)/lib/ir.idl +BIN_ZIP_FILES = $(BUILD_DIR)/lib/orb.idl $(BUILD_DIR)/lib/ir.idl BIN_ZIP = $(LIB_DIR)/bin.zip $(BIN_ZIP): $(BIN_ZIP_FILES) diff -r 0ad990211737 -r 179bc370340d make/common/shared/Defs-java.gmk --- a/make/common/shared/Defs-java.gmk Thu Dec 19 09:31:40 2013 -0800 +++ b/make/common/shared/Defs-java.gmk Wed Apr 16 19:41:04 2014 +0100 @@ -79,9 +79,13 @@ # 64-bit builds require a larger thread stack size. ifeq ($(ARCH_DATA_MODEL), 32) - JAVAC_JVM_FLAGS += -J-XX:ThreadStackSize=768 + ifeq ($(ARCH), ppc) + JAVAC_JVM_FLAGS += -J-XX:ThreadStackSize=1152 + else + JAVAC_JVM_FLAGS += -J-XX:ThreadStackSize=768 + endif else - JAVAC_JVM_FLAGS += -J-XX:ThreadStackSize=1536 + JAVAC_JVM_FLAGS += -J-XX:ThreadStackSize=1664 endif JAVAC_JVM_FLAGS += $(JAVA_TOOLS_FLAGS:%=-J%) diff -r 0ad990211737 -r 179bc370340d make/common/shared/Platform.gmk --- a/make/common/shared/Platform.gmk Thu Dec 19 09:31:40 2013 -0800 +++ b/make/common/shared/Platform.gmk Wed Apr 16 19:41:04 2014 +0100 @@ -153,6 +153,9 @@ OS_VERSION := $(shell uname -r) # Arch and OS name/version mach := $(shell uname -m) + ifneq (,$(wildcard /usr/bin/dpkg-architecture)) + mach := $(shell (dpkg-architecture -qDEB_HOST_ARCH_CPU 2>/dev/null || echo $(mach)) | sed 's/arm64/aarch64/;s/powerpc$$/ppc/;s/hppa/parisc/;s/ppc64el/ppc64le/') + endif archExpr = case "$(mach)" in \ i[3-9]86) \ echo i586 \ @@ -169,6 +172,9 @@ arm*) \ echo arm \ ;; \ + sh*) \ + echo sh \ + ;; \ *) \ echo $(mach) \ ;; \ @@ -196,6 +202,9 @@ else ARCH_DATA_MODEL=64 endif + ifeq ($(ARCH), sh) + ARCH_DATA_MODEL=32 + endif endif endif diff -r 0ad990211737 -r 179bc370340d src/share/classes/com/sun/corba/se/impl/io/ObjectStreamClass.java --- a/src/share/classes/com/sun/corba/se/impl/io/ObjectStreamClass.java Thu Dec 19 09:31:40 2013 -0800 +++ b/src/share/classes/com/sun/corba/se/impl/io/ObjectStreamClass.java Wed Apr 16 19:41:04 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 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 @@ -52,6 +52,7 @@ import java.io.DataOutputStream; import java.io.ByteArrayOutputStream; import java.io.InvalidClassException; +import java.io.Externalizable; import java.io.Serializable; import java.util.Arrays; @@ -82,15 +83,15 @@ public static final long kDefaultUID = -1; private static Object noArgsList[] = {}; - private static Class noTypesList[] = {}; + private static Class noTypesList[] = {}; /** true if represents enum type */ private boolean isEnum; private static final Bridge bridge = - (Bridge)AccessController.doPrivileged( - new PrivilegedAction() { - public Object run() { + AccessController.doPrivileged( + new PrivilegedAction() { + public Bridge run() { return Bridge.get() ; } } @@ -100,7 +101,7 @@ * is returned if the specified class does not implement * java.io.Serializable or java.io.Externalizable. */ - static final ObjectStreamClass lookup(Class cl) + static final ObjectStreamClass lookup(Class cl) { ObjectStreamClass desc = lookupInternal(cl); if (desc.isSerializable() || desc.isExternalizable()) @@ -112,7 +113,7 @@ * Find the class descriptor for the specified class. * Package access only so it can be called from ObjectIn/OutStream. */ - static ObjectStreamClass lookupInternal(Class cl) + static ObjectStreamClass lookupInternal(Class cl) { /* Synchronize on the hashtable so no two threads will do * this at the same time. @@ -123,14 +124,14 @@ desc = findDescriptorFor(cl); if (desc == null) { /* Check if it's serializable */ - boolean serializable = classSerializable.isAssignableFrom(cl); + boolean serializable = Serializable.class.isAssignableFrom(cl); /* If the class is only Serializable, * lookup the descriptor for the superclass. */ ObjectStreamClass superdesc = null; if (serializable) { - Class superclass = cl.getSuperclass(); + Class superclass = cl.getSuperclass(); if (superclass != null) superdesc = lookup(superclass); } @@ -143,7 +144,7 @@ if (serializable) { externalizable = ((superdesc != null) && superdesc.isExternalizable()) || - classExternalizable.isAssignableFrom(cl); + Externalizable.class.isAssignableFrom(cl); if (externalizable) { serializable = false; } @@ -187,7 +188,7 @@ * that have evolved from a common root class and agree to be serialized * and deserialized using a common format. */ - public static final long getSerialVersionUID( java.lang.Class clazz) { + public static final long getSerialVersionUID( java.lang.Class clazz) { ObjectStreamClass theosc = ObjectStreamClass.lookup( clazz ); if( theosc != null ) { @@ -221,7 +222,7 @@ /** * Return the actual (computed) serialVersionUID for this class. */ - public static final long getActualSerialVersionUID( java.lang.Class clazz ) + public static final long getActualSerialVersionUID( java.lang.Class clazz ) { ObjectStreamClass theosc = ObjectStreamClass.lookup( clazz ); if( theosc != null ) @@ -251,7 +252,7 @@ * Return the class in the local VM that this version is mapped to. * Null is returned if there is no corresponding local class. */ - public final Class forClass() { + public final Class forClass() { return ofClass; } @@ -351,7 +352,7 @@ * Create a new ObjectStreamClass from a loaded class. * Don't call this directly, call lookup instead. */ - private ObjectStreamClass(java.lang.Class cl, ObjectStreamClass superdesc, + private ObjectStreamClass(java.lang.Class cl, ObjectStreamClass superdesc, boolean serial, boolean extern) { ofClass = cl; /* created from this class */ @@ -390,7 +391,7 @@ PersistentFieldsValue() { } - ObjectStreamField[] get(Class type) { + ObjectStreamField[] get(Class type) { Object value = map.get(type); if (value == null) { value = computeValue(type); @@ -448,7 +449,7 @@ if (initialized) return; - final Class cl = ofClass; + final Class cl = ofClass; if (!serializable || externalizable || @@ -576,9 +577,9 @@ * will call it as necessary. */ writeObjectMethod = getPrivateMethod( cl, "writeObject", - new Class[] { java.io.ObjectOutputStream.class }, Void.TYPE ) ; + new Class[] { java.io.ObjectOutputStream.class }, Void.TYPE ) ; readObjectMethod = getPrivateMethod( cl, "readObject", - new Class[] { java.io.ObjectInputStream.class }, Void.TYPE ) ; + new Class[] { java.io.ObjectInputStream.class }, Void.TYPE ) ; } return null; } @@ -604,9 +605,9 @@ * class, or null if none found. Access checks are disabled on the * returned method (if any). */ - private static Method getPrivateMethod(Class cl, String name, - Class[] argTypes, - Class returnType) + private static Method getPrivateMethod(Class cl, String name, + Class[] argTypes, + Class returnType) { try { Method meth = cl.getDeclaredMethod(name, argTypes); @@ -667,7 +668,7 @@ * Fill in the reflected Fields that will be used * for reading. */ - final void setClass(Class cl) throws InvalidClassException { + final void setClass(Class cl) throws InvalidClassException { if (cl == null) { localClassDesc = null; @@ -934,9 +935,9 @@ * Access checks are disabled on the returned constructor (if any), since * the defining class may still be non-public. */ - private static Constructor getExternalizableConstructor(Class cl) { + private static Constructor getExternalizableConstructor(Class cl) { try { - Constructor cons = cl.getDeclaredConstructor(new Class[0]); + Constructor cons = cl.getDeclaredConstructor(new Class[0]); cons.setAccessible(true); return ((cons.getModifiers() & Modifier.PUBLIC) != 0) ? cons : null; @@ -950,15 +951,15 @@ * superclass, or null if none found. Access checks are disabled on the * returned constructor (if any). */ - private static Constructor getSerializableConstructor(Class cl) { - Class initCl = cl; + private static Constructor getSerializableConstructor(Class cl) { + Class initCl = cl; while (Serializable.class.isAssignableFrom(initCl)) { if ((initCl = initCl.getSuperclass()) == null) { return null; } } try { - Constructor cons = initCl.getDeclaredConstructor(new Class[0]); + Constructor cons = initCl.getDeclaredConstructor(new Class[0]); int mods = cons.getModifiers(); if ((mods & Modifier.PRIVATE) != 0 || ((mods & (Modifier.PUBLIC | Modifier.PROTECTED)) == 0 && @@ -1063,7 +1064,7 @@ * items to the hash accumulating in the digest stream. * Fold the hash into a long. Use the SHA secure hash function. */ - private static long _computeSerialVersionUID(Class cl) { + private static long _computeSerialVersionUID(Class cl) { if (DEBUG_SVUID) msg( "Computing SerialVersionUID for " + cl ) ; ByteArrayOutputStream devnull = new ByteArrayOutputStream(512); @@ -1117,7 +1118,7 @@ * them from its computation. */ - Class interfaces[] = cl.getInterfaces(); + Class interfaces[] = cl.getInterfaces(); Arrays.sort(interfaces, compareClassByName); for (int i = 0; i < interfaces.length; i++) { @@ -1247,7 +1248,7 @@ return h; } - private static long computeStructuralUID(com.sun.corba.se.impl.io.ObjectStreamClass osc, Class cl) { + private static long computeStructuralUID(com.sun.corba.se.impl.io.ObjectStreamClass osc, Class cl) { ByteArrayOutputStream devnull = new ByteArrayOutputStream(512); long h = 0; @@ -1267,7 +1268,7 @@ DataOutputStream data = new DataOutputStream(mdo); // Get SUID of parent - Class parent = cl.getSuperclass(); + Class parent = cl.getSuperclass(); if ((parent != null)) // SerialBug 1; acc. to spec the one for // java.lang.object @@ -1323,10 +1324,10 @@ /** * Compute the JVM signature for the class. */ - static String getSignature(Class clazz) { + static String getSignature(Class clazz) { String type = null; if (clazz.isArray()) { - Class cl = clazz; + Class cl = clazz; int dimensions = 0; while (cl.isArray()) { dimensions++; @@ -1372,7 +1373,7 @@ sb.append("("); - Class[] params = meth.getParameterTypes(); // avoid clone + Class[] params = meth.getParameterTypes(); // avoid clone for (int j = 0; j < params.length; j++) { sb.append(getSignature(params[j])); } @@ -1389,7 +1390,7 @@ sb.append("("); - Class[] params = cons.getParameterTypes(); // avoid clone + Class[] params = cons.getParameterTypes(); // avoid clone for (int j = 0; j < params.length; j++) { sb.append(getSignature(params[j])); } @@ -1409,7 +1410,7 @@ * The entries are extended from java.lang.ref.SoftReference so the * gc will be able to free them if needed. */ - private static ObjectStreamClass findDescriptorFor(Class cl) { + private static ObjectStreamClass findDescriptorFor(Class cl) { int hash = cl.hashCode(); int index = (hash & 0x7FFFFFFF) % descriptorFor.length; @@ -1456,7 +1457,7 @@ descriptorFor[index] = e; } - private static Field[] getDeclaredFields(final Class clz) { + private static Field[] getDeclaredFields(final Class clz) { return (Field[]) AccessController.doPrivileged(new PrivilegedAction() { public Object run() { return clz.getDeclaredFields(); @@ -1490,7 +1491,7 @@ /* * Class that is a descriptor for in this virtual machine. */ - private Class ofClass; + private Class ofClass; /* * True if descriptor for a proxy class. @@ -1562,30 +1563,17 @@ * Returns true if the given class defines a static initializer method, * false otherwise. */ - private static boolean hasStaticInitializer(Class cl) { From andrew at icedtea.classpath.org Wed Apr 16 18:41:51 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 16 Apr 2014 18:41:51 +0000 Subject: /hg/release/icedtea7-forest-2.4/jaxp: 30 new changesets Message-ID: changeset de5d093cca22 in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=de5d093cca22 author: katleman date: Fri Dec 20 18:53:06 2013 -0800 Added tag jdk7u51-b31 for changeset e85ee81daec2 changeset 47e89524451d in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=47e89524451d author: katleman date: Thu Dec 26 13:05:04 2013 -0800 Added tag jdk7u51-b30 for changeset 3161567adae9 changeset 5d1c151c6931 in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=5d1c151c6931 author: asaha date: Tue Dec 31 08:58:33 2013 -0800 Merge changeset bb7779a8fc4d in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=bb7779a8fc4d author: asaha date: Mon Dec 16 12:13:09 2013 -0800 Added tag jdk7u55-b00 for changeset 807946db29f4 changeset 362a62e01eb5 in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=362a62e01eb5 author: asaha date: Mon Dec 16 14:54:05 2013 -0800 Added tag jdk7u55-b01 for changeset bb7779a8fc4d changeset cc383c0bb24c in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=cc383c0bb24c author: asaha date: Mon Dec 16 18:51:39 2013 -0800 Merge changeset 2178f4130d54 in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=2178f4130d54 author: asaha date: Fri Dec 20 11:49:36 2013 -0800 Merge changeset 9e0431568793 in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=9e0431568793 author: asaha date: Fri Dec 20 14:15:03 2013 -0800 Merge changeset 8275dc4db7f8 in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=8275dc4db7f8 author: asaha date: Fri Dec 20 21:33:49 2013 -0800 Merge changeset 2f790a3687eb in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=2f790a3687eb author: katleman date: Tue Dec 24 14:46:31 2013 -0800 Added tag jdk7u55-b02 for changeset 8275dc4db7f8 changeset 381e73f93a83 in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=381e73f93a83 author: asaha date: Thu Dec 26 15:54:47 2013 -0800 Merge changeset 7d1d9e4c655d in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=7d1d9e4c655d author: katleman date: Mon Jan 06 13:57:04 2014 -0800 Added tag jdk7u55-b03 for changeset 381e73f93a83 changeset b196086e5dba in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=b196086e5dba author: katleman date: Wed Jan 08 13:24:02 2014 -0800 Added tag jdk7u45-b35 for changeset 7fda9b300e07 changeset 1a6c3258ad21 in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=1a6c3258ad21 author: asaha date: Wed Jan 08 14:15:07 2014 -0800 Merge changeset 6fb45ae3fdfa in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=6fb45ae3fdfa author: asaha date: Thu Jan 09 07:57:21 2014 -0800 Merge changeset c72c57f71c2b in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=c72c57f71c2b author: aefimov date: Mon Jan 13 19:07:53 2014 +0400 8029282: Enhance CharInfo set up Reviewed-by: joehw changeset 269625fabc9f in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=269625fabc9f author: katleman date: Mon Jan 13 16:14:48 2014 -0800 Added tag jdk7u55-b04 for changeset c72c57f71c2b changeset 5592b0c44617 in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=5592b0c44617 author: aefimov date: Thu Jan 16 12:56:28 2014 +0400 8031330: Refactor ObjectFactory Reviewed-by: joehw changeset c59d71409008 in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=c59d71409008 author: katleman date: Wed Jan 22 10:06:51 2014 -0800 Added tag jdk7u55-b05 for changeset 5592b0c44617 changeset 125ea54089ad in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=125ea54089ad author: katleman date: Tue Jan 28 11:49:39 2014 -0800 Added tag jdk7u55-b06 for changeset c59d71409008 changeset 39337c00cb3c in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=39337c00cb3c author: katleman date: Tue Feb 04 13:12:02 2014 -0800 Added tag jdk7u55-b07 for changeset 125ea54089ad changeset 537f4f609132 in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=537f4f609132 author: katleman date: Tue Feb 11 13:11:28 2014 -0800 Added tag jdk7u55-b08 for changeset 39337c00cb3c changeset 997bdd44d5de in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=997bdd44d5de author: katleman date: Tue Feb 18 12:41:27 2014 -0800 Added tag jdk7u55-b09 for changeset 537f4f609132 changeset 606483a43e8b in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=606483a43e8b author: katleman date: Tue Feb 18 13:36:20 2014 -0800 Added tag jdk7u55-b09 for changeset 997bdd44d5de changeset f3f02e67d867 in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=f3f02e67d867 author: katleman date: Tue Feb 25 12:20:32 2014 -0800 Added tag jdk7u55-b10 for changeset 606483a43e8b changeset 708a1872f5bb in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=708a1872f5bb author: katleman date: Tue Mar 04 12:01:53 2014 -0800 Added tag jdk7u55-b11 for changeset f3f02e67d867 changeset 14719f73596f in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=14719f73596f author: katleman date: Tue Mar 11 12:59:44 2014 -0700 Added tag jdk7u55-b12 for changeset 708a1872f5bb changeset 01f26830f88c in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=01f26830f88c author: katleman date: Tue Mar 18 12:07:53 2014 -0700 Added tag jdk7u55-b13 for changeset 14719f73596f changeset 26187a65c765 in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=26187a65c765 author: katleman date: Thu Mar 27 11:23:09 2014 -0700 Added tag jdk7u55-b30 for changeset 01f26830f88c changeset 481d5d80aada in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=481d5d80aada author: andrew date: Wed Apr 16 19:41:05 2014 +0100 Merge jdk7u55-b14 diffstat: .hgtags | 36 ++ .jcheck/conf | 2 - src/com/sun/org/apache/xalan/internal/utils/ObjectFactory.java | 25 +- src/com/sun/org/apache/xalan/internal/utils/SecuritySupport.java | 2 +- src/com/sun/org/apache/xalan/internal/xsltc/runtime/BasisLibrary.java | 3 + src/com/sun/org/apache/xerces/internal/utils/ObjectFactory.java | 14 +- src/com/sun/org/apache/xml/internal/serializer/CharInfo.java | 125 ++++----- src/com/sun/org/apache/xml/internal/serializer/ToHTMLStream.java | 2 +- src/com/sun/org/apache/xml/internal/serializer/ToXMLStream.java | 2 +- 9 files changed, 116 insertions(+), 95 deletions(-) diffs (truncated from 502 to 500 lines): diff -r e85ee81daec2 -r 481d5d80aada .hgtags --- a/.hgtags Thu Dec 19 09:33:55 2013 -0800 +++ b/.hgtags Wed Apr 16 19:41:05 2014 +0100 @@ -50,6 +50,7 @@ feb05980f9f2964e6bc2b3a8532f9b3054c2289b jdk7-b73 ea7b88c676dd8b269bc858a4a17c14dc96c8aed1 jdk7-b74 555fb78ee4cebed082ca7ddabff46d2e5b4c9026 jdk7-b75 +fb68fd18eb9f9d94bd7f307097b98a5883018da8 icedtea7-1.12 233a4871d3364ec305efd4a58cfd676620a03a90 jdk7-b76 bfadab8c7b1bf806a49d3e1bc19ec919717f057a jdk7-b77 7a12d3789e1b07a560fc79568b991818d617ede2 jdk7-b78 @@ -63,6 +64,7 @@ 81c0f115bbe5d3bcf59864465b5eca5538567c79 jdk7-b86 8b493f1aa136d86de0885fcba15262c4fa2b1412 jdk7-b87 d8ebd15910034f2ba50b2f129f959f86cca01419 jdk7-b88 +826bafcb6c4abbf24887bfc5a78868e13cddd068 icedtea7-1.13 d2818fd2b036f3b3154a9a7de41afcf4ac679c1b jdk7-b89 c5d932ee326d6f7fd4634b11c7185ea82d184df2 jdk7-b90 b89b2c3044a298d542f84a2e9d957202b7d8cdb9 jdk7-b91 @@ -111,6 +113,7 @@ d56b326ae0544fc16c3e0d0285876f3c82054db2 jdk7-b134 4aa9916693dc1078580c1865e6f2584046851e5a jdk7-b135 1759daa85d33800bd578853f9531f9de73f70fc7 jdk7-b136 +1c2f25bf36b1d43920e94fb82a0afdafd29b1735 icedtea-1.14 1d87f7460cde7f8f30af668490f82b52b879bfd8 jdk7-b137 be3758943770a0a3dd4be6a1cb4063507c4d7062 jdk7-b138 28c7c0ed2444607829ba11ad827f8d52197a2830 jdk7-b139 @@ -123,6 +126,7 @@ bcd31fa1e3c6f51b4fdd427ef905188cdac57164 jdk7-b146 067fb18071e3872698f6218724958bd0cebf30a3 jdk7u1-b01 fc268cd1dd5d2e903ccd4b0275e1f9c2461ed30c jdk7-b147 +b8d01501956a0d41f5587ff1bebbfe5a9b8fea5a icedtea-2.0-branchpoint 104ca42e1e7ca66b074a4619ce6420f15d8f454d jdk7u1-b02 64e323faadf65018c1ffc8bb9c97f7b664e87347 jdk7u1-b03 2256c20e66857f80cacda14ffdbc0979c929d7f8 jdk7u1-b04 @@ -141,6 +145,7 @@ 0e61ef309edd2deb71f53f2bdaf6dcff1c80bfb8 jdk7u2-b12 d9ac427e5149d1db12c6f3e4aa4280587c06aed5 jdk7u2-b13 0efaf5c97fba2ee7864240efaa0df651a2635ae5 jdk7u2-b21 +7300d2ab9fb2068250a96ca4afc481c4beb6a42b icedtea-2.1-branchpoint 0efaf5c97fba2ee7864240efaa0df651a2635ae5 jdk7u3-b02 604dd391203960d0028fc95bc70b0ae161e09d99 jdk7u3-b03 551c076358f6691999f613db9b155c83ec9a648d jdk7u3-b04 @@ -157,6 +162,7 @@ 7a37651d304de62b18b343b3ae675ab1b08fc5fe jdk7u4-b10 3fbd87d50fbf4de3987e36ec5f3e8ce1c383ce3d jdk7u4-b11 b4e5df5b18bb75db15ed97da02e5df086d2c7930 jdk7u4-b12 +c51876b27811ba0f6ea3409ba19d357b7400908a icedtea-2.2-branchpoint 7d18bccaec3781f3d4f2d71879f91e257db2f0f7 jdk7u4-b13 82c5b3166b3194e7348b2a9d146b6760c9a77128 jdk7u4-b14 36490d49683f7be9d8fbbe1f8eefa1fe9fe550fa jdk7u5-b01 @@ -191,6 +197,7 @@ 94474d6f28284a1ef492984dd6d6f66f8787de80 jdk7u6-b15 0b329a8d325b6a58d89c6042dac62ce5852380ab jdk7u6-b16 5eb867cdd08ca299fe03b31760acd57aac2b5673 jdk7u6-b17 +445dd0b578fc2ed12c539eb6f9a71cbd40bed4f6 icedtea-2.3-branchpoint 1c4b9671de5c7ed5713f55509cb2ada38b36dffe jdk7u6-b18 3ba4c395d2cf973c8c603b2aedc846bd4ae54656 jdk7u6-b19 4f7b77cc3b252098f52a8f30a74f603783a2e0f1 jdk7u6-b20 @@ -258,6 +265,7 @@ 1b914599a6d5560e743b9fecd390924ed0bf7d15 jdk7u12-b07 427a603569db59f61721e709fcb8a73390d468ae jdk7u12-b08 366ebbf581df0134d9039b649abc315e87f23772 jdk7u12-b09 +14adb683be4ebc49ee729f0253d012795a4a2ae4 icedtea-2.4-branchpoint 23191c790e12841f81ac1cf956e7dbc0b45914ee jdk7u14-b10 825eda7553590ce19eb4fa0686c4405d97daafdb jdk7u14-b11 560e5cf5b57fc91e2bc6dd1809badd58c6eb25bd jdk7u14-b12 @@ -335,6 +343,7 @@ 331e489ecb7b19fa98c60324f7ce5d168284a8c8 jdk7u14-b19 c3c9f04cf10c2fe576b208f6a8ca3777b1d31145 jdk7u14-b19 5e1fee011646b4a3ff29b7b9cdc208e0a0577cb4 jdk7u14-b20 +7f04ed6cb0c382a16c2ffaad05c6122482e03b2e icedtea-2.4.0 d1c8bb1cbc9183fc994b5fedf26886ceda0d59f9 jdk7u14-b21 d1c6afebdfe28eb07eb2d03a6911a0f33b619165 jdk7u14-b22 0e4c549d3635122145ac88bad7b98716976ca49e jdk7u40-b23 @@ -345,6 +354,7 @@ 9186b6efd2b2eafa7fee5be1b043f59f25db12a6 jdk7u40-b28 740942c76fb668a04bf89feccf069f6958651d54 jdk7u40-b29 09b080236bc1a1a68f8b411196cbfa52475c0755 jdk7u40-b30 +5be6b670d08bb0464e0e259ef77fca6adba24b05 icedtea-2.4.1 5b31380e2e0b6f8386dcf0ca122461154f2d2704 jdk7u40-b31 75bb397c4ae26c384e1fcb75bbf4b70479f2c5f7 jdk7u40-b32 ce771024e07d2bb6521735a14ce68745a2376bd8 jdk7u40-b33 @@ -359,6 +369,7 @@ 66363323f14d85d4ab28e883a3323b9d72dea5fd jdk7u40-b42 c0bd71414ea513f54f23965936a837fca093ac91 jdk7u40-b43 91bc4534851265291bb3b16452a0968d6909979f jdk7u40-b60 +135f46e0e653be2631da1da2fd166f2d52c67aa7 icedtea-2.4.2 c500d4ec41ff2117eabfa33e640b6df2f21deb3d jdk7u40-b61 9e3f8ab9d17be6b1a4a097fcc5bc5412013d3e86 jdk7u40-b62 1a7e2024963d3a8d6cde209de0967ac43418b82a jdk7u45-b01 @@ -380,9 +391,12 @@ 2586d303503b5bb6fd39dc0ce572d6e858caf41c jdk7u45-b17 4beb90ab48f7fd46c7a9afbe66f8cccb230699ba jdk7u45-b18 a456c78a50e201a65c9f63565c8291b84a4fbd32 jdk7u45-b30 +8f220f7b51c715a204e09fa6abf326df791b1f1c icedtea-2.4.3 +44952a12fe8f55371eb317be962b4e93c13a815d icedtea-2.4.4 3c34f244296e98d8ebb94973c752f3395612391a jdk7u45-b31 056494e83d15cd1c546d32a3b35bdb6f670b3876 jdk7u45-b33 b5a83862ed2ab9cc2de3719e38c72519481a4bbb jdk7u45-b34 +7fda9b300e07738116b2b95b568229bdb4b31059 jdk7u45-b35 0a8b95184728548be4b20876e05f76e0262e4195 jdk7u51-b00 2450ace952f45202e5a3fd4f6a8356a196fe029e jdk7u51-b01 68def851cc6b17944756f1986734b323d8569571 jdk7u51-b02 @@ -397,3 +411,25 @@ 70b5691c44d2830efd4301856e6223fa43894462 jdk7u51-b11 807946db29f42477e8d8390be01c7e27280bc85c jdk7u51-b12 114654a331e2f97a048d7ed43d06d7512e20e2c1 jdk7u51-b13 +8fe156ad49e2db0e5034ffda4649e801b9c315da icedtea-2.4.5 +e0ba4b9a8b91c10bacd0b316b2e04717e0f4662a icedtea-2.4.6pre01 +e0ba4b9a8b91c10bacd0b316b2e04717e0f4662a icedtea-2.4.6 +94b7e8e0d96fee2552fe830d989897a5deabbc9a icedtea-2.4.7 +3161567adae93d12c64b79592bda3046f0c0a22d jdk7u51-b30 +e85ee81daec2ea2fa21bf804d03431b0664c6dff jdk7u51-b31 +807946db29f42477e8d8390be01c7e27280bc85c jdk7u55-b00 +bb7779a8fc4d14719e907b8890a2665476cf45ae jdk7u55-b01 +8275dc4db7f852edb331ae48d663d08b9ab2b5c7 jdk7u55-b02 +381e73f93a83e8d3bfd7dbf79f4f363a8fd6442f jdk7u55-b03 +c72c57f71c2ba6362d9ccfbf4743947b9ecefcac jdk7u55-b04 +5592b0c44617022e3c136eedfa1e98d4f254c964 jdk7u55-b05 +c59d714090080ad2e06f0ca5e8d354403059d8ce jdk7u55-b06 +125ea54089add3a16898b801a9989bf6cca05da6 jdk7u55-b07 +39337c00cb3ce29b4d67f6d247c3fa80f16cb49f jdk7u55-b08 +537f4f609132f3d6a4ce506c98f1dbd57f1320f8 jdk7u55-b09 +997bdd44d5de4aee319ff0a0d2892a912d9de6f5 jdk7u55-b09 +606483a43e8b6317d84922b9ed2b2c30d9e77419 jdk7u55-b10 +f3f02e67d867ae25cd4f3b9bc39a4fd17f593126 jdk7u55-b11 +708a1872f5bb8ba58ecc9fcbf4e12e6fa4783998 jdk7u55-b12 +14719f73596f5c90e3f46c0f4312f32e5b105edd jdk7u55-b13 +01f26830f88cf4f10897416fe1f4f372efcdecf5 jdk7u55-b30 diff -r e85ee81daec2 -r 481d5d80aada .jcheck/conf --- a/.jcheck/conf Thu Dec 19 09:33:55 2013 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -project=jdk7 -bugids=dup diff -r e85ee81daec2 -r 481d5d80aada src/com/sun/org/apache/xalan/internal/utils/ObjectFactory.java --- a/src/com/sun/org/apache/xalan/internal/utils/ObjectFactory.java Thu Dec 19 09:33:55 2013 -0800 +++ b/src/com/sun/org/apache/xalan/internal/utils/ObjectFactory.java Wed Apr 16 19:41:05 2014 +0100 @@ -54,8 +54,8 @@ // // Constants // - private static final String XALAN_INTERNAL = "com.sun.org.apache.xalan.internal"; - private static final String XERCES_INTERNAL = "com.sun.org.apache.xerces.internal"; + private static final String JAXP_INTERNAL = "com.sun.org.apache"; + private static final String STAX_INTERNAL = "com.sun.xml.internal"; // name of default properties file to look for in JDK's jre/lib directory private static final String DEFAULT_PROPERTIES_FILENAME = @@ -497,12 +497,8 @@ public static Class findProviderClass(String className, boolean doFallback) throws ClassNotFoundException, ConfigurationError { - if (System.getSecurityManager()!=null) { - return Class.forName(className); - } else { - return findProviderClass (className, + return findProviderClass (className, findClassLoader (), doFallback); - } } /** @@ -517,8 +513,8 @@ SecurityManager security = System.getSecurityManager(); try{ if (security != null){ - if (className.startsWith(XALAN_INTERNAL) || - className.startsWith(XERCES_INTERNAL)) { + if (className.startsWith(JAXP_INTERNAL) || + className.startsWith(STAX_INTERNAL)) { cl = null; } else { final int lastDot = className.lastIndexOf("."); @@ -533,16 +529,7 @@ Class providerClass; if (cl == null) { - // XXX Use the bootstrap ClassLoader. There is no way to - // load a class using the bootstrap ClassLoader that works - // in both JDK 1.1 and Java 2. However, this should still - // work b/c the following should be true: - // - // (cl == null) iff current ClassLoader == null - // - // Thus Class.forName(String) will use the current - // ClassLoader which will be the bootstrap ClassLoader. - providerClass = Class.forName(className); + providerClass = Class.forName(className, false, ObjectFactory.class.getClassLoader()); } else { try { providerClass = cl.loadClass(className); diff -r e85ee81daec2 -r 481d5d80aada src/com/sun/org/apache/xalan/internal/utils/SecuritySupport.java --- a/src/com/sun/org/apache/xalan/internal/utils/SecuritySupport.java Thu Dec 19 09:33:55 2013 -0800 +++ b/src/com/sun/org/apache/xalan/internal/utils/SecuritySupport.java Wed Apr 16 19:41:05 2014 +0100 @@ -57,7 +57,7 @@ return securitySupport; } - static ClassLoader getContextClassLoader() { + public static ClassLoader getContextClassLoader() { return (ClassLoader) AccessController.doPrivileged(new PrivilegedAction() { public Object run() { ClassLoader cl = null; diff -r e85ee81daec2 -r 481d5d80aada src/com/sun/org/apache/xalan/internal/xsltc/runtime/BasisLibrary.java --- a/src/com/sun/org/apache/xalan/internal/xsltc/runtime/BasisLibrary.java Thu Dec 19 09:33:55 2013 -0800 +++ b/src/com/sun/org/apache/xalan/internal/xsltc/runtime/BasisLibrary.java Wed Apr 16 19:41:05 2014 +0100 @@ -955,6 +955,9 @@ if (Double.isNaN(d) || Double.isInfinite(d)) return(Double.toString(d)); + //Convert -0.0 to +0.0 other values remains the same + d = d + 0.0; + // Use the XPath formatter to ignore locales StringBuffer result = threadLocalStringBuffer.get(); result.setLength(0); diff -r e85ee81daec2 -r 481d5d80aada src/com/sun/org/apache/xerces/internal/utils/ObjectFactory.java --- a/src/com/sun/org/apache/xerces/internal/utils/ObjectFactory.java Thu Dec 19 09:33:55 2013 -0800 +++ b/src/com/sun/org/apache/xerces/internal/utils/ObjectFactory.java Wed Apr 16 19:41:05 2014 +0100 @@ -48,7 +48,8 @@ // // Constants // - private static final String DEFAULT_INTERNAL_CLASSES = "com.sun.org.apache."; + private static final String JAXP_INTERNAL = "com.sun.org.apache"; + private static final String STAX_INTERNAL = "com.sun.xml.internal"; // name of default properties file to look for in JDK's jre/lib directory private static final String DEFAULT_PROPERTIES_FILENAME = "xerces.properties"; @@ -288,12 +289,8 @@ public static Class findProviderClass(String className, boolean doFallback) throws ClassNotFoundException, ConfigurationError { - if (System.getSecurityManager()!=null) { - return Class.forName(className); - } else { - return findProviderClass (className, + return findProviderClass (className, findClassLoader (), doFallback); - } } /** * Find a Class using the specified ClassLoader @@ -306,7 +303,8 @@ //restrict the access to package as speicified in java.security policy SecurityManager security = System.getSecurityManager(); if (security != null) { - if (className.startsWith(DEFAULT_INTERNAL_CLASSES)) { + if (className.startsWith(JAXP_INTERNAL) || + className.startsWith(STAX_INTERNAL)) { cl = null; } else { final int lastDot = className.lastIndexOf("."); @@ -318,7 +316,7 @@ Class providerClass; if (cl == null) { //use the bootstrap ClassLoader. - providerClass = Class.forName(className); + providerClass = Class.forName(className, false, ObjectFactory.class.getClassLoader()); } else { try { providerClass = cl.loadClass(className); diff -r e85ee81daec2 -r 481d5d80aada src/com/sun/org/apache/xml/internal/serializer/CharInfo.java --- a/src/com/sun/org/apache/xml/internal/serializer/CharInfo.java Thu Dec 19 09:33:55 2013 -0800 +++ b/src/com/sun/org/apache/xml/internal/serializer/CharInfo.java Wed Apr 16 19:41:05 2014 +0100 @@ -22,6 +22,11 @@ */ package com.sun.org.apache.xml.internal.serializer; +import com.sun.org.apache.xalan.internal.utils.SecuritySupport; +import com.sun.org.apache.xml.internal.serializer.utils.MsgKey; +import com.sun.org.apache.xml.internal.serializer.utils.SystemIDResolver; +import com.sun.org.apache.xml.internal.serializer.utils.Utils; +import com.sun.org.apache.xml.internal.serializer.utils.WrappedRuntimeException; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; @@ -29,19 +34,11 @@ import java.net.URL; import java.util.Enumeration; import java.util.HashMap; +import java.util.Locale; import java.util.PropertyResourceBundle; import java.util.ResourceBundle; -import java.security.AccessController; -import java.security.PrivilegedAction; - import javax.xml.transform.TransformerException; -import com.sun.org.apache.xml.internal.serializer.utils.MsgKey; -import com.sun.org.apache.xml.internal.serializer.utils.SystemIDResolver; -import com.sun.org.apache.xml.internal.serializer.utils.Utils; -import com.sun.org.apache.xml.internal.serializer.utils.WrappedRuntimeException; -import com.sun.org.apache.xalan.internal.utils.ObjectFactory; - /** * This class provides services that tell if a character should have * special treatement, such as entity reference substitution or normalization @@ -176,13 +173,19 @@ // file // 3) try treating the resource a URI - if (internal) { - try { + try { + if (internal) { // Load entity property files by using PropertyResourceBundle, // cause of security issure for applets entities = PropertyResourceBundle.getBundle(entitiesResource); - } catch (Exception e) {} - } + } else { + ClassLoader cl = SecuritySupport.getContextClassLoader(); + if (cl != null) { + entities = PropertyResourceBundle.getBundle(entitiesResource, + Locale.getDefault(), cl); + } + } + } catch (Exception e) {} if (entities != null) { Enumeration keys = entities.getKeys(); @@ -198,6 +201,7 @@ set(S_CARRIAGERETURN); } else { InputStream is = null; + String err = null; // Load user specified resource file by using URL loading, it // requires a valid URI as parameter @@ -205,18 +209,22 @@ if (internal) { is = CharInfo.class.getResourceAsStream(entitiesResource); } else { - ClassLoader cl = ObjectFactory.findClassLoader(); - if (cl == null) { - is = ClassLoader.getSystemResourceAsStream(entitiesResource); - } else { - is = cl.getResourceAsStream(entitiesResource); + ClassLoader cl = SecuritySupport.getContextClassLoader(); + if (cl != null) { + try { + is = cl.getResourceAsStream(entitiesResource); + } catch (Exception e) { + err = e.getMessage(); + } } if (is == null) { try { URL url = new URL(entitiesResource); is = url.openStream(); - } catch (Exception e) {} + } catch (Exception e) { + err = e.getMessage(); + } } } @@ -224,7 +232,7 @@ throw new RuntimeException( Utils.messages.createMessage( MsgKey.ER_RESOURCE_COULD_NOT_FIND, - new Object[] {entitiesResource, entitiesResource})); + new Object[] {entitiesResource, err})); } // Fix Bugzilla#4000: force reading in UTF-8 @@ -456,64 +464,56 @@ return isCleanTextASCII[value]; } -// In the future one might want to use the array directly and avoid -// the method call, but I think the JIT alreay inlines this well enough -// so don't do it (for now) - bjm -// public final boolean[] getASCIIClean() -// { -// return isCleanTextASCII; -// } + /** + * Read an internal resource file that describes the mapping of + * characters to entity references; Construct a CharInfo object. + * + * @param entitiesFileName Name of entities resource file that should + * be loaded, which describes the mapping of characters to entity references. + * @param method the output method type, which should be one of "xml", "html", and "text". + * @return an instance of CharInfo + * + * @xsl.usage internal + */ + static CharInfo getCharInfoInternal(String entitiesFileName, String method) + { + CharInfo charInfo = (CharInfo) m_getCharInfoCache.get(entitiesFileName); + if (charInfo != null) { + return charInfo; + } - private static CharInfo getCharInfoBasedOnPrivilege( - final String entitiesFileName, final String method, - final boolean internal){ - return (CharInfo) AccessController.doPrivileged( - new PrivilegedAction() { - public Object run() { - return new CharInfo(entitiesFileName, - method, internal);} - }); + charInfo = new CharInfo(entitiesFileName, method, true); + m_getCharInfoCache.put(entitiesFileName, charInfo); + return charInfo; } /** - * Factory that reads in a resource file that describes the mapping of - * characters to entity references. + * Constructs a CharInfo object using the following process to try reading + * the entitiesFileName parameter: * - * Resource files must be encoded in UTF-8 and have a format like: + * 1) attempt to load it as a ResourceBundle + * 2) try using the class loader to find the specified file + * 3) try opening it as an URI + * + * In case of 2 and 3, the resource file must be encoded in UTF-8 and have the + * following format: *
      * # First char # is a comment
      * Entity numericValue
      * quot 34
      * amp 38
      * 
- * (Note: Why don't we just switch to .properties files? Oct-01 -sc) * - * @param entitiesResource Name of entities resource file that should - * be loaded, which describes that mapping of characters to entity references. - * @param method the output method type, which should be one of "xml", "html", "text"... - * - * @xsl.usage internal + * @param entitiesFileName Name of entities resource file that should + * be loaded, which describes the mapping of characters to entity references. + * @param method the output method type, which should be one of "xml", "html", and "text". + * @return an instance of CharInfo */ static CharInfo getCharInfo(String entitiesFileName, String method) { - CharInfo charInfo = (CharInfo) m_getCharInfoCache.get(entitiesFileName); - if (charInfo != null) { - return charInfo; - } - - // try to load it internally - cache try { - charInfo = getCharInfoBasedOnPrivilege(entitiesFileName, - method, true); - m_getCharInfoCache.put(entitiesFileName, charInfo); - return charInfo; - } catch (Exception e) {} - - // try to load it externally - do not cache - try { - return getCharInfoBasedOnPrivilege(entitiesFileName, - method, false); + return new CharInfo(entitiesFileName, method, false); } catch (Exception e) {} String absoluteEntitiesFileName; @@ -530,8 +530,7 @@ } } - return getCharInfoBasedOnPrivilege(entitiesFileName, - method, false); + return new CharInfo(absoluteEntitiesFileName, method, false); } /** Table of user-specified char infos. */ diff -r e85ee81daec2 -r 481d5d80aada src/com/sun/org/apache/xml/internal/serializer/ToHTMLStream.java --- a/src/com/sun/org/apache/xml/internal/serializer/ToHTMLStream.java Thu Dec 19 09:33:55 2013 -0800 +++ b/src/com/sun/org/apache/xml/internal/serializer/ToHTMLStream.java Wed Apr 16 19:41:05 2014 +0100 @@ -60,7 +60,7 @@ */ private static final CharInfo m_htmlcharInfo = // new CharInfo(CharInfo.HTML_ENTITIES_RESOURCE); - CharInfo.getCharInfo(CharInfo.HTML_ENTITIES_RESOURCE, Method.HTML); + CharInfo.getCharInfoInternal(CharInfo.HTML_ENTITIES_RESOURCE, Method.HTML); /** A digital search trie for fast, case insensitive lookup of ElemDesc objects. */ static final Trie m_elementFlags = new Trie(); diff -r e85ee81daec2 -r 481d5d80aada src/com/sun/org/apache/xml/internal/serializer/ToXMLStream.java --- a/src/com/sun/org/apache/xml/internal/serializer/ToXMLStream.java Thu Dec 19 09:33:55 2013 -0800 +++ b/src/com/sun/org/apache/xml/internal/serializer/ToXMLStream.java Wed Apr 16 19:41:05 2014 +0100 @@ -58,7 +58,7 @@ */ private static CharInfo m_xmlcharInfo = // new CharInfo(CharInfo.XML_ENTITIES_RESOURCE); - CharInfo.getCharInfo(CharInfo.XML_ENTITIES_RESOURCE, Method.XML); + CharInfo.getCharInfoInternal(CharInfo.XML_ENTITIES_RESOURCE, Method.XML); From andrew at icedtea.classpath.org Wed Apr 16 18:42:14 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 16 Apr 2014 18:42:14 +0000 Subject: /hg/release/icedtea7-forest-2.4/jaxws: 41 new changesets Message-ID: changeset d7a922b0feda in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=d7a922b0feda author: katleman date: Fri Dec 20 18:53:09 2013 -0800 Added tag jdk7u51-b31 for changeset eb79f394916e changeset 914783f40149 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=914783f40149 author: katleman date: Thu Dec 26 13:05:05 2013 -0800 Added tag jdk7u51-b30 for changeset 5dbeb9983f10 changeset f660bfe052d9 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=f660bfe052d9 author: asaha date: Tue Dec 31 08:59:01 2013 -0800 Merge changeset a41e0d5e8068 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=a41e0d5e8068 author: mkos date: Tue Nov 12 11:22:53 2013 +0100 8025152: Enhance activation set up Summary: fix also reviewed by Alexander Fomin Reviewed-by: dfuchs, hawtin Contributed-by: bill.shannon at oracle.com changeset 056a132d0223 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=056a132d0223 author: asaha date: Tue Nov 12 09:11:48 2013 -0800 Merge changeset 5b8c5c7e7d37 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=5b8c5c7e7d37 author: asaha date: Tue Nov 19 09:33:16 2013 -0800 Merge changeset 19649e196e49 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=19649e196e49 author: mkos date: Thu Nov 21 11:15:32 2013 +0100 8028382: Two javax/xml/8005433 tests still fail after the fix JDK-8028147 Summary: test regression; fix also reviewed by Iaroslav Savytskyi, Alexander Fomin Reviewed-by: mchung changeset 6c2cad0f4118 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=6c2cad0f4118 author: asaha date: Wed Nov 27 11:19:47 2013 -0800 Merge changeset b50502c930cb in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=b50502c930cb author: asaha date: Wed Dec 04 12:38:06 2013 -0800 Merge changeset 6b7d0933da9c in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=6b7d0933da9c author: mkos date: Fri Dec 13 16:37:37 2013 +0100 8028388: 9 jaxws tests failed in nightly build with java.lang.ClassCastException Summary: test regression; fix also reviewed by Bill Shannon, Alexander Fomin Reviewed-by: mgrebac changeset 0860f1035671 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=0860f1035671 author: asaha date: Tue Dec 10 17:15:48 2013 -0800 Merge changeset 1d158ec07962 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=1d158ec07962 author: asaha date: Fri Dec 13 12:21:51 2013 -0800 Merge changeset 96dd734df51a in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=96dd734df51a author: asaha date: Mon Dec 16 12:13:15 2013 -0800 Added tag jdk7u55-b00 for changeset 7c7c2ea4b680 changeset c5eb0c2a0f97 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=c5eb0c2a0f97 author: asaha date: Mon Dec 16 13:05:19 2013 -0800 Merge changeset 8294e9363fa1 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=8294e9363fa1 author: asaha date: Mon Dec 16 14:54:11 2013 -0800 Added tag jdk7u55-b01 for changeset c5eb0c2a0f97 changeset 42e28ea95ed8 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=42e28ea95ed8 author: asaha date: Mon Dec 16 18:52:05 2013 -0800 Merge changeset 7288467e7b25 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=7288467e7b25 author: asaha date: Fri Dec 20 11:50:01 2013 -0800 Merge changeset 8deb28a9bed6 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=8deb28a9bed6 author: asaha date: Fri Dec 20 14:15:22 2013 -0800 Merge changeset a257072fc2aa in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=a257072fc2aa author: asaha date: Fri Dec 20 21:34:30 2013 -0800 Merge changeset 2a2ccf1cf0dd in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=2a2ccf1cf0dd author: katleman date: Tue Dec 24 14:46:37 2013 -0800 Added tag jdk7u55-b02 for changeset a257072fc2aa changeset 2916fdfc475b in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=2916fdfc475b author: asaha date: Thu Dec 26 15:55:14 2013 -0800 Merge changeset 2a830f473b8a in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=2a830f473b8a author: katleman date: Mon Jan 06 13:57:07 2014 -0800 Added tag jdk7u55-b03 for changeset 2916fdfc475b changeset 1d351a6ccb25 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=1d351a6ccb25 author: katleman date: Wed Jan 08 13:24:04 2014 -0800 Added tag jdk7u45-b35 for changeset c654ba4b2392 changeset b2e40219fdcb in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=b2e40219fdcb author: asaha date: Wed Jan 08 14:15:36 2014 -0800 Merge changeset f4759b454760 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=f4759b454760 author: asaha date: Thu Jan 09 07:57:38 2014 -0800 Merge changeset 8a8dfdbc6614 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=8a8dfdbc6614 author: katleman date: Mon Jan 13 16:14:50 2014 -0800 Added tag jdk7u55-b04 for changeset f4759b454760 changeset 2696d6747826 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=2696d6747826 author: katleman date: Wed Jan 22 10:06:54 2014 -0800 Added tag jdk7u55-b05 for changeset 8a8dfdbc6614 changeset 1ad971afe2b5 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=1ad971afe2b5 author: katleman date: Tue Jan 28 11:49:41 2014 -0800 Added tag jdk7u55-b06 for changeset 2696d6747826 changeset bef42537f2d0 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=bef42537f2d0 author: katleman date: Tue Feb 04 13:12:05 2014 -0800 Added tag jdk7u55-b07 for changeset 1ad971afe2b5 changeset 57ba92e96b7f in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=57ba92e96b7f author: mkos date: Thu Feb 06 11:06:01 2014 +0100 8026801: Enhance endpoint addressing Summary: Caching data initialized via TCCL in static context; fix also reviewed by Iaroslav Savytskyi, Alexander Fomin Reviewed-by: ahgross, mgrebac, skoivu changeset cc0582e79419 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=cc0582e79419 author: katleman date: Tue Feb 11 13:11:31 2014 -0800 Added tag jdk7u55-b08 for changeset 57ba92e96b7f changeset cfc3c8286c3b in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=cfc3c8286c3b author: mkos date: Thu Feb 13 18:20:10 2014 +0100 8025030: Enhance stream handling Summary: Avoiding caching data initialized via TCCL in static context; fix also reviewed by Iaroslav Savytskyi, Alexander Fomin Reviewed-by: ahgross, mgrebac, skoivu changeset c9d8555964a5 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=c9d8555964a5 author: mkos date: Mon Feb 17 13:32:02 2014 -0800 8026188: Enhance envelope factory Summary: Avoiding caching data initialized via TCCL in static context; fix also reviewed by Alexander Fomin Reviewed-by: ahgross, mgrebac, skoivu changeset 0f469a7307b9 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=0f469a7307b9 author: katleman date: Tue Feb 18 12:41:30 2014 -0800 Added tag jdk7u55-b09 for changeset c9d8555964a5 changeset 1080e907d64a in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=1080e907d64a author: katleman date: Tue Feb 18 13:36:23 2014 -0800 Added tag jdk7u55-b09 for changeset 0f469a7307b9 changeset 0db5b891d1ba in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=0db5b891d1ba author: katleman date: Tue Feb 25 12:20:36 2014 -0800 Added tag jdk7u55-b10 for changeset 1080e907d64a changeset 3834eb921dfd in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=3834eb921dfd author: katleman date: Tue Mar 04 12:01:56 2014 -0800 Added tag jdk7u55-b11 for changeset 0db5b891d1ba changeset 3b0da73591b1 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=3b0da73591b1 author: katleman date: Tue Mar 11 12:59:53 2014 -0700 Added tag jdk7u55-b12 for changeset 3834eb921dfd changeset 5d726bf8fedc in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=5d726bf8fedc author: katleman date: Tue Mar 18 12:07:56 2014 -0700 Added tag jdk7u55-b13 for changeset 3b0da73591b1 changeset 81d0f297557c in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=81d0f297557c author: katleman date: Thu Mar 27 11:23:10 2014 -0700 Added tag jdk7u55-b30 for changeset 5d726bf8fedc changeset 2cc5b85692ba in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=2cc5b85692ba author: andrew date: Wed Apr 16 19:41:06 2014 +0100 Merge jdk7u55-b14 diffstat: .hgtags | 36 +++ .jcheck/conf | 2 - src/share/jaf_classes/javax/activation/CommandMap.java | 31 ++- src/share/jaf_classes/javax/activation/DataHandler.java | 9 +- src/share/jaf_classes/javax/activation/FileTypeMap.java | 38 ++- src/share/jaf_classes/javax/activation/MailcapCommandMap.java | 16 +- src/share/jaf_classes/javax/activation/MimetypesFileTypeMap.java | 16 +- src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/Internalizer.java | 13 +- src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/JAXWSBindingExtensionHandler.java | 12 +- src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/internalizer/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/internalizer/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/internalizer/Internalizer.java | 11 +- src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/parser/SchemaConstraintChecker.java | 8 + src/share/jaxws_classes/com/sun/xml/internal/bind/DatatypeConverterImpl.java | 37 ++- src/share/jaxws_classes/com/sun/xml/internal/bind/Messages.java | 48 ++++ src/share/jaxws_classes/com/sun/xml/internal/bind/Messages.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/Messages.java | 3 +- src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/Messages.properties | 5 +- src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeBuiltinLeafInfoImpl.java | 24 +- src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/output/XMLStreamWriterOutput.java | 18 +- src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/unmarshaller/StAXStreamConnector.java | 19 +- src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl.java | 108 ++++----- src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/EnvelopeFactory.java | 55 ++-- src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/XMLStreamBuffer.java | 11 +- src/share/jaxws_classes/com/sun/xml/internal/ws/api/streaming/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/ws/api/streaming/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/ws/api/streaming/XMLStreamReaderFactory.java | 47 ++-- src/share/jaxws_classes/com/sun/xml/internal/ws/api/streaming/XMLStreamWriterFactory.java | 66 +++-- src/share/jaxws_classes/com/sun/xml/internal/ws/binding/BindingImpl.java | 59 +++++- src/share/jaxws_classes/com/sun/xml/internal/ws/developer/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/ws/developer/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/ws/developer/MemberSubmissionEndpointReference.java | 13 +- src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/MimeCodec.java | 32 +-- src/share/jaxws_classes/com/sun/xml/internal/ws/policy/sourcemodel/attach/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/ws/policy/sourcemodel/attach/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/ws/policy/sourcemodel/attach/ExternalAttachmentsUnmarshaller.java | 12 +- src/share/jaxws_classes/com/sun/xml/internal/ws/spi/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/ws/spi/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/ws/spi/ProviderImpl.java | 11 +- src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/XmlUtil.java | 28 +- src/share/jaxws_classes/com/sun/xml/internal/xsom/util/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/xsom/util/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/xsom/util/DomAnnotationParserFactory.java | 11 +- src/share/jaxws_classes/javax/xml/bind/DatatypeConverterImpl.java | 41 ++- src/share/jaxws_classes/javax/xml/bind/Messages.java | 4 +- src/share/jaxws_classes/javax/xml/bind/Messages.properties | 5 +- src/share/jaxws_classes/javax/xml/ws/wsaddressing/W3CEndpointReference.java | 4 +- 55 files changed, 1682 insertions(+), 328 deletions(-) diffs (truncated from 3064 to 500 lines): diff -r eb79f394916e -r 2cc5b85692ba .hgtags --- a/.hgtags Thu Dec 19 09:34:14 2013 -0800 +++ b/.hgtags Wed Apr 16 19:41:06 2014 +0100 @@ -50,6 +50,7 @@ 558985e26fe16f5a6ebb2edb9180a42e1c8e8202 jdk7-b73 f4466e1b608088c90e11beaa4b600f102608c6a1 jdk7-b74 fcf2b8b5d606641659419f247fcee4b284c45e6e jdk7-b75 +0dc08d528c998ca993e759b311e7b54c98e0ef28 icedtea7-1.12 765d2077d1e652e234d27fe85ba58a986b488503 jdk7-b76 5b4968c110476085225d3a71c4210fad2c1116c1 jdk7-b77 fc1c72d1dfbb17db7d46bba8db9afc39cbbb9299 jdk7-b78 @@ -63,6 +64,7 @@ 512b0e924a5ae0c0b7ad326182cae0dc0e4d1aa8 jdk7-b86 3febd6fab2ac8ffddbaf7bed00d11290262af153 jdk7-b87 8c666f8f3565974e301ccb58b7538912551a6e26 jdk7-b88 +1661166c82dc2102f3f0364e28d1e4211f25a4cf icedtea7-1.13 bf3675aa7f20fc6f241ce95760005aef2a30ff41 jdk7-b89 ead7c4566a0017bcb44b468b3ac03b60dc5333ce jdk7-b90 cf4686bf35abd1e573f09fa43cbec66403160ae9 jdk7-b91 @@ -111,6 +113,7 @@ 545de8303fec939db3892f7c324dd7df197e8f09 jdk7-b134 d5fc61f18043765705ef22b57a68c924ab2f1a5b jdk7-b135 c81d289c9a532d6e94af3c09d856a2a20529040f jdk7-b136 +339c2d381d80dbf9b74604e6ba43ead276b8024e icedtea-1.14 ccea3282991ce8b678e188cf32a8239f76ff3bfa jdk7-b137 cc956c8a8255583535597e9a63db23c510e9a063 jdk7-b138 c025078c8362076503bb83b8e4da14ba7b347940 jdk7-b139 @@ -123,6 +126,7 @@ 05469dd4c3662c454f8a019e492543add60795cc jdk7-b146 c01bfd68d0528bc88348813c4d75d7f5c62bc4e2 jdk7u1-b01 d13b1f877bb5ed8dceb2f7ec10365d1db5f70b2d jdk7-b147 +e6cd09c7ef22bbabe31c9f2a32c7e13cfa713fd3 icedtea-2.0-branchpoint 4c24f7019ce939a452154a83151294ad7da66a9d jdk7u1-b02 272778f529d11081f548f37fcd6a7aec0b11a8dd jdk7u1-b03 48b06a6e6f46e5bcd610f4bed57cd5067cf31f8c jdk7u1-b04 @@ -141,6 +145,7 @@ 21131044a61353ac20e360bce52d8f480e08d7a2 jdk7u2-b12 9728fd833e01faa5e51484aeaf3c51d32d1175fb jdk7u2-b13 d6db86a7ca32e6d97844f633badc0d516e55694f jdk7u2-b21 +d26ff33070cb75a0a7349d965ec4f0930ded418d icedtea-2.1-branchpoint d6db86a7ca32e6d97844f633badc0d516e55694f jdk7u3-b02 44e824502fa24440f907205ccdc3959d01bd8109 jdk7u3-b03 6e1cc321aacea944691aa06558f2bbad89baf5b3 jdk7u3-b04 @@ -157,6 +162,7 @@ 3891fe529057431278394c6341cfabaacd5061f5 jdk7u4-b10 2df5cd83fab91f050c4bac54aa06e174ecee38f4 jdk7u4-b11 4d3a9fe44f7531642bc739ec3c8efb2e6d9e08c7 jdk7u4-b12 +1854d8e2547cb18ebcf84db13c22d0987c49c274 icedtea-2.2-branchpoint c3b6659aa169b3f249246497a8d5a87baa1e798a jdk7u4-b13 0f8963feaefda21e72f84b8ea49834a289d537f3 jdk7u4-b14 61516652b59ec411678b38a232a84413652a4172 jdk7u5-b01 @@ -191,6 +197,7 @@ f1dba7ebe6a50c22ffcaf85b14b31462ce008556 jdk7u6-b15 e1d2afbb63d27600dd8c8a021eadff84a901a73c jdk7u6-b16 401bdbbf89c9187b51dc8906c0e2700ef0ffc8a3 jdk7u6-b17 +8888d2790217c31edbf13ea81d9ac06210092ad2 icedtea-2.3-branchpoint a1daf7097c61181216233e4850ef6ec56b0fe6b6 jdk7u6-b18 58c1c6ecf8f1e59db9b575ae57b2894d0152d319 jdk7u6-b19 6d17242f12edc643ecab4263e656003a1ca44c03 jdk7u6-b20 @@ -258,6 +265,7 @@ 42ba62cdc1f3c357b6d192612dd1c4b209df2662 jdk7u12-b07 66f36438f54812e44327d38129d9488e5ea59e73 jdk7u12-b08 c130f21b16a2b2e2b961362bc4baf40fde2be458 jdk7u12-b09 +a653d06d5b50cacf58aebbab8b55e7e00587cd4c icedtea-2.4-branchpoint 9207c72345c9e82d4445764df57706f7b33a7981 jdk7u14-b10 444aa84f38df2607140e9ce35a21fef0965d27a6 jdk7u14-b11 40afea757379cfaaadca13eeb7dcbc0fe195f73d jdk7u14-b12 @@ -335,6 +343,7 @@ 82be38857de3b2f6d8def98034f3e7b0827fd9f0 jdk7u14-b19 d63b21e6c3d29305400dbfc1500090cab89f25d1 jdk7u14-b19 dd695ad6c5ec797fe61db31600a3fd2dbc62247b jdk7u14-b20 +426b7a73ab43aca754c19dc21497ae90c147f91a icedtea-2.4.0 97bbac299eb801709a924fe777b3ee9c96829d8b jdk7u14-b21 6e74b3e1773cfbac99998431a5a54c70baaf1dc5 jdk7u14-b22 e9bbdf789d2b512550e0ca80629980e96f02146d jdk7u40-b23 @@ -345,6 +354,7 @@ 016957700ac905ebf3432ae8ba17d3576a51e585 jdk7u40-b28 15a82c84d9f7f6c99310380d4766fc68a3882671 jdk7u40-b29 2f8f617ecc4f0772b090a3be742780d8375c68f6 jdk7u40-b30 +c0e48fdfb6959d4024f49e99321d368810d2d7ef icedtea-2.4.1 f500fd46c18b783f7b4ab22314f64f131f50c5d5 jdk7u40-b31 83a688927f16b69690f707a6b579edbe55b01e25 jdk7u40-b32 3ceef25a8cdd9a27a7a2dea0efd8721100cfa30f jdk7u40-b33 @@ -359,6 +369,7 @@ 89f6c9663d75d9e4b672aed16f885b84232e9c93 jdk7u40-b42 3ee85b3793de16855e20272336a3565af8477b6b jdk7u40-b43 cbeef786ce489096c39ec5effee4f8f9e770b4af jdk7u40-b60 +a2ff16e5361fdfbc82764eda29a8d6c24bbd1c8e icedtea-2.4.2 4ee34d2cf2d84d0e1f5f20381ade525665ae424c jdk7u40-b61 b42a4cb742cf76f6c02d105349a7e8111ab8d68b jdk7u40-b62 000becfcb945d8592cfdef6ef1704b532af56762 jdk7u45-b01 @@ -380,9 +391,12 @@ a8baf22b5972e269a97f7b3b7eec2ad63a8c5aed jdk7u45-b17 65b0f3ccdc8bcff0d79e1b543a8cefb817529b3f jdk7u45-b18 c32c6a662d18d7195fc02125178c7543ce09bb00 jdk7u45-b30 +652eb396f959d66025120ffb1e778b606bfa68b3 icedtea-2.4.3 +942dddc2d84e28a0f79715693238a4e57016ca82 icedtea-2.4.4 6802a1c098c48b2c8336e06f1565254759025bab jdk7u45-b31 e040abab3625fbced33b30cba7c0307236268211 jdk7u45-b33 e7df5d6b23c64509672d262187f51cde14db4e66 jdk7u45-b34 +c654ba4b2392c2913f45b495a2ea0c53cc348d98 jdk7u45-b35 5524cced32d3959d95ed414add230273bc10c38d jdk7u51-b00 db9e3328f393313e52cbf3fee5236aa2429028d0 jdk7u51-b01 92a4787cb3617005a329fb49247c550e8d7eb47a jdk7u51-b02 @@ -397,3 +411,25 @@ 708507f4795cad1f0cf7e19ff2dc16fe9d441754 jdk7u51-b11 7c7c2ea4b6808d0abf7fd48d11440d75b0c08d3a jdk7u51-b12 81a1b110f70c37d2c2f0de7c0ef3bd2d04aba475 jdk7u51-b13 +32ea8b1ed91a12ac4633d596f0713c2c67930874 icedtea-2.4.5 +4bd947cd146bba78ac7ef45e3d28369c3faa8461 icedtea-2.4.6pre01 +4bd947cd146bba78ac7ef45e3d28369c3faa8461 icedtea-2.4.6 +bd9a50a78d04745aafd4286a20d2b92127ac0fc7 icedtea-2.4.7 +5dbeb9983f104be717da35c9b14923d71dd248d7 jdk7u51-b30 +eb79f394916efba85f4f6c7ef562966699f2c1e8 jdk7u51-b31 +7c7c2ea4b6808d0abf7fd48d11440d75b0c08d3a jdk7u55-b00 +c5eb0c2a0f9715b510bc641506fb90df9bf05ab0 jdk7u55-b01 +a257072fc2aa482abd6ffa28e235dbe532af6d00 jdk7u55-b02 +2916fdfc475bf29bc702887bf5ba02df67c98916 jdk7u55-b03 +f4759b4547602b3bc865db8c5f356f46979c6389 jdk7u55-b04 +8a8dfdbc66149b89f804c5a50e4692c2520569ae jdk7u55-b05 +2696d6747826cea92a97b2d80be4a59ff99462bd jdk7u55-b06 +1ad971afe2b5db93420654fa65b23f827760fed7 jdk7u55-b07 +57ba92e96b7fb6f4543038c1daa390c45d8a9d84 jdk7u55-b08 +c9d8555964a581486f4c8e1bf5f5db678eb3b9f2 jdk7u55-b09 +0f469a7307b98e911aaaab8cad781eab3bd94ad6 jdk7u55-b09 +1080e907d64ab63c6138b1a61d9e5b826e83634a jdk7u55-b10 +0db5b891d1ba10211da0a8158551b35f00da7684 jdk7u55-b11 +3834eb921dfd8d29d917a0c57bb9fdd9aa58c209 jdk7u55-b12 +3b0da73591b1ea23c48aa7babc34ed776fc183f0 jdk7u55-b13 +5d726bf8fedc1f10d250e980653315919b7602f2 jdk7u55-b30 diff -r eb79f394916e -r 2cc5b85692ba .jcheck/conf --- a/.jcheck/conf Thu Dec 19 09:34:14 2013 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -project=jdk7 -bugids=dup diff -r eb79f394916e -r 2cc5b85692ba src/share/jaf_classes/javax/activation/CommandMap.java --- a/src/share/jaf_classes/javax/activation/CommandMap.java Thu Dec 19 09:34:14 2013 -0800 +++ b/src/share/jaf_classes/javax/activation/CommandMap.java Wed Apr 16 19:41:06 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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,6 +25,9 @@ package javax.activation; +import java.util.Map; +import java.util.WeakHashMap; + /** * The CommandMap class provides an interface to a registry of @@ -38,6 +41,8 @@ */ public abstract class CommandMap { private static CommandMap defaultCommandMap = null; + private static Map map = + new WeakHashMap(); /** * Get the default CommandMap. @@ -56,11 +61,18 @@ * * @return the CommandMap */ - public static CommandMap getDefaultCommandMap() { - if (defaultCommandMap == null) - defaultCommandMap = new MailcapCommandMap(); + public static synchronized CommandMap getDefaultCommandMap() { + if (defaultCommandMap != null) + return defaultCommandMap; - return defaultCommandMap; + // fetch per-thread-context-class-loader default + ClassLoader tccl = SecuritySupport.getContextClassLoader(); + CommandMap def = map.get(tccl); + if (def == null) { + def = new MailcapCommandMap(); + map.put(tccl, def); + } + return def; } /** @@ -71,7 +83,7 @@ * @exception SecurityException if the caller doesn't have permission * to change the default */ - public static void setDefaultCommandMap(CommandMap commandMap) { + public static synchronized void setDefaultCommandMap(CommandMap commandMap) { SecurityManager security = System.getSecurityManager(); if (security != null) { try { @@ -79,13 +91,16 @@ security.checkSetFactory(); } catch (SecurityException ex) { // otherwise, we also allow it if this code and the - // factory come from the same class loader (e.g., + // factory come from the same (non-system) class loader (e.g., // the JAF classes were loaded with the applet classes). - if (CommandMap.class.getClassLoader() != + if (CommandMap.class.getClassLoader() == null || + CommandMap.class.getClassLoader() != commandMap.getClass().getClassLoader()) throw ex; } } + // remove any per-thread-context-class-loader CommandMap + map.remove(SecuritySupport.getContextClassLoader()); defaultCommandMap = commandMap; } diff -r eb79f394916e -r 2cc5b85692ba src/share/jaf_classes/javax/activation/DataHandler.java --- a/src/share/jaf_classes/javax/activation/DataHandler.java Thu Dec 19 09:34:14 2013 -0800 +++ b/src/share/jaf_classes/javax/activation/DataHandler.java Wed Apr 16 19:41:06 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -368,7 +368,12 @@ // if it's not set, set it... if (transferFlavors == emptyFlavors) transferFlavors = getDataContentHandler().getTransferDataFlavors(); - return transferFlavors; + + if (transferFlavors == emptyFlavors) + return transferFlavors; + else + return transferFlavors.clone(); + } /** diff -r eb79f394916e -r 2cc5b85692ba src/share/jaf_classes/javax/activation/FileTypeMap.java --- a/src/share/jaf_classes/javax/activation/FileTypeMap.java Thu Dec 19 09:34:14 2013 -0800 +++ b/src/share/jaf_classes/javax/activation/FileTypeMap.java Wed Apr 16 19:41:06 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -26,6 +26,8 @@ package javax.activation; import java.io.File; +import java.util.Map; +import java.util.WeakHashMap; /** * The FileTypeMap is an abstract class that provides a data typing @@ -48,6 +50,8 @@ public abstract class FileTypeMap { private static FileTypeMap defaultMap = null; + private static Map map = + new WeakHashMap(); /** * The default constructor. @@ -78,11 +82,11 @@ * Sets the default FileTypeMap for the system. This instance * will be returned to callers of getDefaultFileTypeMap. * - * @param map The FileTypeMap. + * @param fileTypeMap The FileTypeMap. * @exception SecurityException if the caller doesn't have permission * to change the default */ - public static void setDefaultFileTypeMap(FileTypeMap map) { + public static synchronized void setDefaultFileTypeMap(FileTypeMap fileTypeMap) { SecurityManager security = System.getSecurityManager(); if (security != null) { try { @@ -90,14 +94,17 @@ security.checkSetFactory(); } catch (SecurityException ex) { // otherwise, we also allow it if this code and the - // factory come from the same class loader (e.g., + // factory come from the same (non-system) class loader (e.g., // the JAF classes were loaded with the applet classes). - if (FileTypeMap.class.getClassLoader() != - map.getClass().getClassLoader()) + if (FileTypeMap.class.getClassLoader() == null || + FileTypeMap.class.getClassLoader() != + fileTypeMap.getClass().getClassLoader()) throw ex; } } - defaultMap = map; + // remove any per-thread-context-class-loader FileTypeMap + map.remove(SecuritySupport.getContextClassLoader()); + defaultMap = fileTypeMap; } /** @@ -109,10 +116,17 @@ * @return The default FileTypeMap * @see javax.activation.FileTypeMap#setDefaultFileTypeMap */ - public static FileTypeMap getDefaultFileTypeMap() { - // XXX - probably should be synchronized - if (defaultMap == null) - defaultMap = new MimetypesFileTypeMap(); - return defaultMap; + public static synchronized FileTypeMap getDefaultFileTypeMap() { + if (defaultMap != null) + return defaultMap; + + // fetch per-thread-context-class-loader default + ClassLoader tccl = SecuritySupport.getContextClassLoader(); + FileTypeMap def = map.get(tccl); + if (def == null) { + def = new MimetypesFileTypeMap(); + map.put(tccl, def); + } + return def; } } diff -r eb79f394916e -r 2cc5b85692ba src/share/jaf_classes/javax/activation/MailcapCommandMap.java --- a/src/share/jaf_classes/javax/activation/MailcapCommandMap.java Thu Dec 19 09:34:14 2013 -0800 +++ b/src/share/jaf_classes/javax/activation/MailcapCommandMap.java Wed Apr 16 19:41:06 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -120,11 +120,7 @@ public class MailcapCommandMap extends CommandMap { /* * We manage a collection of databases, searched in order. - * The default database is shared between all instances - * of this class. - * XXX - Can we safely share more databases between instances? */ - private static MailcapFile defDB = null; private MailcapFile[] DB; private static final int PROG = 0; // programmatically added entries @@ -164,14 +160,10 @@ loadAllResources(dbv, "META-INF/mailcap"); LogSupport.log("MailcapCommandMap: load DEF"); - synchronized (MailcapCommandMap.class) { - // see if another instance has created this yet. - if (defDB == null) - defDB = loadResource("/META-INF/mailcap.default"); - } + mf = loadResource("/META-INF/mailcap.default"); - if (defDB != null) - dbv.add(defDB); + if (mf != null) + dbv.add(mf); DB = new MailcapFile[dbv.size()]; DB = (MailcapFile[])dbv.toArray(DB); diff -r eb79f394916e -r 2cc5b85692ba src/share/jaf_classes/javax/activation/MimetypesFileTypeMap.java --- a/src/share/jaf_classes/javax/activation/MimetypesFileTypeMap.java Thu Dec 19 09:34:14 2013 -0800 +++ b/src/share/jaf_classes/javax/activation/MimetypesFileTypeMap.java Wed Apr 16 19:41:06 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -69,11 +69,7 @@ public class MimetypesFileTypeMap extends FileTypeMap { /* * We manage a collection of databases, searched in order. - * The default database is shared between all instances - * of this class. - * XXX - Can we safely share more databases between instances? */ - private static MimeTypeFile defDB = null; private MimeTypeFile[] DB; private static final int PROG = 0; // programmatically added entries @@ -114,14 +110,10 @@ loadAllResources(dbv, "META-INF/mime.types"); LogSupport.log("MimetypesFileTypeMap: load DEF"); - synchronized (MimetypesFileTypeMap.class) { - // see if another instance has created this yet. - if (defDB == null) - defDB = loadResource("/META-INF/mimetypes.default"); - } + mf = loadResource("/META-INF/mimetypes.default"); - if (defDB != null) - dbv.addElement(defDB); + if (mf != null) + dbv.addElement(mf); DB = new MimeTypeFile[dbv.size()]; dbv.copyInto(DB); diff -r eb79f394916e -r 2cc5b85692ba src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/ContextClassloaderLocal.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/ContextClassloaderLocal.java Wed Apr 16 19:41:06 2014 +0100 @@ -0,0 +1,86 @@ +/* + * Copyright (c) 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 + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +package com.sun.tools.internal.ws.wsdl.parser; + +import java.security.AccessController; +import java.security.PrivilegedAction; +import java.text.MessageFormat; +import java.util.ResourceBundle; +import java.util.WeakHashMap; + +/** + * Simple utility ensuring that the value is cached only in case it is non-internal implementation + */ +abstract class ContextClassloaderLocal { + + private static final String FAILED_TO_CREATE_NEW_INSTANCE = "FAILED_TO_CREATE_NEW_INSTANCE"; + + private WeakHashMap CACHE = new WeakHashMap(); + + public V get() throws Error { + ClassLoader tccl = getContextClassLoader(); + V instance = CACHE.get(tccl); + if (instance == null) { + instance = createNewInstance(); + CACHE.put(tccl, instance); + } + return instance; + } + + public void set(V instance) { + CACHE.put(getContextClassLoader(), instance); + } + + protected abstract V initialValue() throws Exception; + + private V createNewInstance() { + try { + return initialValue(); + } catch (Exception e) { + throw new Error(format(FAILED_TO_CREATE_NEW_INSTANCE, getClass().getName()), e); + } + } + + private static String format(String property, Object... args) { + String text = ResourceBundle.getBundle(ContextClassloaderLocal.class.getName()).getString(property); + return MessageFormat.format(text, args); + } + + private static ClassLoader getContextClassLoader() { + return (ClassLoader) + AccessController.doPrivileged(new PrivilegedAction() { + public Object run() { + ClassLoader cl = null; + try { + cl = Thread.currentThread().getContextClassLoader(); + } catch (SecurityException ex) { + } + return cl; + } + }); + } +} + diff -r eb79f394916e -r 2cc5b85692ba src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/ContextClassloaderLocal.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/ContextClassloaderLocal.properties Wed Apr 16 19:41:06 2014 +0100 From andrew at icedtea.classpath.org Wed Apr 16 18:42:21 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 16 Apr 2014 18:42:21 +0000 Subject: /hg/release/icedtea7-forest-2.4/langtools: 28 new changesets Message-ID: changeset 5d36d5fb1078 in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=5d36d5fb1078 author: katleman date: Fri Dec 20 18:53:28 2013 -0800 Added tag jdk7u51-b31 for changeset e3d4896d52ab changeset aed2651202db in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=aed2651202db author: katleman date: Thu Dec 26 13:05:15 2013 -0800 Added tag jdk7u51-b30 for changeset ada23e55d76a changeset d03b91d1f50d in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=d03b91d1f50d author: asaha date: Tue Dec 31 09:02:26 2013 -0800 Merge changeset 3e64e49131b8 in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=3e64e49131b8 author: asaha date: Mon Dec 16 12:14:15 2013 -0800 Added tag jdk7u55-b00 for changeset 5b44df2114e4 changeset f6506ddb9433 in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=f6506ddb9433 author: asaha date: Mon Dec 16 14:55:17 2013 -0800 Added tag jdk7u55-b01 for changeset 3e64e49131b8 changeset 11faf64b5153 in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=11faf64b5153 author: asaha date: Mon Dec 16 18:55:10 2013 -0800 Merge changeset 5d04e4f8e09b in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=5d04e4f8e09b author: asaha date: Fri Dec 20 11:54:03 2013 -0800 Merge changeset f78274253714 in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=f78274253714 author: asaha date: Fri Dec 20 14:17:23 2013 -0800 Merge changeset 2a9f5c00ba46 in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=2a9f5c00ba46 author: asaha date: Fri Dec 20 21:38:15 2013 -0800 Merge changeset 11892b902d6c in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=11892b902d6c author: katleman date: Tue Dec 24 14:47:10 2013 -0800 Added tag jdk7u55-b02 for changeset 2a9f5c00ba46 changeset 0479d260ac83 in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=0479d260ac83 author: asaha date: Thu Dec 26 16:02:32 2013 -0800 Merge changeset a1cdb7ff88b6 in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=a1cdb7ff88b6 author: katleman date: Mon Jan 06 13:57:21 2014 -0800 Added tag jdk7u55-b03 for changeset 0479d260ac83 changeset 8f79a22ee7d1 in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=8f79a22ee7d1 author: katleman date: Wed Jan 08 13:24:16 2014 -0800 Added tag jdk7u45-b35 for changeset efbda7abd821 changeset fb3ff30ecd8e in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=fb3ff30ecd8e author: asaha date: Wed Jan 08 14:18:19 2014 -0800 Merge changeset 7f3b35338390 in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=7f3b35338390 author: asaha date: Thu Jan 09 07:59:42 2014 -0800 Merge changeset a244cc40ae0b in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=a244cc40ae0b author: bpatel date: Mon Jan 13 14:46:55 2014 -0800 8026736: Enhance Javadoc pages Reviewed-by: jjg changeset 25d63d986653 in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=25d63d986653 author: katleman date: Mon Jan 13 16:15:06 2014 -0800 Added tag jdk7u55-b04 for changeset a244cc40ae0b changeset 76eeeaace70d in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=76eeeaace70d author: katleman date: Wed Jan 22 10:07:16 2014 -0800 Added tag jdk7u55-b05 for changeset 25d63d986653 changeset 08f7914d6aa9 in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=08f7914d6aa9 author: katleman date: Tue Jan 28 11:50:07 2014 -0800 Added tag jdk7u55-b06 for changeset 76eeeaace70d changeset e64301b473b4 in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=e64301b473b4 author: katleman date: Tue Feb 04 13:12:36 2014 -0800 Added tag jdk7u55-b07 for changeset 08f7914d6aa9 changeset a296112a3fd7 in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=a296112a3fd7 author: katleman date: Tue Feb 11 13:12:43 2014 -0800 Added tag jdk7u55-b08 for changeset e64301b473b4 changeset faa9f8c51a6e in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=faa9f8c51a6e author: katleman date: Tue Feb 18 13:36:50 2014 -0800 Added tag jdk7u55-b09 for changeset a296112a3fd7 changeset 2bdd105e433d in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=2bdd105e433d author: katleman date: Tue Feb 25 12:21:21 2014 -0800 Added tag jdk7u55-b10 for changeset faa9f8c51a6e changeset a3cdca5d3773 in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=a3cdca5d3773 author: katleman date: Tue Mar 04 12:02:32 2014 -0800 Added tag jdk7u55-b11 for changeset 2bdd105e433d changeset 81bf1ca3a3a7 in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=81bf1ca3a3a7 author: katleman date: Tue Mar 11 13:00:25 2014 -0700 Added tag jdk7u55-b12 for changeset a3cdca5d3773 changeset 96d55b4d88fe in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=96d55b4d88fe author: katleman date: Tue Mar 18 12:08:15 2014 -0700 Added tag jdk7u55-b13 for changeset 81bf1ca3a3a7 changeset c1964a222000 in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=c1964a222000 author: katleman date: Thu Mar 27 11:23:22 2014 -0700 Added tag jdk7u55-b30 for changeset 96d55b4d88fe changeset 200ea1a5797e in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=200ea1a5797e author: andrew date: Wed Apr 16 19:41:08 2014 +0100 Merge jdk7u55-b14 diffstat: .hgtags | 35 ++ .jcheck/conf | 2 - make/Makefile | 4 + make/build.properties | 3 +- make/build.xml | 2 +- src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java | 4 +- test/com/sun/javadoc/testWindowTitle/TestWindowTitle.java | 154 +++++++++- test/tools/javac/T5090006/broken.jar | Bin 8 files changed, 188 insertions(+), 16 deletions(-) diffs (391 lines): diff -r e3d4896d52ab -r 200ea1a5797e .hgtags --- a/.hgtags Thu Dec 19 09:36:21 2013 -0800 +++ b/.hgtags Wed Apr 16 19:41:08 2014 +0100 @@ -50,6 +50,7 @@ 9596dff460935f09684c11d156ce591f92584f0d jdk7-b73 1a66b08deed0459054b5b1bea3dfbead30d258fa jdk7-b74 2485f5641ed0829205aaaeb31ad711c2c2ef0de3 jdk7-b75 +83367f01297bf255f511f5291bbbbaa24a9c8459 icedtea7-1.12 8fb9b4be3cb1574302acde90549a4d333ef51e93 jdk7-b76 0398ae15b90ac76d87ee21844453e95ff8613e43 jdk7-b77 acc1e40a5874ebf32bebcb6ada565b3b40b7461c jdk7-b78 @@ -63,6 +64,7 @@ ef07347428f2198ae6b8144ac0b9086bbe39fd16 jdk7-b86 409db93d19c002333980df5b797c6b965150c7a0 jdk7-b87 f9b5d4867a26f8c4b90ad37fe2c345b721e93d6b jdk7-b88 +681f1f51926faf4c73d8905a429ff4ead6e9d622 icedtea7-1.13 6cea9a143208bc1185ced046942c0f4e45dbeba5 jdk7-b89 71c2c23a7c35b2896c87004023b9743b6d1b7758 jdk7-b90 97b6fa97b8ddb3a49394011c2a0ec5d6535e594c jdk7-b91 @@ -111,6 +113,7 @@ 3d7acdbb72cab55deedfd35f60d4732abc9d6ac4 jdk7-b134 9d0a61ac567b983da7cc8f4a7030f2245bb6dbab jdk7-b135 ed0f7f1f9511db4f9615b1426d22f8b961629275 jdk7-b136 +8e26c4aee63c04ee129bf9068f5eea47cc385177 icedtea-1.14 a15c9b058ae007d4ccb7e35ce44e4dfa977f090b jdk7-b137 53f212bed4f4304dce7f0bf0fa01c998c65bacd6 jdk7-b138 853b6bb99f9b58eb7cf8211c67d3b6e4f1228a3e jdk7-b139 @@ -123,6 +126,7 @@ 9425dd4f53d5bfcd992d9aecea0eb7d8b2d4f62b jdk7-b146 d34578643d1c6c752d4a6b5e79c6ab1b60850b4a jdk7u1-b01 58bc532d63418ac3c9b42460d89cdaf595c6f3e1 jdk7-b147 +fb7fb3071b642334520e5b9f4a87ce28717af61c icedtea-2.0-branchpoint cd2cc8b5edb045b950aed46d159b4fb8fc2fd1df jdk7u1-b02 82820a30201dbf4b80f1916f3d0f4a92ad21b61a jdk7u1-b03 baa2c13c70fea3d6e259a34f0903197fdceb64b5 jdk7u1-b04 @@ -141,6 +145,7 @@ f0802d8a0909f66ce19d3d44b33ddf4943aee076 jdk7u2-b12 f474527e77e4797d78bd6c3b31923fddcfd9d5c6 jdk7u2-b13 fc0769df8cd03fffc38c7a1ab6b2e2e7cc2506a8 jdk7u2-b21 +58f6a950cd726220e81eddb126ca5c57e3b368f2 icedtea-2.1-branchpoint fc0769df8cd03fffc38c7a1ab6b2e2e7cc2506a8 jdk7u3-b02 0ffc4995457773085f61c39f6d33edc242b41bcf jdk7u3-b03 f6de36b195cd315646213c7affd2cc15702edbfb jdk7u3-b04 @@ -157,6 +162,7 @@ 8919b2b02fcba65f833c68374f3bfdd9bc3ba814 jdk7u4-b10 4672e092f0968d503dc37f860b15ae7e2653f8d7 jdk7u4-b11 a4bf6a1aff54a98e9ff2b3fb53c719f658bec677 jdk7u4-b12 +e3537a4f75c7fcca16c349c3175bb0cdc2fbc29c icedtea-2.2-branchpoint 56eb9150d9ffdb71c47d72871e8ecc98b5f402de jdk7u4-b13 0e55881c2ee2984048c179d1e031cefb56a36bec jdk7u4-b14 0bea057f7ce1577e1b0306f2027c057e35394398 jdk7u5-b01 @@ -191,6 +197,7 @@ 47ae28da508861d77ee6dd408d822acf507b28ec jdk7u6-b15 5c7763489f4d2727c6d9de11f4114fb8ed839042 jdk7u6-b16 66c671f28cb2840ceec5b44c44bac073fc0b4256 jdk7u6-b17 +cee31ee38a190f77b1e21c0515bb28802dcd9678 icedtea-2.3-branchpoint 6aa859ef42876c51bb1b1d7fb4db32a916a7dcaa jdk7u6-b18 474a52eeeafb1feccffda68b96f651e65415c01d jdk7u6-b19 32acb67a79531daf678577c7ef1bde1867da807d jdk7u6-b20 @@ -258,6 +265,7 @@ 382bab6d9682eefa2185a1643dfa32d65b6c20e5 jdk7u12-b07 7c0c3aeb2c603baba2cabba9adc5a0a49afb4f47 jdk7u12-b08 96c4f3ec63552a87a825baabd7f0dfafec299483 jdk7u12-b09 +85fb9d7ce4af53f0a47d2b73d983c96239f9ff33 icedtea-2.4-branchpoint e5b1403fa68abe3ac7174c031f19e6ecf77624a0 jdk7u14-b10 db94066df63468172e074d59e71d82dc874ed7cb jdk7u14-b11 f9a326e92fafc4724f0af550c2cba82fea202a31 jdk7u14-b12 @@ -335,6 +343,7 @@ 5168a2c7af619364ddb342674ff880874c3b7897 jdk7u14-b19 e8c876a77def120b5eeb26535d0777c9b9f842f8 jdk7u14-b19 86ae75a68cc375cfc0559699b5270951aab09eb0 jdk7u14-b20 +cbb9be4fb46d8dfd3a8c32dc693f9501a64b9a47 icedtea-2.4.0 c31648d7a6ac692371f1e9abe95bc2856a7dc51c jdk7u14-b21 eb1c9eacea1f07c07e7e700db624649d3573dae4 jdk7u14-b22 e84535d2c292032669ac75a6a0afc5f23c708064 jdk7u40-b23 @@ -345,6 +354,7 @@ 9f2eea2fae59c5242d1bb4cbca967bb6fbb99865 jdk7u40-b28 bfe3575143fddbf71c2e570b580afef007d171e4 jdk7u40-b29 0586afeb2caa0b4595bf5b306657a5dd1f0d121c jdk7u40-b30 +91c95fd8eea822b47bcebd7eed22fdf3c404dd62 icedtea-2.4.1 9c343668b0a95e5510f715014884e5d45df9dfb0 jdk7u40-b31 056f998e75f87a299808671ecc0d96e270f62dca jdk7u40-b32 e36d8f754801c9d17585a9469f9b33f9799167f8 jdk7u40-b33 @@ -359,6 +369,7 @@ 765bea9bfcfc8c472df0a2daced5e576095f46ac jdk7u40-b42 988ece7b686564084770e99ca26746c45ffb933f jdk7u40-b43 a67dbf96bf86989d0392cc5b66e5d4139cbceec7 jdk7u40-b60 +06ea051f7ffe0f91213c8e7064ddb045c93ba1b4 icedtea-2.4.2 b2e29b79e54e58349c1dbcf5449f67fc5d5a235a jdk7u40-b61 94ea3d062a3c28c64a837fa8f999c6b6956ff7c4 jdk7u40-b62 9bbfba4981e1db5016bbfbc23025763966021c26 jdk7u45-b01 @@ -380,9 +391,12 @@ b9aeec6b9d5aac0746f8d1764a7740f8b83334ab jdk7u45-b17 ba3ff27d4082f2cf0d06e635b2b6e01f80e78589 jdk7u45-b18 164cf7491ba2f371354ba343a604eee4c61c529d jdk7u45-b30 +3c8eb52a32ea6a119657487c40e24c21c1020e51 icedtea-2.4.3 +3d9f5aad3f497f5b2bedad6c77f5cacaf721648f icedtea-2.4.4 7f5cfaedb25c2c2774d6839810d6ae543557ca01 jdk7u45-b31 ef7bdbe7f1fa42fd58723e541d9cdedcacb2649a jdk7u45-b33 bcb3e939d046d75436c7c8511600b6edce42e6da jdk7u45-b34 +efbda7abd821f280ec3a3aa6819ad62d45595e55 jdk7u45-b35 18d1864abca976ca68cb71612e9b20c908455d3d jdk7u51-b00 14d1cf2630aea549cfba9d052200c7ebcabd875c jdk7u51-b01 f0168ccf171ed6080267fe0a7f7aed0b46bd5713 jdk7u51-b02 @@ -397,3 +411,24 @@ c9d8d8793d9330d592190c334260ccf26c986df6 jdk7u51-b11 5b44df2114e466da85c3816627bfcd1b59c6499d jdk7u51-b12 4d0807934c302f2e35e6a5acc6cdc720c82b5671 jdk7u51-b13 +dabd37b7e2950b42c1c9550caea26522348cd7b4 icedtea-2.4.5 +06eeb77dac248eb62fed00aa25f9f9fa9b4df210 icedtea-2.4.6pre01 +06eeb77dac248eb62fed00aa25f9f9fa9b4df210 icedtea-2.4.6 +8c26a3c3912898619032a5d913ba81ebfa6e4e22 icedtea-2.4.7 +ada23e55d76a378cb2fc2cd7ffae8c147aaf0055 jdk7u51-b30 +e3d4896d52ab4ad0fc0b7a45d60340dbdcb8826d jdk7u51-b31 +5b44df2114e466da85c3816627bfcd1b59c6499d jdk7u55-b00 +3e64e49131b88c839733c9869ff8aebcd15cf828 jdk7u55-b01 +2a9f5c00ba46f895bc9d16a584bf7d80c1822268 jdk7u55-b02 +0479d260ac835eb3f0c7f3d7d15be0599b92a20a jdk7u55-b03 +a244cc40ae0b29028ff8503ee516cb5f9e3db6e3 jdk7u55-b04 +25d63d986653d81522b01bbd2664083ae5fdc243 jdk7u55-b05 +76eeeaace70d38795eef5215f758493421cee0ac jdk7u55-b06 +08f7914d6aa947e73269b4e60110ed12573ffa28 jdk7u55-b07 +e64301b473b43609cb28d8cfe7e5db17d9bf8a4a jdk7u55-b08 +a296112a3fd774c258375912c7ada38daf8eee1e jdk7u55-b09 +faa9f8c51a6e3fcb444729012a798e3ad09c3da4 jdk7u55-b10 +2bdd105e433da7fbf7f37ec2f75fc4bed4e54280 jdk7u55-b11 +a3cdca5d3773f67a49091f9131a4d073bc6b83d9 jdk7u55-b12 +81bf1ca3a3a71c628b7d952ba47c6f200a223f27 jdk7u55-b13 +96d55b4d88fea1d9f8227e70003210a6c10a1dba jdk7u55-b30 diff -r e3d4896d52ab -r 200ea1a5797e .jcheck/conf --- a/.jcheck/conf Thu Dec 19 09:36:21 2013 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -project=jdk7 -bugids=dup diff -r e3d4896d52ab -r 200ea1a5797e make/Makefile --- a/make/Makefile Thu Dec 19 09:36:21 2013 -0800 +++ b/make/Makefile Wed Apr 16 19:41:08 2014 +0100 @@ -111,6 +111,10 @@ ANT_OPTIONS += -Ddebug.classfiles=true endif +ifeq ($(JAVAC_WARNINGS_FATAL), false) + ANT_OPTIONS += -Djavac.warnings.fatal= +endif + # Note: jdk/make/common/Defs.gmk uses LANGUAGE_VERSION (-source NN) # and the somewhat misnamed CLASS_VERSION (-target NN) ifdef TARGET_CLASS_VERSION diff -r e3d4896d52ab -r 200ea1a5797e make/build.properties --- a/make/build.properties Thu Dec 19 09:36:21 2013 -0800 +++ b/make/build.properties Wed Apr 16 19:41:08 2014 +0100 @@ -68,7 +68,8 @@ # set the following to -version to verify the versions of javac being used javac.version.opt = # in time, there should be no exceptions to -Xlint:all -javac.lint.opts = -Xlint:all,-deprecation -Werror +javac.warnings.fatal = -Werror +javac.lint.opts = -Xlint:all,-deprecation ${javac.warnings.fatal} # options for the task for javac #javadoc.jls3.url=http://java.sun.com/docs/books/jls/ diff -r e3d4896d52ab -r 200ea1a5797e make/build.xml --- a/make/build.xml Thu Dec 19 09:36:21 2013 -0800 +++ b/make/build.xml Wed Apr 16 19:41:08 2014 +0100 @@ -877,7 +877,7 @@ + classpath="${build.toolclasses.dir}:${build.bootstrap.dir}/classes:${ant.home}/lib/ant.jar"/> diff -r e3d4896d52ab -r 200ea1a5797e src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java --- a/src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java Thu Dec 19 09:36:21 2013 -0800 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java Wed Apr 16 19:41:08 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 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 @@ -235,7 +235,7 @@ } else if (opt.equals("-doctitle")) { doctitle = os[1]; } else if (opt.equals("-windowtitle")) { - windowtitle = os[1]; + windowtitle = os[1].replaceAll("\\<.*?>", ""); } else if (opt.equals("-top")) { top = os[1]; } else if (opt.equals("-bottom")) { diff -r e3d4896d52ab -r 200ea1a5797e test/com/sun/javadoc/testWindowTitle/TestWindowTitle.java --- a/test/com/sun/javadoc/testWindowTitle/TestWindowTitle.java Thu Dec 19 09:36:21 2013 -0800 +++ b/test/com/sun/javadoc/testWindowTitle/TestWindowTitle.java Wed Apr 16 19:41:08 2014 +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 @@ -23,7 +23,7 @@ /* * @test - * @bug 8016675 + * @bug 8016675 8026736 * @summary Test for window title. * @author Bhavesh Patel * @library ../lib/ @@ -34,26 +34,153 @@ public class TestWindowTitle extends JavadocTester { private static final String BUG_ID = "8016675"; - private static final String WIN_TITLE = + //Window title with JavaScript special characters. + private static final String TITLE_JS_CHARS = "Testing \"Window 'Title'\" with a \\ backslash and a / " + "forward slash and a \u00e8 unicode char also a tab and also a " + "\t special character another \u0002 unicode)"; - private static final String[][] TEST = { - {BUG_ID + FS + "overview-summary.html", + private static final String[] ARGS_JS_CHARS = new String[]{ + "-d", BUG_ID + "-1", "-windowtitle", TITLE_JS_CHARS, "-sourcepath", SRC_DIR, "p1", "p2" + }; + private static final String[][] TEST_JS_CHARS = { + {BUG_ID + "-1" + FS + "overview-summary.html", "parent.document.title=\"Overview (Testing \\\"Window \\\'Title\\\'\\\" " + "with a \\\\ backslash and a / forward slash and a \\u00E8 unicode char " + "also a tab and also a \\t special character another \\u0002 unicode))\";" }, }; - private static final String[][] NEG_TEST = { - {BUG_ID + FS + "overview-summary.html", + private static final String[][] NEG_TEST_JS_CHARS = { + {BUG_ID + "-1" + FS + "overview-summary.html", "parent.document.title=\"Overview (Testing \"Window \'Title\'\" " + "with a \\ backslash and a / forward slash and a \u00E8 unicode char " + "also a tab and also a \t special character another \u0002 unicode))\";" + } + }; + + //Window title with a script tag. + private static final String TITLE_SCRIPT_TAG = + "Testing script tag in title ."; + private static final String[] ARGS_SCRIPT_TAG = new String[]{ + "-d", BUG_ID + "-2", "-windowtitle", TITLE_SCRIPT_TAG, "-sourcepath", SRC_DIR, "p1", "p2" + }; + private static final String[][] TEST_SCRIPT_TAG = { + {BUG_ID + "-2" + FS + "overview-summary.html", + "parent.document.title=\"Overview (Testing script tag in title alert" + + "(\\\"Should not pop up\\\").)\";" }, + {BUG_ID + "-2" + FS + "p2" + FS + "C2.html", + "parent.document.title=\"C2 (Testing script tag in title alert" + + "(\\\"Should not pop up\\\").)\";" + } }; - private static final String[] ARGS = new String[]{ - "-d", BUG_ID, "-windowtitle", WIN_TITLE, "-sourcepath", SRC_DIR, "p1", "p2" + private static final String[][] NEG_TEST_SCRIPT_TAG = { + {BUG_ID + "-2" + FS + "overview-summary.html", + "parent.document.title=\"Overview (Testing script tag in title .)\";" + }, + {BUG_ID + "-2" + FS + "p2" + FS + "C2.html", + "parent.document.title=\"C2 (Testing script tag in title .)\";" + } + }; + + //Window title with other HTML tags. + private static final String TITLE_HTML_TAGS = + "Testing another

HTML

tag. Another

tag

. A " + + "tag with attributes. "; + private static final String[] ARGS_EMPTY_TAGS = new String[]{ + "-d", BUG_ID + "-5", "-windowtitle", TITLE_EMPTY_TAGS, "-sourcepath", SRC_DIR, "p1", "p2" + }; + private static final String[][] TEST_EMPTY_TAGS = { + {BUG_ID + "-5" + FS + "overview-summary.html", + "parent.document.title=\"Overview\";" + } + }; + private static final String[][] NEG_TEST_EMPTY_TAGS = { + {BUG_ID + "-5" + FS + "overview-summary.html", + "parent.document.title=\"Overview ()\";" + } + }; + + //Window title with unicode characters. + private static final String TITLE_UNICODE_CHARS = + "Testing unicode \u003cscript\u003ealert(\"Should not pop up\")\u003c/script\u003e."; + private static final String[] ARGS_UNICODE_CHARS = new String[]{ + "-d", BUG_ID + "-6", "-windowtitle", TITLE_UNICODE_CHARS, "-sourcepath", SRC_DIR, "p1", "p2" + }; + private static final String[][] TEST_UNICODE_CHARS = { + {BUG_ID + "-6" + FS + "overview-summary.html", + "parent.document.title=\"Overview (Testing unicode alert(\\\"Should " + + "not pop up\\\").)\";" + } + }; + private static final String[][] NEG_TEST_UNICODE_CHARS = { + {BUG_ID + "-6" + FS + "overview-summary.html", + "parent.document.title=\"Overview (Testing unicode .)\";" + } + }; + + //An empty window title. + private static final String TITLE_EMPTY = + ""; + private static final String[] ARGS_EMPTY_TITLE = new String[]{ + "-d", BUG_ID + "-7", "-windowtitle", TITLE_EMPTY, "-sourcepath", SRC_DIR, "p1", "p2" + }; + private static final String[][] TEST_EMPTY = { + {BUG_ID + "-7" + FS + "overview-summary.html", + "parent.document.title=\"Overview\";" + } + }; + + //Test doctitle. + private static final String[] ARGS_DOCTITLE = new String[]{ + "-d", BUG_ID + "-8", "-doctitle", TITLE_JS_CHARS, "-sourcepath", SRC_DIR, "p1", "p2" + }; + private static final String[][] NEG_TEST_DOCTITLE = { + {BUG_ID + "-8" + FS + "overview-summary.html", + "parent.document.title=\"Overview (Testing \\\"Window \\\'Title\\\'\\\" " + + "with a \\\\ backslash and a / forward slash and a \\u00E8 unicode char " + + "also a tab and also a \\t special character another \\u0002 unicode)\";" + }, }; /** @@ -62,7 +189,14 @@ */ public static void main(String[] args) { TestWindowTitle tester = new TestWindowTitle(); - run(tester, ARGS, TEST, NEG_TEST); + run(tester, ARGS_JS_CHARS, TEST_JS_CHARS, NEG_TEST_JS_CHARS); + run(tester, ARGS_SCRIPT_TAG, TEST_SCRIPT_TAG, NEG_TEST_SCRIPT_TAG); + run(tester, ARGS_HTML_TAGS, TEST_HTML_TAGS, NEG_TEST_HTML_TAGS); + run(tester, ARGS_HTML_ENTITIES, TEST_HTML_ENTITIES, NEG_TEST_HTML_ENTITIES); + run(tester, ARGS_EMPTY_TAGS, TEST_EMPTY_TAGS, NEG_TEST_EMPTY_TAGS); + run(tester, ARGS_UNICODE_CHARS, TEST_UNICODE_CHARS, NEG_TEST_UNICODE_CHARS); + run(tester, ARGS_EMPTY_TITLE, TEST_EMPTY, NO_TEST); + run(tester, ARGS_DOCTITLE, NO_TEST, NEG_TEST_DOCTITLE); tester.printSummary(); } diff -r e3d4896d52ab -r 200ea1a5797e test/tools/javac/T5090006/broken.jar Binary file test/tools/javac/T5090006/broken.jar has changed From andrew at icedtea.classpath.org Wed Apr 16 18:42:35 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 16 Apr 2014 18:42:35 +0000 Subject: /hg/release/icedtea7-forest-2.4/hotspot: 47 new changesets Message-ID: changeset 208dbfe8ac03 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=208dbfe8ac03 author: katleman date: Fri Dec 20 18:52:58 2013 -0800 Added tag jdk7u51-b31 for changeset cf4110c35afb changeset 90931375569a in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=90931375569a author: katleman date: Thu Dec 26 13:04:57 2013 -0800 Added tag jdk7u51-b30 for changeset a398ddc79d23 changeset f8a1ba5693e9 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=f8a1ba5693e9 author: asaha date: Tue Dec 31 08:56:11 2013 -0800 Merge changeset e2c008218d66 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=e2c008218d66 author: asaha date: Wed Oct 23 13:53:41 2013 -0700 8027196: Increment minor version of HSx for 7u55 and initialize the build number Reviewed-by: jcoomes changeset 10848efaae50 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=10848efaae50 author: asaha date: Tue Oct 29 09:53:41 2013 -0700 Merge changeset 291ce272b61e in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=291ce272b61e author: aeriksso date: Thu Oct 31 16:49:53 2013 +0100 8026887: Make issues due to failed large pages allocations easier to debug Reviewed-by: stefank, mcastegr, poonam changeset db1734313388 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=db1734313388 author: asaha date: Tue Nov 05 12:03:32 2013 -0800 Merge changeset be6a1b65ba06 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=be6a1b65ba06 author: asaha date: Tue Nov 12 09:11:14 2013 -0800 Merge changeset 5a869822ce57 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=5a869822ce57 author: asaha date: Tue Nov 19 09:32:43 2013 -0800 Merge changeset 67c54d2ad34c in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=67c54d2ad34c author: asaha date: Wed Nov 27 11:19:05 2013 -0800 Merge changeset fb0e151fb1c6 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=fb0e151fb1c6 author: asaha date: Wed Dec 04 12:37:34 2013 -0800 Merge changeset a863ae5351d9 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=a863ae5351d9 author: jrose date: Thu Dec 05 14:38:53 2013 -0800 8029507: Enhance JVM method processing 8029533: REGRESSION: closed/java/lang/invoke/8008140/Test8008140.java fails against JPRT PIT 17891982 build 8026502: java/lang/invoke/MethodHandleConstants.java fails on all platforms Summary: update MemberName.clazz correctly in MemberName.resolve; also pass lookupClass to MethodHandles::resolve_MemberName Reviewed-by: acorn, vlivanov changeset 496f7585f7d0 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=496f7585f7d0 author: asaha date: Tue Dec 10 17:15:13 2013 -0800 Merge changeset dd90f1ad1fe8 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=dd90f1ad1fe8 author: asaha date: Mon Dec 16 12:12:41 2013 -0800 Added tag jdk7u55-b00 for changeset dee2a38ef6b2 changeset ac0063b4452b in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=ac0063b4452b author: asaha date: Mon Dec 16 13:04:36 2013 -0800 Merge changeset 2f09c332de9b in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=2f09c332de9b author: asaha date: Mon Dec 16 14:53:36 2013 -0800 Added tag jdk7u55-b01 for changeset ac0063b4452b changeset ea287a90718f in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=ea287a90718f author: asaha date: Mon Dec 16 18:49:35 2013 -0800 Merge changeset 89b9bdf85398 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=89b9bdf85398 author: asaha date: Fri Dec 20 11:47:26 2013 -0800 Merge changeset f1a5b7cc078f in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=f1a5b7cc078f author: asaha date: Fri Dec 20 14:13:38 2013 -0800 Merge changeset 408028d410e3 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=408028d410e3 author: asaha date: Fri Dec 20 21:30:47 2013 -0800 Merge changeset f80814d92860 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=f80814d92860 author: katleman date: Tue Dec 24 14:45:55 2013 -0800 Added tag jdk7u55-b02 for changeset 408028d410e3 changeset 50fb91504dd8 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=50fb91504dd8 author: asaha date: Thu Dec 26 15:50:54 2013 -0800 Merge changeset ff8e01218d6c in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=ff8e01218d6c author: katleman date: Mon Jan 06 13:56:54 2014 -0800 Added tag jdk7u55-b03 for changeset 50fb91504dd8 changeset 619b904e420a in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=619b904e420a author: katleman date: Wed Jan 08 13:23:53 2014 -0800 Added tag jdk7u45-b35 for changeset 12ea8d416f10 changeset 208419914859 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=208419914859 author: asaha date: Wed Jan 08 14:13:12 2014 -0800 Merge changeset 46236fe5d1fe in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=46236fe5d1fe author: asaha date: Thu Jan 09 07:55:58 2014 -0800 Merge changeset 3be3b8a032a5 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=3be3b8a032a5 author: dsimms date: Fri Jan 10 15:38:30 2014 +0100 8029858: Enhance array copies Summary: Just read the source element once Reviewed-by: coleenp, ahgross changeset fa17e3e38bb2 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=fa17e3e38bb2 author: katleman date: Mon Jan 13 16:14:38 2014 -0800 Added tag jdk7u55-b04 for changeset 3be3b8a032a5 changeset b86119fa2748 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=b86119fa2748 author: kvn date: Mon Nov 11 11:53:33 2013 -0800 8024830: SEGV in org.apache.lucene.codecs.compressing.CompressingTermVectorsReader.get Summary: Exclude last input argument's stack slots from vector's spilling masks. Reviewed-by: iveresov changeset 260d919d52e5 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=260d919d52e5 author: katleman date: Wed Jan 22 10:06:30 2014 -0800 Added tag jdk7u55-b05 for changeset b86119fa2748 changeset 8cf6e0a3a065 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=8cf6e0a3a065 author: katleman date: Tue Jan 28 11:49:28 2014 -0800 Added tag jdk7u55-b06 for changeset 260d919d52e5 changeset 049fd2cef85b in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=049fd2cef85b author: katleman date: Tue Feb 04 13:11:50 2014 -0800 Added tag jdk7u55-b07 for changeset 8cf6e0a3a065 changeset bb5f0b751dcf in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=bb5f0b751dcf author: katleman date: Tue Feb 11 13:11:16 2014 -0800 Added tag jdk7u55-b08 for changeset 049fd2cef85b changeset 9b238ab164e6 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=9b238ab164e6 author: miroslawzn date: Thu Jan 30 10:50:11 2014 -0800 8022452: Hotspot needs to know about Windows 8.1 and Windows Server 2012 R2 Reviewed-by: coleenp, ctornqvi changeset 573d8d080af9 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=573d8d080af9 author: katleman date: Tue Feb 18 12:41:17 2014 -0800 Added tag jdk7u55-b09 for changeset 9b238ab164e6 changeset 36f8bd4dd467 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=36f8bd4dd467 author: katleman date: Tue Feb 18 13:36:09 2014 -0800 Added tag jdk7u55-b09 for changeset 573d8d080af9 changeset 4adb2ebfcf54 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=4adb2ebfcf54 author: katleman date: Tue Feb 25 12:20:03 2014 -0800 Added tag jdk7u55-b10 for changeset 36f8bd4dd467 changeset bc52bce9e569 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=bc52bce9e569 author: asaha date: Mon Mar 03 09:19:30 2014 -0800 8036147: Increment hsx 24.55 build to b02 for 7u55-b11 Reviewed-by: jcoomes changeset 49cada8e39b9 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=49cada8e39b9 author: dholmes date: Fri Feb 28 17:30:14 2014 +0000 8014460: Need to check for non-empty EXT_LIBS_PATH before using it Reviewed-by: tbell, collins, sla, coleenp changeset 2c47e6310e00 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=2c47e6310e00 author: katleman date: Tue Mar 04 12:01:41 2014 -0800 Added tag jdk7u55-b11 for changeset 49cada8e39b9 changeset 67a853a5a05c in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=67a853a5a05c author: asaha date: Thu Mar 06 13:40:24 2014 -0800 8036837: Increment hsx 24.55 build to b03 for 7u55-b12 Reviewed-by: jcoomes changeset 8cc154e4a3d6 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=8cc154e4a3d6 author: poonam date: Fri Feb 28 02:45:17 2014 -0800 8035283: Second phase of branch shortening doesn't account for loop alignment Summary: added missing check for loop padding case. Reviewed-by: kvn, jrose changeset aadc864abd1c in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=aadc864abd1c author: hseigel date: Thu Feb 20 13:51:45 2014 -0500 8034926: Attribute classes properly Summary: Add check to prevent underflow Reviewed-by: coleenp, ahgross changeset b021fd817a01 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=b021fd817a01 author: katleman date: Tue Mar 11 12:59:26 2014 -0700 Added tag jdk7u55-b12 for changeset aadc864abd1c changeset d27b468d5f3b in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=d27b468d5f3b author: katleman date: Tue Mar 18 12:07:41 2014 -0700 Added tag jdk7u55-b13 for changeset b021fd817a01 changeset dff9147a7816 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=dff9147a7816 author: katleman date: Thu Mar 27 11:23:03 2014 -0700 Added tag jdk7u55-b30 for changeset d27b468d5f3b changeset ee5d9f6749da in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=ee5d9f6749da author: andrew date: Wed Apr 16 19:41:09 2014 +0100 Merge jdk7u55-b14 diffstat: .hgtags | 40 + .jcheck/conf | 2 - agent/src/os/linux/Makefile | 11 +- agent/src/os/linux/libproc.h | 29 +- make/bsd/makefiles/arm.make | 6 +- make/bsd/makefiles/buildtree.make | 1 + make/bsd/makefiles/vm.make | 1 + make/hotspot_version | 6 +- make/linux/makefiles/adlc.make | 2 + make/linux/makefiles/arm.make | 6 +- make/linux/makefiles/buildtree.make | 18 + make/linux/makefiles/defs.make | 52 +- make/linux/makefiles/gcc.make | 32 +- make/linux/makefiles/jsig.make | 6 +- make/linux/makefiles/rules.make | 15 +- make/linux/makefiles/saproc.make | 6 +- make/linux/makefiles/vm.make | 64 +- make/linux/makefiles/zero.make | 4 + make/linux/makefiles/zeroshark.make | 37 + make/linux/platform_zero.in | 2 +- make/solaris/makefiles/adlc.make | 6 +- make/solaris/makefiles/dtrace.make | 16 + make/solaris/makefiles/gcc.make | 4 +- make/solaris/makefiles/jsig.make | 4 + make/solaris/makefiles/rules.make | 10 - make/solaris/makefiles/saproc.make | 4 + make/solaris/makefiles/vm.make | 12 + make/windows/makefiles/vm.make | 8 + src/cpu/x86/vm/c2_globals_x86.hpp | 2 +- src/cpu/zero/vm/arm_cas.S | 31 + src/cpu/zero/vm/asm_helper.cpp | 745 + src/cpu/zero/vm/bytecodes_arm.def | 7850 +++++++++ src/cpu/zero/vm/bytecodes_zero.cpp | 52 +- src/cpu/zero/vm/bytecodes_zero.hpp | 41 +- src/cpu/zero/vm/cppInterpreter_arm.S | 7384 +++++++++ src/cpu/zero/vm/cppInterpreter_zero.cpp | 49 + src/cpu/zero/vm/cppInterpreter_zero.hpp | 2 + src/cpu/zero/vm/entryFrame_zero.hpp | 4 +- src/cpu/zero/vm/frame_zero.inline.hpp | 2 +- src/cpu/zero/vm/methodHandles_zero.hpp | 6 +- src/cpu/zero/vm/sharedRuntime_zero.cpp | 4 +- src/cpu/zero/vm/thumb2.cpp | 7985 ++++++++++ src/cpu/zero/vm/vm_version_zero.hpp | 11 + src/os/bsd/vm/attachListener_bsd.cpp | 4 +- src/os/linux/vm/os_linux.cpp | 183 +- src/os/windows/vm/os_windows.cpp | 107 +- src/os_cpu/linux_sparc/vm/assembler_linux_sparc.cpp | 11 +- src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp | 31 +- src/os_cpu/linux_zero/vm/atomic_linux_zero.inline.hpp | 14 + src/os_cpu/linux_zero/vm/globals_linux_zero.hpp | 8 +- src/os_cpu/linux_zero/vm/os_linux_zero.cpp | 47 +- src/os_cpu/linux_zero/vm/os_linux_zero.hpp | 6 + src/share/tools/hsdis/Makefile | 10 +- src/share/tools/hsdis/hsdis.c | 5 + src/share/vm/asm/codeBuffer.hpp | 2 +- src/share/vm/ci/ciTypeFlow.cpp | 2 +- src/share/vm/classfile/classFileParser.cpp | 7 +- src/share/vm/classfile/systemDictionary.cpp | 1 - src/share/vm/compiler/methodLiveness.cpp | 12 +- src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp | 2 +- src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp | 6 +- src/share/vm/gc_implementation/g1/concurrentMark.cpp | 2 +- src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp | 2 +- src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp | 2 +- src/share/vm/gc_implementation/parNew/parNewGeneration.cpp | 2 +- src/share/vm/gc_implementation/parallelScavenge/parMarkBitMap.cpp | 2 +- src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp | 4 +- src/share/vm/gc_implementation/parallelScavenge/psPermGen.cpp | 2 +- src/share/vm/interpreter/bytecodeInterpreter.hpp | 22 +- src/share/vm/memory/collectorPolicy.cpp | 18 +- src/share/vm/memory/threadLocalAllocBuffer.cpp | 2 +- src/share/vm/oops/objArrayKlass.cpp | 2 +- src/share/vm/oops/objArrayKlass.inline.hpp | 4 +- src/share/vm/opto/matcher.cpp | 32 +- src/share/vm/opto/output.cpp | 15 +- src/share/vm/prims/jni.cpp | 2 +- src/share/vm/prims/jvm.cpp | 2 +- src/share/vm/prims/jvmtiEnv.cpp | 3 + src/share/vm/prims/jvmtiExport.cpp | 41 + src/share/vm/prims/jvmtiExport.hpp | 7 + src/share/vm/runtime/arguments.cpp | 11 +- src/share/vm/runtime/globals.hpp | 2 +- src/share/vm/runtime/os.cpp | 41 +- src/share/vm/runtime/os.hpp | 4 - src/share/vm/shark/sharkCompiler.cpp | 5 +- src/share/vm/shark/shark_globals.hpp | 10 + src/share/vm/trace/trace.dtd | 3 - src/share/vm/trace/traceEventClasses.xsl | 2 +- src/share/vm/trace/traceEventIds.xsl | 2 +- src/share/vm/trace/traceTypes.xsl | 2 +- src/share/vm/utilities/bitMap.hpp | 2 +- src/share/vm/utilities/bitMap.inline.hpp | 20 +- src/share/vm/utilities/macros.hpp | 8 + src/share/vm/utilities/ostream.cpp | 2 +- src/share/vm/utilities/vmError.cpp | 23 +- src/share/vm/utilities/vmError.hpp | 8 + test/runtime/7020373/GenOOMCrashClass.java | 157 + test/runtime/7020373/Test7020373.sh | 4 + test/runtime/7020373/testcase.jar | Bin test/runtime/InitialThreadOverflow/DoOverflow.java | 41 + test/runtime/InitialThreadOverflow/invoke.cxx | 70 + test/runtime/InitialThreadOverflow/testme.sh | 73 + tools/mkbc.c | 607 + 103 files changed, 25924 insertions(+), 369 deletions(-) diffs (truncated from 28167 to 500 lines): diff -r cf4110c35afb -r ee5d9f6749da .hgtags --- a/.hgtags Thu Dec 19 09:32:29 2013 -0800 +++ b/.hgtags Wed Apr 16 19:41:09 2014 +0100 @@ -50,6 +50,7 @@ faf94d94786b621f8e13cbcc941ca69c6d967c3f jdk7-b73 f4b900403d6e4b0af51447bd13bbe23fe3a1dac7 jdk7-b74 d8dd291a362acb656026a9c0a9da48501505a1e7 jdk7-b75 +b4ab978ce52c41bb7e8ee86285e6c9f28122bbe1 icedtea7-1.12 9174bb32e934965288121f75394874eeb1fcb649 jdk7-b76 455105fc81d941482f8f8056afaa7aa0949c9300 jdk7-b77 e703499b4b51e3af756ae77c3d5e8b3058a14e4e jdk7-b78 @@ -87,6 +88,7 @@ 07226e9eab8f74b37346b32715f829a2ef2c3188 hs18-b01 e7e7e36ccdb5d56edd47e5744351202d38f3b7ad jdk7-b87 4b60f23c42231f7ecd62ad1fcb6a9ca26fa57d1b jdk7-b88 +a393ff93e7e54dd94cc4211892605a32f9c77dad icedtea7-1.13 15836273ac2494f36ef62088bc1cb6f3f011f565 jdk7-b89 4b60f23c42231f7ecd62ad1fcb6a9ca26fa57d1b hs18-b02 605c9707a766ff518cd841fc04f9bb4b36a3a30b jdk7-b90 @@ -160,6 +162,7 @@ b898f0fc3cedc972d884d31a751afd75969531cf hs21-b05 bd586e392d93b7ed7a1636dcc8da2b6a4203a102 jdk7-b136 bd586e392d93b7ed7a1636dcc8da2b6a4203a102 hs21-b06 +591c7dc0b2ee879f87a7b5519a5388e0d81520be icedtea-1.14 2dbcb4a4d8dace5fe78ceb563b134f1fb296cd8f jdk7-b137 2dbcb4a4d8dace5fe78ceb563b134f1fb296cd8f hs21-b07 0930dc920c185afbf40fed9a655290b8e5b16783 jdk7-b138 @@ -182,6 +185,7 @@ 38fa55e5e79232d48f1bb8cf27d88bc094c9375a hs21-b16 81d815b05abb564aa1f4100ae13491c949b9a07e jdk7-b147 81d815b05abb564aa1f4100ae13491c949b9a07e hs21-b17 +7693eb0fce1f6b484cce96c233ea20bdad8a09e0 icedtea-2.0-branchpoint 9b0ca45cd756d538c4c30afab280a91868eee1a5 jdk7u2-b01 0cc8a70952c368e06de2adab1f2649a408f5e577 jdk8-b01 31e253c1da429124bb87570ab095d9bc89850d0a jdk8-b02 @@ -210,6 +214,7 @@ 3ba0bb2e7c8ddac172f5b995aae57329cdd2dafa hs22-b10 f17fe2f4b6aacc19cbb8ee39476f2f13a1c4d3cd jdk7u2-b13 0744602f85c6fe62255326df595785eb2b32166d jdk7u2-b21 +f8f4d3f9b16567b91bcef4caaa8417c8de8015f0 icedtea-2.1-branchpoint a40d238623e5b1ab1224ea6b36dc5b23d0a53880 jdk7u3-b02 6986bfb4c82e00b938c140f2202133350e6e73f8 jdk7u3-b03 8e6375b46717d74d4885f839b4e72d03f357a45f jdk7u3-b04 @@ -264,6 +269,7 @@ f92a171cf0071ca6c3fa8231d7d570377f8b2f4d hs23-b16 f92a171cf0071ca6c3fa8231d7d570377f8b2f4d hs23-b16 931e5f39e365a0d550d79148ff87a7f9e864d2e1 hs23-b16 +a2c5354863dcb3d147b7b6f55ef514b1bfecf920 icedtea-2.2-branchpoint efb5f2662c96c472caa3327090268c75a86dd9c0 jdk7u4-b13 82e719a2e6416838b4421637646cbfd7104c7716 jdk7u4-b14 e5f7f95411fb9e837800b4152741c962118e5d7a jdk7u5-b01 @@ -311,6 +317,7 @@ cefe884c708aa6dfd63aff45f6c698a6bc346791 jdk7u6-b16 270a40a57b3d05ca64070208dcbb895b5b509d8e hs23.2-b08 7a37cec9d0d44ae6ea3d26a95407e42d99af6843 jdk7u6-b17 +354cfde7db2f1fd46312d883a63c8a76d5381bab icedtea-2.3-branchpoint df0df4ae5af2f40b7f630c53a86e8c3d68ef5b66 jdk7u6-b18 1257f4373a06f788bd656ae1c7a953a026a285b9 jdk7u6-b19 a0c2fa4baeb6aad6f33dc87b676b21345794d61e hs23.2-b09 @@ -440,6 +447,7 @@ 4f7ad6299356bfd2cfb448ea4c11e8ce0fbf69f4 jdk7u12-b07 3bb803664f3d9c831d094cbe22b4ee5757e780c8 jdk7u12-b08 92e382c3cccc0afbc7f72fccea4f996e05b66b3e jdk7u12-b09 +6e4feb17117d21e0e4360f2d0fbc68397ed3ba80 icedtea-2.4-branchpoint 7554f9b2bcc72204ac10ba8b08b8e648459504df hs24-b29 181528fd1e74863a902f171a2ad46270a2fb15e0 jdk7u14-b10 4008cf63c30133f2fac148a39903552fe7a33cea hs24-b30 @@ -510,6 +518,7 @@ c23596bfe3b8a21076f8454a3cd6606ee7e928a5 jdk7u14-b20 d6cf0e0eee29e173b8446455991e22249da0e860 hs24-b39 3295faa5b5cc4f165c0e6798fd40ab4f5c17dd6d hs24-b40 +ed247f9fb4fee475dd6334d20e91779807522bb3 icedtea-2.4.0 3e88170d8be276660cd4f347bd514c446bb65d58 jdk7u14-b21 d90c913b810356d43c8e64f08c0f5e60f9c2ca08 hs24-b41 aa9a5e33e823df5f51e9b5d4e85ae91919424179 jdk7u14-b22 @@ -530,6 +539,7 @@ 88e43f47a8da8093743a1b6ca1ae4b79d994472a hs24-b49 24f785f94d2f5be0f5c48e80f2a6cc7f8815dd8b jdk7u40-b30 41118cf72ace4f0cee56a9ff437226e98e46e9d7 hs24-b50 +5f53e771711627b23e8c9ac53121e1e8ea9f00b4 icedtea-2.4.1 645b68762a367d82c2b55f76cae431b767bee3ac jdk7u40-b31 2417fa1acf2ba8521f480f2baef9af279ec2bf15 hs24-b51 9658c969b7cf0de256691a80f44dcfe73d72a02f jdk7u40-b32 @@ -568,6 +578,11 @@ b8d8caf6df744d5342b5d284376a005e86c0b108 hs24-b56 eceae04782438987cd747e1c76e4085f50b43a18 jdk7u40-b43 af1fc2868a2b919727bfbb0858449bd991bbee4a jdk7u40-b60 +f3f4df30a4684f077084f374abdebaf3af5618ee icedtea-2.4.2 +f3f4df30a4684f077084f374abdebaf3af5618ee icedtea-2.4.2 +0000000000000000000000000000000000000000 icedtea-2.4.2 +0000000000000000000000000000000000000000 icedtea-2.4.2 +b732355257e3452875a1a8e5a5de2c553dfa705c icedtea-2.4.2 efaa26fb6de2ecb8506fb8b785a429d040e96768 jdk7u40-b61 df6f37a7311d35072a07c1425a7aadee469a09b6 jdk7u40-b62 5fb434aa203c32b4551167b922a70e79831ffdf4 jdk7u45-b01 @@ -589,9 +604,12 @@ 0c0dc384915cafd9bfaa2fe5792a629a22d1b990 jdk7u45-b17 12374864c655a2cefb0d65caaacf215d5365ec5f jdk7u45-b18 3677c8cc3c89c0fa608f485b84396e4cf755634b jdk7u45-b30 +b59e02d9e72bb06d5cbff39605bce1d2695dbdd0 icedtea-2.4.3 +9def299ab058289926f8e1dbf86c9d5a95eb9738 icedtea-2.4.4 520b7b3d9153c1407791325946b07c5c222cf0d6 jdk7u45-b31 c373a733d5d5147f99eaa2b91d6b937c28214fc9 jdk7u45-b33 0bcb43482f2ac5615437541ffb8dc0f79ece3148 jdk7u45-b34 +12ea8d416f105f5971c808c89dddc1006bfc4c53 jdk7u45-b35 429884602206fcf5314c8b953c06d54d337558ca jdk7u51-b00 68f03ff066f2341b89b52a6d6e21ae09de008351 jdk7u51-b01 67910a581eca113847c5320c49436a9816c5d5c6 jdk7u51-b02 @@ -606,3 +624,25 @@ 1f11dff734af98f5bf11d4fceeda221ab1416971 jdk7u51-b11 dee2a38ef6b26534c44c550ef4da2c3146c612c2 jdk7u51-b12 6c6a2299029ad02fa2820b8ff8c61c2bbcae799c jdk7u51-b13 +2cb58882dac3bf8b186ef15f847be926772bbf98 icedtea-2.4.5 +00478c5bf5e93892b40bac1c293f8540d5be58ab icedtea-2.4.6pre01 +172674e0ab65752a9a6e5bb7f563e03f8ca44be1 icedtea-2.4.6 +69b542696e5b678269d2a69b6163eb1471f84224 icedtea-2.4.7 +a398ddc79d2310ad37b131cc3794b3cf574f088e jdk7u51-b30 +cf4110c35afb10456d8264c47b7cde1c20150cab jdk7u51-b31 +dee2a38ef6b26534c44c550ef4da2c3146c612c2 jdk7u55-b00 +ac0063b4452bc724e8648e64f4b2d495054bb308 jdk7u55-b01 +408028d410e316a99495c42df0031018890c22fe jdk7u55-b02 +50fb91504dd8cdf410eb956075442daf3aacf1db jdk7u55-b03 +3be3b8a032a5508646c1c5620cee18d3e69fc708 jdk7u55-b04 +b86119fa2748bd91ae4984ff2264da92b6626f8c jdk7u55-b05 +260d919d52e500a0b20f911fade2a7710474067a jdk7u55-b06 +8cf6e0a3a0651c4132ae034c2b68ddf4eb5c4d88 jdk7u55-b07 +049fd2cef85bf2d557dd7dd8a90a6831a8168ce4 jdk7u55-b08 +9b238ab164e6d1cf9cfb560827d88ef8a7d8c898 jdk7u55-b09 +573d8d080af9eff48aa3b8f0696d8874ce36fbb1 jdk7u55-b09 +36f8bd4dd467ae4183340842fd7158ac3309b826 jdk7u55-b10 +49cada8e39b9215b9fd8b9183743f92625587cfc jdk7u55-b11 +aadc864abd1ced3049bf59ce32786a07997ba190 jdk7u55-b12 +b021fd817a0177b31d1e3d65127a27458e85801e jdk7u55-b13 +d27b468d5f3be3329ff1ff342f3347e6b2e0303b jdk7u55-b30 diff -r cf4110c35afb -r ee5d9f6749da .jcheck/conf --- a/.jcheck/conf Thu Dec 19 09:32:29 2013 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -project=jdk7 -bugids=dup diff -r cf4110c35afb -r ee5d9f6749da agent/src/os/linux/Makefile --- a/agent/src/os/linux/Makefile Thu Dec 19 09:32:29 2013 -0800 +++ b/agent/src/os/linux/Makefile Wed Apr 16 19:41:09 2014 +0100 @@ -23,7 +23,12 @@ # ARCH := $(shell if ([ `uname -m` = "ia64" ]) ; then echo ia64 ; elif ([ `uname -m` = "x86_64" ]) ; then echo amd64; elif ([ `uname -m` = "sparc64" ]) ; then echo sparc; else echo i386 ; fi ) -GCC = gcc + +ifndef BUILD_GCC +BUILD_GCC = gcc +endif + +GCC = $(BUILD_GCC) JAVAH = ${JAVA_HOME}/bin/javah @@ -40,7 +45,7 @@ LIBS = -lthread_db -CFLAGS = -c -fPIC -g -D_GNU_SOURCE -D$(ARCH) $(INCLUDES) -D_FILE_OFFSET_BITS=64 +CFLAGS = -c -fPIC -g -D_GNU_SOURCE -D_$(ARCH)_ $(if $(filter $(ARCH),alpha),,-D$(ARCH)) $(INCLUDES) -D_FILE_OFFSET_BITS=64 LIBSA = $(ARCH)/libsaproc.so @@ -73,7 +78,7 @@ $(GCC) -shared $(LFLAGS_LIBSA) -o $(LIBSA) $(OBJS) $(LIBS) test.o: test.c - $(GCC) -c -o test.o -g -D_GNU_SOURCE -D$(ARCH) $(INCLUDES) test.c + $(GCC) -c -o test.o -g -D_GNU_SOURCE -D_$(ARCH)_ $(if $(filter $(ARCH),alpha),,-D$(ARCH)) $(INCLUDES) test.c test: test.o $(GCC) -o test test.o -L$(ARCH) -lsaproc $(LIBS) diff -r cf4110c35afb -r ee5d9f6749da agent/src/os/linux/libproc.h --- a/agent/src/os/linux/libproc.h Thu Dec 19 09:32:29 2013 -0800 +++ b/agent/src/os/linux/libproc.h Wed Apr 16 19:41:09 2014 +0100 @@ -41,9 +41,34 @@ These two files define pt_regs structure differently */ #ifdef _LP64 -#include "asm-sparc64/ptrace.h" +struct pt_regs { + unsigned long u_regs[16]; /* globals and ins */ + unsigned long tstate; + unsigned long tpc; + unsigned long tnpc; + unsigned int y; + + /* We encode a magic number, PT_REGS_MAGIC, along + * with the %tt (trap type) register value at trap + * entry time. The magic number allows us to identify + * accurately a trap stack frame in the stack + * unwinder, and the %tt value allows us to test + * things like "in a system call" etc. for an arbitray + * process. + * + * The PT_REGS_MAGIC is chosen such that it can be + * loaded completely using just a sethi instruction. + */ + unsigned int magic; +}; #else -#include "asm-sparc/ptrace.h" +struct pt_regs { + unsigned long psr; + unsigned long pc; + unsigned long npc; + unsigned long y; + unsigned long u_regs[16]; /* globals and ins */ +}; #endif #endif //sparc or sparcv9 diff -r cf4110c35afb -r ee5d9f6749da make/bsd/makefiles/arm.make --- a/make/bsd/makefiles/arm.make Thu Dec 19 09:32:29 2013 -0800 +++ b/make/bsd/makefiles/arm.make Wed Apr 16 19:41:09 2014 +0100 @@ -1,5 +1,5 @@ # -# Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2008, 2013, 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 @@ -24,6 +24,8 @@ Obj_Files += bsd_arm.o -LIBS += $(EXT_LIBS_PATH)/sflt_glibc.a +ifneq ($(EXT_LIBS_PATH),) + LIBS += $(EXT_LIBS_PATH)/sflt_glibc.a +endif CFLAGS += -DVM_LITTLE_ENDIAN diff -r cf4110c35afb -r ee5d9f6749da make/bsd/makefiles/buildtree.make --- a/make/bsd/makefiles/buildtree.make Thu Dec 19 09:32:29 2013 -0800 +++ b/make/bsd/makefiles/buildtree.make Wed Apr 16 19:41:09 2014 +0100 @@ -215,6 +215,7 @@ echo "HOTSPOT_BUILD_USER = $(HOTSPOT_BUILD_USER)"; \ echo "HOTSPOT_VM_DISTRO = $(HOTSPOT_VM_DISTRO)"; \ echo "OPENJDK = $(OPENJDK)"; \ + echo "ZERO_BUILD = $(ZERO_BUILD)"; \ echo; \ echo "# Used for platform dispatching"; \ echo "TARGET_DEFINES = -DTARGET_OS_FAMILY_\$$(Platform_os_family)"; \ diff -r cf4110c35afb -r ee5d9f6749da make/bsd/makefiles/vm.make --- a/make/bsd/makefiles/vm.make Thu Dec 19 09:32:29 2013 -0800 +++ b/make/bsd/makefiles/vm.make Wed Apr 16 19:41:09 2014 +0100 @@ -27,6 +27,7 @@ # Common build rules. MAKEFILES_DIR=$(GAMMADIR)/make/$(Platform_os_family)/makefiles +include $(GAMMADIR)/make/defs.make include $(MAKEFILES_DIR)/rules.make include $(GAMMADIR)/make/altsrc.make diff -r cf4110c35afb -r ee5d9f6749da make/hotspot_version --- a/make/hotspot_version Thu Dec 19 09:32:29 2013 -0800 +++ b/make/hotspot_version Wed Apr 16 19:41:09 2014 +0100 @@ -1,5 +1,5 @@ # -# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 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 @@ -31,10 +31,10 @@ # # Don't put quotes (fail windows build). -HOTSPOT_VM_COPYRIGHT=Copyright 2013 +HOTSPOT_VM_COPYRIGHT=Copyright 2014 HS_MAJOR_VER=24 -HS_MINOR_VER=51 +HS_MINOR_VER=55 HS_BUILD_NUMBER=03 JDK_MAJOR_VER=1 diff -r cf4110c35afb -r ee5d9f6749da make/linux/makefiles/adlc.make --- a/make/linux/makefiles/adlc.make Thu Dec 19 09:32:29 2013 -0800 +++ b/make/linux/makefiles/adlc.make Wed Apr 16 19:41:09 2014 +0100 @@ -68,7 +68,9 @@ # CFLAGS_WARN holds compiler options to suppress/enable warnings. # Compiler warnings are treated as errors +ifneq ($(COMPILER_WARNINGS_FATAL),false) CFLAGS_WARN = -Werror +endif CFLAGS += $(CFLAGS_WARN) OBJECTNAMES = \ diff -r cf4110c35afb -r ee5d9f6749da make/linux/makefiles/arm.make --- a/make/linux/makefiles/arm.make Thu Dec 19 09:32:29 2013 -0800 +++ b/make/linux/makefiles/arm.make Wed Apr 16 19:41:09 2014 +0100 @@ -1,5 +1,5 @@ # -# Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2008, 2013, 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 @@ -24,6 +24,8 @@ Obj_Files += linux_arm.o -LIBS += $(EXT_LIBS_PATH)/sflt_glibc.a +ifneq ($(EXT_LIBS_PATH),) + LIBS += $(EXT_LIBS_PATH)/sflt_glibc.a +endif CFLAGS += -DVM_LITTLE_ENDIAN diff -r cf4110c35afb -r ee5d9f6749da make/linux/makefiles/buildtree.make --- a/make/linux/makefiles/buildtree.make Thu Dec 19 09:32:29 2013 -0800 +++ b/make/linux/makefiles/buildtree.make Wed Apr 16 19:41:09 2014 +0100 @@ -57,6 +57,7 @@ # having to read the dependency files for the vm. -include $(SPEC) +include $(GAMMADIR)/make/defs.make include $(GAMMADIR)/make/scm.make include $(GAMMADIR)/make/altsrc.make @@ -208,6 +209,7 @@ echo "HOTSPOT_BUILD_USER = $(HOTSPOT_BUILD_USER)"; \ echo "HOTSPOT_VM_DISTRO = $(HOTSPOT_VM_DISTRO)"; \ echo "OPENJDK = $(OPENJDK)"; \ + echo "ZERO_BUILD = $(ZERO_BUILD)"; \ echo; \ echo "# Used for platform dispatching"; \ echo "TARGET_DEFINES = -DTARGET_OS_FAMILY_\$$(Platform_os_family)"; \ @@ -406,6 +408,7 @@ DATA_MODE/sparcv9 = 64 DATA_MODE/amd64 = 64 DATA_MODE/ia64 = 64 +DATA_MODE/ppc64 = 64 DATA_MODE/zero = $(ARCH_DATA_MODEL) JAVA_FLAG/32 = -d32 @@ -414,6 +417,9 @@ WRONG_DATA_MODE_MSG = \ echo "JAVA_HOME must point to a $(DATA_MODE)-bit OpenJDK." +WRONG_JDK_MSG = \ + echo "JAVA_HOME must point to a HotSpot based JDK \\\(genuine Sun/Oracle or OpenJDK\\\)." + CROSS_COMPILING_MSG = \ echo "Cross compiling for ARCH $(CROSS_COMPILE_ARCH), skipping gamma run." @@ -450,6 +456,14 @@ echo " exit 0"; \ echo "fi"; \ echo ""; \ + echo "# 'gamma' only runs with HotSpot based JDKs (genuine Sun/Oracle or OpenJDK)"; \ + echo ""; \ + echo "\$${JAVA_HOME}/bin/java $(JAVA_FLAG) -version 2>&1 | grep -E 'OpenJDK|HotSpot' > /dev/null"; \ + echo "if [ \$$? -ne 0 ]; then "; \ + echo " $(WRONG_JDK_MSG)"; \ + echo " exit 0"; \ + echo "fi"; \ + echo ""; \ echo "# Use gamma_g if it exists"; \ echo ""; \ echo "GAMMA_PROG=gamma"; \ @@ -457,6 +471,10 @@ echo " GAMMA_PROG=gamma_g"; \ echo "fi"; \ echo ""; \ + echo "if [ -x \"$(PAX_COMMAND)\" ]; then "; \ + echo " $(PAX_COMMAND) $(PAX_COMMAND_ARGS) ./\$${GAMMA_PROG}"; \ + echo "fi"; \ + echo ""; \ echo "if [ \"$(OS_VENDOR)\" = \"Darwin\" ]; then "; \ echo " # Ensure architecture for gamma and JAVA_HOME is the same."; \ echo " # NOTE: gamma assumes the OpenJDK directory layout."; \ diff -r cf4110c35afb -r ee5d9f6749da make/linux/makefiles/defs.make --- a/make/linux/makefiles/defs.make Thu Dec 19 09:32:29 2013 -0800 +++ b/make/linux/makefiles/defs.make Wed Apr 16 19:41:09 2014 +0100 @@ -242,10 +242,14 @@ # client and server subdirectories have symbolic links to ../libjsig.so EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.$(LIBRARY_SUFFIX) ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) - ifeq ($(ZIP_DEBUGINFO_FILES),1) - EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.diz - else - EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.debuginfo + ifneq ($(ZERO_BUILD), true) + ifneq ($(STRIP_POLICY),no_strip) + ifeq ($(ZIP_DEBUGINFO_FILES),1) + EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.diz + else + EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.debuginfo + endif + endif endif endif EXPORT_SERVER_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/server @@ -254,11 +258,13 @@ ifeq ($(findstring true, $(JVM_VARIANT_SERVER) $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true) EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.$(LIBRARY_SUFFIX) - ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) - ifeq ($(ZIP_DEBUGINFO_FILES),1) - EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.diz - else - EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.debuginfo + ifneq ($(STRIP_POLICY),no_strip) + ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) + ifeq ($(ZIP_DEBUGINFO_FILES),1) + EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.diz + else + EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.debuginfo + endif endif endif endif @@ -266,11 +272,13 @@ ifeq ($(JVM_VARIANT_CLIENT),true) EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.$(LIBRARY_SUFFIX) - ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) - ifeq ($(ZIP_DEBUGINFO_FILES),1) - EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.diz - else - EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.debuginfo + ifneq ($(STRIP_POLICY),no_strip) + ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) + ifeq ($(ZIP_DEBUGINFO_FILES),1) + EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.diz + else + EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.debuginfo + endif endif endif endif @@ -282,12 +290,16 @@ ADD_SA_BINARIES/sparc = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \ $(EXPORT_LIB_DIR)/sa-jdi.jar ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) - ifeq ($(ZIP_DEBUGINFO_FILES),1) - ADD_SA_BINARIES/x86 += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz - ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz - else - ADD_SA_BINARIES/x86 += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo - ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo + ifneq ($(ZERO_BUILD), true) + ifneq ($(STRIP_POLICY),no_strip) + ifeq ($(ZIP_DEBUGINFO_FILES),1) + ADD_SA_BINARIES/x86 += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz + ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz + else + ADD_SA_BINARIES/x86 += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo + ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo + endif + endif endif endif ADD_SA_BINARIES/ppc = diff -r cf4110c35afb -r ee5d9f6749da make/linux/makefiles/gcc.make --- a/make/linux/makefiles/gcc.make Thu Dec 19 09:32:29 2013 -0800 +++ b/make/linux/makefiles/gcc.make Wed Apr 16 19:41:09 2014 +0100 @@ -30,22 +30,21 @@ # When cross-compiling the ALT_COMPILER_PATH points # to the cross-compilation toolset ifdef CROSS_COMPILE_ARCH - CXX = $(ALT_COMPILER_PATH)/g++ - CC = $(ALT_COMPILER_PATH)/gcc - HOSTCXX = g++ - HOSTCC = gcc - STRIP = $(ALT_COMPILER_PATH)/strip + CXX ?= $(ALT_COMPILER_PATH)/g++ + CC ?= $(ALT_COMPILER_PATH)/gcc + HOSTCXX ?= g++ + HOSTCC ?= gcc + STRIP ?= $(ALT_COMPILER_PATH)/strip else - CXX = g++ - CC = gcc - HOSTCXX = $(CXX) - HOSTCC = $(CC) - STRIP = strip + CXX ?= g++ + CC ?= gcc + HOSTCXX ?= $(CXX) + HOSTCC ?= $(CC) + STRIP ?= strip endif AS = $(CC) -c endif - # -dumpversion in gcc-2.91 shows "egcs-2.91.66". In later version, it only # prints the numbers (e.g. "2.95", "3.2.1") CC_VER_MAJOR := $(shell $(CC) -dumpversion | sed 's/egcs-//' | cut -d'.' -f1) @@ -66,15 +65,16 @@ # Compiler flags # position-independent code +ifneq ($(filter parisc ppc ppc64 s390 s390x sparc sparc64 sparcv9,$(ZERO_LIBARCH)),) From andrew at icedtea.classpath.org Wed Apr 16 18:42:57 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 16 Apr 2014 18:42:57 +0000 Subject: /hg/release/icedtea7-forest-2.4/jdk: 104 new changesets Message-ID: changeset a1f5b8329c33 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=a1f5b8329c33 author: katleman date: Fri Dec 20 18:53:18 2013 -0800 Added tag jdk7u51-b31 for changeset 5bca0d0969b1 changeset e401eec2663a in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=e401eec2663a author: katleman date: Thu Dec 26 13:05:08 2013 -0800 Added tag jdk7u51-b30 for changeset ef58b2b9a9a1 changeset e238cdb9e11c in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=e238cdb9e11c author: asaha date: Tue Dec 31 09:00:01 2013 -0800 Merge changeset ff7327ac386e in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=ff7327ac386e author: malenkov date: Thu Oct 24 13:10:36 2013 +0400 8026797: Enhance data transfers Reviewed-by: art, skoivu changeset f58ff2903a96 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=f58ff2903a96 author: xuelei date: Thu Oct 24 10:07:51 2013 -0700 8027204: Revise the update of 8026204 and 8025758 Summary: Rivise the update to use system class loader with null TCCL. Also reviewed by Alexander Fomin Reviewed-by: weijun, mchung, ahgross changeset ab5307d46f53 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=ab5307d46f53 author: serb date: Mon Oct 28 20:51:33 2013 +0400 8026163: Enhance media provisioning Reviewed-by: art, skoivu changeset 290217f41970 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=290217f41970 author: alanb date: Thu Oct 24 19:21:52 2013 +0100 8021257: com.sun.corba.se.** should be on restricted package list Reviewed-by: chegar, coffeys, smarks Contributed-by: alan.bateman at oracle.com, mark.sheppard at oracle.com changeset 2e7137407d27 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=2e7137407d27 author: kshefov date: Fri Jun 21 17:53:00 2013 +0400 8015976: OpenJDK part of bug JDK-8015812 [TEST_BUG] Tests have conflicting test descriptions Reviewed-by: coffeys, alanb changeset 64443e2a6000 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=64443e2a6000 author: lancea date: Wed Oct 30 12:30:13 2013 -0400 8026200: Enhance RowSet Factory Reviewed-by: alanb, skoivu changeset 348f5dd4bce0 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=348f5dd4bce0 author: asaha date: Tue Oct 29 09:54:21 2013 -0700 Merge changeset 0ba8fdfc5660 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=0ba8fdfc5660 author: asaha date: Wed Oct 30 12:40:26 2013 -0700 Merge changeset 933fa343a0bc in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=933fa343a0bc author: michaelm date: Fri Nov 01 10:40:56 2013 +0000 8011787: Better applet networking Summary: add checkListen() to client socket binds and new interpretation for port number 0 in SocketPermission Reviewed-by: chegar, alanb changeset 81293c9813de in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=81293c9813de author: asaha date: Tue Nov 05 12:04:46 2013 -0800 Merge changeset 24e3a0b2a423 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=24e3a0b2a423 author: mfang date: Thu Nov 07 12:20:30 2013 -0800 8027787: 7u51 l10n resource file translation update 1 Reviewed-by: yhuang changeset 978eb6856c77 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=978eb6856c77 author: mfang date: Thu Nov 07 12:51:09 2013 -0800 Merge changeset 0c3e9fe842ad in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=0c3e9fe842ad author: rgallard date: Fri Nov 08 13:50:04 2013 -0800 8028057: Modify jarsigner man page documentation to document CCC 8024302: Clarify jar verifications Reviewed-by: weijun changeset 7706eff5936f in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=7706eff5936f author: asaha date: Tue Nov 12 09:12:24 2013 -0800 Merge changeset ae3923aa13d3 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=ae3923aa13d3 author: vadim date: Wed Nov 13 13:19:42 2013 +0400 8023046: Enhance splashscreen support Reviewed-by: anthony, pchelko, mschoene changeset add74b5b0d9f in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=add74b5b0d9f author: lancea date: Fri Nov 15 11:19:36 2013 -0500 8028385: Enhance RowSet Factory Reviewed-by: alanb, skoivu changeset e0855171fee3 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=e0855171fee3 author: asaha date: Tue Nov 19 09:33:42 2013 -0800 Merge changeset e2df89b55221 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=e2df89b55221 author: michaelm date: Wed Nov 20 15:28:54 2013 +0000 8028453: AsynchronousSocketChannel.connect() requires SocketPermission due to bind to local address (win) Reviewed-by: alanb, chegar changeset dae1c43deff0 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=dae1c43deff0 author: coffeys date: Thu Nov 21 13:39:01 2013 +0000 8022698: javax/script/GetInterfaceTest.java fails since 7u45 b04 with -agentvm option Reviewed-by: sundar changeset a659270fc704 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=a659270fc704 author: michaelm date: Fri Nov 22 00:08:17 2013 +0000 8028293: Check local configuration for actual ephemeral port range Reviewed-by: alanb, chegar, smarks changeset 2b32a9e5debc in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=2b32a9e5debc author: michaelm date: Fri Nov 22 00:09:52 2013 +0000 Merge changeset a8b20ef1cf10 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=a8b20ef1cf10 author: michaelm date: Fri Nov 22 01:15:32 2013 +0000 8028823: java/net/Makefile tabs converted to spaces Reviewed-by: mduigou changeset e33366af7724 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=e33366af7724 author: msheppar date: Sun Nov 24 13:08:16 2013 +0000 8028215: ORB.init fails with SecurityException if properties select the JDK default ORB Summary: check for default ORBImpl and ORBSingleton set via properties or System properties Reviewed-by: alanb, coffeys, mchung changeset 87bce4c4d211 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=87bce4c4d211 author: bae date: Wed Nov 27 12:08:21 2013 +0400 8027841: Enhance pixel manipulations Reviewed-by: prr, vadim changeset a41e6d94840b in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=a41e6d94840b author: asaha date: Wed Nov 27 11:20:48 2013 -0800 Merge changeset 26522cc1beae in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=26522cc1beae author: pchelko date: Thu Nov 28 10:33:52 2013 +0400 8025588: [macosx] Frozen AppKit thread in 7u40 Reviewed-by: anthony, art, serb changeset 59b9673236c2 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=59b9673236c2 author: aefimov date: Fri Nov 15 13:31:41 2013 +0400 8027370: Support tzdata2013h Reviewed-by: sherman, coffeys changeset 1d273450bc0a in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=1d273450bc0a author: asaha date: Wed Dec 04 12:38:32 2013 -0800 Merge changeset c5c6085bc635 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=c5c6085bc635 author: weijun date: Mon Nov 25 15:00:36 2013 +0800 8026067: Enhance signed jar verification Reviewed-by: ddehaven, ahgross, mullan changeset c20f746699c7 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=c20f746699c7 author: asaha date: Tue Dec 10 17:16:20 2013 -0800 Merge changeset f48db95291a6 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=f48db95291a6 author: jzavgren date: Thu Apr 11 12:33:33 2013 -0400 8008118: (process) Possible null pointer dereference in jdk/src/solaris/native/java/lang/UNIXProcess_md.c Summary: Modified the path processing code so that it detects and handles out of memory errors. Reviewed-by: chegar, martin, christos, alanb, msheppar Contributed-by: john.zavgren at oracle.com changeset c7c231608e20 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=c7c231608e20 author: robm date: Wed Nov 13 17:51:30 2013 +0000 5049299: (process) Use posix_spawn, not fork, on S10 to avoid swap exhaustion Reviewed-by: alanb, dholmes changeset ea6ec524d828 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=ea6ec524d828 author: jrose date: Fri Dec 13 18:03:41 2013 -0800 8029844: Enhance argument validation Summary: make defensive copy of a varargs array Reviewed-by: mchung, twisti, ahgross changeset 54c9fea273a1 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=54c9fea273a1 author: prr date: Mon Dec 16 10:19:56 2013 -0800 8027775: Enhance ICU code. Reviewed-by: srl, bae, mschoene changeset 37a1f142496b in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=37a1f142496b author: asaha date: Mon Dec 16 12:13:34 2013 -0800 Added tag jdk7u55-b00 for changeset f5eee4f1d5b4 changeset 5010db5b9b5a in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=5010db5b9b5a author: asaha date: Mon Dec 16 13:05:49 2013 -0800 Merge changeset 243656b2a733 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=243656b2a733 author: asaha date: Mon Dec 16 14:54:29 2013 -0800 Added tag jdk7u55-b01 for changeset 5010db5b9b5a changeset f78849b94ee7 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=f78849b94ee7 author: asaha date: Mon Dec 16 18:52:48 2013 -0800 Merge changeset 9e7bfab5bb87 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=9e7bfab5bb87 author: pchelko date: Tue Dec 17 13:59:04 2013 +0400 8029760: Enhance AWT image libraries Reviewed-by: prr, vadim, mschoene changeset 33d856938d83 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=33d856938d83 author: prr date: Thu Dec 19 09:20:59 2013 -0800 8029854: Enhance JPEG decodings Reviewed-by: bae, vadim, mschoene changeset 56161b644cbc in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=56161b644cbc author: kizune date: Thu Dec 19 22:00:54 2013 +0400 8029699: Update Poller demo Reviewed-by: dcubed changeset 23a8ee1e7ed9 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=23a8ee1e7ed9 author: pchelko date: Fri Dec 20 13:37:06 2013 +0400 8025010: Enhance AWT contexts Reviewed-by: art, serb, hawtin changeset 813b5f3ebc22 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=813b5f3ebc22 author: asaha date: Fri Dec 20 11:50:54 2013 -0800 Merge changeset cffb2941192b in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=cffb2941192b author: asaha date: Fri Dec 20 14:15:55 2013 -0800 Merge changeset 2ca3e1fa4455 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=2ca3e1fa4455 author: asaha date: Fri Dec 20 21:35:27 2013 -0800 Merge changeset f298f47b3dae in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=f298f47b3dae author: katleman date: Tue Dec 24 14:46:43 2013 -0800 Added tag jdk7u55-b02 for changeset 2ca3e1fa4455 changeset c12b3c81366c in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=c12b3c81366c author: asaha date: Thu Dec 26 15:56:24 2013 -0800 Merge changeset 95e59bea1725 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=95e59bea1725 author: katleman date: Mon Jan 06 13:57:11 2014 -0800 Added tag jdk7u55-b03 for changeset c12b3c81366c changeset 87efaa6ab6c5 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=87efaa6ab6c5 author: dbuck date: Mon Jan 06 17:02:35 2014 -0800 6571600: JNI use results in UnsatisfiedLinkError looking for libmawt.so Summary: Fix is to call dladdr with name less likely to cause name conflict. Reviewed-by: serb, art changeset 3dbb06a924cd in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=3dbb06a924cd author: mullan date: Mon Dec 23 14:03:25 2013 -0500 8030813: Signed applet fails to load when CRLs are stored in an LDAP directory Summary: Skip JNDI application resource lookup to avoid recursive JAR validation Reviewed-by: vinnie, herrick changeset 8df5084cad1b in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=8df5084cad1b author: katleman date: Wed Jan 08 13:24:08 2014 -0800 Added tag jdk7u45-b35 for changeset 3dbb06a924cd changeset e9143dc3dc2a in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=e9143dc3dc2a author: asaha date: Wed Jan 08 14:16:16 2014 -0800 Merge changeset ff1c173f8810 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=ff1c173f8810 author: asaha date: Thu Jan 09 07:58:13 2014 -0800 Merge changeset a6ec20a1aa89 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=a6ec20a1aa89 author: jbachorik date: Mon Dec 23 15:33:11 2013 +0100 8029735: Enhance service mgmt natives Reviewed-by: sla, mschoene changeset 9aa3938dd1cd in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=9aa3938dd1cd author: serb date: Fri Jan 10 21:20:55 2014 +0400 8029730: Improve audio device additions Reviewed-by: prr, mschoene changeset 476d1bddaa32 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=476d1bddaa32 author: prr date: Mon Jan 13 14:55:45 2014 -0800 8031462: Fonts with morx tables are broken with latest ICU fixes Reviewed-by: bae, vadim changeset 0c16ba816e4f in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=0c16ba816e4f author: katleman date: Mon Jan 13 16:14:55 2014 -0800 Added tag jdk7u55-b04 for changeset 476d1bddaa32 changeset 4e3fb3d5d4bf in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=4e3fb3d5d4bf author: jbachorik date: Mon Dec 23 14:29:27 2013 +0100 8029286: Enhance subject delegation Reviewed-by: dfuchs, ahgross changeset 42e68c7fbe98 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=42e68c7fbe98 author: weijun date: Wed Jan 15 11:23:07 2014 +0800 8030655: Regression: 14_01 Security fix 8024306 causes test failures Reviewed-by: mullan, xuelei, ahgross changeset 6d918cec0812 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=6d918cec0812 author: pchelko date: Wed Jan 15 11:42:50 2014 +0400 8031477: [macosx] Loading AWT native library fails 8002191: AWT-Shutdown thread does not start with the AppletSecurity on Linux 8031032: SQE test failures after JDK-8025010 was fixed Reviewed-by: serb, ddehaven changeset 473208bb112f in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=473208bb112f author: anashaty date: Wed Jan 15 17:21:59 2014 +0400 7190349: [macosx] Text (Label) is incorrectly drawn with a rotated g2d 8013569: [macosx] JLabel preferred size incorrect on retina displays with non-default font size Reviewed-by: prr changeset 99c62bfd15c4 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=99c62bfd15c4 author: robm date: Wed Jan 15 17:56:27 2014 +0000 8026716: (aio) Enhance asynchronous channel handling Reviewed-by: alanb, coffeys changeset 9aaea012e6f3 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=9aaea012e6f3 author: dfuchs date: Thu Jan 16 15:13:15 2014 +0100 8029740: Enhance handling of loggers Reviewed-by: mchung, ahgross changeset 487fd431bad4 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=487fd431bad4 author: wetmore date: Thu Jan 16 15:07:56 2014 -0800 8027766: Enhance RSA processing Summary: Refactored code Reviewed-by: mullan, xuelei changeset 402b13fc601a in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=402b13fc601a author: juh date: Thu Jan 16 18:08:15 2014 -0500 8029745: Enhance algorithm checking Reviewed-by: mullan changeset fc7bd55c4e6c in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=fc7bd55c4e6c author: mullan date: Thu Jan 16 18:10:05 2014 -0500 Merge changeset 56f59e248fe0 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=56f59e248fe0 author: serb date: Tue Jan 21 07:56:57 2014 +0400 8031352: Enhance PNG handling Reviewed-by: prr, mschoene changeset bf6ddbf51dcd in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=bf6ddbf51dcd author: vinnie date: Tue Jan 21 10:55:05 2014 +0000 8030731: Improve name service robustness Reviewed-by: weijun, michaelm, skoivu changeset 888b6fcf7fad in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=888b6fcf7fad author: dmeetry date: Tue Jan 21 20:38:01 2014 +0400 8031394: (sl) Fix exception handling in ServiceLoader Reviewed-by: alanb changeset 7fa6d3ba2cc7 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=7fa6d3ba2cc7 author: prr date: Tue Jan 21 08:47:30 2014 -0800 8031335: Better color profiling 8029750: Enhance LCMS color processing Reviewed-by: bae, vadim, mschoene changeset 72023f0db35d in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=72023f0db35d author: katleman date: Wed Jan 22 10:07:01 2014 -0800 Added tag jdk7u55-b05 for changeset 7fa6d3ba2cc7 changeset 27bdc007056b in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=27bdc007056b author: dfuchs date: Wed Jan 15 20:25:48 2014 +0100 8019853: Break logging and AWT circular dependency Summary: Break logging and AWT circular dependency, which was at the root cause for 8023258 - Logger.getLogger() after ImageIO.read() returns different logger instance Reviewed-by: mchung, art changeset 2fabc47fc5be in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=2fabc47fc5be author: dfuchs date: Wed Jan 15 20:29:07 2014 +0100 8026404: Logging in Applet can trigger ACE: access denied ("java.lang.RuntimePermission" "modifyThreadGroup") Summary: The test 'threadGroup.getParent() == null' can sometimes throw ACE and needs to be wrapped in doPrivileged. Reviewed-by: alanb, mchung, dholmes changeset c40e21f7dff8 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=c40e21f7dff8 author: prr date: Fri Jan 24 10:34:31 2014 -0800 8032370: No "Truncated file" warning from IIOReadWarningListener on JPEGImageReader Reviewed-by: bae, vadim changeset 3b44abd19845 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=3b44abd19845 author: robm date: Mon Jan 27 13:42:59 2014 +0000 8031395: Enhance LDAP processing Reviewed-by: weijun, coffeys changeset c26df3aa662c in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=c26df3aa662c author: bae date: Fri Jan 24 22:40:21 2014 +0400 7131153: GetDC called way too many times - causes bad performance. Reviewed-by: prr changeset 8a1d4fdead57 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=8a1d4fdead57 author: prr date: Fri Jan 24 10:34:31 2014 -0800 8032370: No "Truncated file" warning from IIOReadWarningListener on JPEGImageReader Reviewed-by: bae, vadim changeset 02ae50be6e7b in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=02ae50be6e7b author: bae date: Fri Jan 24 22:40:21 2014 +0400 7131153: GetDC called way too many times - causes bad performance. Reviewed-by: prr changeset f46c291ddeab in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=f46c291ddeab author: robm date: Mon Jan 27 13:42:59 2014 +0000 8031395: Enhance LDAP processing Reviewed-by: weijun, coffeys changeset 795654fce29c in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=795654fce29c author: asaha date: Mon Jan 27 12:15:07 2014 -0800 Merge changeset e6b8e2254dca in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=e6b8e2254dca author: katleman date: Tue Jan 28 11:49:51 2014 -0800 Added tag jdk7u55-b06 for changeset 795654fce29c changeset 88a7dc88e190 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=88a7dc88e190 author: malenkov date: Wed Jan 29 21:39:16 2014 +0400 8026705: [TEST_BUG] java/beans/Introspector/TestTypeResolver.java failed Reviewed-by: art, jfranck changeset 4b2ed892b195 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=4b2ed892b195 author: twisti date: Mon Feb 03 13:00:51 2014 -0800 8032686: Issues with method invoke Reviewed-by: jrose, vlivanov, ahgross changeset 69d1723b0f91 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=69d1723b0f91 author: katleman date: Tue Feb 04 13:12:16 2014 -0800 Added tag jdk7u55-b07 for changeset 4b2ed892b195 changeset 5f869a9e879e in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=5f869a9e879e author: kizune date: Fri Feb 07 20:21:23 2014 +0400 8033618: Correct logging output Reviewed-by: ksrini, alanb, ahgross changeset db1323224053 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=db1323224053 author: aefimov date: Tue Feb 04 17:37:42 2014 +0400 8030822: (tz) Support tzdata2013i Reviewed-by: coffeys, mfang, okutsu changeset 2af7186f8bd1 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=2af7186f8bd1 author: katleman date: Tue Feb 11 13:11:47 2014 -0800 Added tag jdk7u55-b08 for changeset db1323224053 changeset c933355731b2 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=c933355731b2 author: chegar date: Wed Feb 12 17:49:39 2014 +0000 8031050: (thread) Change Thread initialization so that thread name is set before invoking SecurityManager Reviewed-by: alanb, dholmes, mchung changeset 534eeff29ac9 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=534eeff29ac9 author: uta date: Wed Jan 22 18:13:07 2014 -0800 8020191: System.getProperty("os.name") returns "Windows NT (unknown)" on Windows 8.1 Reviewed-by: alanb, khazra, chegar changeset d39dd4135844 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=d39dd4135844 author: katleman date: Tue Feb 18 12:41:39 2014 -0800 Added tag jdk7u55-b09 for changeset 534eeff29ac9 changeset 122510be9947 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=122510be9947 author: katleman date: Tue Feb 18 13:36:34 2014 -0800 Added tag jdk7u55-b09 for changeset d39dd4135844 changeset b23153655006 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=b23153655006 author: pchelko date: Wed Feb 19 10:23:06 2014 +0400 8034772: JDK-8028795 brought a specification change to 7u55 release and caused JCK7 signature test failure Reviewed-by: art, serb changeset 67d86837f669 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=67d86837f669 author: katleman date: Tue Feb 25 12:20:51 2014 -0800 Added tag jdk7u55-b10 for changeset b23153655006 changeset 2d80b7cd7aae in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=2d80b7cd7aae author: collins date: Fri Feb 28 16:48:51 2014 +0000 8032740: Need to create SE Embedded Source Bundles in 7 Release Reviewed-by: dholmes, katleman, bobv, cjplummer changeset 5185723546d5 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=5185723546d5 author: katleman date: Tue Mar 04 12:02:10 2014 -0800 Added tag jdk7u55-b11 for changeset 2d80b7cd7aae changeset 07be5d550873 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=07be5d550873 author: mbankal date: Mon Mar 10 18:40:38 2014 +0000 8036794: Manage JavaScript instances Reviewed-by: sundar, ahgross changeset 51ff2df66fd5 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=51ff2df66fd5 author: katleman date: Tue Mar 11 13:00:07 2014 -0700 Added tag jdk7u55-b12 for changeset 07be5d550873 changeset 92fd166252c2 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=92fd166252c2 author: igerasim date: Wed Mar 12 12:46:11 2014 +0400 8035834: InetAddress.getLocalHost() can hang after JDK-8030731 was fixed Reviewed-by: vinnie changeset 4a5651c84b1e in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=4a5651c84b1e author: katleman date: Tue Mar 18 12:08:03 2014 -0700 Added tag jdk7u55-b13 for changeset 92fd166252c2 changeset ffd99c597521 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=ffd99c597521 author: katleman date: Thu Mar 27 11:23:12 2014 -0700 Added tag jdk7u55-b30 for changeset 4a5651c84b1e changeset 344829ae761e in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=344829ae761e author: andrew date: Wed Apr 16 19:41:14 2014 +0100 Merge jdk7u55-b14 diffstat: .hgtags | 43 + .jcheck/conf | 2 - make/com/sun/java/pack/Makefile | 7 +- make/com/sun/jmx/Makefile | 10 +- make/com/sun/nio/sctp/Makefile | 2 + make/common/Defs-embedded.gmk | 4 +- make/common/Defs-linux.gmk | 26 +- make/common/Library.gmk | 40 +- make/common/Program.gmk | 80 +- make/common/Release.gmk | 20 +- make/common/shared/Compiler-gcc.gmk | 76 +- make/common/shared/Defs-java.gmk | 17 +- make/common/shared/Defs-versions.gmk | 2 +- make/common/shared/Defs.gmk | 2 +- make/common/shared/Platform.gmk | 13 +- make/common/shared/Sanity.gmk | 8 + make/docs/Makefile | 6 +- make/java/java/Exportedfiles.gmk | 1 + make/java/java/Makefile | 34 + make/java/java/mapfile-vers | 2 +- make/java/main/java/mapfile-aarch64 | 39 + make/java/net/FILES_c.gmk | 7 + make/java/net/Makefile | 26 +- make/java/nio/Makefile | 226 +- make/java/security/Makefile | 12 +- make/java/sun_nio/Makefile | 2 +- make/java/version/Makefile | 5 + make/javax/sound/SoundDefs.gmk | 64 +- make/jdk_generic_profile.sh | 94 +- make/sun/awt/FILES_c_unix.gmk | 10 + make/sun/awt/Makefile | 2 +- make/sun/awt/mawt.gmk | 40 +- make/sun/cmm/lcms/FILES_c_unix.gmk | 7 +- make/sun/cmm/lcms/Makefile | 8 +- make/sun/font/Makefile | 6 +- make/sun/javazic/tzdata/VERSION | 2 +- make/sun/javazic/tzdata/africa | 5 +- make/sun/javazic/tzdata/asia | 30 +- make/sun/javazic/tzdata/northamerica | 8 +- make/sun/jawt/Makefile | 7 + make/sun/jpeg/FILES_c.gmk | 6 +- make/sun/jpeg/Makefile | 11 +- make/sun/lwawt/FILES_c_macosx.gmk | 6 + make/sun/lwawt/Makefile | 7 +- make/sun/native2ascii/Makefile | 2 +- make/sun/net/FILES_java.gmk | 229 +- make/sun/nio/cs/Makefile | 2 +- make/sun/security/Makefile | 11 +- make/sun/security/krb5/internal/ccache/Makefile | 49 + make/sun/security/pkcs11/mapfile-vers | 4 +- make/sun/splashscreen/FILES_c.gmk | 78 +- make/sun/splashscreen/Makefile | 35 +- make/sun/xawt/FILES_c_unix.gmk | 20 + make/sun/xawt/Makefile | 62 +- make/tools/Makefile | 9 + make/tools/freetypecheck/Makefile | 2 +- make/tools/generate_nimbus/Makefile | 1 + make/tools/src/build/tools/buildmetaindex/BuildMetaIndex.java | 22 +- make/tools/src/build/tools/compileproperties/CompileProperties.java | 9 +- make/tools/src/build/tools/dirdiff/DirDiff.java | 4 +- make/tools/src/build/tools/dtdbuilder/DTDBuilder.java | 34 +- make/tools/src/build/tools/dtdbuilder/DTDInputStream.java | 6 +- make/tools/src/build/tools/dtdbuilder/DTDParser.java | 44 +- make/tools/src/build/tools/dtdbuilder/PublicMapping.java | 6 +- make/tools/src/build/tools/generatebreakiteratordata/CharSet.java | 16 +- make/tools/src/build/tools/generatebreakiteratordata/DictionaryBasedBreakIteratorBuilder.java | 8 +- make/tools/src/build/tools/generatebreakiteratordata/GenerateBreakIteratorData.java | 6 +- make/tools/src/build/tools/generatebreakiteratordata/RuleBasedBreakIteratorBuilder.java | 201 +- make/tools/src/build/tools/generatebreakiteratordata/SupplementaryCharacterData.java | 6 +- make/tools/src/build/tools/generatecharacter/GenerateCharacter.java | 4 +- make/tools/src/build/tools/generatecharacter/SpecialCaseMap.java | 147 +- make/tools/src/build/tools/generatecharacter/UnicodeSpec.java | 22 +- make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java | 4 +- make/tools/src/build/tools/hasher/Hasher.java | 38 +- make/tools/src/build/tools/jarsplit/JarSplit.java | 5 +- make/tools/src/build/tools/javazic/Gen.java | 14 +- make/tools/src/build/tools/javazic/GenDoc.java | 16 +- make/tools/src/build/tools/javazic/Main.java | 3 +- make/tools/src/build/tools/javazic/Simple.java | 23 +- make/tools/src/build/tools/javazic/Time.java | 10 +- make/tools/src/build/tools/javazic/Zoneinfo.java | 18 +- make/tools/src/build/tools/jdwpgen/AbstractCommandNode.java | 7 +- make/tools/src/build/tools/jdwpgen/AbstractGroupNode.java | 7 +- make/tools/src/build/tools/jdwpgen/AbstractNamedNode.java | 14 +- make/tools/src/build/tools/jdwpgen/AbstractTypeListNode.java | 26 +- make/tools/src/build/tools/jdwpgen/AltNode.java | 4 +- make/tools/src/build/tools/jdwpgen/CommandSetNode.java | 11 +- make/tools/src/build/tools/jdwpgen/ConstantSetNode.java | 9 +- make/tools/src/build/tools/jdwpgen/ErrorSetNode.java | 9 +- make/tools/src/build/tools/jdwpgen/Node.java | 25 +- make/tools/src/build/tools/jdwpgen/OutNode.java | 14 +- make/tools/src/build/tools/jdwpgen/RootNode.java | 10 +- make/tools/src/build/tools/jdwpgen/SelectNode.java | 10 +- make/tools/src/build/tools/makeclasslist/MakeClasslist.java | 15 +- make/tools/src/build/tools/stripproperties/StripProperties.java | 4 +- src/macosx/classes/sun/font/CFontManager.java | 23 +- src/macosx/classes/sun/font/CStrike.java | 110 +- src/macosx/classes/sun/lwawt/LWToolkit.java | 27 +- src/macosx/classes/sun/lwawt/macosx/CClipboard.java | 2 +- src/macosx/classes/sun/lwawt/macosx/CInputMethod.java | 15 +- src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java | 2 +- src/macosx/classes/sun/lwawt/macosx/CViewEmbeddedFrame.java | 2 +- src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java | 34 +- src/macosx/native/sun/awt/LWCToolkit.m | 4 +- src/macosx/native/sun/awt/awt.m | 12 +- src/macosx/native/sun/font/AWTStrike.h | 7 +- src/macosx/native/sun/font/AWTStrike.m | 10 +- src/macosx/native/sun/font/CGGlyphImages.m | 17 +- src/macosx/native/sun/osxapp/ThreadUtilities.h | 4 +- src/macosx/native/sun/osxapp/ThreadUtilities.m | 27 +- src/share/bin/java.c | 8 +- src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java | 2 +- src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java | 2 +- src/share/classes/com/sun/java/swing/plaf/gtk/GTKEngine.java | 3 +- src/share/classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java | 10 +- src/share/classes/com/sun/java/swing/plaf/gtk/GTKStyle.java | 5 +- src/share/classes/com/sun/jmx/remote/security/MBeanServerFileAccessController.java | 2 + src/share/classes/com/sun/jmx/remote/security/SubjectDelegator.java | 20 +- src/share/classes/com/sun/jndi/dns/DnsClient.java | 101 +- src/share/classes/com/sun/jndi/dns/DnsContextFactory.java | 2 +- src/share/classes/com/sun/jndi/ldap/LdapBindingEnumeration.java | 21 +- src/share/classes/com/sun/jndi/ldap/LdapSearchEnumeration.java | 22 +- src/share/classes/com/sun/media/sound/JDK13Services.java | 129 +- src/share/classes/com/sun/media/sound/JSSecurityManager.java | 2 +- src/share/classes/com/sun/naming/internal/ResourceManager.java | 57 +- src/share/classes/com/sun/rowset/CachedRowSetImpl.java | 23 +- src/share/classes/com/sun/rowset/internal/CachedRowSetWriter.java | 13 +- src/share/classes/com/sun/script/javascript/RhinoScriptEngine.java | 2 +- src/share/classes/com/sun/script/javascript/RhinoScriptEngineFactory.java | 8 +- src/share/classes/com/sun/script/javascript/RhinoTopLevel.java | 3 +- src/share/classes/java/awt/EventQueue.java | 8 +- src/share/classes/java/awt/color/ICC_Profile.java | 4 +- src/share/classes/java/awt/datatransfer/SystemFlavorMap.java | 63 +- src/share/classes/java/awt/event/InvocationEvent.java | 94 +- src/share/classes/java/io/InputStream.java | 2 +- src/share/classes/java/lang/Thread.java | 3 +- src/share/classes/java/lang/invoke/BoundMethodHandle.java | 83 +- src/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java | 3 +- src/share/classes/java/lang/invoke/MethodHandles.java | 2 + src/share/classes/java/net/SocksSocketImpl.java | 4 +- src/share/classes/java/security/Policy.java | 1 - src/share/classes/java/util/ServiceLoader.java | 2 +- src/share/classes/java/util/jar/JarVerifier.java | 20 +- src/share/classes/java/util/logging/LogManager.java | 58 +- src/share/classes/java/util/logging/Logger.java | 38 +- src/share/classes/javax/crypto/Cipher.java | 172 +- src/share/classes/javax/script/ScriptEngineManager.java | 24 +- src/share/classes/javax/security/auth/Subject.java | 22 +- src/share/classes/javax/sql/rowset/RowSetProvider.java | 26 +- src/share/classes/javax/sql/rowset/serial/SQLInputImpl.java | 13 +- src/share/classes/javax/sql/rowset/spi/SyncFactory.java | 48 +- src/share/classes/javax/swing/JComponent.java | 13 +- src/share/classes/javax/swing/JDialog.java | 3 +- src/share/classes/javax/swing/JEditorPane.java | 11 +- src/share/classes/javax/swing/JFrame.java | 10 +- src/share/classes/javax/swing/JInternalFrame.java | 6 +- src/share/classes/javax/swing/JPopupMenu.java | 10 +- src/share/classes/javax/swing/MenuSelectionManager.java | 5 +- src/share/classes/javax/swing/PopupFactory.java | 14 +- src/share/classes/javax/swing/SwingUtilities.java | 3 +- src/share/classes/javax/swing/SwingWorker.java | 2 +- src/share/classes/javax/swing/plaf/basic/BasicComboBoxUI.java | 6 +- src/share/classes/javax/swing/plaf/basic/BasicListUI.java | 5 +- src/share/classes/javax/swing/plaf/basic/BasicPopupMenuUI.java | 16 +- src/share/classes/javax/swing/plaf/basic/BasicTableUI.java | 8 +- src/share/classes/javax/swing/plaf/basic/BasicTreeUI.java | 3 +- src/share/classes/javax/swing/plaf/synth/ImagePainter.java | 5 +- src/share/classes/javax/swing/plaf/synth/SynthLookAndFeel.java | 3 +- src/share/classes/javax/swing/text/JTextComponent.java | 6 +- src/share/classes/org/jcp/xml/dsig/internal/dom/DOMHMACSignatureMethod.java | 2 - src/share/classes/sun/applet/AppletPanel.java | 10 +- src/share/classes/sun/applet/AppletViewerPanel.java | 18 +- src/share/classes/sun/awt/AWTAccessor.java | 35 + src/share/classes/sun/awt/AWTAutoShutdown.java | 20 +- src/share/classes/sun/awt/AppContext.java | 73 +- src/share/classes/sun/awt/SunToolkit.java | 3 +- src/share/classes/sun/awt/datatransfer/ClipboardTransferable.java | 2 +- src/share/classes/sun/awt/datatransfer/SunClipboard.java | 12 +- src/share/classes/sun/awt/image/JPEGImageDecoder.java | 2 +- src/share/classes/sun/font/CreatedFontTracker.java | 46 +- src/share/classes/sun/font/SunFontManager.java | 35 +- src/share/classes/sun/java2d/Disposer.java | 32 +- src/share/classes/sun/java2d/cmm/lcms/LCMS.java | 2 +- src/share/classes/sun/java2d/opengl/OGLRenderQueue.java | 10 +- src/share/classes/sun/misc/InnocuousThread.java | 121 + src/share/classes/sun/misc/JavaAWTAccess.java | 14 +- src/share/classes/sun/misc/Service.java | 2 +- src/share/classes/sun/misc/SharedSecrets.java | 10 +- src/share/classes/sun/misc/ThreadGroupUtils.java | 55 + src/share/classes/sun/misc/Version.java.template | 58 +- src/share/classes/sun/nio/ch/Invoker.java | 12 + src/share/classes/sun/nio/ch/ThreadPool.java | 35 +- src/share/classes/sun/rmi/registry/RegistryImpl.java | 14 + src/share/classes/sun/rmi/server/LoaderHandler.java | 2 +- src/share/classes/sun/rmi/server/UnicastServerRef.java | 2 +- src/share/classes/sun/security/krb5/internal/ccache/FileCredentialsCache.java | 96 +- src/share/classes/sun/security/pkcs11/Config.java | 3 + src/share/classes/sun/security/pkcs11/P11Digest.java | 185 +- src/share/classes/sun/security/pkcs11/P11Util.java | 2 +- src/share/classes/sun/security/pkcs11/SunPKCS11.java | 23 +- src/share/classes/sun/security/pkcs11/wrapper/PKCS11.java | 377 +- src/share/classes/sun/security/provider/SeedGenerator.java | 31 +- src/share/classes/sun/security/provider/certpath/AlgorithmChecker.java | 2 +- src/share/classes/sun/security/provider/certpath/OCSP.java | 18 +- src/share/classes/sun/security/provider/certpath/ldap/LDAPCertStore.java | 20 + src/share/classes/sun/security/rsa/RSAPadding.java | 131 +- src/share/classes/sun/security/ssl/SSLEngineImpl.java | 11 + src/share/classes/sun/security/ssl/SignatureAndHashAlgorithm.java | 2 +- src/share/classes/sun/security/tools/JarSigner.java | 20 +- src/share/classes/sun/security/util/ObjectIdentifier.java | 2 +- src/share/classes/sun/security/util/SignatureFileVerifier.java | 46 + src/share/classes/sun/swing/DefaultLookup.java | 3 +- src/share/classes/sun/swing/SwingUtilities2.java | 17 +- src/share/classes/sun/tools/jar/Main.java | 2 +- src/share/classes/sun/tools/native2ascii/Main.java | 9 +- src/share/classes/sun/util/calendar/ZoneInfoFile.java | 41 +- src/share/classes/sun/util/resources/TimeZoneNames.java | 4 +- src/share/classes/sun/util/resources/TimeZoneNames_de.java | 4 +- src/share/classes/sun/util/resources/TimeZoneNames_es.java | 4 +- src/share/classes/sun/util/resources/TimeZoneNames_fr.java | 4 +- src/share/classes/sun/util/resources/TimeZoneNames_it.java | 4 +- src/share/classes/sun/util/resources/TimeZoneNames_ja.java | 4 +- src/share/classes/sun/util/resources/TimeZoneNames_ko.java | 4 +- src/share/classes/sun/util/resources/TimeZoneNames_pt_BR.java | 4 +- src/share/classes/sun/util/resources/TimeZoneNames_sv.java | 4 +- src/share/classes/sun/util/resources/TimeZoneNames_zh_CN.java | 4 +- src/share/classes/sun/util/resources/TimeZoneNames_zh_TW.java | 4 +- src/share/demo/jvmti/gctest/sample.makefile.txt | 6 +- src/share/demo/jvmti/heapTracker/sample.makefile.txt | 19 +- src/share/demo/jvmti/heapViewer/sample.makefile.txt | 5 +- src/share/demo/jvmti/hprof/sample.makefile.txt | 6 +- src/share/demo/jvmti/minst/sample.makefile.txt | 19 +- src/share/demo/jvmti/mtrace/sample.makefile.txt | 20 +- src/share/demo/jvmti/versionCheck/sample.makefile.txt | 6 +- src/share/demo/jvmti/waiters/sample.makefile.txt | 8 +- src/share/lib/security/java.security-linux | 4 + src/share/lib/security/java.security-macosx | 4 + src/share/lib/security/java.security-solaris | 4 + src/share/lib/security/java.security-windows | 4 + src/share/lib/security/nss.cfg.in | 5 + src/share/lib/security/sunpkcs11-solaris.cfg | 14 +- src/share/native/com/sun/java/util/jar/pack/unpack.cpp | 37 +- src/share/native/com/sun/media/sound/SoundDefs.h | 9 + src/share/native/java/util/zip/Deflater.c | 46 +- src/share/native/java/util/zip/Inflater.c | 6 +- src/share/native/sun/awt/giflib/dgif_lib.c | 4 +- src/share/native/sun/awt/image/awt_ImageRep.c | 2 +- src/share/native/sun/awt/image/gif/gifdecoder.c | 1 + src/share/native/sun/awt/image/jpeg/README | 385 - src/share/native/sun/awt/image/jpeg/imageioJPEG.c | 16 +- src/share/native/sun/awt/image/jpeg/jcapimin.c | 284 - src/share/native/sun/awt/image/jpeg/jcapistd.c | 165 - src/share/native/sun/awt/image/jpeg/jccoefct.c | 453 - src/share/native/sun/awt/image/jpeg/jccolor.c | 462 - src/share/native/sun/awt/image/jpeg/jcdctmgr.c | 391 - src/share/native/sun/awt/image/jpeg/jchuff.c | 913 -- src/share/native/sun/awt/image/jpeg/jchuff.h | 51 - src/share/native/sun/awt/image/jpeg/jcinit.c | 76 - src/share/native/sun/awt/image/jpeg/jcmainct.c | 297 - src/share/native/sun/awt/image/jpeg/jcmarker.c | 682 - src/share/native/sun/awt/image/jpeg/jcmaster.c | 594 - src/share/native/sun/awt/image/jpeg/jcomapi.c | 110 - src/share/native/sun/awt/image/jpeg/jconfig.h | 43 - src/share/native/sun/awt/image/jpeg/jcparam.c | 614 - src/share/native/sun/awt/image/jpeg/jcphuff.c | 837 -- src/share/native/sun/awt/image/jpeg/jcprepct.c | 358 - src/share/native/sun/awt/image/jpeg/jcsample.c | 523 - src/share/native/sun/awt/image/jpeg/jctrans.c | 392 - src/share/native/sun/awt/image/jpeg/jdapimin.c | 399 - src/share/native/sun/awt/image/jpeg/jdapistd.c | 279 - src/share/native/sun/awt/image/jpeg/jdcoefct.c | 740 - src/share/native/sun/awt/image/jpeg/jdcolor.c | 398 - src/share/native/sun/awt/image/jpeg/jdct.h | 180 - src/share/native/sun/awt/image/jpeg/jddctmgr.c | 273 - src/share/native/sun/awt/image/jpeg/jdhuff.c | 655 - src/share/native/sun/awt/image/jpeg/jdhuff.h | 205 - src/share/native/sun/awt/image/jpeg/jdinput.c | 385 - src/share/native/sun/awt/image/jpeg/jdmainct.c | 516 - src/share/native/sun/awt/image/jpeg/jdmarker.c | 1384 --- src/share/native/sun/awt/image/jpeg/jdmaster.c | 561 - src/share/native/sun/awt/image/jpeg/jdmerge.c | 404 - src/share/native/sun/awt/image/jpeg/jdphuff.c | 672 - src/share/native/sun/awt/image/jpeg/jdpostct.c | 294 - src/share/native/sun/awt/image/jpeg/jdsample.c | 482 - src/share/native/sun/awt/image/jpeg/jdtrans.c | 147 - src/share/native/sun/awt/image/jpeg/jerror.c | 272 - src/share/native/sun/awt/image/jpeg/jerror.h | 295 - src/share/native/sun/awt/image/jpeg/jfdctflt.c | 172 - src/share/native/sun/awt/image/jpeg/jfdctfst.c | 228 - src/share/native/sun/awt/image/jpeg/jfdctint.c | 287 - src/share/native/sun/awt/image/jpeg/jidctflt.c | 246 - src/share/native/sun/awt/image/jpeg/jidctfst.c | 372 - src/share/native/sun/awt/image/jpeg/jidctint.c | 393 - src/share/native/sun/awt/image/jpeg/jidctred.c | 402 - src/share/native/sun/awt/image/jpeg/jinclude.h | 95 - src/share/native/sun/awt/image/jpeg/jmemmgr.c | 1124 -- src/share/native/sun/awt/image/jpeg/jmemnobs.c | 113 - src/share/native/sun/awt/image/jpeg/jmemsys.h | 202 - src/share/native/sun/awt/image/jpeg/jmorecfg.h | 378 - src/share/native/sun/awt/image/jpeg/jpeg-6b/README | 385 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcapimin.c | 284 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcapistd.c | 165 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jccoefct.c | 453 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jccolor.c | 462 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcdctmgr.c | 391 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jchuff.c | 913 ++ src/share/native/sun/awt/image/jpeg/jpeg-6b/jchuff.h | 51 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcinit.c | 76 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcmainct.c | 297 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcmarker.c | 682 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcmaster.c | 594 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcomapi.c | 110 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jconfig.h | 43 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcparam.c | 614 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcphuff.c | 837 ++ src/share/native/sun/awt/image/jpeg/jpeg-6b/jcprepct.c | 358 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcsample.c | 523 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jctrans.c | 392 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdapimin.c | 399 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdapistd.c | 279 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdcoefct.c | 740 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdcolor.c | 398 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdct.h | 180 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jddctmgr.c | 273 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdhuff.c | 655 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdhuff.h | 205 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdinput.c | 385 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdmainct.c | 516 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdmarker.c | 1390 +++ src/share/native/sun/awt/image/jpeg/jpeg-6b/jdmaster.c | 561 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdmerge.c | 404 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdphuff.c | 672 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdpostct.c | 294 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdsample.c | 482 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdtrans.c | 147 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jerror.c | 272 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jerror.h | 295 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jfdctflt.c | 172 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jfdctfst.c | 228 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jfdctint.c | 287 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jidctflt.c | 246 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jidctfst.c | 372 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jidctint.c | 393 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jidctred.c | 402 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jinclude.h | 95 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jmemmgr.c | 1124 ++ src/share/native/sun/awt/image/jpeg/jpeg-6b/jmemnobs.c | 113 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jmemsys.h | 202 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jmorecfg.h | 378 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jpegint.h | 396 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jpeglib.h | 1100 ++ src/share/native/sun/awt/image/jpeg/jpeg-6b/jquant1.c | 860 ++ src/share/native/sun/awt/image/jpeg/jpeg-6b/jquant2.c | 1314 +++ src/share/native/sun/awt/image/jpeg/jpeg-6b/jutils.c | 183 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jversion.h | 18 + src/share/native/sun/awt/image/jpeg/jpegdecoder.c | 5 +- src/share/native/sun/awt/image/jpeg/jpegint.h | 396 - src/share/native/sun/awt/image/jpeg/jpeglib.h | 1100 -- src/share/native/sun/awt/image/jpeg/jquant1.c | 860 -- src/share/native/sun/awt/image/jpeg/jquant2.c | 1314 --- src/share/native/sun/awt/image/jpeg/jutils.c | 183 - src/share/native/sun/awt/image/jpeg/jversion.h | 18 - src/share/native/sun/awt/libpng/pngrtran.c | 3 + src/share/native/sun/awt/libpng/pngset.c | 11 + src/share/native/sun/awt/medialib/awt_ImagingLib.c | 82 +- src/share/native/sun/awt/splashscreen/splashscreen_gif.c | 11 +- src/share/native/sun/awt/splashscreen/splashscreen_jpeg.c | 7 +- src/share/native/sun/awt/splashscreen/splashscreen_png.c | 2 +- src/share/native/sun/font/freetypeScaler.c | 28 +- src/share/native/sun/font/layout/ContextualGlyphSubstProc2.cpp | 1 + src/share/native/sun/font/layout/ContextualSubstSubtables.cpp | 7 +- src/share/native/sun/font/layout/LigatureSubstProc2.cpp | 6 +- src/share/native/sun/font/layout/LookupProcessor.cpp | 1 + src/share/native/sun/font/layout/MarkToBasePosnSubtables.cpp | 1 + src/share/native/sun/font/layout/OpenTypeUtilities.cpp | 2 +- src/share/native/sun/font/layout/SegmentArrayProcessor.cpp | 1 + src/share/native/sun/font/layout/StateTableProcessor.cpp | 1 + src/share/native/sun/java2d/cmm/lcms/cmscam02.c | 4 +- src/share/native/sun/java2d/cmm/lcms/cmscgats.c | 61 +- src/share/native/sun/java2d/cmm/lcms/cmscnvrt.c | 99 +- src/share/native/sun/java2d/cmm/lcms/cmserr.c | 2 - src/share/native/sun/java2d/cmm/lcms/cmsgamma.c | 59 +- src/share/native/sun/java2d/cmm/lcms/cmsgmt.c | 54 +- src/share/native/sun/java2d/cmm/lcms/cmsintrp.c | 69 +- src/share/native/sun/java2d/cmm/lcms/cmsio0.c | 167 +- src/share/native/sun/java2d/cmm/lcms/cmsio1.c | 242 +- src/share/native/sun/java2d/cmm/lcms/cmslut.c | 89 +- src/share/native/sun/java2d/cmm/lcms/cmsmd5.c | 2 +- src/share/native/sun/java2d/cmm/lcms/cmsnamed.c | 52 +- src/share/native/sun/java2d/cmm/lcms/cmsopt.c | 107 +- src/share/native/sun/java2d/cmm/lcms/cmspack.c | 24 +- src/share/native/sun/java2d/cmm/lcms/cmspcs.c | 4 + src/share/native/sun/java2d/cmm/lcms/cmsplugin.c | 47 +- src/share/native/sun/java2d/cmm/lcms/cmsps2.c | 5 +- src/share/native/sun/java2d/cmm/lcms/cmssamp.c | 246 +- src/share/native/sun/java2d/cmm/lcms/cmstypes.c | 264 +- src/share/native/sun/java2d/cmm/lcms/cmsvirt.c | 191 +- src/share/native/sun/java2d/cmm/lcms/cmswtpnt.c | 66 +- src/share/native/sun/java2d/cmm/lcms/cmsxform.c | 29 +- src/share/native/sun/java2d/cmm/lcms/lcms2.h | 18 +- src/share/native/sun/java2d/cmm/lcms/lcms2_internal.h | 28 +- src/share/native/sun/java2d/loops/TransformHelper.c | 11 +- src/share/native/sun/management/Flag.c | 4 +- src/share/native/sun/management/GcInfoBuilder.c | 15 +- src/share/native/sun/security/pkcs11/wrapper/pkcs11wrapper.h | 6 +- src/solaris/bin/aarch64/jvm.cfg | 36 + src/solaris/classes/java/lang/UNIXProcess.java.bsd | 62 +- src/solaris/classes/java/lang/UNIXProcess.java.linux | 64 +- src/solaris/classes/java/lang/UNIXProcess.java.solaris | 70 +- src/solaris/classes/sun/awt/X11/XClipboard.java | 4 +- src/solaris/classes/sun/awt/X11/XToolkit.java | 27 +- src/solaris/classes/sun/awt/X11/XWM.java | 26 +- src/solaris/classes/sun/awt/X11/XWindowPeer.java | 2 + src/solaris/classes/sun/awt/X11GraphicsDevice.java | 30 +- src/solaris/classes/sun/security/smartcardio/PlatformPCSC.java | 4 +- src/solaris/demo/jni/Poller/Poller.c | 12 +- src/solaris/native/com/sun/media/sound/PLATFORM_API_SolarisOS_Utils.c | 2 +- src/solaris/native/common/deps/cups_fp.c | 104 + src/solaris/native/common/deps/cups_fp.h | 61 + src/solaris/native/common/deps/fontconfig2/fontconfig/fontconfig.h | 302 + src/solaris/native/common/deps/fontconfig2/fontconfig_fp.c | 188 + src/solaris/native/common/deps/fontconfig2/fontconfig_fp.h | 161 + src/solaris/native/common/deps/gconf2/gconf/gconf-client.h | 41 + src/solaris/native/common/deps/gconf2/gconf_fp.c | 76 + src/solaris/native/common/deps/gconf2/gconf_fp.h | 48 + src/solaris/native/common/deps/glib2/gio/gio_typedefs.h | 65 + src/solaris/native/common/deps/glib2/gio_fp.c | 109 + src/solaris/native/common/deps/glib2/gio_fp.h | 61 + src/solaris/native/common/deps/glib2/glib_fp.h | 41 + src/solaris/native/common/deps/gtk2/gtk/gtk.h | 567 + src/solaris/native/common/deps/gtk2/gtk_fp.c | 398 + src/solaris/native/common/deps/gtk2/gtk_fp.h | 469 + src/solaris/native/common/deps/syscalls_fp.c | 122 + src/solaris/native/common/deps/syscalls_fp.h | 79 + src/solaris/native/java/lang/ProcessEnvironment_md.c | 23 +- src/solaris/native/java/lang/UNIXProcess_md.c | 739 +- src/solaris/native/java/lang/childproc.c | 376 + src/solaris/native/java/lang/childproc.h | 145 + src/solaris/native/java/lang/java_props_md.c | 7 +- src/solaris/native/java/lang/jspawnhelper.c | 149 + src/solaris/native/java/util/TimeZone_md.c | 64 + src/solaris/native/sun/awt/CUPSfuncs.c | 137 +- src/solaris/native/sun/awt/awt_GraphicsEnv.c | 2 +- src/solaris/native/sun/awt/awt_LoadLibrary.c | 4 +- src/solaris/native/sun/awt/awt_UNIXToolkit.c | 20 +- src/solaris/native/sun/awt/fontconfig.h | 941 -- src/solaris/native/sun/awt/fontpath.c | 400 +- src/solaris/native/sun/awt/gtk2_interface.c | 988 +- src/solaris/native/sun/awt/gtk2_interface.h | 580 +- src/solaris/native/sun/awt/sun_awt_X11_GtkFileDialogPeer.c | 68 +- src/solaris/native/sun/awt/swing_GTKEngine.c | 76 +- src/solaris/native/sun/awt/swing_GTKStyle.c | 20 +- src/solaris/native/sun/net/spi/DefaultProxySelector.c | 465 +- src/solaris/native/sun/nio/ch/EPollArrayWrapper.c | 1 - src/solaris/native/sun/nio/fs/GnomeFileTypeDetector.c | 94 +- src/solaris/native/sun/nio/fs/LinuxNativeDispatcher.c | 50 +- src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c | 111 +- src/solaris/native/sun/security/krb5/internal/ccache/krb5ccache.c | 113 + src/solaris/native/sun/xawt/awt_Desktop.c | 103 +- src/windows/classes/sun/awt/shell/Win32ShellFolderManager2.java | 25 +- src/windows/classes/sun/awt/windows/WClipboard.java | 3 +- src/windows/classes/sun/awt/windows/WToolkit.java | 38 +- src/windows/classes/sun/java2d/d3d/D3DScreenUpdateManager.java | 64 +- src/windows/native/java/lang/java_props_md.c | 4 +- src/windows/native/sun/font/fontpath.c | 26 +- src/windows/native/sun/windows/awt_Toolkit.cpp | 11 +- src/windows/resource/java.manifest | 10 +- test/Makefile | 6 + test/com/oracle/security/ucrypto/TestAES.java | 118 +- test/com/oracle/security/ucrypto/TestDigest.java | 24 +- test/com/oracle/security/ucrypto/TestRSA.java | 276 +- test/com/oracle/security/ucrypto/UcryptoTest.java | 28 +- test/com/sun/crypto/provider/Cipher/UTIL/TestUtil.java | 13 +- test/java/awt/Component/PrintAllXcheckJNI/PrintAllXcheckJNI.java | 9 + test/java/awt/Graphics2D/DrawString/DrawRotatedString.java | 81 + test/java/awt/Graphics2D/IncorrectTextSize/IncorrectTextSize.java | 77 + test/java/awt/Toolkit/LoadAWTCrashTest/LoadAWTCrashTest.java | 37 + test/java/awt/font/TextLayout/TestAATMorxFont.java | 86 + test/java/beans/Introspector/TestTypeResolver.java | 2 + test/java/lang/ProcessBuilder/Basic.java | 1 + test/java/lang/ProcessBuilder/BasicLauncher.java | 99 + test/java/lang/SecurityManager/CheckPackageAccess.java | 1 + test/java/net/URL/TestHttps.java | 34 + test/java/nio/MappedByteBuffer/Basic.java | 91 +- test/java/nio/channels/spi/SelectorProvider/inheritedChannel/lib/linux-i586/libLauncher.so | Bin test/java/nio/channels/spi/SelectorProvider/inheritedChannel/lib/solaris-i586/libLauncher.so | Bin test/java/nio/channels/spi/SelectorProvider/inheritedChannel/lib/solaris-sparc/libLauncher.so | Bin test/java/nio/channels/spi/SelectorProvider/inheritedChannel/lib/solaris-sparcv9/libLauncher.so | Bin test/java/rmi/activation/rmidViaInheritedChannel/InheritedChannelNotServerSocket.java | 9 +- test/java/rmi/activation/rmidViaInheritedChannel/RmidViaInheritedChannel.java | 9 +- test/java/util/Locale/data/deflocale.rhel5 | 3924 ---------- test/java/util/Locale/data/deflocale.rhel5.fmtasdefault | 3924 ---------- test/java/util/Locale/data/deflocale.sol10 | 1725 ---- test/java/util/Locale/data/deflocale.sol10.fmtasdefault | 1725 ---- test/java/util/Locale/data/deflocale.win7 | 1494 --- test/java/util/Locale/data/deflocale.win7.fmtasdefault | 1494 --- test/java/util/logging/TestAppletLoggerContext.java | 19 +- test/java/util/logging/TestLoggingWithMainAppContext.java | 75 + test/java/util/logging/TestMainAppContext.java | 85 + test/javax/imageio/plugins/jpeg/TruncatedImageWarningTest.java | 58 + test/javax/imageio/plugins/jpeg/truncated.jpg | Bin test/sun/management/jmxremote/bootstrap/linux-i586/launcher | Bin test/sun/management/jmxremote/bootstrap/solaris-i586/launcher | Bin test/sun/management/jmxremote/bootstrap/solaris-sparc/launcher | Bin test/sun/management/windows/revokeall.exe | Bin test/sun/net/InetAddress/nameservice/dns/cname.sh | 2 +- test/sun/net/idn/nfscis.spp | Bin test/sun/net/idn/nfscsi.spp | Bin test/sun/net/idn/nfscss.spp | Bin test/sun/net/idn/nfsmxp.spp | Bin test/sun/net/idn/nfsmxs.spp | Bin test/sun/net/www/protocol/file/DirPermissionDenied.sh | 1 + test/sun/security/pkcs11/MessageDigest/TestCloning.java | 141 + test/sun/security/pkcs11/nss/lib/linux-amd64/libfreebl3.chk | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libfreebl3.so | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libnspr4.so | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libnss3.so | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libnssckbi.so | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libplc4.so | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libplds4.so | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libsoftokn3.chk | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libsoftokn3.so | Bin test/sun/security/pkcs11/nss/lib/linux-i586/libnspr4.so | Bin test/sun/security/pkcs11/nss/lib/linux-i586/libnss3.so | Bin test/sun/security/pkcs11/nss/lib/linux-i586/libnssckbi.so | Bin test/sun/security/pkcs11/nss/lib/linux-i586/libplc4.so | Bin test/sun/security/pkcs11/nss/lib/linux-i586/libplds4.so | Bin test/sun/security/pkcs11/nss/lib/linux-i586/libsoftokn3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-amd64/libnspr4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-amd64/libnss3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-amd64/libnssckbi.so | Bin test/sun/security/pkcs11/nss/lib/solaris-amd64/libplc4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-amd64/libplds4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-amd64/libsoftokn3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-i586/libfreebl3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-i586/libnspr4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-i586/libnss3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-i586/libnssckbi.so | Bin test/sun/security/pkcs11/nss/lib/solaris-i586/libplc4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-i586/libplds4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-i586/libsoftokn3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libfreebl_hybrid_3.chk | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libfreebl_hybrid_3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libnspr4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libnss3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libnssckbi.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libplc4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libplds4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libsoftokn3.chk | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libsoftokn3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparcv9/libnspr4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparcv9/libnss3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparcv9/libnssckbi.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparcv9/libplc4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparcv9/libplds4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparcv9/libsoftokn3.so | Bin test/sun/security/pkcs11/nss/lib/windows-i586/libnspr4.dll | Bin test/sun/security/pkcs11/nss/lib/windows-i586/libplc4.dll | Bin test/sun/security/pkcs11/nss/lib/windows-i586/libplds4.dll | Bin test/sun/security/pkcs11/nss/lib/windows-i586/nss3.dll | Bin test/sun/security/pkcs11/nss/lib/windows-i586/nssckbi.dll | Bin test/sun/security/pkcs11/nss/lib/windows-i586/softokn3.dll | Bin test/sun/tools/native2ascii/NativeErrors.java | 4 +- test/tools/launcher/RunpathTest.java | 84 + test/tools/pack200/MemoryAllocatorTest.java | 369 + 565 files changed, 35724 insertions(+), 45604 deletions(-) diffs (truncated from 95513 to 500 lines): diff -r 5bca0d0969b1 -r 344829ae761e .hgtags --- a/.hgtags Thu Dec 19 09:34:48 2013 -0800 +++ b/.hgtags Wed Apr 16 19:41:14 2014 +0100 @@ -50,6 +50,7 @@ f708138c9aca4b389872838fe6773872fce3609e jdk7-b73 eacb36e30327e7ae33baa068e82ddccbd91eaae2 jdk7-b74 8885b22565077236a927e824ef450742e434a230 jdk7-b75 +fb2ee5e96b171ae9db67274d87ffaba941e8bfa6 icedtea7-1.12 8fb602395be0f7d5af4e7e93b7df2d960faf9d17 jdk7-b76 e6a5d095c356a547cf5b3c8885885aca5e91e09b jdk7-b77 1143e498f813b8223b5e3a696d79da7ff7c25354 jdk7-b78 @@ -63,6 +64,7 @@ eae6e9ab26064d9ba0e7665dd646a1fd2506fcc1 jdk7-b86 2cafbbe9825e911a6ca6c17d9a18eb1f0bf0873c jdk7-b87 b3c69282f6d3c90ec21056cd1ab70dc0c895b069 jdk7-b88 +2017795af50aebc00f500e58f708980b49bc7cd1 icedtea7-1.13 4a6abb7e224cc8d9a583c23c5782e4668739a119 jdk7-b89 7f90d0b9dbb7ab4c60d0b0233e4e77fb4fac597c jdk7-b90 08a31cab971fcad4695e913d0f3be7bde3a90747 jdk7-b91 @@ -111,6 +113,7 @@ 554adcfb615e63e62af530b1c10fcf7813a75b26 jdk7-b134 d8ced728159fbb2caa8b6adb477fd8efdbbdf179 jdk7-b135 aa13e7702cd9d8aca9aa38f1227f966990866944 jdk7-b136 +1571aa7abe47a54510c62a5b59a8c343cdaf67cb icedtea-1.14 29296ea6529a418037ccce95903249665ef31c11 jdk7-b137 60d3d55dcc9c31a30ced9caa6ef5c0dcd7db031d jdk7-b138 d80954a89b49fda47c0c5cace65a17f5a758b8bd jdk7-b139 @@ -123,6 +126,7 @@ 539e576793a8e64aaf160e0d6ab0b9723cd0bef0 jdk7-b146 69e973991866c948cf1808b06884ef2d28b64fcb jdk7u1-b01 f097ca2434b1412b12ab4a5c2397ce271bf681e7 jdk7-b147 +7ec1845521edfb1843cad3868217983727ece53d icedtea-2.0-branchpoint 2baf612764d215e6f3a5b48533f74c6924ac98d7 jdk7u1-b02 a4781b6d9cfb6901452579adee17c9a17c1b584c jdk7u1-b03 b223ed9a5fdf8ce3af42adfa8815975811d70eae jdk7u1-b04 @@ -141,6 +145,7 @@ 79c8c4608f60e1f981b17ba4077dfcaa2ed67be4 jdk7u2-b12 fb2980d7c9439e3d62ab12f40506a2a2db2df0f4 jdk7u2-b13 24e42f1f9029f9f5a9b1481d523facaf09452e5b jdk7u2-b21 +a75913596199fbb8583f9d74021f54dc76f87b14 icedtea-2.1-branchpoint e3790f3ce50aa4e2a1b03089ac0bcd48f9d1d2c2 jdk7u3-b02 7e8351342f0b22b694bd3c2db979643529f32e71 jdk7u3-b03 fc6b7b6ac837c9e867b073e13fc14e643f771028 jdk7u3-b04 @@ -157,6 +162,7 @@ 6485e842d7f736b6ca3d7e4a7cdc5de6bbdd870c jdk7u4-b10 d568e85567ccfdd75f3f0c42aa0d75c440422827 jdk7u4-b11 16781e84dcdb5f82c287a3b5387dde9f8aaf74e0 jdk7u4-b12 +907555f6191a0cd84886b07c4c40bc6ce498b8b1 icedtea-2.2-branchpoint c929e96aa059c8b79ab94d5b0b1a242ca53a5b32 jdk7u4-b13 09f612bac047b132bb9bf7d4aa8afe6ea4d5b938 jdk7u4-b14 9e15d1f3fa4b35b8c950323c76b9ed094d434b97 jdk7u5-b01 @@ -191,6 +197,7 @@ e50c9a5f001c61f49e7e71b25b97ed4095d3557b jdk7u6-b15 966e21feb7f088e318a35b069c1a61ff6363e554 jdk7u6-b16 aa0ad405f70bc7a7af95fef109f114ceecf31232 jdk7u6-b17 +8ff5fca08814f1f0eeda40aaec6f2936076b7444 icedtea-2.3-branchpoint 4a6917092af80481c1fa5b9ec8ccae75411bb72c jdk7u6-b18 a263f787ced5bc7c14078ae552c82de6bd011611 jdk7u6-b19 09145b546a2b6ae1f44d5c8a7d2a37d48e4b39e2 jdk7u6-b20 @@ -258,6 +265,7 @@ cb81ee79a72d84f99b8e7d73b5ae73124b661fe7 jdk7u12-b07 b5e180ef18a0c823675bcd32edfbf2f5122d9722 jdk7u12-b08 2e7fe0208e9c928f2f539fecb6dc8a1401ecba9e jdk7u12-b09 +b171007921c3d01066848c88cbcb6a376df3f01c icedtea-2.4-branchpoint e012aace90500a88f51ce83fcd27791f5dbf493f jdk7u14-b10 9eb82fb221f3b34a5df97e7db3c949fdb0b6fee0 jdk7u14-b11 ee3ab2ed2371dd72ad5a75ebb6b6b69071e29390 jdk7u14-b12 @@ -318,6 +326,7 @@ eb4807b899c84c92959b66f888f8cc8b028c7665 jdk7u14-b19 a249c45148c51dc53250c5d0c3d506ec5f9b88ab jdk7u14-b19 bb8764ec11c2c4ca318bcf6aabdabd29c70b2cd1 jdk7u14-b20 +d1563025e086a464f05414267b84a6408f7b377d icedtea-2.4.0 0a00f10abb2df203f13a723be158fb759e54b19b jdk7u14-b21 d4bf5c15837c47d179c71f6df8716ad9bef53ef9 jdk7u14-b22 a76a886dc057582bf332e60a023d8f8a35526217 jdk7u40-b23 @@ -328,6 +337,7 @@ 2043900095890e676f5ed0f959f470e2138c2a9a jdk7u40-b28 d3186a0676dbc7ab80e00fa67f952b67933d5a35 jdk7u40-b29 60d52db33828bf0355a94be2a82df90c901592f3 jdk7u40-b30 +65d95818d79e340d042457ee1a8155d7658e86b6 icedtea-2.4.1 c2522d149ff6663ed1d3602c88c286cff25a43a7 jdk7u40-b31 b9f86896cd0aa9b83e472a90b20ae7c253fba633 jdk7u40-b32 419939ecee8311c8a38ff624ae67e473f8c60e51 jdk7u40-b33 @@ -342,6 +352,14 @@ b479996d5c924128c3490165b592bf66a3034932 jdk7u40-b42 fb25cdef17e9610db5cb89fc35c0c4abef5ad781 jdk7u40-b43 ed444a09a5fd32237deaef6e43804e20ba4f6352 jdk7u40-b60 +e2cdb919c0eed11b1603711bcb066a9bac79709d icedtea-2.4.2 +e2cdb919c0eed11b1603711bcb066a9bac79709d icedtea-2.4.2 +0000000000000000000000000000000000000000 icedtea-2.4.2 +0000000000000000000000000000000000000000 icedtea-2.4.2 +e4526d518dacc59adc253c7a6f49a79441d4e3d9 icedtea-2.4.2 +0000000000000000000000000000000000000000 icedtea-2.4.2 +0000000000000000000000000000000000000000 icedtea-2.4.2 +4bf5ac86e0e46f1d8eafa18fa64c442666975f6a icedtea-2.4.2 e045f6a3ad1d9f7b8982418addb3803ab63458f2 jdk7u40-b61 26cc60a250a0d333b1d5d7a9acb233ad62b2fb0b jdk7u40-b62 55f01444cf58c8004df9a9634c1bd7ff87caa370 jdk7u25-b32 @@ -364,9 +382,12 @@ 3a65c1b0c6d15fb24298bcd133d7ab4baa741ae2 jdk7u45-b17 c5ca4daec23b5e7f99ac8d684f5016ff8bfebbb0 jdk7u45-b18 4797f984f6c93c433aa797e9b2d8f904cf083f96 jdk7u45-b30 +7958751eb9efc3029e97c2fcbe062567504b8c66 icedtea-2.4.3 +8619fc74e1966d99c0c0c85da9a0a904f23a971d icedtea-2.4.4 8c343a783777b8728cb819938f387db0acf7f3ac jdk7u45-b31 402d54c7d8ce95f3945cc3d698e528e4adec7b9b jdk7u45-b33 34e8f9f26ae612ebac36357eecbe70ea20e0233c jdk7u45-b34 +3dbb06a924cdf73d39b8543824ec88ae501ba5c6 jdk7u45-b35 3c9a6d9eafd31be44b0ade0354e60f5078b417a4 jdk7u51-b00 d76613074ff357d0664b97b4aaf99fbb65dcec47 jdk7u51-b01 fb057871f094ebe4906ad6856326768b01a62c45 jdk7u51-b02 @@ -381,3 +402,25 @@ f0425ecbbb0ca9d8c87c250c19e8f9524b38833d jdk7u51-b11 f5eee4f1d5b4a1e19febc9c26c863ae853ed6d2e jdk7u51-b12 d19a89fdfb9b959b8638441d9d396685d6c7ab7b jdk7u51-b13 +9db88c18e114006dc242d1ba31683cbdb6151a5d icedtea-2.4.5 +f582aad1fce8fe3410728dd40778dbde12f63beb icedtea-2.4.6pre01 +b5282042aae07c3f9b6fed8879b3db7352556286 icedtea-2.4.6 +9448fff932863c309ac8361e7914e71e1b00d1a9 icedtea-2.4.7 +ef58b2b9a9a1e1a42b0139b57816a160c4681371 jdk7u51-b30 +5bca0d0969b13b1d9b8caba3cce8293a98d68318 jdk7u51-b31 +f5eee4f1d5b4a1e19febc9c26c863ae853ed6d2e jdk7u55-b00 +5010db5b9b5ab07a9409a5c557d3f43ab32dc428 jdk7u55-b01 +2ca3e1fa4455ad564228ad6e654498167af2f20d jdk7u55-b02 +c12b3c81366cb067ff4444952209d54bfa387353 jdk7u55-b03 +476d1bddaa32bf440953c3b1814ba38f16886c03 jdk7u55-b04 +7fa6d3ba2cc77cd1e6f24e33f0c39788cb2893b8 jdk7u55-b05 +795654fce29c38d4c8504f760d8d8a36248d38ed jdk7u55-b06 +4b2ed892b195e95f7541aaa3b129a2caa5faae1d jdk7u55-b07 +db1323224053a18ecc62bdc1d3902d93b33f0b70 jdk7u55-b08 +534eeff29ac9fcbbb99ef8908548dbb368d04baf jdk7u55-b09 +d39dd4135844ca5c707bc39ae1d7e020d49880ce jdk7u55-b09 +b231536550067c3b00c77d0e035afe8faaa15581 jdk7u55-b10 +2d80b7cd7aae76f0909a210414317dcf846ad651 jdk7u55-b11 +07be5d5508733ed37c11fcd21a13ae3c8288313b jdk7u55-b12 +92fd166252c2701092a510002f4cf9285a20473d jdk7u55-b13 +4a5651c84b1e6cf26dc9b19f00747e5004efba68 jdk7u55-b30 diff -r 5bca0d0969b1 -r 344829ae761e .jcheck/conf --- a/.jcheck/conf Thu Dec 19 09:34:48 2013 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -project=jdk7 -bugids=dup diff -r 5bca0d0969b1 -r 344829ae761e make/com/sun/java/pack/Makefile --- a/make/com/sun/java/pack/Makefile Thu Dec 19 09:34:48 2013 -0800 +++ b/make/com/sun/java/pack/Makefile Wed Apr 16 19:41:14 2014 +0100 @@ -75,7 +75,7 @@ OTHER_CXXFLAGS += $(ZINCLUDE) LDDFLAGS += $(ZIPOBJS) else - LDDFLAGS += $(ZLIB_LIBS) + OTHER_LDLIBS += $(ZLIB_LIBS) OTHER_CXXFLAGS += $(ZLIB_CFLAGS) -DSYSTEM_ZLIB endif else @@ -99,8 +99,7 @@ RES = $(OBJDIR)/$(PGRM).res else LDOUTPUT = -o #Have a space - LDDFLAGS += -lc - OTHER_LDLIBS += $(LIBCXX) + OTHER_LDLIBS += -lc $(LIBCXX) # setup the list of libraries to link in... ifeq ($(PLATFORM), linux) ifeq ("$(CC_VER_MAJOR)", "3") @@ -157,7 +156,7 @@ $(prep-target) $(RM) $(TEMPDIR)/mapfile-vers $(CP) mapfile-vers-unpack200 $(TEMPDIR)/mapfile-vers - $(LINKER) $(LDDFLAGS) $(UNPACK_EXE_FILES_o) $(RES) $(LIBCXX) $(LDOUTPUT)$(TEMPDIR)/unpack200$(EXE_SUFFIX) + $(LINKER) $(LDDFLAGS) $(UNPACK_EXE_FILES_o) $(RES) $(OTHER_LDLIBS) $(LDOUTPUT)$(TEMPDIR)/unpack200$(EXE_SUFFIX) ifdef MT $(MT) /manifest $(OBJDIR)/unpack200$(EXE_SUFFIX).manifest /outputresource:$(TEMPDIR)/unpack200$(EXE_SUFFIX);#1 endif diff -r 5bca0d0969b1 -r 344829ae761e make/com/sun/jmx/Makefile --- a/make/com/sun/jmx/Makefile Thu Dec 19 09:34:48 2013 -0800 +++ b/make/com/sun/jmx/Makefile Wed Apr 16 19:41:14 2014 +0100 @@ -114,13 +114,19 @@ endif ifeq ($(CROSS_COMPILE_ARCH),) -RMIC = $(RMIC_JAVA) $(JAVA_TOOLS_FLAGS) -cp $(OUTPUTDIR)/classes sun.rmi.rmic.Main +RMIC_VM = $(RMIC_JAVA) else -RMIC = $(BOOT_JAVA_CMD) $(JAVA_TOOLS_FLAGS) -cp $(OUTPUTDIR)/classes sun.rmi.rmic.Main +RMIC_VM = $(BOOT_JAVA_CMD) endif +RMIC = $(RMIC_VM) $(JAVA_TOOLS_FLAGS) -cp $(OUTPUTDIR)/classes sun.rmi.rmic.Main $(CLASSDESTDIR)/%_Stub.class: $(CLASSDESTDIR)/%.class $(prep-target) + if [ -x $(PAX_COMMAND) ] ; then \ + if [ -w $(RMIC_VM) ] ; then \ + $(PAX_COMMAND) $(PAX_COMMAND_ARGS) $(RMIC_VM) ; \ + fi ; \ + fi $(RMIC) -classpath "$(CLASSDESTDIR)" \ -d $(CLASSDESTDIR) \ -v1.2 \ diff -r 5bca0d0969b1 -r 344829ae761e make/com/sun/nio/sctp/Makefile --- a/make/com/sun/nio/sctp/Makefile Thu Dec 19 09:34:48 2013 -0800 +++ b/make/com/sun/nio/sctp/Makefile Wed Apr 16 19:41:14 2014 +0100 @@ -60,7 +60,9 @@ -I$(CLASSHDRDIR)/../../../../java/java.nio/nio/CClassHeaders ifeq ($(PLATFORM), linux) +ifneq ($(COMPILER_WARNINGS_FATAL),false) COMPILER_WARNINGS_FATAL=true +endif #OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -ljava -lnet -lpthread -ldl OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -lnio -lnet -lpthread -ldl endif diff -r 5bca0d0969b1 -r 344829ae761e make/common/Defs-embedded.gmk --- a/make/common/Defs-embedded.gmk Thu Dec 19 09:34:48 2013 -0800 +++ b/make/common/Defs-embedded.gmk Wed Apr 16 19:41:14 2014 +0100 @@ -71,7 +71,9 @@ # and it must be linked after fdlibm - this places it at the end after libc # -z muldefs avoids linker errors for duplicate symbols. ifeq ($(CROSS_COMPILE_ARCH), arm) - EXTRA_LIBS += $(EXT_LIBS_PATH)/sflt_glibc_jdk.a -Xlinker -z -Xlinker muldefs + ifneq ($(EXT_LIBS_PATH),) + EXTRA_LIBS += $(EXT_LIBS_PATH)/sflt_glibc_jdk.a -Xlinker -z -Xlinker muldefs + endif endif endif diff -r 5bca0d0969b1 -r 344829ae761e make/common/Defs-linux.gmk --- a/make/common/Defs-linux.gmk Thu Dec 19 09:34:48 2013 -0800 +++ b/make/common/Defs-linux.gmk Wed Apr 16 19:41:14 2014 +0100 @@ -188,15 +188,25 @@ # We need this frame pointer to make it easy to walk the stacks. # This should be the default on X86, but ia64 and amd64 may not have this # as the default. +CFLAGS_REQUIRED_aarch64 += -fno-omit-frame-pointer -fsigned-char -D_LITTLE_ENDIAN +CFLAGS_REQUIRED_alpha += -mieee -D_LITTLE_ENDIAN CFLAGS_REQUIRED_amd64 += -fno-omit-frame-pointer -D_LITTLE_ENDIAN +CFLAGS_REQUIRED_arm += -D_LITTLE_ENDIAN -fsigned-char -D_LITTLE_ENDIAN +CFLAGS_REQUIRED_hppa += CFLAGS_REQUIRED_i586 += -fno-omit-frame-pointer -D_LITTLE_ENDIAN CFLAGS_REQUIRED_ia64 += -fno-omit-frame-pointer -D_LITTLE_ENDIAN +CFLAGS_REQUIRED_m68k += +CFLAGS_REQUIRED_mips += +CFLAGS_REQUIRED_mipsel += -D_LITTLE_ENDIAN +CFLAGS_REQUIRED_ppc += -m32 -fsigned-char -D_BIG_ENDIAN +CFLAGS_REQUIRED_ppc64 += -m64 +CFLAGS_REQUIRED_s390 += +CFLAGS_REQUIRED_s390x += -m64 +CFLAGS_REQUIRED_sh += -mieee CFLAGS_REQUIRED_sparcv9 += -m64 -mcpu=v9 LDFLAGS_COMMON_sparcv9 += -m64 -mcpu=v9 CFLAGS_REQUIRED_sparc += -m32 -mcpu=v9 LDFLAGS_COMMON_sparc += -m32 -mcpu=v9 -CFLAGS_REQUIRED_arm += -fsigned-char -D_LITTLE_ENDIAN -CFLAGS_REQUIRED_ppc += -fsigned-char -D_BIG_ENDIAN ifeq ($(ZERO_BUILD), true) CFLAGS_REQUIRED = $(ZERO_ARCHFLAG) ifeq ($(ZERO_ENDIANNESS), little) @@ -286,11 +296,15 @@ CPP_ARCH_FLAGS = -DARCH='"$(ARCH)"' -# Alpha arch does not like "alpha" defined (potential general arch cleanup issue here) -ifneq ($(ARCH),alpha) +# Alpha and sh archs do not like "alpha" or "sh" defined (potential general arch cleanup issue here) +ifeq ($(ARCH),alpha) + CPP_ARCH_FLAGS += -D_$(ARCH)_ +else +ifeq ($(ARCH),sh) + CPP_ARCH_FLAGS += -D_$(ARCH)_ +else CPP_ARCH_FLAGS += -D$(ARCH) -else - CPP_ARCH_FLAGS += -D_$(ARCH)_ +endif endif CPPFLAGS_COMMON = $(CPP_ARCH_FLAGS) -DLINUX $(VERSION_DEFINES) \ diff -r 5bca0d0969b1 -r 344829ae761e make/common/Library.gmk --- a/make/common/Library.gmk Thu Dec 19 09:34:48 2013 -0800 +++ b/make/common/Library.gmk Wed Apr 16 19:41:14 2014 +0100 @@ -269,6 +269,7 @@ ifneq ($(PLATFORM), macosx) ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) ifeq ($(LIBRARY_SUPPORTS_FULL_DEBUG_SYMBOLS),1) + ifneq ($(STRIP_POLICY),no_strip) ifeq ($(PLATFORM), solaris) # gobjcopy crashes on "empty" section headers with the SHF_ALLOC flag set. # Use $(FIX_EMPTY_SEC_HDR_FLAGS) to clear the SHF_ALLOC flag (if set) from @@ -279,19 +280,20 @@ # # $(OBJCOPY) --add-gnu-debuglink=... corrupts SUNW_* sections. # Use $(ADD_GNU_DEBUGLINK) until a fixed $(OBJCOPY) is available. - (set -e ; \ - $(CD) $(@D) ; \ - $(FIX_EMPTY_SEC_HDR_FLAGS) $(@F) ; \ - $(OBJCOPY) --only-keep-debug $(@F) $(LIB_PREFIX)$(LIBRARY).debuginfo ; \ - $(ADD_GNU_DEBUGLINK) $(LIB_PREFIX)$(LIBRARY).debuginfo $(@F) ; \ - ) + (set -e ; \ + $(CD) $(@D) ; \ + $(FIX_EMPTY_SEC_HDR_FLAGS) $(@F) ; \ + $(OBJCOPY) --only-keep-debug $(@F) $(LIB_PREFIX)$(LIBRARY).debuginfo ; \ + $(ADD_GNU_DEBUGLINK) $(LIB_PREFIX)$(LIBRARY).debuginfo $(@F) ; \ + ) else # PLATFORM != solaris - (set -e ; \ - $(CD) $(@D) ; \ - $(OBJCOPY) --only-keep-debug $(@F) $(LIB_PREFIX)$(LIBRARY).debuginfo ; \ - $(OBJCOPY) --add-gnu-debuglink=$(LIB_PREFIX)$(LIBRARY).debuginfo $(@F) ; \ - ) - endif # PLATFORM == solaris + (set -e ; \ + $(CD) $(@D) ; \ + $(OBJCOPY) --only-keep-debug $(@F) $(LIB_PREFIX)$(LIBRARY).debuginfo ; \ + $(OBJCOPY) --add-gnu-debuglink=$(LIB_PREFIX)$(LIBRARY).debuginfo $(@F) ; \ + ) + endif # PLATFORM == solaris + endif # STRIP_POLICY != no_strip ifeq ($(STRIP_POLICY),all_strip) $(STRIP) $@ else @@ -305,12 +307,14 @@ # implied else here is no stripping at all endif endif - ifeq ($(ZIP_DEBUGINFO_FILES),1) - (set -e ; \ - $(CD) $(@D) ; \ - $(ZIPEXE) -q $(LIB_PREFIX)$(LIBRARY).diz $(LIB_PREFIX)$(LIBRARY).debuginfo ; \ - $(RM) $(LIB_PREFIX)$(LIBRARY).debuginfo ; \ - ) + ifneq ($(STRIP_POLICY),no_strip) + ifeq ($(ZIP_DEBUGINFO_FILES),1) + (set -e ; \ + $(CD) $(@D) ; \ + $(ZIPEXE) -q $(LIB_PREFIX)$(LIBRARY).diz $(LIB_PREFIX)$(LIBRARY).debuginfo ; \ + $(RM) $(LIB_PREFIX)$(LIBRARY).debuginfo ; \ + ) + endif endif endif # LIBRARY_SUPPORTS_FULL_DEBUG_SYMBOLS endif # ENABLE_FULL_DEBUG_SYMBOLS diff -r 5bca0d0969b1 -r 344829ae761e make/common/Program.gmk --- a/make/common/Program.gmk Thu Dec 19 09:34:48 2013 -0800 +++ b/make/common/Program.gmk Wed Apr 16 19:41:14 2014 +0100 @@ -62,12 +62,14 @@ program: $(ACTUAL_PROGRAM) # Work-around for missing processor specific mapfiles +ifneq (,$(filter $(ARCH), amd64 i586 sparc sparcv9)) ifndef CROSS_COMPILE_ARCH # reuse the mapfiles in the launcher's directory, the same should # be applicable to the tool launchers as well. FILES_m = $(BUILDDIR)/java/main/java/mapfile-$(ARCH) include $(BUILDDIR)/common/Mapfile-vers.gmk endif +endif include $(JDK_TOPDIR)/make/common/Rules.gmk @@ -123,6 +125,26 @@ endif # PLATFORM # +# Applications expect to be able to link against libjawt without invoking +# System.loadLibrary("jawt") first. This was the behaviour described in the +# devloper documentation of JAWT and what worked with OpenJDK6. +# +ifeq ($(PLATFORM), solaris) + ifeq ($(ARCH_DATA_MODEL), 32) + LDFLAGS += -R \$$ORIGIN/../lib/$(LIBARCH) + LDFLAGS += -R \$$ORIGIN/../jre/lib/$(LIBARCH) + else # ! ARCH_DATA_MODEL 64-bit + LDFLAGS += -R \$$ORIGIN/../../lib/$(LIBARCH) + LDFLAGS += -R \$$ORIGIN/../../jre/lib/$(LIBARCH) + endif # ARCH_DATA_MODEL +endif # PLATFORM SOLARIS +ifeq ($(PLATFORM), linux) + LDFLAGS += -Wl,-rpath -Wl,\$$ORIGIN/../lib/$(LIBARCH) + LDFLAGS += -Wl,-rpath -Wl,\$$ORIGIN/../jre/lib/$(LIBARCH) +endif # PLATFORM LINUX + + +# # Launcher specific files. # FILES_o = $(OBJDIR)/main.$(OBJECT_SUFFIX) @@ -247,7 +269,8 @@ ifneq ($(PLATFORM), macosx) ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) ifeq ($(PROGRAM_SUPPORTS_FULL_DEBUG_SYMBOLS),1) - ifeq ($(PLATFORM), solaris) + ifneq ($(STRIP_POLICY),no_strip) + ifeq ($(PLATFORM), solaris) # gobjcopy crashes on "empty" section headers with the SHF_ALLOC flag set. # Use $(FIX_EMPTY_SEC_HDR_FLAGS) to clear the SHF_ALLOC flag (if set) from # empty section headers until a fixed $(OBJCOPY) is available. @@ -257,19 +280,20 @@ # # $(OBJCOPY) --add-gnu-debuglink=... corrupts SUNW_* sections. # Use $(ADD_GNU_DEBUGLINK) until a fixed $(OBJCOPY) is available. - (set -e ; \ - $(CD) $(@D) ; \ - $(FIX_EMPTY_SEC_HDR_FLAGS) $(@F) ; \ - $(OBJCOPY) --only-keep-debug $(@F) $(@F).debuginfo ; \ - $(ADD_GNU_DEBUGLINK) $(@F).debuginfo $(@F) ; \ - ) - else # PLATFORM != solaris - (set -e ; \ - $(CD) $(@D) ; \ - $(OBJCOPY) --only-keep-debug $(@F) $(@F).debuginfo ; \ - $(OBJCOPY) --add-gnu-debuglink=$(@F).debuginfo $(@F) ; \ - ) - endif # PLATFORM == solaris + (set -e ; \ + $(CD) $(@D) ; \ + $(FIX_EMPTY_SEC_HDR_FLAGS) $(@F) ; \ + $(OBJCOPY) --only-keep-debug $(@F) $(@F).debuginfo ; \ + $(ADD_GNU_DEBUGLINK) $(@F).debuginfo $(@F) ; \ + ) + else # PLATFORM != solaris + (set -e ; \ + $(CD) $(@D) ; \ + $(OBJCOPY) --only-keep-debug $(@F) $(@F).debuginfo ; \ + $(OBJCOPY) --add-gnu-debuglink=$(@F).debuginfo $(@F) ; \ + ) + endif # PLATFORM == solaris + endif ifeq ($(STRIP_POLICY),all_strip) $(STRIP) $@ else @@ -283,17 +307,19 @@ # implied else here is no stripping at all endif endif - ifeq ($(ZIP_DEBUGINFO_FILES),1) - (set -e ; \ - $(CD) $(@D) ; \ - $(ZIPEXE) -q $(@F).diz $(@F).debuginfo ; \ - $(RM) $(@F).debuginfo ; \ - ) - # save ZIP'ed debug info with rest of the program's build artifacts - $(MV) $@.diz $(OBJDIR) - else - # save debug info with rest of the program's build artifacts - $(MV) $@.debuginfo $(OBJDIR) + ifneq ($(STRIP_POLICY),no_strip) + ifeq ($(ZIP_DEBUGINFO_FILES),1) + (set -e ; \ + $(CD) $(@D) ; \ + $(ZIPEXE) -q $(@F).diz $(@F).debuginfo ; \ + $(RM) $(@F).debuginfo ; \ + ) + # save ZIP'ed debug info with rest of the program's build artifacts + $(MV) $@.diz $(OBJDIR) + else + # save debug info with rest of the program's build artifacts + $(MV) $@.debuginfo $(OBJDIR) + endif endif endif # PROGRAM_SUPPORTS_FULL_DEBUG_SYMBOLS endif # ENABLE_FULL_DEBUG_SYMBOLS @@ -360,7 +386,9 @@ OTHER_INCLUDES += -I$(SHARE_SRC)/native/java/util/zip/zlib-1.1.3 endif # SYSTEM_ZLIB else # PLATFORM !MACOSX - OTHER_INCLUDES += -I$(SHARE_SRC)/native/java/util/zip/zlib-1.1.3 + ifneq ($(SYSTEM_ZLIB), true) + OTHER_INCLUDES += -I$(SHARE_SRC)/native/java/util/zip/zlib-1.1.3 + endif endif OTHER_CPPFLAGS += -DPROGNAME='"$(PROGRAM)"' diff -r 5bca0d0969b1 -r 344829ae761e make/common/Release.gmk --- a/make/common/Release.gmk Thu Dec 19 09:34:48 2013 -0800 +++ b/make/common/Release.gmk Wed Apr 16 19:41:14 2014 +0100 @@ -1117,13 +1117,9 @@ for d in $(SOURCE_DIRS); do \ $(RM) $(ABS_TEMPDIR)/src-files.list; \ ($(CD) $$d && \ - for sd in $(SOURCES) ; do \ - if [ -d $$sd ] ; then \ - $(FIND) $$sd $(SOURCE_FILES_filter) \ - -name '*.java' -print \ - >> $(ABS_TEMPDIR)/src-files.list ; \ - fi; \ - done ; \ + $(FIND) . $(SOURCE_FILES_filter) \ + -name '*.java' -print \ + >> $(ABS_TEMPDIR)/src-files.list ; \ ) ; \ if [ -f $(ABS_TEMPDIR)/src-files.list ] ; then \ ($(CD) $$d && $(TAR) cf - -T $(ABS_TEMPDIR)/src-files.list ) \ @@ -1134,13 +1130,9 @@ for d in $(SOURCE_DIRS); do \ $(RM) $(ABS_TEMPDIR)/src-files.list; \ ($(CD) $$d && \ - for sd in $(SOURCES) ; do \ - if [ -d $$sd ] ; then \ - $(FIND) $$sd $(SOURCE_FILES_filter) \ From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 20:28:03 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 20:28:03 +0000 Subject: [Bug 1195] Fatal Error JRE SIGSEGV (0xb) at pc=0x00007f5c685a8733, pid=5741, tid=140034866603776 JRE version: 7.0_06 Java VM: OpenJDK 64-Bit Server VM (23.2-b09 mixed mode linux-amd64 compressed oops) In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1195 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |normal -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 22:01:43 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 22:01:43 +0000 Subject: [Bug 1222] race condition in javac, taking all the CPU. In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1222 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #10 from Andrew John Hughes --- The 2.3.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 22:01:56 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 22:01:56 +0000 Subject: [Bug 1304] After first sound made, CPU continues to be used by pulseaudio thread even though idle In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1304 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |gnu.andrew at redhat.com Resolution|--- |WONTFIX --- Comment #1 from Andrew John Hughes --- The 2.3.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 22:02:30 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 22:02:30 +0000 Subject: [Bug 1405] SIGSEGV when running the scala compiler In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1405 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #1 from Andrew John Hughes --- The 2.3.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 22:02:38 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 22:02:38 +0000 Subject: [Bug 1437] [regression] utility "jar" changes file permissions In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1437 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |WONTFIX --- Comment #1 from Andrew John Hughes --- The 2.3.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 16 22:02:49 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 16 Apr 2014 22:02:49 +0000 Subject: [Bug 1498] Allow Root to attach to all VMs In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1498 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #2 from Andrew John Hughes --- The 2.3.x series is no longer supported. Please reopen this bug against a supported version if it is still valid. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gnu_andrew at member.fsf.org Wed Apr 16 22:34:22 2014 From: gnu_andrew at member.fsf.org (Andrew Hughes) Date: Wed, 16 Apr 2014 23:34:22 +0100 Subject: Distro Support Message-ID: <20140416223422.GA4016@carrie.the212.com> You may have noticed that I've linked to Gentoo ebuilds in the online versions of the most recent release announcements. I'm aware of these because I maintain them and can update them at the same time as the release announcement. I've also recently developed RPM builds for IcedTea. Links to these will be included in the current release announcements and future ones. They have been tested on Fedora but the aim is to be applicable to as many RPM-based distributions as possible. The spec files are maintained on github: https://github.com/gnu-andrew/java-1.6.0-icedtea https://github.com/gnu-andrew/java-1.7.0-icedtea I don't want to be seen to be preferencing certain distributions. If you package IcedTea for a particular distribution, please let me know and I'll be happy to mention those packages as well. They do need to be using the appropriate IcedTea release and keep local patches to a minimum. Thanks, -- Andrew :) PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: From andrew at icedtea.classpath.org Thu Apr 17 01:29:30 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 17 Apr 2014 01:29:30 +0000 Subject: /hg/release/icedtea7-2.4: 2 new changesets Message-ID: changeset 9fafecfa2866 in /hg/release/icedtea7-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-2.4?cmd=changeset;node=9fafecfa2866 author: Andrew John Hughes date: Wed Apr 16 05:42:10 2014 +0100 Include minor NEWS updates from 2.4.7 release announcement. 2014-04-15 Andrew John Hughes * NEWS: Include minor updates from announcement. changeset 846234789ca0 in /hg/release/icedtea7-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-2.4?cmd=changeset;node=846234789ca0 author: Andrew John Hughes date: Thu Apr 17 02:29:12 2014 +0100 Start 2.4.8 release cycle. 2014-04-16 Andrew John Hughes * configure.ac: Bump to 2.4.8pre00. * NEWS: Add 2.4.8 section. diffstat: ChangeLog | 10 ++++++++++ NEWS | 6 ++++-- configure.ac | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diffs (55 lines): diff -r cdff110048bd -r 846234789ca0 ChangeLog --- a/ChangeLog Wed Apr 16 05:20:12 2014 +0100 +++ b/ChangeLog Thu Apr 17 02:29:12 2014 +0100 @@ -1,3 +1,13 @@ +2014-04-16 Andrew John Hughes + + * configure.ac: Bump to 2.4.8pre00. + * NEWS: Add 2.4.8 section. + +2014-04-15 Andrew John Hughes + + * NEWS: + Include minor updates from announcement. + 2014-04-15 Andrew John Hughes * Makefile.am: diff -r cdff110048bd -r 846234789ca0 NEWS --- a/NEWS Wed Apr 16 05:20:12 2014 +0100 +++ b/NEWS Thu Apr 17 02:29:12 2014 +0100 @@ -12,6 +12,8 @@ CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY +New in release 2.4.8 (2014-07-XX): + New in release 2.4.7 (2014-04-15): * Security fixes @@ -39,14 +41,14 @@ - S8029735: Enhance service mgmt natives - S8029740, CVE-2014-0446: Enhance handling of loggers - S8029745, CVE-2014-0454: Enhance algorithm checking - - S8029750: Enhance LCMS color processing (LCMS 2 only) + - S8029750: Enhance LCMS color processing (in-tree LCMS) - S8029760, CVE-2013-6629: Enhance AWT image libraries (in-tree libjpeg) - S8029844, CVE-2014-0455: Enhance argument validation - S8029854, CVE-2014-2421: Enhance JPEG decodings - S8029858, CVE-2014-0456: Enhance array copies - S8030731, CVE-2014-0460: Improve name service robustness - S8031330: Refactor ObjectFactory - - S8031335, CVE-2014-0459: Better color profiling + - S8031335, CVE-2014-0459: Better color profiling (in-tree LCMS) - S8031352, CVE-2013-6954: Enhance PNG handling (in-tree libpng) - S8031394, CVE-2014-0457: (sl) Fix exception handling in ServiceLoader - S8031395: Enhance LDAP processing diff -r cdff110048bd -r 846234789ca0 configure.ac --- a/configure.ac Wed Apr 16 05:20:12 2014 +0100 +++ b/configure.ac Thu Apr 17 02:29:12 2014 +0100 @@ -1,4 +1,4 @@ -AC_INIT([icedtea], [2.4.7], [distro-pkg-dev at openjdk.java.net]) +AC_INIT([icedtea], [2.4.8pre00], [distro-pkg-dev at openjdk.java.net]) AM_INIT_AUTOMAKE([1.9 tar-pax foreign]) AC_CONFIG_FILES([Makefile]) From andrew at icedtea.classpath.org Thu Apr 17 01:31:04 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 17 Apr 2014 01:31:04 +0000 Subject: /hg/release/icedtea6-1.13: 2 new changesets Message-ID: changeset 72245beb1811 in /hg/release/icedtea6-1.13 details: http://icedtea.classpath.org/hg/release/icedtea6-1.13?cmd=changeset;node=72245beb1811 author: Andrew John Hughes date: Wed Apr 16 00:11:46 2014 +0100 Include minor NEWS updates from 1.13.3 release announcement. 2014-04-15 Andrew John Hughes * NEWS: Include minor updates from announcement. changeset e9c20ef2e0fc in /hg/release/icedtea6-1.13 details: http://icedtea.classpath.org/hg/release/icedtea6-1.13?cmd=changeset;node=e9c20ef2e0fc author: Andrew John Hughes date: Thu Apr 17 02:30:59 2014 +0100 Start 1.13.4 release cycle. 2014-04-16 Andrew John Hughes * configure.ac: Bump to 1.13.4pre. * NEWS: Add 1.13.4 section. diffstat: ChangeLog | 11 +++++++++++ NEWS | 8 +++++--- configure.ac | 2 +- 3 files changed, 17 insertions(+), 4 deletions(-) diffs (59 lines): diff -r 46a990dcf085 -r e9c20ef2e0fc ChangeLog --- a/ChangeLog Tue Apr 15 21:59:13 2014 +0100 +++ b/ChangeLog Thu Apr 17 02:30:59 2014 +0100 @@ -1,5 +1,16 @@ +2014-04-16 Andrew John Hughes + + * configure.ac: Bump to 1.13.4pre. + * NEWS: Add 1.13.4 section. + +2014-04-15 Andrew John Hughes + + * NEWS: + Include minor updates from announcement. + 2014-04-11 Andrew John Hughes + * Makefile.am: (OPENJDK_VERSION): Set to b31. 2014-04-10 Andrew John Hughes diff -r 46a990dcf085 -r e9c20ef2e0fc NEWS --- a/NEWS Tue Apr 15 21:59:13 2014 +0100 +++ b/NEWS Thu Apr 17 02:30:59 2014 +0100 @@ -12,6 +12,8 @@ CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY +New in release 1.13.4 (2014-07-XX): + New in release 1.13.3 (2014-04-15): * Security fixes @@ -37,14 +39,14 @@ - S8029730: Improve audio device additions - S8029735: Enhance service mgmt natives - S8029740, CVE-2014-0446: Enhance handling of loggers - - S8029750: Enhance LCMS color processing - - S8029760, CVE-2014-0462: Enhance AWT image libraries + - S8029750: Enhance LCMS color processing (LCMS 2 only) + - S8029760, CVE-2013-6629: Enhance AWT image libraries (in-tree libjpeg) - S8029854, CVE-2014-2421: Enhance JPEG decodings - S8029858, CVE-2014-0456: Enhance array copies - S8030731, CVE-2014-0460: Improve name service robustness - S8031330: Refactor ObjectFactory - S8031335, CVE-2014-0459: Better color profiling (LCMS 2 only) - - S8031352, CVE-2014-2405: Enhance PNG handling + - S8031352, CVE-2013-6954: Enhance PNG handling (in-tree libpng) - S8031394, CVE-2014-0457: (sl) Fix exception handling in ServiceLoader - S8031395: Enhance LDAP processing - S8033618, CVE-2014-1876: Correct logging output diff -r 46a990dcf085 -r e9c20ef2e0fc configure.ac --- a/configure.ac Tue Apr 15 21:59:13 2014 +0100 +++ b/configure.ac Thu Apr 17 02:30:59 2014 +0100 @@ -1,4 +1,4 @@ -AC_INIT([icedtea6],[1.13.3],[distro-pkg-dev at openjdk.java.net]) +AC_INIT([icedtea6],[1.13.4pre],[distro-pkg-dev at openjdk.java.net]) AC_CANONICAL_HOST AC_CANONICAL_TARGET AM_INIT_AUTOMAKE([1.9 tar-pax foreign]) From andrew at icedtea.classpath.org Thu Apr 17 01:40:51 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 17 Apr 2014 01:40:51 +0000 Subject: /hg/icedtea6: Add release notes for 1.13.3. Message-ID: changeset c0295bae714c in /hg/icedtea6 details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=c0295bae714c author: Andrew John Hughes date: Thu Apr 17 02:40:37 2014 +0100 Add release notes for 1.13.3. 2014-04-16 Andrew John Hughes * NEWS: Add release notes for 1.13.3. diffstat: ChangeLog | 5 ++++ NEWS | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+), 0 deletions(-) diffs (91 lines): diff -r 7ae2f5096960 -r c0295bae714c ChangeLog --- a/ChangeLog Thu Apr 10 20:43:27 2014 +0100 +++ b/ChangeLog Thu Apr 17 02:40:37 2014 +0100 @@ -1,3 +1,8 @@ +2014-04-16 Andrew John Hughes + + * NEWS: + Add release notes for 1.13.3. + 2014-04-10 Andrew John Hughes * Makefile.am: diff -r 7ae2f5096960 -r c0295bae714c NEWS --- a/NEWS Thu Apr 10 20:43:27 2014 +0100 +++ b/NEWS Thu Apr 17 02:40:37 2014 +0100 @@ -19,6 +19,75 @@ - S8013057: Detect mmap() commit failures in Linux and Solaris os::commit_memory() impls and call vm_exit_out_of_memory() - S8026887: Make issues due to failed large pages allocations easier to debug +New in release 1.13.3 (2014-04-15): + +* Security fixes + - S8023046: Enhance splashscreen support + - S8025005: Enhance CORBA initializations + - S8025010, CVE-2014-2412: Enhance AWT contexts + - S8025030, CVE-2014-2414: Enhance stream handling + - S8025152, CVE-2014-0458: Enhance activation set up + - S8026067: Enhance signed jar verification + - S8026163, CVE-2014-2427: Enhance media provisioning + - S8026188, CVE-2014-2423: Enhance envelope factory + - S8026200: Enhance RowSet Factory + - S8026736, CVE-2014-2398: Enhance Javadoc pages + - S8026797, CVE-2014-0451: Enhance data transfers + - S8026801, CVE-2014-0452: Enhance endpoint addressing + - S8027766, CVE-2014-0453: Enhance RSA processing + - S8027775: Enhance ICU code. + - S8027841, CVE-2014-0429: Enhance pixel manipulations + - S8028385: Enhance RowSet Factory + - S8029282, CVE-2014-2403: Enhance CharInfo set up + - S8029286: Enhance subject delegation + - S8029699: Update Poller demo + - S8029730: Improve audio device additions + - S8029735: Enhance service mgmt natives + - S8029740, CVE-2014-0446: Enhance handling of loggers + - S8029750: Enhance LCMS color processing (LCMS 2 only) + - S8029760, CVE-2013-6629: Enhance AWT image libraries (in-tree libjpeg) + - S8029854, CVE-2014-2421: Enhance JPEG decodings + - S8029858, CVE-2014-0456: Enhance array copies + - S8030731, CVE-2014-0460: Improve name service robustness + - S8031330: Refactor ObjectFactory + - S8031335, CVE-2014-0459: Better color profiling (LCMS 2 only) + - S8031352, CVE-2013-6954: Enhance PNG handling (in-tree libpng) + - S8031394, CVE-2014-0457: (sl) Fix exception handling in ServiceLoader + - S8031395: Enhance LDAP processing + - S8033618, CVE-2014-1876: Correct logging output + - S8034926, CVE-2014-2397: Attribute classes properly + - S8036794, CVE-2014-0461: Manage JavaScript instances +* Import of OpenJDK6 b31 + - OJ27: Change summary generator can leave out last changeset + - OJ28: Report generator should not include old changes + - OJ30: Remove @Override annotation on interfaces added by 2014/04/15 security fixes. + - S6680198: UnmarshalException caused by incompatible serialVersionUID + - S6742654: Code insertion/replacement attacks against signed jars + - S6779717: A Window does not show applet security warning icon on X platforms + - S6785058: Parent dn't get the focus after dialog is closed if security warning is applied + - S6799345: JFC demos threw exception in the Java Console when applets are closed + - S6828273: javax/swing/system/6799345/TestShutdown.java test fails with RuntimeException. + - S6867515: Reduce impact of D3D initializion on startup time + - S6891435: Improve D3D preloading + - S6911041: JCK api/signaturetest tests fails for Mixed Code PIT builds (b91) for all trains + - S6921823: JarVerifier csdomain field not initialized + - S6921839: Update trusted.libraries list + - S6924497: HotSpotDiagnosticsMXBean.getDiagnosticOptions throws NPE + - S6936389: FontManager.fileCloser may cause memory leak in applets + - S6946559: AWTToolKit thread crashes in JNU_GetEnv + - S6955783: ServiceUnavailableException caught even the secondary DNS is available + - S6987967: D3D preloading thread should initialize COM + - S7011446: ./windows/classes/sun/awt/windows/WToolkit.java needs to avoid spurious wakeup + - S7015232: missing copyright header in CheckZOrderChange.java + - S7119760: [macosx] The OpenGL queue flusher thread is created in the wrong thread group + - S7155051: DNS provider may return incorrect results + - S8002191: AWT-Shutdown thread does not start with the AppletSecurity on Linux + - S8028388: 9 jaxws tests failed in nightly build with java.lang.ClassCastException + - S8031032: SQE test failures after JDK-8025010 was fixed + - S8031477: [macosx] Loading AWT native library fails + - S8032370: No "Truncated file" warning from IIOReadWarningListener on JPEGImageReader + - S8035834: InetAddress.getLocalHost() can hang after JDK-8030731 was fixed + New in release 1.13.2 (2014-03-28): * Backports From andrew at icedtea.classpath.org Thu Apr 17 01:48:12 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 17 Apr 2014 01:48:12 +0000 Subject: /hg/icedtea6-hg: 2 new changesets Message-ID: changeset 7ae2f5096960 in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=7ae2f5096960 author: Andrew John Hughes date: Thu Apr 10 20:43:27 2014 +0100 Update from b31 tarball. 2014-04-10 Andrew John Hughes * Makefile.am: (OPENJDK_DATE): Update to b31 release date. (OPENJDK_SHA256SUM): Set to hash of new b31 tarball. changeset c0295bae714c in /hg/icedtea6-hg details: http://icedtea.classpath.org/hg/icedtea6-hg?cmd=changeset;node=c0295bae714c author: Andrew John Hughes date: Thu Apr 17 02:40:37 2014 +0100 Add release notes for 1.13.3. 2014-04-16 Andrew John Hughes * NEWS: Add release notes for 1.13.3. diffstat: ChangeLog | 11 +++++++++ Makefile.am | 4 +- NEWS | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+), 2 deletions(-) diffs (110 lines): diff -r d755adce0a9b -r c0295bae714c ChangeLog --- a/ChangeLog Thu Apr 10 11:29:11 2014 +0100 +++ b/ChangeLog Thu Apr 17 02:40:37 2014 +0100 @@ -1,3 +1,14 @@ +2014-04-16 Andrew John Hughes + + * NEWS: + Add release notes for 1.13.3. + +2014-04-10 Andrew John Hughes + + * Makefile.am: + (OPENJDK_DATE): Update to b31 release date. + (OPENJDK_SHA256SUM): Set to hash of new b31 tarball. + 2014-04-10 Andrew John Hughes * patches/merge_fix.patch, diff -r d755adce0a9b -r c0295bae714c Makefile.am --- a/Makefile.am Thu Apr 10 11:29:11 2014 +0100 +++ b/Makefile.am Thu Apr 17 02:40:37 2014 +0100 @@ -1,7 +1,7 @@ # Dependencies -OPENJDK_DATE = 21_jan_2014 -OPENJDK_SHA256SUM = ebd9fdf39c8590cd620cb78c481ca233f5919f2819237b5d2b440666f1dd3475 +OPENJDK_DATE = 15_apr_2014 +OPENJDK_SHA256SUM = 362d9bf20e91393b52dd0513896d39831cf320c49bd4bf1e28124f21569b72eb OPENJDK_VERSION = b31 OPENJDK_URL = https://java.net/downloads/openjdk6/ diff -r d755adce0a9b -r c0295bae714c NEWS --- a/NEWS Thu Apr 10 11:29:11 2014 +0100 +++ b/NEWS Thu Apr 17 02:40:37 2014 +0100 @@ -19,6 +19,75 @@ - S8013057: Detect mmap() commit failures in Linux and Solaris os::commit_memory() impls and call vm_exit_out_of_memory() - S8026887: Make issues due to failed large pages allocations easier to debug +New in release 1.13.3 (2014-04-15): + +* Security fixes + - S8023046: Enhance splashscreen support + - S8025005: Enhance CORBA initializations + - S8025010, CVE-2014-2412: Enhance AWT contexts + - S8025030, CVE-2014-2414: Enhance stream handling + - S8025152, CVE-2014-0458: Enhance activation set up + - S8026067: Enhance signed jar verification + - S8026163, CVE-2014-2427: Enhance media provisioning + - S8026188, CVE-2014-2423: Enhance envelope factory + - S8026200: Enhance RowSet Factory + - S8026736, CVE-2014-2398: Enhance Javadoc pages + - S8026797, CVE-2014-0451: Enhance data transfers + - S8026801, CVE-2014-0452: Enhance endpoint addressing + - S8027766, CVE-2014-0453: Enhance RSA processing + - S8027775: Enhance ICU code. + - S8027841, CVE-2014-0429: Enhance pixel manipulations + - S8028385: Enhance RowSet Factory + - S8029282, CVE-2014-2403: Enhance CharInfo set up + - S8029286: Enhance subject delegation + - S8029699: Update Poller demo + - S8029730: Improve audio device additions + - S8029735: Enhance service mgmt natives + - S8029740, CVE-2014-0446: Enhance handling of loggers + - S8029750: Enhance LCMS color processing (LCMS 2 only) + - S8029760, CVE-2013-6629: Enhance AWT image libraries (in-tree libjpeg) + - S8029854, CVE-2014-2421: Enhance JPEG decodings + - S8029858, CVE-2014-0456: Enhance array copies + - S8030731, CVE-2014-0460: Improve name service robustness + - S8031330: Refactor ObjectFactory + - S8031335, CVE-2014-0459: Better color profiling (LCMS 2 only) + - S8031352, CVE-2013-6954: Enhance PNG handling (in-tree libpng) + - S8031394, CVE-2014-0457: (sl) Fix exception handling in ServiceLoader + - S8031395: Enhance LDAP processing + - S8033618, CVE-2014-1876: Correct logging output + - S8034926, CVE-2014-2397: Attribute classes properly + - S8036794, CVE-2014-0461: Manage JavaScript instances +* Import of OpenJDK6 b31 + - OJ27: Change summary generator can leave out last changeset + - OJ28: Report generator should not include old changes + - OJ30: Remove @Override annotation on interfaces added by 2014/04/15 security fixes. + - S6680198: UnmarshalException caused by incompatible serialVersionUID + - S6742654: Code insertion/replacement attacks against signed jars + - S6779717: A Window does not show applet security warning icon on X platforms + - S6785058: Parent dn't get the focus after dialog is closed if security warning is applied + - S6799345: JFC demos threw exception in the Java Console when applets are closed + - S6828273: javax/swing/system/6799345/TestShutdown.java test fails with RuntimeException. + - S6867515: Reduce impact of D3D initializion on startup time + - S6891435: Improve D3D preloading + - S6911041: JCK api/signaturetest tests fails for Mixed Code PIT builds (b91) for all trains + - S6921823: JarVerifier csdomain field not initialized + - S6921839: Update trusted.libraries list + - S6924497: HotSpotDiagnosticsMXBean.getDiagnosticOptions throws NPE + - S6936389: FontManager.fileCloser may cause memory leak in applets + - S6946559: AWTToolKit thread crashes in JNU_GetEnv + - S6955783: ServiceUnavailableException caught even the secondary DNS is available + - S6987967: D3D preloading thread should initialize COM + - S7011446: ./windows/classes/sun/awt/windows/WToolkit.java needs to avoid spurious wakeup + - S7015232: missing copyright header in CheckZOrderChange.java + - S7119760: [macosx] The OpenGL queue flusher thread is created in the wrong thread group + - S7155051: DNS provider may return incorrect results + - S8002191: AWT-Shutdown thread does not start with the AppletSecurity on Linux + - S8028388: 9 jaxws tests failed in nightly build with java.lang.ClassCastException + - S8031032: SQE test failures after JDK-8025010 was fixed + - S8031477: [macosx] Loading AWT native library fails + - S8032370: No "Truncated file" warning from IIOReadWarningListener on JPEGImageReader + - S8035834: InetAddress.getLocalHost() can hang after JDK-8030731 was fixed + New in release 1.13.2 (2014-03-28): * Backports From bugzilla-daemon at icedtea.classpath.org Thu Apr 17 01:52:53 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 17 Apr 2014 01:52:53 +0000 Subject: [Bug 1737] New: [IcedTea7] Support prefixed variants of GNU tools used on *BSD systems Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1737 Bug ID: 1737 Summary: [IcedTea7] Support prefixed variants of GNU tools used on *BSD systems Product: IcedTea Version: 7-hg Hardware: all OS: FreeBSD Status: NEW Severity: enhancement Priority: P5 Component: IcedTea Assignee: gnu.andrew at redhat.com Reporter: gnu.andrew at redhat.com CC: unassigned at icedtea.classpath.org http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-March/026747.html -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Thu Apr 17 01:53:21 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 17 Apr 2014 01:53:21 +0000 Subject: [Bug 1737] [IcedTea7] Support prefixed variants of GNU tools used on *BSD systems In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1737 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Blocks| |1284 Target Milestone|--- |2.5.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Thu Apr 17 01:53:21 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 17 Apr 2014 01:53:21 +0000 Subject: [Bug 1284] [TRACKER] IcedTea 2.5.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1284 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |1737 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew at icedtea.classpath.org Thu Apr 17 01:57:38 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 17 Apr 2014 01:57:38 +0000 Subject: /hg/icedtea7: 4 new changesets Message-ID: changeset 59af4b328ac4 in /hg/icedtea7 details: http://icedtea.classpath.org/hg/icedtea7?cmd=changeset;node=59af4b328ac4 author: Andrew John Hughes date: Mon Apr 14 16:25:41 2014 +0100 Bump to icedtea-2.6pre01 tag. 2014-04-03 Andrew John Hughes * Makefile.am: (BUILD_VERSION): Bump to b04. (CORBA_CHANGESET): Update to icedtea-2.6pre01 tag. (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. (ICEDTEA_PATCHES): Temporarily disable systemtap_gc patch which breaks build. * NEWS: Updated. * configure.ac: Bump to 2.6pre01. * hotspot.map: Bump to 2.6pre01 tag. * patches/boot/ecj-diamond.patch, * patches/boot/ecj-trywithresources.patch: Regenerated. changeset 60a95be0fadf in /hg/icedtea7 details: http://icedtea.classpath.org/hg/icedtea7?cmd=changeset;node=60a95be0fadf author: Andrew John Hughes date: Thu Apr 17 02:53:39 2014 +0100 PR1737: Support prefixed variants of GNU tools used on *BSD systems 2014-04-14 Andrew John Hughes * AUTHORS: Add Radim Kolar. * acinclude.m4: (IT_FIND_TOOL): Cleanup error message. (IT_FIND_TOOLS): Likewise. 2014-03-20 Radim Kolar * Makefile.am: (extract-openjdk): Use $(SED) instead of 'sed'. (versioning): Likewise. (add-systemtap): Likewise. (add-systemtap-debug): Likewise. (add-systemtap-boot): Likewise. (rewrite-rhino): Likewise. (clean-add-jamvm): Likewise. (clean-add-jamvm-debug): Likewise. (clean-add-cacao): Likewise. (clean-add-cacao-debug): Likewise. (clean-add-zero): Likewise. (clean-add-zero-debug): Likewise. (jtreg_processes): Likewise. (rt): Likewise. * acinclude.m4: (IT_FIND_TOOLS): New macro to check for multiple tools. * configure.ac: Check for gmake, gfind, gpatch, gsha256sum and gsed (GNU tools on *BSD). changeset 6723ffb7b315 in /hg/icedtea7 details: http://icedtea.classpath.org/hg/icedtea7?cmd=changeset;node=6723ffb7b315 author: Andrew John Hughes date: Thu Apr 17 02:55:59 2014 +0100 Add 2.4.7 release notes. 2014-04-16 Andrew John Hughes * configure.ac: Bump to 2.4.8pre00. * NEWS: Add 2.4.8 section. changeset a9e744ed1395 in /hg/icedtea7 details: http://icedtea.classpath.org/hg/icedtea7?cmd=changeset;node=a9e744ed1395 author: Andrew John Hughes date: Thu Apr 17 02:57:23 2014 +0100 Mention PR1737 in NEWS. 2014-04-16 Andrew John Hughes * NEWS: Mention PR1737. diffstat: AUTHORS | 1 + ChangeLog | 65 + Makefile.am | 76 +- NEWS | 190 +- acinclude.m4 | 10 +- configure.ac | 19 +- hotspot.map | 2 +- patches/boot/ecj-diamond.patch | 3195 +++++++++++++++--------------- patches/boot/ecj-trywithresources.patch | 209 +- 9 files changed, 1995 insertions(+), 1772 deletions(-) diffs (truncated from 5945 to 500 lines): diff -r 94604a055225 -r a9e744ed1395 AUTHORS --- a/AUTHORS Wed Apr 02 13:11:12 2014 +0100 +++ b/AUTHORS Thu Apr 17 02:57:23 2014 +0100 @@ -18,6 +18,7 @@ Andrew John Hughes Tomas Hurka Ioana Ivan +Radim Kolar Matthias Klose Francis Kung DJ Lucas diff -r 94604a055225 -r a9e744ed1395 ChangeLog --- a/ChangeLog Wed Apr 02 13:11:12 2014 +0100 +++ b/ChangeLog Thu Apr 17 02:57:23 2014 +0100 @@ -1,3 +1,68 @@ +2014-04-16 Andrew John Hughes + + * NEWS: + Mention PR1737. + +2014-04-16 Andrew John Hughes + + * NEWS: + Add 2.4.7 release notes. + +2014-04-14 Andrew John Hughes + + * AUTHORS: Add Radim Kolar. + * acinclude.m4: + (IT_FIND_TOOL): Cleanup error message. + (IT_FIND_TOOLS): Likewise. + +2014-03-20 Radim Kolar + + * Makefile.am: + (extract-openjdk): Use $(SED) instead of 'sed'. + (versioning): Likewise. + (add-systemtap): Likewise. + (add-systemtap-debug): Likewise. + (add-systemtap-boot): Likewise. + (rewrite-rhino): Likewise. + (clean-add-jamvm): Likewise. + (clean-add-jamvm-debug): Likewise. + (clean-add-cacao): Likewise. + (clean-add-cacao-debug): Likewise. + (clean-add-zero): Likewise. + (clean-add-zero-debug): Likewise. + (jtreg_processes): Likewise. + (rt): Likewise. + * acinclude.m4: + (IT_FIND_TOOLS): New macro to check for + multiple tools. + * configure.ac: Check for gmake, gfind, gpatch, + gsha256sum and gsed (GNU tools on *BSD). + +2014-04-03 Andrew John Hughes + + * Makefile.am: + (BUILD_VERSION): Bump to b04. + (CORBA_CHANGESET): Update to icedtea-2.6pre01 tag. + (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. + (ICEDTEA_PATCHES): Temporarily disable systemtap_gc + patch which breaks build. + * NEWS: Updated. + * configure.ac: Bump to 2.6pre01. + * hotspot.map: Bump to 2.6pre01 tag. + * patches/boot/ecj-diamond.patch, + * patches/boot/ecj-trywithresources.patch: + Regenerated. + 2014-04-02 Andrew John Hughes * configure.ac: Set to 2.6pre00. diff -r 94604a055225 -r a9e744ed1395 Makefile.am --- a/Makefile.am Wed Apr 02 13:11:12 2014 +0100 +++ b/Makefile.am Thu Apr 17 02:57:23 2014 +0100 @@ -1,22 +1,22 @@ # Dependencies JDK_UPDATE_VERSION = 60 -BUILD_VERSION = b03 +BUILD_VERSION = b04 COMBINED_VERSION = $(JDK_UPDATE_VERSION)-$(BUILD_VERSION) -CORBA_CHANGESET = 16906c5a09da -JAXP_CHANGESET = d7085aad637f -JAXWS_CHANGESET = 4aeccc3040fa -JDK_CHANGESET = 3162252ff26b -LANGTOOLS_CHANGESET = f75a642c2913 -OPENJDK_CHANGESET = fc5d15cc35b4 +CORBA_CHANGESET = 7224b2d0d330 +JAXP_CHANGESET = 10314bfd5ba4 +JAXWS_CHANGESET = 1569dc36a61c +JDK_CHANGESET = 9b6aff2241bf +LANGTOOLS_CHANGESET = 702454ac1a07 +OPENJDK_CHANGESET = 9d6e6533c1e5 -CORBA_SHA256SUM = 29dec824dd068c8ba89e9d079bc63e5c408ccc915118098381734495a0ef6610 -JAXP_SHA256SUM = 68540ee04cc159e4fb1dcc6f138242049fb870e907c4268b163039ad8ab5cae3 -JAXWS_SHA256SUM = 773022f057151aefb8c632670f0059e49a1e9b1d95a45e86e2450b0b5aaf6619 -JDK_SHA256SUM = 8680fd2a56dc388abaa9c3350d79f38f6638099406e81bc665d8f1a1f09273e5 -LANGTOOLS_SHA256SUM = 61363d33c482ead26951ba60eef75a2f8410178b2bed1eea012365cbf6f26ad4 -OPENJDK_SHA256SUM = 5f1548010cce513537e232609557d12ab854ff17d4fbaa83a830e1b3216fc0ee +CORBA_SHA256SUM = 4ddb46ce96184185ed0dd1ebcdad9e7cf50282d84d01af4b9fcbc35c12d7be15 +JAXP_SHA256SUM = 88cd6490d3e9c2f021d9e41d72efb49843137578ac54b1f02d90aec7e0e90ed5 +JAXWS_SHA256SUM = 64427e4708659976d7a24b32560709b3a2ba0981592805f47c04400b0526a3fc +JDK_SHA256SUM = 590e89d7aeaf6c9845cba0b9e3a9f3d00cfaeb8befcb5548fdde0ce429cfedfc +LANGTOOLS_SHA256SUM = 632ab633f289720644e4d00de74535362c8635b2cf0c9515a43719a53cdedbd6 +OPENJDK_SHA256SUM = e88e17a0bae48fca22b163224c6cdefc84bf7a574733d08d0e0ce6b70de72b8c CACAO_VERSION = e215e36be9fc CACAO_SHA256SUM = 4966514c72ee7ed108b882d9b6e65c3adf8a8f9c2dccb029f971b3c8cb4870ab @@ -289,8 +289,8 @@ endif if ENABLE_SYSTEMTAP -ICEDTEA_PATCHES += \ - patches/hotspot/$(HSBUILD)/systemtap_gc.patch +#ICEDTEA_PATCHES += \ +# patches/hotspot/$(HSBUILD)/systemtap_gc.patch endif if ENABLE_NSS @@ -1145,7 +1145,7 @@ *.zip) $(UNZIP) -q $(OPENJDK_SRC_ZIP) ;; \ *.tar.*) $(TAR) xf $(OPENJDK_SRC_ZIP) ;; \ esac; \ - mv `echo $(ICEDTEA_PREFIX)|sed 's#\.#-#'`-$(OPENJDK_CHANGESET) openjdk ; \ + mv `echo $(ICEDTEA_PREFIX)|$(SED) 's#\.#-#'`-$(OPENJDK_CHANGESET) openjdk ; \ else \ echo "ERROR: Couldn't extract OpenJDK"; \ false; \ @@ -1490,7 +1490,7 @@ if test x"$(VERSION_SUFFIX)" != "x"; then \ ver_suffix="-$(VERSION_SUFFIX)"; \ fi ; \ - sed -i "s#BUILD_VARIANT_RELEASE)#BUILD_VARIANT_RELEASE)$${proj_suffix}$${ver_suffix}#" \ + $(SED) -i "s#BUILD_VARIANT_RELEASE)#BUILD_VARIANT_RELEASE)$${proj_suffix}$${ver_suffix}#" \ openjdk/jdk/make/common/shared/Defs.gmk; mkdir -p stamps touch $@ @@ -1722,13 +1722,13 @@ mkdir -p $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset ; \ grep "client IGNORE" $(BUILD_JRE_ARCH_DIR)/jvm.cfg; \ if test $$? -eq 0; then \ - sed -e '/\/client\/libjvm.so/d' \ + $(SED) -e '/\/client\/libjvm.so/d' \ < $(abs_top_builddir)/tapset/hotspot.stp \ > $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot.stp; \ - sed -e '/\/client\/libjvm.so/d' \ + $(SED) -e '/\/client\/libjvm.so/d' \ < $(abs_top_builddir)/tapset/hotspot_jni.stp \ > $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_jni.stp; \ - sed -e '/\/client\/libjvm.so/d' \ + $(SED) -e '/\/client\/libjvm.so/d' \ < $(abs_top_builddir)/tapset/hotspot_gc.stp \ > $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_gc.stp; \ else \ @@ -1858,13 +1858,13 @@ mkdir -p $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset ; \ grep "client IGNORE" $(BUILD_JRE_ARCH_DIR)/jvm.cfg; \ if test $$? -eq 0; then \ - sed -e '/\/client\/libjvm.so/d' \ + $(SED) -e '/\/client\/libjvm.so/d' \ < $(abs_top_builddir)/tapset/hotspot.stp \ > $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot.stp; \ - sed -e '/\/client\/libjvm.so/d' \ + $(SED) -e '/\/client\/libjvm.so/d' \ < $(abs_top_builddir)/tapset/hotspot_jni.stp \ > $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_jni.stp; \ - sed -e '/\/client\/libjvm.so/d' \ + $(SED) -e '/\/client\/libjvm.so/d' \ < $(abs_top_builddir)/tapset/hotspot_gc.stp \ > $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_gc.stp; \ else \ @@ -1995,13 +1995,13 @@ mkdir -p $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/tapset ; \ grep "client IGNORE" $(BUILD_JRE_ARCH_DIR)/jvm.cfg; \ if test $$? -eq 0; then \ - sed -e '/\/client\/libjvm.so/d' \ + $(SED) -e '/\/client\/libjvm.so/d' \ < $(abs_top_builddir)/tapset/hotspot.stp \ > $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot.stp; \ - sed -e '/\/client\/libjvm.so/d' \ + $(SED) -e '/\/client\/libjvm.so/d' \ < $(abs_top_builddir)/tapset/hotspot_jni.stp \ > $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_jni.stp; \ - sed -e '/\/client\/libjvm.so/d' \ + $(SED) -e '/\/client\/libjvm.so/d' \ < $(abs_top_builddir)/tapset/hotspot_gc.stp \ > $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_gc.stp; \ else \ @@ -2219,10 +2219,10 @@ org.mozilla sun.org.mozilla && \ (cd rhino/rhino.old && \ for files in `find -type f -not -name '*.class'` ; do \ - new_file=../rhino.new/`echo $$files|sed -e 's#org#sun/org#'` ; \ + new_file=../rhino.new/`echo $$files|$(SED) -e 's#org#sun/org#'` ; \ mkdir -p `dirname $$new_file` ; \ cp -v $$files $$new_file ; \ - sed -ie 's#org\.mozilla#sun.org.mozilla#g' $$new_file ; \ + $(SED) -ie 's#org\.mozilla#sun.org.mozilla#g' $$new_file ; \ done \ ) && \ (cd rhino/rhino.new && \ @@ -2278,7 +2278,7 @@ clean-add-jamvm: rm -rf $(BUILD_JRE_ARCH_DIR)/jamvm if [ -e $(BUILD_JRE_ARCH_DIR)/jvm.cfg ] ; then \ - sed -i 's#-jamvm KNOWN#-jamvm ERROR#' $(BUILD_JRE_ARCH_DIR)/jvm.cfg ; \ + $(SED) -i 's#-jamvm KNOWN#-jamvm ERROR#' $(BUILD_JRE_ARCH_DIR)/jvm.cfg ; \ fi rm -f stamps/add-jamvm.stamp @@ -2296,7 +2296,7 @@ clean-add-jamvm-debug: rm -rf $(BUILD_DEBUG_JRE_ARCH_DIR)/jamvm if [ -e $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ] ; then \ - sed -i 's#-jamvm KNOWN#-jamvm ERROR#' $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ; \ + $(SED) -i 's#-jamvm KNOWN#-jamvm ERROR#' $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ; \ fi rm -f stamps/add-jamvm-debug.stamp @@ -2349,7 +2349,7 @@ clean-add-cacao: rm -rf $(BUILD_JRE_ARCH_DIR)/cacao if [ -e $(BUILD_JRE_ARCH_DIR)/jvm.cfg ] ; then \ - sed -i 's#-cacao KNOWN#-cacao ERROR#' $(BUILD_JRE_ARCH_DIR)/jvm.cfg ; \ + $(SED) -i 's#-cacao KNOWN#-cacao ERROR#' $(BUILD_JRE_ARCH_DIR)/jvm.cfg ; \ fi rm -f stamps/add-cacao.stamp @@ -2371,7 +2371,7 @@ clean-add-cacao-debug: rm -rf $(BUILD_DEBUG_JRE_ARCH_DIR)/cacao if [ -e $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ] ; then \ - sed -i 's#-cacao KNOWN#-cacao ERROR#' $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ; \ + $(SED) -i 's#-cacao KNOWN#-cacao ERROR#' $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ; \ fi rm -f stamps/add-cacao-debug.stamp @@ -2439,8 +2439,8 @@ rm -rf $(BUILD_JRE_ARCH_DIR)/shark rm -rf zerovm if [ -e $(BUILD_JRE_ARCH_DIR)/jvm.cfg ] ; then \ - sed -i 's#-zero KNOWN#-zero ERROR#' $(BUILD_JRE_ARCH_DIR)/jvm.cfg ; \ - sed -i 's#-shark KNOWN#-shark ERROR#' $(BUILD_JRE_ARCH_DIR)/jvm.cfg ; \ + $(SED) -i 's#-zero KNOWN#-zero ERROR#' $(BUILD_JRE_ARCH_DIR)/jvm.cfg ; \ + $(SED) -i 's#-shark KNOWN#-shark ERROR#' $(BUILD_JRE_ARCH_DIR)/jvm.cfg ; \ fi rm -f stamps/add-zero.stamp @@ -2478,8 +2478,8 @@ rm -rf $(BUILD_DEBUG_JRE_ARCH_DIR)/shark rm -rf zerovm if [ -e $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ] ; then \ - sed -i 's#-zero KNOWN#-zero ERROR#' $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ; \ - sed -i 's#-shark KNOWN#-shark ERROR#' $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ; \ + $(SED) -i 's#-zero KNOWN#-zero ERROR#' $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ; \ + $(SED) -i 's#-shark KNOWN#-shark ERROR#' $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ; \ fi rm -f stamps/add-zero-debug.stamp @@ -2557,7 +2557,7 @@ # FIXME: this might need some adjustment for other OS than Linux jtreg_processes = ps x -ww -o pid,ppid,args \ | awk '$$2 == 1 && $$3 ~ /^$(subst /,\/,/scratch)/' \ - | sed 's,$(CURDIR)/$(sdkimg),,g;s,$(CURDIR),,g' + | $(SED) 's,$(CURDIR)/$(sdkimg),,g;s,$(CURDIR),,g' jtreg_pids = ps x --no-headers -ww -o pid,ppid,args \ | awk '$$2 == 1 && $$3 ~ /^$(subst /,\/,$(CURDIR)/$(sdkimg))/ {print $$1}' @@ -2638,7 +2638,7 @@ cd lib/rt ; \ for dirs in $(ICEDTEA_BOOTSTRAP_RESOURCES) ; \ do \ - destpath=`echo $$dirs|sed -e 's#$(LANGTOOLS)/##' -e 's#$(SHARE)/##'` ; \ + destpath=`echo $$dirs|$(SED) -e 's#$(LANGTOOLS)/##' -e 's#$(SHARE)/##'` ; \ mkdir -p `dirname $$destpath` ; \ cp -a ../../$$dirs $$destpath ; \ done ; \ diff -r 94604a055225 -r a9e744ed1395 NEWS --- a/NEWS Wed Apr 02 13:11:12 2014 +0100 +++ b/NEWS Thu Apr 17 02:57:23 2014 +0100 @@ -14,13 +14,64 @@ New in release 2.6.0 (2014-XX-XX): +* OpenJDK + - S5036554: unmarshal error on CORBA alias type in CORBA any + - S6653795: C2 intrinsic for Unsafe.getAddress performs pointer sign extension on 32-bit systems + - S7052170: javadoc -charset option generates wrong meta tag + - S7076487: (sctp) SCTP API classes does not exist in JDK for Mac + - S7084032: test/java/net/Inet6Address/B6558853.java fails on Windows XP/2003 if IPv6 + - S7122142: (ann) Race condition between isAnnotationPresent and getAnnotations + - S7152892: some jtreg tests fail with permission denied + - S7169142: CookieHandler does not work with localhost + - S7176574: sun/security/krb5/auto/TcpTimeout.java failed with solaris-i586 + - S8006023: Embedded Builds fail management test because of requirement for UsePerfData being enabled. + - S8012026: [macosx] Component.getMousePosition() does not work in an applet on MacOS + - S8014460: Need to check for non-empty EXT_LIBS_PATH before using it + - S8015421: NegativeArraySizeException occurs in ChunkedOutputStream() with Integer.MAX_VALUE + - S8019800: Test sun/tools/jcmd/jcmd-f.sh failing after JDK-8017011 + - S8021372: NetworkInterface.getNetworkInterfaces() returns duplicate hardware address + - S8023990: Regression: postscript size increase from 6u18 + - S8024675: java/net/NetworkInterface/UniqueMacAddressesTest.java fails on Windows + - S8027026: Change keytool -genkeypair to use -keyalg RSA + - S8027212: java/nio/channels/Selector/SelectAfterRead.java fails intermittently + - S8028073: race condition in ObjectMonitor implementation causing deadlocks + - S8028616: Htmleditorkit parser doesn't handle leading slash (/) + - S8028623: SA: hash codes in SymbolTable mismatching java_lang_String::hash_code for extended characters. + - S8030712: TEST_BUG : java/lang/ProcessBuilder/BasicLauncher.java fails if java output contains VM warning + - S8030822: (tz) Support tzdata2013i + - S8030878: JConsole issues meaningless message if SSL connection fails + - S8031061: new hotspot build - hs24.60-b07 + - S8031572: jarsigner -verify exits with 0 when a jar file is not properly signed + - S8031743: C2: loadI2L_immI broken for negative memory values + - S8031764: tmtools/jmap/heap_config tests fail on Linux-ia32 because it Cant attach to the core file + - S8032078: [macosx] CPlatformWindow.setWindowState throws RuntimeException, if windowState=ICONIFIED|MAXIMIZED_BOTH + - S8032466: serviceability/sa/jmap-hashcode/Test8028623.java fails with compilation errors + - S8032669: Mouse release not being delivered to Swing component in 7u45 + - S8032740: Need to create SE Embedded Source Bundles in 7 Release + - S8032872: [macosx] Cannot select from JComboBox in a JWindow + - S8033524: Set minor version for hotspot in 7u80 to 80 and build number to b01 + - S8033970: new hotspot build - hs24.80-b02 + - S8034920: new hotspot build - hs24.80-b03 + - S8035283: Second phase of branch shortening doesn't account for loop alignment + - S8035435: new hotspot build - hs24.80-b04 + - S8035973: NPE in ForwardBuilder + - S8036584: Review comments from 8035897 + - S8036778: new hotspot build - hs24.80-b05 + - S8036863: Update jdk7 testlibrary to match jdk8 in hotspot + - S8037340: Linux semaphores to use CLOCK_REALTIME +* Bug fixes + - PR1737: Support prefixed variants of GNU tools used on *BSD systems + New in release 2.5.0 (2014-XX-XX): * OpenJDK - S5049299: (process) Use posix_spawn, not fork, on S10 to avoid swap exhaustion + - S6412968: CMS: Long initial mark pauses + - S6571600: JNI use results in UnsatisfiedLinkError looking for libmawt.so - S6889597: TEST_BUG: javax/management/remote/mandatory/URLTest.java test should be updated in jdk7 Workspace - S6900441: PlatformEvent.park(millis) on Linux could still be affected by changes to the time-of-day clock - S6989981: jstack causes "fatal error: ExceptionMark destructor expects no pending exceptions" + - S7074436: (sc) SocketChannel can do short gathering writes when channel configured blocking (win) - S7123493: (proxy) Proxy.getProxyClass doesn't scale under high load - S7124232: [TEST_BUG] [macosx] JSplitPane has wrong divider location - S7124314: [TEST_BUG] [macosx] Aqua LAF: JTree doesn't select element by keyboards left and right keys @@ -30,52 +81,103 @@ - S7133122: SA throws sun.jvm.hotspot.debugger.UnmappedAddressException when it should not - S7133146: [macosx] closed/javax/swing/JInternalFrame/4193219/IconCoord fails on MacOS - S7133154: [TEST_BUG] [macosx] closed/javax/swing/JInternalFrame/4251301/bug4251301.java fails on MacOS + - S7145569: G1: optimize nmethods scanning - S7147084: (process) appA hangs when read output stream of appB which starts appC that runs forever - S7171591: getDefaultScopeID() in src/solaris/native/java/net/net_util_md.c should return a value - S7173464: Clipboard.getAvailableDataFlavors: Comparison method violates contract + - S7186887: Test T6567415.java can fail on a slow machine + - S7187554: JSR 292: JVMTI PopFrame needs to handle appendix arguments - S7191817: -XX:+UseSerialGC -XX:+UseLargePages crashes with SIGFPE on MacOS X + - S7194607: VerifyLocalVariableTableOnRetransformTest.sh fails after JSR-292 merge - S7197210: java/lang/invoke/CallSiteTest.java failing on armsflt. + - S7199674: (props) user.home property does not return an accessible location in sandboxed environment [macosx] + - S8003253: TEST_BUG: java/nio/channels/AsynchronousChannelGroup/Unbounded.java hang intermittently [win] - S8003262: reverse translation required changes in xalan resource bundles + - S8003285: TEST_BUG: java/nio/channels/AsynchronousChannelGroup/Unbounded.java fails again [macosx] + - S8003895: java/nio/channels/AsynchronousChannelGroup/Unbounded.java failing again [win64] - S8004032: [TEST_BUG] [macosx] There is no effect when double clicking on the Icon, after right clicking on the Icon and the Icon disappear - S8004051: assert(_oprs_len[mode] < maxNumberOfOperands) failed: array overflow - S8004476: XSLT Extension Functions Don't Work in WebStart + - S8005128: JSR 292: the mlvm redefineClassInBootstrap test crashes in ConstantPool::compare_entry_to - S8006395: Race in async socket close on Linux + - S8006542: JSR 292: the VM_RedefineClasses::append_entry() must support invokedynamic entry kinds + - S8006546: JSR 292: typos in the ConstantPool::copy_cp_impl() + - S8006628: NEED_TEST for JDK-8002870 + - S8006731: JSR 292: the VM_RedefineClasses::rewrite_cp_refs_in_method() must support invokedynamic + - S8007037: JSR 292: the VM_RedefineClasses::append_entry() should do cross-checks with indy operands - S8007454: (process) SetHandleInformation parameters DWORD (not BOOLEAN) - S8008118: (process) Possible null pointer dereference in jdk/src/solaris/native/java/lang/UNIXProcess_md.c + - S8008511: JSR 292: MemberName vmtarget refs to methods must be updated at class redefinition - S8008733: Psr:perf:osb performance regression (18%) in wss_bodyenc + - S8009062: poor performance of JNI AttachCurrentThread after fix for 7017193 - S8009213: sun/management/jdp/JdpTest.sh fails with exit code 1 + - S8009222: java.lang.IllegalArgumentException: not invocable, no method type when attempting to get getter method handle for a static field + - S8011194: Apps launched via double-clicked .jars have file.encoding value of US-ASCII on Mac OS X + - S8011343: Add new flag for verifying the heap during startup + - S8011944: Sort fails with ArrayIndexOutOfBoundsException - S8011955: Lunar screen reader crashes intermittently in WindowsAccessBridge-32.DLL + - S8012244: java/net/Socket/asyncClose/Race.java fails intermittently on Windows - S8012326: Deadlock occurs when Charset.availableCharsets() is called by several threads at the same time - S8012615: Realm.getRealmsList returns realms list in wrong - S8012925: [parfait] Missing return value in jdk/src/macosx/native/sun/awt/AWTEvent.m + - S8013132: Add a flag to turn off the output of the verbose verification code + - S8013895: G1: G1SummarizeRSetStats output on Linux needs improvement + - S8013945: CMS fatal error: must own lock MemberNameTable_lock + - S8014052: JSR292: assert(end_offset == next_offset) failed: matched ending + - S8014078: G1: improve remembered set summary information by providing per region type information + - S8014240: G1: Add remembered set size information to output of G1PrintRegionLivenessInfo + - S8014288: perf regression in nashorn JDK-8008448.js test after 8008511 changes + - S8014394: (fs) WatchService failing when watching \\server\$d + - S8014555: G1: Memory ordering problem with Conc refinement and card marking - S8015092: SchemaFactory cannot parse schema if whitespace added within patterns in Selector XPath expression - S8015243: SchemaFactory does not catch enum. value that is not in the value space of the base type, anyURI + - S8015244: G1: Verification after a full GC is incorrectly placed. - S8015599: [TEST_BUG] [macosx] Test closed/javax/swing/Popup/TaskbarPositionTest.java fails since JDK 8 b75 on MacOSX - S8015600: [TEST_BUG] [macosx] Test closed/javax/swing/plaf/basic/BasicMenuUI/4983388/bug4983388.java fails since JDK 8 b75 on MacOSX - S8016018: Typo in AbstractStringBuilder#indexOf and #lastIndexOf descriptions - S8016271: wsimport -clientjar does not create portable jars on Windows due to hardcoded backslash + - S8016328: Regression : Javadoc i18n regression caused by fix for 8012375 - S8016500: Unlocalized warnings. - S8017180: [macosx] [TEST_BUG] alt-key doesn't work on macos for menu - S8017195: Introduce option to setKeepAlive parameter on CORBA sockets + - S8017456: [TEST_BUG] java/awt/DataFlavor/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug.html: test frames remain after test execution + - S8017498: JVM crashes when native code calls sigaction(sig) where sig>=0x20 + - S8017779: java/net/Authenticator/B4769350.java fails + - S8019184: MethodHandles.catchException() fails when methods have 8 args + varargs + - S8019389: SA-JDI JSR292: sun.jvm.hotspot.jdi.StackFrame.thisObject() throws sun.jvm.hotspot.utilities.AssertionFailure: sanity check - S8019396: SA-JDI: OSThread class initialization throws an exception + - S8019853: Break logging and AWT circular dependency + - S8020123: Test gc/g1/TestPrintRegionRememberedSetInfo.java fails with "test result: Error. No action after @build" + - S8020191: System.getProperty("os.name") returns "Windows NT (unknown)" on Windows 8.1 + - S8020530: Non heap memory size calculated incorrectly + - S8020791: [TESTBUG] runtime/jsig/Test8017498.sh failed to compile native code - S8021257: com.sun.corba.se.** should be on restricted package list + - S8021296: [TESTBUG] Test8017498.sh fails to find "gcc" and fails to compile on some Linux releases - S8021368: Launch of Java Web Start app fails with ClassCircularityError exception in 7u25 - S8021898: Broken JIT compiler optimization for loop unswitching - S8021943: FileDialog getFile returns corrupted string after previous setFile - S8022213: Intermittent test failures in java/net/URLClassLoader + - S8022452: Hotspot needs to know about Windows 8.1 and Windows Server 2012 R2 - S8022507: SIGSEGV at ParMarkBitMap::verify_clear() - S8022584: Memory leak in some NetworkInterface methods - S8022585: VM crashes when ran with -XX:+PrintInlining + - S8022698: javax/script/GetInterfaceTest.java fails since 7u45 b04 with -agentvm option - S8022993: Convert MAX_UNROLL constant to LoopMaxUnroll C2 flag + - S8023004: JSR 292: java.lang.RuntimeException: Original target method was called. - S8023130: (process) ProcessBuilder#inheritIO does not work on Windows + - S8023145: G1: G1CollectedHeap::mark_strong_code_roots() needs to handle ParallelGCThreads=0 - S8023472: C2 optimization breaks with G1 - S8023580: Add jtreg test for 8004051 and 8005722 - S8023720: (hotspot) setjmp/longjmp changes the process signal mask on OS X - S8023786: (jdk) setjmp/longjmp changes the process signal mask on OS X + - S8023881: IDN.USE_STD3_ASCII_RULES option is too strict to use Unicode in IDN.toASCII + - S8023956: Provide a work-around to broken Linux 32 bit "Exec Shield" using CS for NX emulation (crashing with SI_KERNEL) - S8024027: Test sun/misc/IoTrace/IoTraceSocketReadWrite.java crashes VM - S8024163: [macosx] NullPointerException at javax.swing.TransferHandler$DropHandler.handleDrag since jdk8b93, 7u40b28 - S8024521: (process) Async close issues with Process InputStream + - S8024648: 7141246 & 8016131 break Zero port - S8024707: TransformerException : item() return null with node list of length != 1 + - S8024788: (fs) Files.readAllBytes uses FileChannel which may not be supported by all providers - S8024830: SEGV in org.apache.lucene.codecs.compressing.CompressingTermVectorsReader.get - S8024861: Incomplete token triggers GSS-API NullPointerException - S8024876: [TEST_BUG] javax/xml/jaxp/parsers/8022548/XOMParserTest.java failed when testbase dir has read only permissions @@ -85,33 +187,43 @@ - S8025205: Intermittent test failure: javax/management/remote/mandatory/connection/BrokenConnectionTest.java - S8025206: Intermittent test failure: javax/management/monitor/NullAttributeValueTest.java - S8025207: Intermittent test failure: javax/management/monitor/CounterMonitorThresholdTest.java + - S8025305: Cleanup CardTableModRefBS usage in G1 - S8025512: NPE with logging while launching webstart on jre7u40 if logging is disabled + - S8025541: G1: assert "assert(thread < _num_vtimes) failed: just checking" fails when G1ConcRefinementThreads > ParallelGCThreads - S8025713: Syncing indendation/comment/copyright year differences with upstream projects - S8025775: JNI warnings in TryXShmAttach - S8025860: new hotspot build - hs24.60-b02 - S8025861: Set minor version for hotspot in 7u60 to 60 and build number to b01 - S8025920: webrev.ksh does not provide any details about changes in zip files - S8026293: Schedule part of G1 pre-barrier late + - S8026404: Logging in Applet can trigger ACE: access denied ("java.lang.RuntimePermission" "modifyThreadGroup") - S8026405: javax/xml/ws/clientjar/TestWsImport.java failing on JDK 8 nightly aurora test runs - S8026486: Significant slowdown due to transparent huge pages - S8026502: java/lang/invoke/MethodHandleConstants.java fails on all platforms - S8026794: Test tools/pack200/TimeStamp.java fails while opening golden.jar.native.IST on linux-ppc(v2) + - S8026848: -XX:+G1SummarizeRSetStats can result in wrong exit code and crash - S8027066: XMLDecoder in java 7 cannot properly deserialize object arrays - S8027172: new hotspot build - hs24.60-b03 - S8027351: (ref) Private finalize method invoked in preference to protected superclass method - S8027426: String.toLowerCase incorrectly increases length, if string contains \u0130 char + - S8027454: Do not traverse string table during G1 remark when treating them as strong roots during initial mark + - S8027476: Improve performance of Stringtable unlink - S8027579: new hotspot build - hs24.60-b04 + - S8027756: assert(!hr->isHumongous()) failed: code root in humongous region? - S8027839: C1 crashes in Weblogic with G1 enabled - S8027840: C2 allows safepoint checks to leak into G1 pre-barriers - S8027860: [TEST_BUG] File not closed in javax/xml/jaxp/parsers/8022548/XOMParserTest.java + - S8027973: javax/xml/jaxp/transform/jdk8004476/XSLTExFuncTest.java hangs (win) - S8027997: G1: SPECjbb2013 crashes due to a broken object reference - S8028054: com.sun.beans.finder.MethodFinder has unsynchronized access to a static Map - S8028208: (aio) Assertion in clearPendingIoMap when closing at around time file lock is acquired immediately (win) - S8028351: JWS doesn't get authenticated when using kerberos auth proxy + - S8028391: Make the Min/MaxHeapFreeRatio flags manageable - S8028412: AsyncGetCallTrace() is broken on x86 in JDK 7u40 From bugzilla-daemon at icedtea.classpath.org Thu Apr 17 01:57:50 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 17 Apr 2014 01:57:50 +0000 Subject: [Bug 1737] [IcedTea7] Support prefixed variants of GNU tools used on *BSD systems In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1737 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7?cmd=changeset;node=60a95be0fadf author: Andrew John Hughes date: Thu Apr 17 02:53:39 2014 +0100 PR1737: Support prefixed variants of GNU tools used on *BSD systems 2014-04-14 Andrew John Hughes * AUTHORS: Add Radim Kolar. * acinclude.m4: (IT_FIND_TOOL): Cleanup error message. (IT_FIND_TOOLS): Likewise. 2014-03-20 Radim Kolar * Makefile.am: (extract-openjdk): Use $(SED) instead of 'sed'. (versioning): Likewise. (add-systemtap): Likewise. (add-systemtap-debug): Likewise. (add-systemtap-boot): Likewise. (rewrite-rhino): Likewise. (clean-add-jamvm): Likewise. (clean-add-jamvm-debug): Likewise. (clean-add-cacao): Likewise. (clean-add-cacao-debug): Likewise. (clean-add-zero): Likewise. (clean-add-zero-debug): Likewise. (jtreg_processes): Likewise. (rt): Likewise. * acinclude.m4: (IT_FIND_TOOLS): New macro to check for multiple tools. * configure.ac: Check for gmake, gfind, gpatch, gsha256sum and gsed (GNU tools on *BSD). -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Thu Apr 17 01:57:56 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 17 Apr 2014 01:57:56 +0000 Subject: [Bug 1737] [IcedTea7] Support prefixed variants of GNU tools used on *BSD systems In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1737 --- Comment #2 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7?cmd=changeset;node=a9e744ed1395 author: Andrew John Hughes date: Thu Apr 17 02:57:23 2014 +0100 Mention PR1737 in NEWS. 2014-04-16 Andrew John Hughes * NEWS: Mention PR1737. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ptisnovs at icedtea.classpath.org Thu Apr 17 07:43:47 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Thu, 17 Apr 2014 07:43:47 +0000 Subject: /hg/gfx-test: Ten new tests added into CAGOperationsOnTwoTouchin... Message-ID: changeset accc207c5985 in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=accc207c5985 author: Pavel Tisnovsky date: Thu Apr 17 09:44:26 2014 +0200 Ten new tests added into CAGOperationsOnTwoTouchingCircles. diffstat: ChangeLog | 5 + src/org/gfxtest/testsuites/CAGOperationsOnTwoOverlappingRectangles.java | 252 +++++++++- 2 files changed, 256 insertions(+), 1 deletions(-) diffs (279 lines): diff -r 3f3aea48da06 -r accc207c5985 ChangeLog --- a/ChangeLog Wed Apr 16 13:14:23 2014 +0200 +++ b/ChangeLog Thu Apr 17 09:44:26 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-17 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/CAGOperationsOnTwoOverlappingRectangles.java: + Ten new tests added into CAGOperationsOnTwoTouchingCircles. + 2014-04-16 Pavel Tisnovsky * src/org/gfxtest/testsuites/CAGOperationsOnTwoTouchingCircles.java: diff -r 3f3aea48da06 -r accc207c5985 src/org/gfxtest/testsuites/CAGOperationsOnTwoOverlappingRectangles.java --- a/src/org/gfxtest/testsuites/CAGOperationsOnTwoOverlappingRectangles.java Wed Apr 16 13:14:23 2014 +0200 +++ b/src/org/gfxtest/testsuites/CAGOperationsOnTwoOverlappingRectangles.java Thu Apr 17 09:44:26 2014 +0200 @@ -1182,6 +1182,256 @@ } /** + * Checks the process of creating and rendering new geometric shape + * constructed from two overlapping rectangles using union operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testUnionTextureFillUsingCheckerTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingCheckerTexture(image, graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromTwoOverlappingRectanglesUsingUnionOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two overlapping rectangles using subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSubtractTextureFillUsingCheckerTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingCheckerTexture(image, graphics2d); + // create area using subtract operator + Area area = CommonCAGOperations.createAreaFromTwoOverlappingRectanglesUsingSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two overlapping rectangles using inverse subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testInverseSubtractTextureFillUsingCheckerTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingCheckerTexture(image, graphics2d); + // create area using inverse subtract operator + Area area = CommonCAGOperations.createAreaFromTwoOverlappingRectanglesUsingInverseSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two overlapping rectangles using intersect operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testIntersectTextureFillUsingCheckerTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingCheckerTexture(image, graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromTwoOverlappingRectanglesUsingIntersectOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two overlapping rectangles using Xor operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testXorTextureFillUsingCheckerTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingCheckerTexture(image, graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromTwoOverlappingRectanglesUsingXorOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two overlapping rectangles using union operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testUnionTextureFillUsingDiagonalCheckerTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingDiagonalCheckerTexture(image, graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromTwoOverlappingRectanglesUsingUnionOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two overlapping rectangles using subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSubtractTextureFillUsingDiagonalCheckerTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingDiagonalCheckerTexture(image, graphics2d); + // create area using subtract operator + Area area = CommonCAGOperations.createAreaFromTwoOverlappingRectanglesUsingSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two overlapping rectangles using inverse subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testInverseSubtractTextureFillUsingDiagonalCheckerTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingDiagonalCheckerTexture(image, graphics2d); + // create area using inverse subtract operator + Area area = CommonCAGOperations.createAreaFromTwoOverlappingRectanglesUsingInverseSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two overlapping rectangles using intersect operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testIntersectTextureFillUsingDiagonalCheckerTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingDiagonalCheckerTexture(image, graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromTwoOverlappingRectanglesUsingIntersectOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two overlapping rectangles using Xor operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testXorTextureFillUsingDiagonalCheckerTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingDiagonalCheckerTexture(image, graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromTwoOverlappingRectanglesUsingXorOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** * Entry point to the test suite. * * @param args @@ -1191,5 +1441,5 @@ { new CAGOperationsOnTwoOverlappingRectangles().runTestSuite(args); } - + } From guillaume at alaux.net Thu Apr 17 08:24:20 2014 From: guillaume at alaux.net (Guillaume Alaux) Date: Thu, 17 Apr 2014 10:24:20 +0200 Subject: Distro Support In-Reply-To: <20140416223422.GA4016@carrie.the212.com> References: <20140416223422.GA4016@carrie.the212.com> Message-ID: On 17 April 2014 00:34, Andrew Hughes wrote: > > You may have noticed that I've linked to Gentoo ebuilds in the online > versions of the most recent release announcements. I'm aware of these > because I maintain them and can update them at the same time as the > release announcement. > > I've also recently developed RPM builds for IcedTea. Links to these > will be included in the current release announcements and future ones. > They have been tested on Fedora but the aim is to be applicable to as > many RPM-based distributions as possible. The spec files are > maintained on github: > > https://github.com/gnu-andrew/java-1.6.0-icedtea > https://github.com/gnu-andrew/java-1.7.0-icedtea > > I don't want to be seen to be preferencing certain distributions. If > you package IcedTea for a particular distribution, please let me know > and I'll be happy to mention those packages as well. They do need to > be using the appropriate IcedTea release and keep local patches to > a minimum. > > Thanks, > -- > Andrew :) > > PGP Key: 248BDC07 (https://keys.indymedia.org/) > Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 Hi Andrew, Just for the record then, Arch Linux packages for OpenJDK7 use IcedTea and are available here [0]. [0] https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/java7-openjdk Thanks, Guillaume From jvanek at redhat.com Thu Apr 17 11:55:21 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Thu, 17 Apr 2014 13:55:21 +0200 Subject: [rfc][icedtea-web] conditional disabling of manifes tattributes In-Reply-To: <534EC1E6.8020804@redhat.com> References: <534691EA.8030606@redhat.com> <5346AE4A.9030106@redhat.com> <5347E911.8040707@redhat.com> <53481D05.3000802@redhat.com> <534D54E2.20500@redhat.com> <534E2C8A.5080009@redhat.com> <534E8D2C.3000204@redhat.com> <534E904B.3030004@redhat.com> <534EC1E6.8020804@redhat.com> Message-ID: <534FC129.8070301@redhat.com> On 04/16/2014 07:46 PM, Andrew Azores wrote: > On 04/16/2014 10:14 AM, Jiri Vanek wrote: >> On 04/16/2014 04:01 PM, Andrew Azores wrote: >>> On 04/16/2014 03:08 AM, Jiri Vanek wrote: >>>> On 04/15/2014 05:48 PM, Jiri Vanek wrote: >>>>> On 04/11/2014 06:49 PM, Andrew Azores wrote: >>>>>> On 04/11/2014 09:07 AM, Jiri Vanek wrote: >>>>>>> On 04/10/2014 04:44 PM, Andrew Azores wrote: >>>>>>>> On 04/10/2014 08:43 AM, Jiri Vanek wrote: >>>>>>>>> Hi! >>>>>>>>> >>>>>>>>> This patch can disable the check for new manifest attributes. >>>>>>>>> sevral motivations >>>>>>>>> - I hate this feature >>>>>>>>> - the remembering of this actions may take time to implement >>>>>>>>> - and the most important - the testsuite... >>>>>>>> >>>>>>>> Most important indeed. >>>>>>>> >>>>>>>>> >>>>>>>>> will go both head and 1.5. >>>>>>>>> >>>>>>>>> I'm hesitating whether to make this property public via itw-settings... Well if so, then as >>>>>>>>> another changeset. Any opinion about publish it in itw-settings? >>>>>>>>> >>>>>>>>> J >>>>>>>> >>>>>>>> Ok to push, so that we can clean up some of the noise in the test suite. >>>>>>>> >>>>>>>> RE putting it in itweb-settings - I think the cleanest way to do this, if it's to be done at >>>>>>>> all, is >>>>>>>> probably to add another security level. 'Minimal' or something perhaps? Because I don't >>>>>>>> think it >>>>>>>> makes sense to add it in as a checkbox, for example, and have it possible to set security to >>>>>>>> High, >>>>>>>> but disable manifest checks. I'm not sure if we really want to allow this, though. I can >>>>>>>> imagine >>>>>>>> most users leaving the security level at Minimal once they discover that this gives them the >>>>>>>> least >>>>>>>> amount of clicking to do before getting their applets to run :) >>>>>>> >>>>>>> >>>>>>> Oh yes, that can be correct thing to do. But looking to the issue from this perspective, it is >>>>>>> NO-GO argument for it as it is done. Well all correct applications should be updated to support >>>>>>> new attributes.. but the legaxy, and still used ones? >>>>> >>>>> I have pushed at the end. This shortcut for testsuite is needed. >>>>>>> >>>>>>> So I have another idea here - really extend ExtendedAppletsSecurity, and to allow "do not check >>>>>>> manifest attributes" on the application/codebase - So all those dialogs will be moreover >>>>>>> based on >>>>>>> your abstraction of Extended Applets security. Also remember alaca checkbox issue will be solved >>>>>>> by this. >>>>>>> >>>>>>> Bu the extension of ExtendedAppletsSecurity will needed to be done really carefully - and >>>>>>> prepared >>>>>>> before implementation. >>>>>>> >>>>>>> What do you think? >>>>>> >>>>>> Sounds like it could be a lot of work, but should be worthwhile in the end. I think it will be >>>>>> very >>>>>> nice if we can unify all of our dialogs like this so that they can all make use of the same >>>>>> remembered action storage. Or at least, the ones that need to be able to remember actions. I'm >>>>>> not >>>>>> sure about having the manifest attribute check be an option to be selected on the dialog though, >>>>>> even with an option to remember it... but maybe it's the right thing to do. It just seems like >>>>>> the >>>>>> dialogs are getting busier and busier and more confusing looking, but you're right that this >>>>>> option >>>>>> will (hopefully) be used mostly for allowing some old applets which haven't been updated to be >>>>>> used >>>>>> still. In that kind of situation, which I think is the target, then applying the setting to all >>>>>> applets/globally maybe isn't the right choice. So as ugly and cluttered as the UI might become, I >>>>>> suppose this really should be done on a per-applet basis (maybe in addition to having it >>>>>> configurable globally?). >>>>>> >>>>> >>>>> Hi attached patch is adding the basic support for multiple types of actions. Well it apeared that >>>>> the implementation itself will be quit easy (if this approach will be used) but most troubles will >>>>> be in itw-settings. The table will requires serious revork on level of filtering, sorting, delting >>>>> and especially editing of first - action - column. >>>>> >>>>> General idea is - instead of one ExecuteAppletAction unsignedAppletAction will be list of them, >>>>> encapsualted in AppletSecurityActions unsignedAppletAction; >>>>> In file it will be encoded instead of current one char, as one-word string - see the tests. >>>>> To read/write the correct action for given type, there will be set of getters/setters - tight now >>>>> there is >>>>> public ExecuteAppletAction getUnsignedAppletAction() { >>>>> + return getAction(0); >>>>> + } >>>>> + >>>>> + public void setUnsignedAppletAction(ExecuteAppletAction a) { >>>>> + actions.set(0,a); >>>>> + } >>>>> >>>>> And they will encapsulate the order in list. >>>>> >>>>> >>>>> If nothing else...This is nicely backward compatible, and scaleable for growth of "remember me" >>>>> dialogs :) >>>>> >>>>> Once this is aproved -if ever - I will add few more "on top of it" work like -table or rember for >>>>> ALACAto se hw it works - before push itself. >>>>> J. >>>>> >>>>> >>>> >>>> This is a bit better - get rid of paranoid constant of MAX_LENGTH. >>>> >>>> J. >>>> >>> >>> Just a few nits: >>> >>> - APPEXTSECunsetAppletActionNo should probably be renamed, why is the 'No' there? >>> -- Should also be reworded, maybe "This applet has not been visited before" >>> - AppletSecurityActions.fromString() - why 'break' on whitespace? I can understand if it was only >>> internal whitespace, but even leading whitespace? eg the string " A" means UNSET? Maybe do a >>> String#trim() first. >>> -- Please move the private empty constructor to the top of the class as well >>> - ExecuteAppletAction.fromString() - the RuntimeException message here should be reworded. >>> "Undefined zero-length ExecuteAppletAction String representation" ? >>> - ExecuteAppletAction should be refactored now that it has both a toChar and fromChar. I would >>> suggest retaining the corresponding char as a field (so make a one-arg constructor), then toChar >>> simply returns this and fromChar iterates over the enum values. If there is a matching enum value's >>> char, return that enum value, otherwise return UNSET >>> - Rather than doing 'for (int i = 0; i < str.length(); i++)' and 's.charAt(i)', how about for (char >>> ch : s.toCharArray())? >>> >>> Thanks, >>> >> >> And general approach? >> > > It seems okay, although I'm not sure I completely understand the motivation behind it. Can you > explain more why we need to have this multiple-action structure? The main motivation is "rember checboxx" fro alaca - it is now not working, and It have to be working:) .Maybe more attributes-check deserve remember button. In all cases, the table would have same structure as have current ExtendedApplets security. So motivation is - instead of maintaining several tables, only one will be maintained, and will have several actions. Another approach may be to have really more columns ( I think I will handle it in this way in EAS itw-settings table) or to have really more tbales. Well more tbales is probably most readable for user. But it will be full of duplicitous! And also all the overhead, inter-processes locking, and whatever. I don't like this. Another is to have more columns. But we may face some problems in case of adding more even endless number of columns... So I chose this - change string in first column to keep more vlaues. And to dispaly it as several columns in itw-setting (but this may change, it if there will be tomuch of those small sub columns) J. From aazores at redhat.com Thu Apr 17 14:17:20 2014 From: aazores at redhat.com (Andrew Azores) Date: Thu, 17 Apr 2014 10:17:20 -0400 Subject: [rfc][icedtea-web] conditional disabling of manifes tattributes In-Reply-To: <534FC129.8070301@redhat.com> References: <534691EA.8030606@redhat.com> <5346AE4A.9030106@redhat.com> <5347E911.8040707@redhat.com> <53481D05.3000802@redhat.com> <534D54E2.20500@redhat.com> <534E2C8A.5080009@redhat.com> <534E8D2C.3000204@redhat.com> <534E904B.3030004@redhat.com> <534EC1E6.8020804@redhat.com> <534FC129.8070301@redhat.com> Message-ID: <534FE270.3080402@redhat.com> On 04/17/2014 07:55 AM, Jiri Vanek wrote: > On 04/16/2014 07:46 PM, Andrew Azores wrote: >> On 04/16/2014 10:14 AM, Jiri Vanek wrote: >>> On 04/16/2014 04:01 PM, Andrew Azores wrote: >>>> On 04/16/2014 03:08 AM, Jiri Vanek wrote: >>>>> On 04/15/2014 05:48 PM, Jiri Vanek wrote: >>>>>> On 04/11/2014 06:49 PM, Andrew Azores wrote: >>>>>>> On 04/11/2014 09:07 AM, Jiri Vanek wrote: >>>>>>>> On 04/10/2014 04:44 PM, Andrew Azores wrote: >>>>>>>>> On 04/10/2014 08:43 AM, Jiri Vanek wrote: >>>>>>>>>> Hi! >>>>>>>>>> >>>>>>>>>> This patch can disable the check for new manifest attributes. >>>>>>>>>> sevral motivations >>>>>>>>>> - I hate this feature >>>>>>>>>> - the remembering of this actions may take time to implement >>>>>>>>>> - and the most important - the testsuite... >>>>>>>>> >>>>>>>>> Most important indeed. >>>>>>>>> >>>>>>>>>> >>>>>>>>>> will go both head and 1.5. >>>>>>>>>> >>>>>>>>>> I'm hesitating whether to make this property public via >>>>>>>>>> itw-settings... Well if so, then as >>>>>>>>>> another changeset. Any opinion about publish it in itw-settings? >>>>>>>>>> >>>>>>>>>> J >>>>>>>>> >>>>>>>>> Ok to push, so that we can clean up some of the noise in the >>>>>>>>> test suite. >>>>>>>>> >>>>>>>>> RE putting it in itweb-settings - I think the cleanest way to >>>>>>>>> do this, if it's to be done at >>>>>>>>> all, is >>>>>>>>> probably to add another security level. 'Minimal' or something >>>>>>>>> perhaps? Because I don't >>>>>>>>> think it >>>>>>>>> makes sense to add it in as a checkbox, for example, and have >>>>>>>>> it possible to set security to >>>>>>>>> High, >>>>>>>>> but disable manifest checks. I'm not sure if we really want to >>>>>>>>> allow this, though. I can >>>>>>>>> imagine >>>>>>>>> most users leaving the security level at Minimal once they >>>>>>>>> discover that this gives them the >>>>>>>>> least >>>>>>>>> amount of clicking to do before getting their applets to run :) >>>>>>>> >>>>>>>> >>>>>>>> Oh yes, that can be correct thing to do. But looking to the >>>>>>>> issue from this perspective, it is >>>>>>>> NO-GO argument for it as it is done. Well all correct >>>>>>>> applications should be updated to support >>>>>>>> new attributes.. but the legaxy, and still used ones? >>>>>> >>>>>> I have pushed at the end. This shortcut for testsuite is needed. >>>>>>>> >>>>>>>> So I have another idea here - really extend >>>>>>>> ExtendedAppletsSecurity, and to allow "do not check >>>>>>>> manifest attributes" on the application/codebase - So all >>>>>>>> those dialogs will be moreover >>>>>>>> based on >>>>>>>> your abstraction of Extended Applets security. Also remember >>>>>>>> alaca checkbox issue will be solved >>>>>>>> by this. >>>>>>>> >>>>>>>> Bu the extension of ExtendedAppletsSecurity will needed to be >>>>>>>> done really carefully - and >>>>>>>> prepared >>>>>>>> before implementation. >>>>>>>> >>>>>>>> What do you think? >>>>>>> >>>>>>> Sounds like it could be a lot of work, but should be worthwhile >>>>>>> in the end. I think it will be >>>>>>> very >>>>>>> nice if we can unify all of our dialogs like this so that they >>>>>>> can all make use of the same >>>>>>> remembered action storage. Or at least, the ones that need to be >>>>>>> able to remember actions. I'm >>>>>>> not >>>>>>> sure about having the manifest attribute check be an option to >>>>>>> be selected on the dialog though, >>>>>>> even with an option to remember it... but maybe it's the right >>>>>>> thing to do. It just seems like >>>>>>> the >>>>>>> dialogs are getting busier and busier and more confusing >>>>>>> looking, but you're right that this >>>>>>> option >>>>>>> will (hopefully) be used mostly for allowing some old applets >>>>>>> which haven't been updated to be >>>>>>> used >>>>>>> still. In that kind of situation, which I think is the target, >>>>>>> then applying the setting to all >>>>>>> applets/globally maybe isn't the right choice. So as ugly and >>>>>>> cluttered as the UI might become, I >>>>>>> suppose this really should be done on a per-applet basis (maybe >>>>>>> in addition to having it >>>>>>> configurable globally?). >>>>>>> >>>>>> >>>>>> Hi attached patch is adding the basic support for multiple types >>>>>> of actions. Well it apeared that >>>>>> the implementation itself will be quit easy (if this approach >>>>>> will be used) but most troubles will >>>>>> be in itw-settings. The table will requires serious revork on >>>>>> level of filtering, sorting, delting >>>>>> and especially editing of first - action - column. >>>>>> >>>>>> General idea is - instead of one ExecuteAppletAction >>>>>> unsignedAppletAction will be list of them, >>>>>> encapsualted in AppletSecurityActions unsignedAppletAction; >>>>>> In file it will be encoded instead of current one char, as >>>>>> one-word string - see the tests. >>>>>> To read/write the correct action for given type, there will be >>>>>> set of getters/setters - tight now >>>>>> there is >>>>>> public ExecuteAppletAction getUnsignedAppletAction() { >>>>>> + return getAction(0); >>>>>> + } >>>>>> + >>>>>> + public void setUnsignedAppletAction(ExecuteAppletAction a) { >>>>>> + actions.set(0,a); >>>>>> + } >>>>>> >>>>>> And they will encapsulate the order in list. >>>>>> >>>>>> >>>>>> If nothing else...This is nicely backward compatible, and >>>>>> scaleable for growth of "remember me" >>>>>> dialogs :) >>>>>> >>>>>> Once this is aproved -if ever - I will add few more "on top of >>>>>> it" work like -table or rember for >>>>>> ALACAto se hw it works - before push itself. >>>>>> J. >>>>>> >>>>>> >>>>> >>>>> This is a bit better - get rid of paranoid constant of MAX_LENGTH. >>>>> >>>>> J. >>>>> >>>> >>>> Just a few nits: >>>> >>>> - APPEXTSECunsetAppletActionNo should probably be renamed, why is >>>> the 'No' there? >>>> -- Should also be reworded, maybe "This applet has not been visited >>>> before" >>>> - AppletSecurityActions.fromString() - why 'break' on whitespace? I >>>> can understand if it was only >>>> internal whitespace, but even leading whitespace? eg the string " >>>> A" means UNSET? Maybe do a >>>> String#trim() first. >>>> -- Please move the private empty constructor to the top of the >>>> class as well >>>> - ExecuteAppletAction.fromString() - the RuntimeException message >>>> here should be reworded. >>>> "Undefined zero-length ExecuteAppletAction String representation" ? >>>> - ExecuteAppletAction should be refactored now that it has both a >>>> toChar and fromChar. I would >>>> suggest retaining the corresponding char as a field (so make a >>>> one-arg constructor), then toChar >>>> simply returns this and fromChar iterates over the enum values. If >>>> there is a matching enum value's >>>> char, return that enum value, otherwise return UNSET >>>> - Rather than doing 'for (int i = 0; i < str.length(); i++)' and >>>> 's.charAt(i)', how about for (char >>>> ch : s.toCharArray())? >>>> >>>> Thanks, >>>> >>> >>> And general approach? >>> >> >> It seems okay, although I'm not sure I completely understand the >> motivation behind it. Can you >> explain more why we need to have this multiple-action structure? > > > The main motivation is "rember checboxx" fro alaca - it is now not > working, and It have to be working:) .Maybe more attributes-check > deserve remember button. In all cases, the table would have same > structure as have current ExtendedApplets security. So motivation is - > instead of maintaining several tables, only one will be maintained, > and will have several actions. > > Another approach may be to have really more columns ( I think I will > handle it in this way in EAS itw-settings table) or to have really > more tbales. > > Well more tbales is probably most readable for user. But it will be > full of duplicitous! And also all the overhead, inter-processes > locking, and whatever. I don't like this. > > > Another is to have more columns. But we may face some problems in case > of adding more even endless number of columns... > > So I chose this - change string in first column to keep more vlaues. > And to dispaly it as several columns in itw-setting (but this may > change, it if there will be tomuch of those small sub columns) > > > J. Thanks for the clarification! Yes, I think this is a good enough approach then. I don't like the sound of more tables either, and although more columns might be more technically correct sounding, it also means the table will become dominated by yes/no/always/never columns, over and over again. Being able to mark them as present/not present is nice. This way also seems easier for backward compatibility than adding new columns, and easier as well if anyone ever wants to edit the trust settings by hand (directly with a text editor) for some reason. Thanks, -- Andrew A From gnu.andrew at redhat.com Thu Apr 17 14:47:55 2014 From: gnu.andrew at redhat.com (Andrew Hughes) Date: Thu, 17 Apr 2014 10:47:55 -0400 (EDT) Subject: [rfc][icedtea-web] Java 7 bump In-Reply-To: <20140414211739.GE2093@redhat.com> References: <53431771.2000300@redhat.com> <20140407213922.GM2293@redhat.com> <5343FF24.4010406@redhat.com> <874751430.4760647.1397509845682.JavaMail.zimbra@redhat.com> <20140414211739.GE2093@redhat.com> Message-ID: <767703801.6467128.1397746075681.JavaMail.zimbra@redhat.com> ----- Original Message ----- > * Andrew Hughes [2014-04-14 17:10]: > > For this reason and others, I prefer to test for required features, rather > > than versions > > i.e. if you want to know if it can compile code with the diamond operator, > > compile some. > > This is generally how all autotools tests work e.g. > > > > checking for gcc... gcc > > checking whether the C compiler works... yes > > ... > > checking whether gcc accepts -g... yes > > checking for gcc option to accept ISO C89... none needed > > checking whether gcc understands -c and -o together... yes > > etc. > > I see what you are saying and that's something I like myself. However, > in the case of Java, it seems much simpler to assume things. It's always simpler to assume things rather than testing for the actual feature. That doesn't make it correct. > For > example, you can't claim what you have is 'Java 7' if it does not pass > the Java 7 TCK. And for it to pass the Java 7 TCK, it must have a number > of features (for example, swing library with generic support and diamond > operator). You can bump a version number whenever. No TCK required. I'm sure the builds from the OpenJDK 9 trees are already reporting themselves as 9 or soon will be. Also, the TCK is still not open. An implementation could provide all features of 7, but not be able to even license the TCK. Moreover, a test for the feature you want is already in IcedTea :) > > > Is the JDK determined at compile-time or at run-time? If I build with a 7 > > JDK, > > can I later run with an 8 JDK and it be recognised as such? > > Last I looked, it's compile time. Mostly because if you compile with 6, > the 7-specific bits can not be compiled, and therefore don't work > (correctly). My question was about 8 i.e. if I replaced a 7 installation with an 8 one, after installing IcedTea-Web, would it still work? Or does IcedTea-Web need to be recompiled? > > Thanks, > Omair > > -- > PGP Key: 66484681 (http://pgp.mit.edu/) > Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681 > -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 From andrew at icedtea.classpath.org Thu Apr 17 16:21:21 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 17 Apr 2014 16:21:21 +0000 Subject: /hg/release/icedtea7-2.4: Update to icedtea-2.4.8pre01. Message-ID: changeset 3f3d537371cd in /hg/release/icedtea7-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-2.4?cmd=changeset;node=3f3d537371cd author: Andrew John Hughes date: Thu Apr 17 17:21:03 2014 +0100 Update to icedtea-2.4.8pre01. 2014-04-17 Andrew John Hughes * Makefile.am: (CORBA_CHANGESET): Update to icedtea-2.4.8pre01 tag. (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. (ICEDTEA_PATCHES): Temporarily disable systemtap_gc patch which breaks build. * NEWS: Add remaining changes from u55 and PR1188 regression fix. * hotspot.map: Update to icedtea-2.4.8pre01. * patches/boot/break-processbuilder-dependency.patch: Regenerated. * patches/boot/ecj-diamond.patch: Add new case in java.util.logging.LogManager. diffstat: ChangeLog | 25 +++++++++++++++ Makefile.am | 28 ++++++++-------- NEWS | 29 +++++++++++++++++ hotspot.map | 2 +- patches/boot/break-processbuilder-dependency.patch | 36 +++++++++++----------- patches/boot/ecj-diamond.patch | 12 +++++++ 6 files changed, 99 insertions(+), 33 deletions(-) diffs (237 lines): diff -r 846234789ca0 -r 3f3d537371cd ChangeLog --- a/ChangeLog Thu Apr 17 02:29:12 2014 +0100 +++ b/ChangeLog Thu Apr 17 17:21:03 2014 +0100 @@ -1,3 +1,28 @@ +2014-04-17 Andrew John Hughes + + * Makefile.am: + (CORBA_CHANGESET): Update to icedtea-2.4.8pre01 tag. + (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. + (ICEDTEA_PATCHES): Temporarily disable systemtap_gc + patch which breaks build. + * NEWS: Add remaining changes from u55 and PR1188 + regression fix. + * hotspot.map: Update to icedtea-2.4.8pre01. + * patches/boot/break-processbuilder-dependency.patch: + Regenerated. + * patches/boot/ecj-diamond.patch: + Add new case in java.util.logging.LogManager. + 2014-04-16 Andrew John Hughes * configure.ac: Bump to 2.4.8pre00. diff -r 846234789ca0 -r 3f3d537371cd Makefile.am --- a/Makefile.am Thu Apr 17 02:29:12 2014 +0100 +++ b/Makefile.am Thu Apr 17 17:21:03 2014 +0100 @@ -4,19 +4,19 @@ BUILD_VERSION = b14 COMBINED_VERSION = $(JDK_UPDATE_VERSION)-$(BUILD_VERSION) -CORBA_CHANGESET = e6ad5b912691 -JAXP_CHANGESET = 94b7e8e0d96f -JAXWS_CHANGESET = bd9a50a78d04 -JDK_CHANGESET = 9448fff93286 -LANGTOOLS_CHANGESET = 8c26a3c39128 -OPENJDK_CHANGESET = 13970e76b784 +CORBA_CHANGESET = 179bc370340d +JAXP_CHANGESET = 481d5d80aada +JAXWS_CHANGESET = 2cc5b85692ba +JDK_CHANGESET = 344829ae761e +LANGTOOLS_CHANGESET = 200ea1a5797e +OPENJDK_CHANGESET = f0fab6df83bb -CORBA_SHA256SUM = cc37272df260d08207c84763d4c39d7807728ba2d5908276b9bc63e925e70674 -JAXP_SHA256SUM = 3515cd105c29563bf78432576e658005386f45d7c3b2b7eac7af86cf196aaaea -JAXWS_SHA256SUM = 3e107628080d84a80a78ef0ef9dc3664989291dd17c8bacf031d59fba7bd7f4d -JDK_SHA256SUM = 9222e5317264f20d4a0b8170b4c4d02459cda98333c18e3a75064e7856ff58be -LANGTOOLS_SHA256SUM = 5af29e32344e2f2fc0beb31f91b8312f2a0d6d02c53b4cb700ee2e27bcf1043b -OPENJDK_SHA256SUM = bcd45546509defc439f42f230c0ca64e8aa6ec00542c3634aab3a4c10be3fe6b +CORBA_SHA256SUM = a33c40fcf5476c72ec4538d3d940eef4e7cfc64683bf25a64a7d331e2d894519 +JAXP_SHA256SUM = ff826a59c8cc53e373b2e6efe41a1949daf1395db5ed3a30e1e115a2d0585b2c +JAXWS_SHA256SUM = 44d90a5a7e4457119b216a07642da39c03d8b2e2828114a8cdfd8929d7eb24bc +JDK_SHA256SUM = 4b8e215495fd57385598ea7b03af6290e19d5a3ed42b03a29b53b666f31bd9bb +LANGTOOLS_SHA256SUM = 9baba9050787585556eed19f24852b69a1ef6dbe211fcb7952b104e0835e789d +OPENJDK_SHA256SUM = 555276d65d155e4182e4e35bd3ec173d198205143dcc5a0640e4fb74d0137f99 CACAO_VERSION = e215e36be9fc CACAO_SHA256SUM = 4966514c72ee7ed108b882d9b6e65c3adf8a8f9c2dccb029f971b3c8cb4870ab @@ -289,8 +289,8 @@ endif if ENABLE_SYSTEMTAP -ICEDTEA_PATCHES += \ - patches/hotspot/$(HSBUILD)/systemtap_gc.patch +#ICEDTEA_PATCHES += \ +# patches/hotspot/$(HSBUILD)/systemtap_gc.patch endif if ENABLE_NSS diff -r 846234789ca0 -r 3f3d537371cd NEWS --- a/NEWS Thu Apr 17 02:29:12 2014 +0100 +++ b/NEWS Thu Apr 17 17:21:03 2014 +0100 @@ -14,6 +14,35 @@ New in release 2.4.8 (2014-07-XX): +* Backports + - S5049299: (process) Use posix_spawn, not fork, on S10 to avoid swap exhaustion + - S6571600: JNI use results in UnsatisfiedLinkError looking for libmawt.so + - S7131153: GetDC called way too many times - causes bad performance. + - S7190349: [macosx] Text (Label) is incorrectly drawn with a rotated g2d + - S8008118: (process) Possible null pointer dereference in jdk/src/solaris/native/java/lang/UNIXProcess_md.c + - S8014460: Need to check for non-empty EXT_LIBS_PATH before using it + - S8019853: Break logging and AWT circular dependency + - S8020191: System.getProperty("os.name") returns "Windows NT (unknown)" on Windows 8.1 + - S8022452: Hotspot needs to know about Windows 8.1 and Windows Server 2012 R2 + - S8024830: SEGV in org.apache.lucene.codecs.compressing.CompressingTermVectorsReader.get + - S8025588: [macosx] Frozen AppKit thread in 7u40 + - S8026404: Logging in Applet can trigger ACE: access denied ("java.lang.RuntimePermission" "modifyThreadGroup") + - S8026705: [TEST_BUG] java/beans/Introspector/TestTypeResolver.java failed + - S8027196: Increment minor version of HSx for 7u55 and initialize the build number + - S8030655: Regression: 14_01 Security fix 8024306 causes test failures + - S8030813: Signed applet fails to load when CRLs are stored in an LDAP directory + - S8030822: (tz) Support tzdata2013i + - S8031050: (thread) Change Thread initialization so that thread name is set before invoking SecurityManager + - S8031462: Fonts with morx tables are broken with latest ICU fixes + - S8032740: Need to create SE Embedded Source Bundles in 7 Release + - S8034772: JDK-8028795 brought a specification change to 7u55 release and caused JCK7 signature test failure + - S8035283: Second phase of branch shortening doesn't account for loop alignment + - S8035618: Four api/org_omg/CORBA TCK tests fail under plugin only + - S8036147: Increment hsx 24.55 build to b02 for 7u55-b11 + - S8036837: Increment hsx 24.55 build to b03 for 7u55-b12 +* Bug fixes + - Fix accidental reversion of PR1188 for armel + New in release 2.4.7 (2014-04-15): * Security fixes diff -r 846234789ca0 -r 3f3d537371cd hotspot.map --- a/hotspot.map Thu Apr 17 02:29:12 2014 +0100 +++ b/hotspot.map Thu Apr 17 17:21:03 2014 +0100 @@ -1,3 +1,3 @@ # version url changeset sha256sum -default http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot 69b542696e5b e3bbed298ed7c77169fdfddc47cdb85c62ef2e5e7ea04ca28aa8779861efca65 +default http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot ee5d9f6749da d5bd060c0bbe69c0207f822bc9dcded1e58e0661a772a678b88bdb742ae0ee76 aarch64 http://hg.openjdk.java.net/aarch64-port/jdk7u/hotspot f50993b6c38d 64c2d0bfa71d6eecf18ab28fd64d5bd79af096f77548d80de7953c306fd9c22c diff -r 846234789ca0 -r 3f3d537371cd patches/boot/break-processbuilder-dependency.patch --- a/patches/boot/break-processbuilder-dependency.patch Thu Apr 17 02:29:12 2014 +0100 +++ b/patches/boot/break-processbuilder-dependency.patch Thu Apr 17 17:21:03 2014 +0100 @@ -1,7 +1,7 @@ diff -Nru openjdk-boot.orig/jdk/src/solaris/classes/java/lang/UNIXProcess.java.linux openjdk-boot/jdk/src/solaris/classes/java/lang/UNIXProcess.java.linux ---- openjdk-boot.orig/jdk/src/solaris/classes/java/lang/UNIXProcess.java.linux 2010-09-01 22:21:08.815402468 +0100 -+++ openjdk-boot/jdk/src/solaris/classes/java/lang/UNIXProcess.java.linux 2010-09-01 22:23:19.572081778 +0100 -@@ -62,6 +62,32 @@ +--- openjdk-boot.orig/jdk/src/solaris/classes/java/lang/UNIXProcess.java.linux 2014-04-16 19:41:14.000000000 +0100 ++++ openjdk-boot/jdk/src/solaris/classes/java/lang/UNIXProcess.java.linux 2014-04-17 15:36:16.563068772 +0100 +@@ -63,6 +63,32 @@ private /* final */ InputStream stdout; private /* final */ InputStream stderr; @@ -31,10 +31,10 @@ + } + } + - /* this is for the reaping thread */ - private native int waitForProcessExit(int pid); - -@@ -155,15 +181,15 @@ + private static enum LaunchMechanism { + FORK(1), + VFORK(3); +@@ -211,15 +237,15 @@ void initStreams(int[] fds) throws IOException { stdin = (fds[0] == -1) ? @@ -53,7 +53,7 @@ new ProcessPipeInputStream(fds[2]); processReaperExecutor.execute(new Runnable() { -@@ -275,7 +301,7 @@ +@@ -332,7 +358,7 @@ byte[] stragglers = drainInputStream(in); in.close(); this.in = (stragglers == null) ? @@ -62,7 +62,7 @@ new ByteArrayInputStream(stragglers); if (buf == null) // asynchronous close()? this.in = null; -@@ -306,7 +332,7 @@ +@@ -363,7 +389,7 @@ // We know of no reason to get an IOException, but if // we do, there's nothing else to do but carry on. } @@ -72,9 +72,9 @@ } } diff -Nru openjdk-boot.orig/jdk/src/solaris/classes/java/lang/UNIXProcess.java.solaris openjdk-boot/jdk/src/solaris/classes/java/lang/UNIXProcess.java.solaris ---- openjdk-boot.orig/jdk/src/solaris/classes/java/lang/UNIXProcess.java.solaris 2010-09-01 22:21:08.815402468 +0100 -+++ openjdk-boot/jdk/src/solaris/classes/java/lang/UNIXProcess.java.solaris 2010-09-01 22:22:33.204096111 +0100 -@@ -45,6 +45,32 @@ +--- openjdk-boot.orig/jdk/src/solaris/classes/java/lang/UNIXProcess.java.solaris 2014-04-16 19:41:14.000000000 +0100 ++++ openjdk-boot/jdk/src/solaris/classes/java/lang/UNIXProcess.java.solaris 2014-04-17 15:36:49.211552223 +0100 +@@ -47,6 +47,32 @@ private DeferredCloseInputStream stdout_inner_stream; private InputStream stderr_stream; @@ -104,10 +104,10 @@ + } + } + - /* this is for the reaping thread */ - private native int waitForProcessExit(int pid); - -@@ -86,7 +112,7 @@ + private static enum LaunchMechanism { + FORK(1), + POSIX_SPAWN(2); +@@ -145,7 +171,7 @@ java.security.AccessController.doPrivileged( new java.security.PrivilegedAction() { public Void run() { if (std_fds[0] == -1) @@ -116,7 +116,7 @@ else { FileDescriptor stdin_fd = new FileDescriptor(); fdAccess.set(stdin_fd, std_fds[0]); -@@ -95,7 +121,7 @@ +@@ -154,7 +180,7 @@ } if (std_fds[1] == -1) @@ -125,7 +125,7 @@ else { FileDescriptor stdout_fd = new FileDescriptor(); fdAccess.set(stdout_fd, std_fds[1]); -@@ -104,7 +130,7 @@ +@@ -163,7 +189,7 @@ } if (std_fds[2] == -1) diff -r 846234789ca0 -r 3f3d537371cd patches/boot/ecj-diamond.patch --- a/patches/boot/ecj-diamond.patch Thu Apr 17 02:29:12 2014 +0100 +++ b/patches/boot/ecj-diamond.patch Thu Apr 17 17:21:03 2014 +0100 @@ -7131,3 +7131,15 @@ List threads = new ArrayList(); for (int i = 0; i < threadCount; i++) { RandomCollector r = new RandomCollector(); +diff -Nru openjdk-boot.orig/jdk/src/share/classes/java/util/logging/LogManager.java openjdk-boot/jdk/src/share/classes/java/util/logging/LogManager.java +--- openjdk-boot.orig/jdk/src/share/classes/java/util/logging/LogManager.java 2014-04-17 15:39:21.173802195 +0100 ++++ openjdk-boot/jdk/src/share/classes/java/util/logging/LogManager.java 2014-04-17 15:39:34.838004489 +0100 +@@ -381,7 +381,7 @@ + final Object ecx = javaAwtAccess.getAppletContext(); + if (ecx != null) { + if (contextsMap == null) { +- contextsMap = new WeakHashMap<>(); ++ contextsMap = new WeakHashMap(); + } + context = contextsMap.get(ecx); + if (context == null) { From andrew at icedtea.classpath.org Thu Apr 17 16:23:27 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 17 Apr 2014 16:23:27 +0000 Subject: /hg/release/icedtea7-2.4: Bump to 2.4.8pre01. Message-ID: changeset cfa8ae50fd2d in /hg/release/icedtea7-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-2.4?cmd=changeset;node=cfa8ae50fd2d author: Andrew John Hughes date: Thu Apr 17 17:23:20 2014 +0100 Bump to 2.4.8pre01. 2014-04-17 Andrew John Hughes * configure.ac: Bump to 2.4.8pre01. diffstat: ChangeLog | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-) diffs (20 lines): diff -r 3f3d537371cd -r cfa8ae50fd2d ChangeLog --- a/ChangeLog Thu Apr 17 17:21:03 2014 +0100 +++ b/ChangeLog Thu Apr 17 17:23:20 2014 +0100 @@ -1,3 +1,7 @@ +2014-04-17 Andrew John Hughes + + * configure.ac: Bump to 2.4.8pre01. + 2014-04-17 Andrew John Hughes * Makefile.am: diff -r 3f3d537371cd -r cfa8ae50fd2d configure.ac --- a/configure.ac Thu Apr 17 17:21:03 2014 +0100 +++ b/configure.ac Thu Apr 17 17:23:20 2014 +0100 @@ -1,4 +1,4 @@ -AC_INIT([icedtea], [2.4.8pre00], [distro-pkg-dev at openjdk.java.net]) +AC_INIT([icedtea], [2.4.8pre01], [distro-pkg-dev at openjdk.java.net]) AM_INIT_AUTOMAKE([1.9 tar-pax foreign]) AC_CONFIG_FILES([Makefile]) From andrew at icedtea.classpath.org Thu Apr 17 16:28:02 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 17 Apr 2014 16:28:02 +0000 Subject: /hg/release/icedtea7-forest-2.4: Added tag icedtea-2.4.8pre01 fo... Message-ID: changeset 2b38d8f0e43f in /hg/release/icedtea7-forest-2.4 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4?cmd=changeset;node=2b38d8f0e43f author: andrew date: Thu Apr 17 17:20:15 2014 +0100 Added tag icedtea-2.4.8pre01 for changeset f0fab6df83bb diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r f0fab6df83bb -r 2b38d8f0e43f .hgtags --- a/.hgtags Wed Apr 16 19:41:03 2014 +0100 +++ b/.hgtags Thu Apr 17 17:20:15 2014 +0100 @@ -431,3 +431,4 @@ de268da51b54a4f36bcc1a9af60faea285e94330 jdk7u55-b12 d972a2d9e4f3f864d26c33ccfdacd8269e0f29a8 jdk7u55-b13 0820b4707cfa75f8211b88b0daa67bba8475f498 jdk7u55-b30 +f0fab6df83bbc0b02e86ac065a655e50f5a61c6c icedtea-2.4.8pre01 From andrew at icedtea.classpath.org Thu Apr 17 16:28:07 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 17 Apr 2014 16:28:07 +0000 Subject: /hg/release/icedtea7-forest-2.4/corba: Added tag icedtea-2.4.8pr... Message-ID: changeset 39f5a0f1b47c in /hg/release/icedtea7-forest-2.4/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/corba?cmd=changeset;node=39f5a0f1b47c author: andrew date: Thu Apr 17 17:20:03 2014 +0100 Added tag icedtea-2.4.8pre01 for changeset 179bc370340d diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 179bc370340d -r 39f5a0f1b47c .hgtags --- a/.hgtags Wed Apr 16 19:41:04 2014 +0100 +++ b/.hgtags Thu Apr 17 17:20:03 2014 +0100 @@ -433,3 +433,4 @@ 3cce2a49d18d93dfca2634db32368486ebbb1590 jdk7u55-b12 8efa6e66c13a5329c312d1a521ffab75d9a330e3 jdk7u55-b13 e041c52fe69128ec3439d26afef9b0fcba00684c jdk7u55-b30 +179bc370340d11a9f063c5420f1866d4f045c19f icedtea-2.4.8pre01 From andrew at icedtea.classpath.org Thu Apr 17 16:28:13 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 17 Apr 2014 16:28:13 +0000 Subject: /hg/release/icedtea7-forest-2.4/jaxp: Added tag icedtea-2.4.8pre... Message-ID: changeset 8bc8dbf7b561 in /hg/release/icedtea7-forest-2.4/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxp?cmd=changeset;node=8bc8dbf7b561 author: andrew date: Thu Apr 17 17:20:04 2014 +0100 Added tag icedtea-2.4.8pre01 for changeset 481d5d80aada diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 481d5d80aada -r 8bc8dbf7b561 .hgtags --- a/.hgtags Wed Apr 16 19:41:05 2014 +0100 +++ b/.hgtags Thu Apr 17 17:20:04 2014 +0100 @@ -433,3 +433,4 @@ 708a1872f5bb8ba58ecc9fcbf4e12e6fa4783998 jdk7u55-b12 14719f73596f5c90e3f46c0f4312f32e5b105edd jdk7u55-b13 01f26830f88cf4f10897416fe1f4f372efcdecf5 jdk7u55-b30 +481d5d80aada486e18d780bf994d7fc450b8cc11 icedtea-2.4.8pre01 From andrew at icedtea.classpath.org Thu Apr 17 16:28:19 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 17 Apr 2014 16:28:19 +0000 Subject: /hg/release/icedtea7-forest-2.4/jaxws: Added tag icedtea-2.4.8pr... Message-ID: changeset 6076c37608b3 in /hg/release/icedtea7-forest-2.4/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jaxws?cmd=changeset;node=6076c37608b3 author: andrew date: Thu Apr 17 17:20:05 2014 +0100 Added tag icedtea-2.4.8pre01 for changeset 2cc5b85692ba diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 2cc5b85692ba -r 6076c37608b3 .hgtags --- a/.hgtags Wed Apr 16 19:41:06 2014 +0100 +++ b/.hgtags Thu Apr 17 17:20:05 2014 +0100 @@ -433,3 +433,4 @@ 3834eb921dfd8d29d917a0c57bb9fdd9aa58c209 jdk7u55-b12 3b0da73591b1ea23c48aa7babc34ed776fc183f0 jdk7u55-b13 5d726bf8fedc1f10d250e980653315919b7602f2 jdk7u55-b30 +2cc5b85692ba39099b4b6f7e533232fe3975430a icedtea-2.4.8pre01 From andrew at icedtea.classpath.org Thu Apr 17 16:28:24 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 17 Apr 2014 16:28:24 +0000 Subject: /hg/release/icedtea7-forest-2.4/langtools: Added tag icedtea-2.4... Message-ID: changeset 43cdaf529543 in /hg/release/icedtea7-forest-2.4/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/langtools?cmd=changeset;node=43cdaf529543 author: andrew date: Thu Apr 17 17:20:15 2014 +0100 Added tag icedtea-2.4.8pre01 for changeset 200ea1a5797e diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 200ea1a5797e -r 43cdaf529543 .hgtags --- a/.hgtags Wed Apr 16 19:41:08 2014 +0100 +++ b/.hgtags Thu Apr 17 17:20:15 2014 +0100 @@ -432,3 +432,4 @@ a3cdca5d3773f67a49091f9131a4d073bc6b83d9 jdk7u55-b12 81bf1ca3a3a71c628b7d952ba47c6f200a223f27 jdk7u55-b13 96d55b4d88fea1d9f8227e70003210a6c10a1dba jdk7u55-b30 +200ea1a5797efc75393873814edfeb34b16e6cb8 icedtea-2.4.8pre01 From andrew at icedtea.classpath.org Thu Apr 17 16:28:30 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 17 Apr 2014 16:28:30 +0000 Subject: /hg/release/icedtea7-forest-2.4/hotspot: Added tag icedtea-2.4.8... Message-ID: changeset 0c479601fd12 in /hg/release/icedtea7-forest-2.4/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/hotspot?cmd=changeset;node=0c479601fd12 author: andrew date: Thu Apr 17 17:20:17 2014 +0100 Added tag icedtea-2.4.8pre01 for changeset ee5d9f6749da diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r ee5d9f6749da -r 0c479601fd12 .hgtags --- a/.hgtags Wed Apr 16 19:41:09 2014 +0100 +++ b/.hgtags Thu Apr 17 17:20:17 2014 +0100 @@ -646,3 +646,4 @@ aadc864abd1ced3049bf59ce32786a07997ba190 jdk7u55-b12 b021fd817a0177b31d1e3d65127a27458e85801e jdk7u55-b13 d27b468d5f3be3329ff1ff342f3347e6b2e0303b jdk7u55-b30 +ee5d9f6749da3fa65eb211818b5c4f2926b961f0 icedtea-2.4.8pre01 From andrew at icedtea.classpath.org Thu Apr 17 16:28:37 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 17 Apr 2014 16:28:37 +0000 Subject: /hg/release/icedtea7-forest-2.4/jdk: Added tag icedtea-2.4.8pre0... Message-ID: changeset c8c15663cef6 in /hg/release/icedtea7-forest-2.4/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.4/jdk?cmd=changeset;node=c8c15663cef6 author: andrew date: Thu Apr 17 17:20:13 2014 +0100 Added tag icedtea-2.4.8pre01 for changeset 344829ae761e diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 344829ae761e -r c8c15663cef6 .hgtags --- a/.hgtags Wed Apr 16 19:41:14 2014 +0100 +++ b/.hgtags Thu Apr 17 17:20:13 2014 +0100 @@ -424,3 +424,4 @@ 07be5d5508733ed37c11fcd21a13ae3c8288313b jdk7u55-b12 92fd166252c2701092a510002f4cf9285a20473d jdk7u55-b13 4a5651c84b1e6cf26dc9b19f00747e5004efba68 jdk7u55-b30 +344829ae761ea0f33d32cb15aa59b49bfba32375 icedtea-2.4.8pre01 From andrew at icedtea.classpath.org Thu Apr 17 16:52:43 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 17 Apr 2014 16:52:43 +0000 Subject: /hg/release/icedtea7-forest-2.5: 52 new changesets Message-ID: changeset 1ca6a368aec3 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=1ca6a368aec3 author: katleman date: Wed Apr 02 09:31:22 2014 -0700 Added tag jdk7u60-b13 for changeset 5e540a4d5591 changeset 781455fc244b in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=781455fc244b author: katleman date: Wed Apr 09 08:44:25 2014 -0700 Added tag jdk7u60-b14 for changeset 1ca6a368aec3 changeset 15bc13cd7f5d in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=15bc13cd7f5d author: asaha date: Mon Dec 16 12:12:16 2013 -0800 Added tag jdk7u55-b00 for changeset df53ec7eb789 changeset c3d30d2cb568 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=c3d30d2cb568 author: asaha date: Mon Dec 16 14:53:10 2013 -0800 Added tag jdk7u55-b01 for changeset 15bc13cd7f5d changeset b0410dc4b96d in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=b0410dc4b96d author: asaha date: Mon Dec 16 18:47:39 2013 -0800 Merge changeset 994ef5c95d58 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=994ef5c95d58 author: asaha date: Fri Dec 20 11:45:31 2013 -0800 Merge changeset bb37b9e70364 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=bb37b9e70364 author: asaha date: Fri Dec 20 14:12:35 2013 -0800 Merge changeset b829c5947c6c in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=b829c5947c6c author: asaha date: Fri Dec 20 21:28:51 2013 -0800 Merge changeset 2b423d0ecded in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=2b423d0ecded author: katleman date: Tue Dec 24 14:45:42 2013 -0800 Added tag jdk7u55-b02 for changeset b829c5947c6c changeset a72b902cdd39 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=a72b902cdd39 author: asaha date: Thu Dec 26 15:48:45 2013 -0800 Merge changeset 62a645cfaadf in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=62a645cfaadf author: katleman date: Mon Jan 06 13:56:47 2014 -0800 Added tag jdk7u55-b03 for changeset a72b902cdd39 changeset 15188023cffd in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=15188023cffd author: katleman date: Wed Jan 08 13:23:48 2014 -0800 Added tag jdk7u45-b35 for changeset d0d5badd77ab changeset 472d67871307 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=472d67871307 author: asaha date: Wed Jan 08 14:10:51 2014 -0800 Merge changeset 6a8ee3807562 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=6a8ee3807562 author: asaha date: Thu Jan 09 07:54:58 2014 -0800 Merge changeset 92ac508efb9e in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=92ac508efb9e author: katleman date: Mon Jan 13 16:14:27 2014 -0800 Added tag jdk7u55-b04 for changeset 6a8ee3807562 changeset 6c7cd2146f69 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=6c7cd2146f69 author: katleman date: Wed Jan 22 10:06:18 2014 -0800 Added tag jdk7u55-b05 for changeset 92ac508efb9e changeset 5cad0f56c685 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=5cad0f56c685 author: katleman date: Tue Jan 28 11:49:14 2014 -0800 Added tag jdk7u55-b06 for changeset 6c7cd2146f69 changeset f617c33f98e1 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=f617c33f98e1 author: katleman date: Tue Feb 04 13:11:34 2014 -0800 Added tag jdk7u55-b07 for changeset 5cad0f56c685 changeset faea80772884 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=faea80772884 author: asaha date: Thu Feb 06 09:01:44 2014 -0800 Merge changeset 1f02b1889f70 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=1f02b1889f70 author: katleman date: Tue Feb 11 13:10:59 2014 -0800 Added tag jdk7u55-b08 for changeset f617c33f98e1 changeset 6d5c54267ebe in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=6d5c54267ebe author: asaha date: Tue Feb 11 15:09:08 2014 -0800 Merge changeset 6aac9bed4cd6 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=6aac9bed4cd6 author: asaha date: Wed Feb 12 16:07:08 2014 -0800 Merge changeset 736c951b19b9 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=736c951b19b9 author: katleman date: Tue Feb 18 12:41:07 2014 -0800 Added tag jdk7u55-b09 for changeset 1f02b1889f70 changeset 2a55bbab15f6 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=2a55bbab15f6 author: katleman date: Tue Feb 18 13:35:58 2014 -0800 Added tag jdk7u55-b09 for changeset 736c951b19b9 changeset 8f3bde0cdc4b in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=8f3bde0cdc4b author: asaha date: Wed Feb 19 12:12:20 2014 -0800 Merge changeset d327cdf192b0 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=d327cdf192b0 author: asaha date: Wed Feb 19 14:34:50 2014 -0800 Merge changeset f4ace62029de in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=f4ace62029de author: katleman date: Tue Feb 25 12:19:22 2014 -0800 Added tag jdk7u55-b10 for changeset 2a55bbab15f6 changeset 53bfe8c7c977 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=53bfe8c7c977 author: asaha date: Tue Feb 25 13:48:35 2014 -0800 Merge changeset e45b821867f6 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=e45b821867f6 author: asaha date: Thu Feb 27 08:29:11 2014 -0800 Merge changeset de268da51b54 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=de268da51b54 author: katleman date: Tue Mar 04 12:01:27 2014 -0800 Added tag jdk7u55-b11 for changeset f4ace62029de changeset 76dda1f32988 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=76dda1f32988 author: asaha date: Tue Mar 04 15:33:19 2014 -0800 Merge changeset 990d9b699614 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=990d9b699614 author: asaha date: Wed Mar 05 13:24:02 2014 -0800 Merge changeset d972a2d9e4f3 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=d972a2d9e4f3 author: katleman date: Tue Mar 11 12:59:14 2014 -0700 Added tag jdk7u55-b12 for changeset de268da51b54 changeset e24221576193 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=e24221576193 author: asaha date: Tue Mar 11 13:46:32 2014 -0700 Merge changeset c501516d8928 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=c501516d8928 author: asaha date: Wed Mar 12 14:48:28 2014 -0700 Merge changeset 0820b4707cfa in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=0820b4707cfa author: katleman date: Tue Mar 18 12:07:30 2014 -0700 Added tag jdk7u55-b13 for changeset d972a2d9e4f3 changeset 503f1d094a1b in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=503f1d094a1b author: katleman date: Fri Feb 14 08:58:58 2014 -0800 Added tag jdk7u51-b33 for changeset 472d67871307 changeset ee9cbad3d1e3 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=ee9cbad3d1e3 author: katleman date: Fri Feb 28 17:22:49 2014 -0800 Added tag jdk7u51-b34 for changeset 503f1d094a1b changeset 1f52edec29fd in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=1f52edec29fd author: asaha date: Tue Mar 18 12:29:21 2014 -0700 Merge changeset 93ef6407d709 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=93ef6407d709 author: asaha date: Tue Mar 18 12:56:18 2014 -0700 Merge changeset 82fccb7d67e9 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=82fccb7d67e9 author: asaha date: Wed Mar 19 10:15:49 2014 -0700 Merge changeset fcc98d2a06ed in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=fcc98d2a06ed author: asaha date: Wed Mar 26 21:24:40 2014 -0700 Merge changeset 7843829af443 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=7843829af443 author: katleman date: Thu Mar 27 11:36:24 2014 -0700 Added tag jdk7u55-b31 for changeset 1f52edec29fd changeset 997ab3897d6e in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=997ab3897d6e author: katleman date: Thu Mar 27 11:22:57 2014 -0700 Added tag jdk7u55-b30 for changeset 0820b4707cfa changeset 5b1555517201 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=5b1555517201 author: asaha date: Thu Mar 27 11:54:30 2014 -0700 Merge changeset 91553ab3e9c5 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=91553ab3e9c5 author: asaha date: Thu Mar 27 12:03:13 2014 -0700 Merge changeset c656bcbb9d7e in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=c656bcbb9d7e author: asaha date: Wed Apr 02 09:45:20 2014 -0700 Merge changeset 8737e08fdac5 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=8737e08fdac5 author: asaha date: Wed Apr 09 09:42:29 2014 -0700 Merge changeset 744f7b17de89 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=744f7b17de89 author: katleman date: Tue Apr 15 11:49:41 2014 -0700 Added tag jdk7u55-b14 for changeset 997ab3897d6e changeset a95b821a2627 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=a95b821a2627 author: asaha date: Tue Apr 15 12:32:30 2014 -0700 Merge changeset 19a3f6f48c54 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=19a3f6f48c54 author: katleman date: Wed Apr 16 12:26:04 2014 -0700 Added tag jdk7u60-b15 for changeset a95b821a2627 changeset c6d37b19485e in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=c6d37b19485e author: andrew date: Thu Apr 17 17:52:16 2014 +0100 Merge jdk7u60-b15 diffstat: .hgtags | 40 ++ .jcheck/conf | 2 - README-ppc.html | 689 +++++++++++++++++++++++++++++++++++++++++++++++ common/bin/hgforest.sh | 190 ++++++++++++ get_source.sh | 4 +- make/Defs-internal.gmk | 15 +- make/hotspot-rules.gmk | 14 + make/jdk-rules.gmk | 4 + make/scripts/hgforest.sh | 144 --------- 9 files changed, 953 insertions(+), 149 deletions(-) diffs (truncated from 1264 to 500 lines): diff -r 5e540a4d5591 -r c6d37b19485e .hgtags --- a/.hgtags Wed Mar 26 09:27:55 2014 -0700 +++ b/.hgtags Thu Apr 17 17:52:16 2014 +0100 @@ -50,6 +50,7 @@ 3ac6dcf7823205546fbbc3d4ea59f37358d0b0d4 jdk7-b73 2c88089b6e1c053597418099a14232182c387edc jdk7-b74 d1516b9f23954b29b8e76e6f4efc467c08c78133 jdk7-b75 +f0bfd9bd1a0e674288a8a4d17dcbb9e632b42e6d icedtea7-1.12 c8b63075403d53a208104a8a6ea5072c1cb66aab jdk7-b76 1f17ca8353babb13f4908c1f87d11508232518c8 jdk7-b77 ab4ae8f4514693a9fe17ca2fec0239d8f8450d2c jdk7-b78 @@ -63,6 +64,7 @@ 433a60a9c0bf1b26ee7e65cebaa89c541f497aed jdk7-b86 6b1069f53fbc30663ccef49d78c31bb7d6967bde jdk7-b87 82135c848d5fcddb065e98ae77b81077c858f593 jdk7-b88 +195fcceefddce1963bb26ba32920de67806ed2db icedtea7-1.13 7f1ba4459972bf84b8201dc1cc4f62b1fe1c74f4 jdk7-b89 425ba3efabbfe0b188105c10aaf7c3c8fa8d1a38 jdk7-b90 97d8b6c659c29c8493a8b2b72c2796a021a8cf79 jdk7-b91 @@ -111,6 +113,7 @@ ddc2fcb3682ffd27f44354db666128827be7e3c3 jdk7-b134 783bd02b4ab4596059c74b10a1793d7bd2f1c157 jdk7-b135 2fe76e73adaa5133ac559f0b3c2c0707eca04580 jdk7-b136 +d4aea1a51d625f5601c840714c7c94f1de5bc1af icedtea-1.14 7654afc6a29e43cb0a1343ce7f1287bf690d5e5f jdk7-b137 fc47c97bbbd91b1f774d855c48a7e285eb1a351a jdk7-b138 7ed6d0b9aaa12320832a7ddadb88d6d8d0dda4c1 jdk7-b139 @@ -123,6 +126,7 @@ 2d38c2a79c144c30cd04d143d83ee7ec6af40771 jdk7-b146 3ac30b3852876ccad6bd61697b5f9efa91ca7bc6 jdk7u1-b01 d91364304d7c4ecd34caffdba2b840aeb0d10b51 jdk7-b147 +3defd24c2671eb2e7796b5dc45b98954341d73a7 icedtea-2.0-branchpoint 34451dc0580d5c95d97b95a564e6198f36545d68 jdk7u1-b02 bf735d852f79bdbb3373c777eec3ff27e035e7ba jdk7u1-b03 f66a2bada589f4157789e6f66472954d2f1c114e jdk7u1-b04 @@ -141,6 +145,7 @@ b2deaf5bde5ec455a06786e8e2aea2e673be13aa jdk7u2-b12 c95558e566ac3605c480a3d070b1102088dab07f jdk7u2-b13 e30fd289f0019700575593ee4e1635fbc5c9a484 jdk7u2-b21 +a66b58021165f5a43e3974fe5fb9fead29824098 icedtea-2.1-branchpoint e30fd289f0019700575593ee4e1635fbc5c9a484 jdk7u3-b02 becd013ae6072a6633ba015fc4f5862fca589cee jdk7u3-b03 d64361a28584728aa25dca3781cffbaf4199e088 jdk7u3-b04 @@ -157,6 +162,7 @@ 2b07c262a8a9ff78dc908efb9d7b3bb099df9ac4 jdk7u4-b10 1abfee16e8cc7e3950052befa78dbf14a5ca9cfc jdk7u4-b11 e6f915094dccbba16df6ebeb002e6867392eda40 jdk7u4-b12 +e7886f5ad6cc837092386fa513e670d4a770456c icedtea-2.2-branchpoint 9108e3c2f07ffa218641d93893ac9928e95d213a jdk7u4-b13 d9580838fd08872fc0da648ecfc6782704b4aac1 jdk7u4-b14 008753000680a2008175d14b25373356f531aa07 jdk7u4-b15 @@ -186,11 +192,15 @@ 5f3645aa920d373b26d01b21f3b8b30fc4e10a0d jdk7u6-b10 cd64596c2dd7f195a6d38b6269bab23e7fad4361 jdk7u6-b11 61cfcee1d00cb4af288e640216af2bccbc3c9ef0 jdk7u6-b12 +cdab3bfb573b8832d539a8fa3e9c20f9f4965132 ppc-aix-port-b01 +06179726206f1411ed254f786be3477ca5763e37 ppc-aix-port-b02 +50f2b3cacf77467befb95b7d4fea15bbdb4d650a ppc-aix-port-b03 9b9a6d318e8aa5b8f0e42d2d3d2c0c34cb3f986d jdk7u6-b13 eff9ea1ca63df8656ebef9fedca0c647a210d807 jdk7u6-b14 528f1589f5f2adf18d5d21384ba668b9aa79841e jdk7u6-b15 7b77364eb09faac4c37ce9dd2c2308ca5525f18f jdk7u6-b16 b7c1b441d131c70278de299b5d1e59dce0755dc5 jdk7u6-b17 +0e7b94bd450d4270d4e9bd6c040c94fa4be714a6 icedtea-2.3-branchpoint 9c41f7b1460b106d18676899d24b6ea07de5a369 jdk7u6-b18 56291720b5e578046bc02761dcad2a575f99fd8e jdk7u6-b19 e79fa743fe5a801db4acc7a7daa68f581423e5d3 jdk7u6-b20 @@ -258,11 +268,13 @@ c3e42860af1cfd997fe1895594f652f0d1e9984e jdk7u12-b07 1a03ef4794dc8face4de605ae480d4c763e6b494 jdk7u12-b08 87cf81226f2012e5c21131adac7880f7e4da1133 jdk7u12-b09 +8a10a3c51f1cd88009008cf1b82071797b5f516d icedtea-2.4-branchpoint 745a15bb6d94765bb5c68048ff146590df9b8441 jdk7u14-b10 2d8fdaa5bb55b937028e385633ce58de4dcdb69c jdk7u14-b11 594dbbbb84add4aa310d51af7e298470d8cda458 jdk7u14-b12 ae5c1b29297dae0375277a0b6428c266d8d77c71 jdk7u14-b13 bb97ad0c9e5a0566e82b3b4bc43eabe680b89d97 jdk7u14-b14 +a20ac67cdbc245d1c14fec3061703232501f8334 ppc-aix-port-b04 b534282bd377e3886b9d0d4760f6fdaa1804bdd3 jdk7u14-b15 0e52db2d9bb8bc789f6c66f2cfb7cd2d3b0b16c6 jdk7u15-b01 0324fca94d073b3aad77658224f17679f25c18b1 jdk7u15-b02 @@ -379,8 +391,10 @@ f0cdb08a4624a623bdd178b04c4bf5a2fa4dc39a jdk7u45-b18 82f1f76c44124c31cb1151833fc15c13547ab280 jdk7u45-b30 f4373de4b75ba8d7f7a5d9c1f77e7884d9064b7e jdk7u45-b31 +11147a12bd8c6b02f98016a8d1151e56f42a43b6 jdk7u60-b00 b73c006b5d81528dfb4104a79b994b56675bf75d jdk7u45-b33 05742477836cb30235328181c8e6cae5d4bb06fd jdk7u45-b34 +d0d5badd77abce0469830466ff7b910d3621d847 jdk7u45-b35 f2479abad143d2d9f33b6c872890ca0c5dd52530 jdk7u51-b00 c5822e1d1baa9625ee4e54b8e83a9bf529c883fc jdk7u51-b01 f750621fb31b8f6462b803b47bbf84f05cd5174a jdk7u51-b02 @@ -397,9 +411,31 @@ 6c778574d87336a2e55156544af92ce2de799696 jdk7u51-b13 d2eeac0235eda77d0a6c72c7235a6e96bc9ad4fb jdk7u51-b30 626e76f127a44ba0118a545d37410f80000db8fb jdk7u51-b31 +472d67871307433bf3e2687c48237c48ffbf068e jdk7u51-b33 +503f1d094a1bbbd94386f5c3342130dc5f4ba6ee jdk7u51-b34 +df53ec7eb789e7dec375a685dce1fa5cf63618b4 jdk7u55-b00 +15bc13cd7f5d0bb06ab59935e25944fa7cb15bc8 jdk7u55-b01 +b829c5947c6cd473f42cadfe2c61399fb67c2da6 jdk7u55-b02 +a72b902cdd39d9f2f2d353d5ad629e543cbc01ae jdk7u55-b03 +6a8ee38075621564dd276e8ed7be576d637acf79 jdk7u55-b04 +92ac508efb9e00d88b04a2bd79ab8a55f450a048 jdk7u55-b05 +6c7cd2146f69cf0823765b3cf84c338c1dc7157c jdk7u55-b06 +5cad0f56c685a0673944dbc5632ea9ae7b9340c7 jdk7u55-b07 +f617c33f98e1941875457c5c227198c52917942e jdk7u55-b08 +1f02b1889f7098c1e6fdd271ef74c62a2e346b28 jdk7u55-b09 +736c951b19b9562830f61d5ebbad78775f200e94 jdk7u55-b09 +2a55bbab15f6c866281003dcf48708a9d8c145e9 jdk7u55-b10 +f4ace62029de00d2497058c3c0e1d26e019cde30 jdk7u55-b11 +de268da51b54a4f36bcc1a9af60faea285e94330 jdk7u55-b12 +d972a2d9e4f3f864d26c33ccfdacd8269e0f29a8 jdk7u55-b13 +0820b4707cfa75f8211b88b0daa67bba8475f498 jdk7u55-b30 +997ab3897d6ede80b0decdda94b569e57dd7dd90 jdk7u55-b14 +1f52edec29fd44c8bacce11ba7440287b37d04d1 jdk7u55-b31 11147a12bd8c6b02f98016a8d1151e56f42a43b6 jdk7u60-b00 88113cabda386320a087b288d43e792f523cc0ba jdk7u60-b01 6bdacebbc97f0a03be45be48a6d5b5cf2f7fe77d jdk7u60-b02 +ba9872fc05cc333e3960551ae9fa61d51b8d5e06 icedtea-2.5pre01 +fc5d15cc35b4b47fe403c57fe4bf224fcfe1426c icedtea-2.5pre02 87f2193da40d3a2eedca95108ae78403c7bdcd49 jdk7u60-b03 d4397128f8b65eb96287128575dd1a3da6a7825b jdk7u60-b04 ea798405286d97f643ef809abcb1e13024b4f951 jdk7u60-b05 @@ -410,3 +446,7 @@ 023f8eb40d371d5cb761f7e60ba7b396b3fdf886 jdk7u60-b10 798468b91bcbb81684aea8620dbb31eaceb24c6c jdk7u60-b11 e40360c10b2ce5b24b1eea63160b78e112aa5d3f jdk7u60-b12 +9e3f6f4585c5422e85c3348f585d2264272ab803 icedtea-2.5pre03 +5e540a4d55916519f5604a422bfbb7a0967d0594 jdk7u60-b13 +1ca6a368aec38ee91a41dc03899d7dc1037de44d jdk7u60-b14 +a95b821a2627295b90fb4ae8f3b8bc2ff9c64acc jdk7u60-b15 diff -r 5e540a4d5591 -r c6d37b19485e .jcheck/conf --- a/.jcheck/conf Wed Mar 26 09:27:55 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -project=jdk7 -bugids=dup diff -r 5e540a4d5591 -r c6d37b19485e README-ppc.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README-ppc.html Thu Apr 17 17:52:16 2014 +0100 @@ -0,0 +1,689 @@ + + + + + + OpenJDK PowerPC/AIX Port + + + + + +

OpenJDK PowerPC Port

+ +

+This file contains some additional build instructions for +the OpenJDK PowerPC +Port for Linux and AIX. It complements the general +OpenJDK +README-builds.html file. +

+ +

Building on Linux/PPC64

+ +

+Currently, i.e. all versions after +revision ppc-aix-port-b01, +should successfully build and run on Linux/PPC64. Passing +CORE_BUILD=true on the build comamnd line will instruct the build +system to create an interpreter-only version of the VM which is in general about +an order of magnitude slower than a corresponding server VM with JIT +compiler. But it is still fully functional (e.g. it passes JVM98) and can even +be used to bootstrap itself. Starting with +revision ppc-aix-port-b03, +it is possible to build without CORE_BUILD=true and create a +JIT-enabled version of the VM (containing the C2 "Server" JIT +compiler). +

+ +

+Our current build system is a Power6 box running +SLES 10.3 with gcc version 4.1.2 (in general, more recent Linux distributions +should work as well). +

+ +

Building with the OpenJDK Linux/PPC64 port as bootstrap JDK

+ +

+A precompiled build of ppc-aix-port-b03 is available +for download. +With it and together with the other build dependencies fulfilled as described +in the +main +README-builds.html file you can build a debug version of the JDK from the +top-level source directory with the following command line (additionally +pass CORE_BUILD=true to build an interpreter-only version of the VM): +

+ +
+> make FT_CFLAGS=-m64 LANG=C \
+  ALT_BOOTDIR=<path_to>/jdk1.7.0-ppc-aix-port-b01 \
+  ARCH_DATA_MODEL=64 \
+  HOTSPOT_BUILD_JOBS=8 \
+  PARALLEL_COMPILE_JOBS=8 \
+  ALT_FREETYPE_LIB_PATH=/usr/local/lib \
+  ALT_FREETYPE_HEADERS_PATH=/usr/local/include \
+  ANT_HOME=/usr/local/apache-ant-1.8.4 \
+  VERBOSE=true \
+  CC_INTERP=true \
+  OPENJDK=true \
+  debug_build 2>&1 | tee build_ppc-aix-port_dbg.log
+
+ +

+After the build finished successfully the results can be found under +./build/linux-ppc64-debug/. Product and fastdebug versions can be +build with the make targets product_build and +fastdebug_build respectively (the build results will be located under +./build/linux-ppc64/ and ./build/linux-ppc64-fastdebug/). On +our transitional ppc-aix-port +project page you can find the build logs of our regular nightly makes. +

+ +

Problems with pre-installed ANT on newer Linux distros

+ +

+Notice that pre-installed ANT version (i.e. ANT versions installed with the +corresponding system package manager) may cause problems in conjunction with +our bootstrap JDK. This is because they use various scripts from the +jpackage project to locate specific Java +libraries and jar files. These scripts (in particular +set_jvm_dirs() +in /usr/share/java-utils/java-functions) expect that executing +"java -fullversion" will return a string starting with "java" but +our OpenJDK port returns a string starting with "openjdk" instead. +

+ +

+The problem can be easily solved by either editing the regular expressions +which parse the version string +in /usr/share/java-utils/java-functions (or the respective file of +your Linux distribution) or by installing a plain version of ANT +from http://ant.apache.org/bindownload.cgi +and passing its installation directory to the build via +the ANT_HOME environment variable. +

+ +

Building with the IBM JDK for Linux/PPC64 as bootstrap JDK

+ +

+It is also possible to build with an IBM +JDK 7 bootstrap JDK (after all this is how we initially bootstrapped the +port). But because the IBM JDK uses a different default implementation of the +idlj and rmic compilers you will have to add the following +two additional variables to the build command line to force the IBM JDK to +fall back to the default Sun/Oracle version of the mentioned compilers (notice +that the single quotes are crucial here to prevent the immediate expansion of +$(ALT_BOOTDIR)): +

+ +
+IDLJ='$(ALT_BOOTDIR)/bin/java -cp $(ALT_BOOTDIR)/lib/tools.jar com.sun.tools.corba.se.idl.toJavaPortable.Compile'
+RMIC='$(ALT_BOOTDIR)/bin/java -cp $(ALT_BOOTDIR)/lib/tools.jar sun.rmi.rmic.Main'
+
+ +

From andrew at icedtea.classpath.org Thu Apr 17 16:52:51 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 17 Apr 2014 16:52:51 +0000 Subject: /hg/release/icedtea7-forest-2.5/corba: 59 new changesets Message-ID: changeset 8931df68f3a6 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=8931df68f3a6 author: katleman date: Wed Mar 26 09:27:57 2014 -0700 Added tag jdk7u60-b12 for changeset d581875525aa changeset 839d50f01a0f in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=839d50f01a0f author: coffeys date: Tue Mar 04 00:45:16 2014 +0000 8035618: Four api/org_omg/CORBA TCK tests fail under plugin only Reviewed-by: alanb, mchung changeset 2c8ba5f9487b in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=2c8ba5f9487b author: lana date: Thu Mar 27 13:50:33 2014 -0700 Merge changeset 02bdeb337543 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=02bdeb337543 author: katleman date: Wed Apr 02 09:31:24 2014 -0700 Added tag jdk7u60-b13 for changeset 2c8ba5f9487b changeset 664ec8f18e55 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=664ec8f18e55 author: katleman date: Wed Apr 09 08:44:27 2014 -0700 Added tag jdk7u60-b14 for changeset 02bdeb337543 changeset aabfdc799c07 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=aabfdc799c07 author: asaha date: Mon Dec 16 12:12:21 2013 -0800 Added tag jdk7u55-b00 for changeset 55a509ccc0e4 changeset bce83c3685b1 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=bce83c3685b1 author: asaha date: Mon Dec 16 14:53:15 2013 -0800 Added tag jdk7u55-b01 for changeset aabfdc799c07 changeset 39680bab0f37 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=39680bab0f37 author: asaha date: Mon Dec 16 18:48:24 2013 -0800 Merge changeset 7e24d228977a in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=7e24d228977a author: asaha date: Fri Dec 20 11:45:59 2013 -0800 Merge changeset a93f3b281a1e in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=a93f3b281a1e author: asaha date: Fri Dec 20 14:12:52 2013 -0800 Merge changeset db2e6d87bade in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=db2e6d87bade author: asaha date: Fri Dec 20 21:29:31 2013 -0800 Merge changeset bc8c237d636c in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=bc8c237d636c author: katleman date: Tue Dec 24 14:45:46 2013 -0800 Added tag jdk7u55-b02 for changeset db2e6d87bade changeset 02ff18f156bd in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=02ff18f156bd author: asaha date: Thu Dec 26 15:49:22 2013 -0800 Merge changeset 62d437f0b627 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=62d437f0b627 author: katleman date: Mon Jan 06 13:56:49 2014 -0800 Added tag jdk7u55-b03 for changeset 02ff18f156bd changeset 04b7e00a5a38 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=04b7e00a5a38 author: katleman date: Wed Jan 08 13:23:49 2014 -0800 Added tag jdk7u45-b35 for changeset fab1423e6ab8 changeset ee7d9f5d18fb in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=ee7d9f5d18fb author: asaha date: Wed Jan 08 14:11:43 2014 -0800 Merge changeset 6a88a170331f in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=6a88a170331f author: asaha date: Thu Jan 09 07:55:14 2014 -0800 Merge changeset 5d781480a041 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=5d781480a041 author: katleman date: Mon Jan 13 16:14:32 2014 -0800 Added tag jdk7u55-b04 for changeset 6a88a170331f changeset a8d27c3fc4e4 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=a8d27c3fc4e4 author: msheppar date: Tue Jan 21 12:46:58 2014 +0000 8025005: Enhance CORBA initializations Summary: restructure ORB.init() processing flow. Reviewed-by: alanb, coffeys, skoivu changeset af7f1808106b in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=af7f1808106b author: katleman date: Wed Jan 22 10:06:25 2014 -0800 Added tag jdk7u55-b05 for changeset a8d27c3fc4e4 changeset 44801796d42b in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=44801796d42b author: katleman date: Tue Jan 28 11:49:19 2014 -0800 Added tag jdk7u55-b06 for changeset af7f1808106b changeset aa98fb8dc360 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=aa98fb8dc360 author: katleman date: Tue Feb 04 13:11:40 2014 -0800 Added tag jdk7u55-b07 for changeset 44801796d42b changeset 2d0b364e9c95 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=2d0b364e9c95 author: asaha date: Thu Feb 06 09:02:37 2014 -0800 Merge changeset 2a4842e7ca0b in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=2a4842e7ca0b author: katleman date: Tue Feb 11 13:11:02 2014 -0800 Added tag jdk7u55-b08 for changeset aa98fb8dc360 changeset 5231518fbd42 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=5231518fbd42 author: asaha date: Tue Feb 11 15:09:55 2014 -0800 Merge changeset f39ea734bc81 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=f39ea734bc81 author: asaha date: Wed Feb 12 16:07:24 2014 -0800 Merge changeset 5805c3291eb3 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=5805c3291eb3 author: katleman date: Tue Feb 18 12:41:09 2014 -0800 Added tag jdk7u55-b09 for changeset 2a4842e7ca0b changeset b9dae31c56a2 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=b9dae31c56a2 author: katleman date: Tue Feb 18 13:36:00 2014 -0800 Added tag jdk7u55-b09 for changeset 5805c3291eb3 changeset b0161ad944b4 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=b0161ad944b4 author: asaha date: Wed Feb 19 12:12:42 2014 -0800 Merge changeset 9ad96ec5d9d8 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=9ad96ec5d9d8 author: asaha date: Wed Feb 19 14:35:09 2014 -0800 Merge changeset 0f75d8ee8dda in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=0f75d8ee8dda author: katleman date: Tue Feb 25 12:19:34 2014 -0800 Added tag jdk7u55-b10 for changeset b9dae31c56a2 changeset edc5c277f55d in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=edc5c277f55d author: asaha date: Tue Feb 25 13:49:07 2014 -0800 Merge changeset d4d1b9887107 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=d4d1b9887107 author: asaha date: Thu Feb 27 08:29:31 2014 -0800 Merge changeset cbd5b4b07e0c in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=cbd5b4b07e0c author: coffeys date: Tue Mar 04 00:45:16 2014 +0000 8035618: Four api/org_omg/CORBA TCK tests fail under plugin only Reviewed-by: alanb, mchung changeset 3cce2a49d18d in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=3cce2a49d18d author: katleman date: Tue Mar 04 12:01:29 2014 -0800 Added tag jdk7u55-b11 for changeset cbd5b4b07e0c changeset 75342a0a42ff in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=75342a0a42ff author: asaha date: Tue Mar 04 15:33:43 2014 -0800 Merge changeset e237ef24cb93 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=e237ef24cb93 author: asaha date: Wed Mar 05 13:24:18 2014 -0800 Merge changeset a6643af4ff04 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=a6643af4ff04 author: asaha date: Tue Mar 11 13:37:32 2014 -0700 Merge changeset 8efa6e66c13a in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=8efa6e66c13a author: katleman date: Tue Mar 11 12:59:17 2014 -0700 Added tag jdk7u55-b12 for changeset 3cce2a49d18d changeset 2aef07d5a4f9 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=2aef07d5a4f9 author: asaha date: Tue Mar 11 13:55:16 2014 -0700 Merge changeset 0cf73a981ad4 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=0cf73a981ad4 author: asaha date: Wed Mar 12 14:48:39 2014 -0700 Merge changeset e041c52fe691 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=e041c52fe691 author: katleman date: Tue Mar 18 12:07:32 2014 -0700 Added tag jdk7u55-b13 for changeset 8efa6e66c13a changeset 65ef96a075a4 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=65ef96a075a4 author: katleman date: Fri Feb 14 08:59:00 2014 -0800 Added tag jdk7u51-b33 for changeset ee7d9f5d18fb changeset 6177eb857bfe in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=6177eb857bfe author: katleman date: Fri Feb 28 17:22:51 2014 -0800 Added tag jdk7u51-b34 for changeset 65ef96a075a4 changeset 55ff6957449c in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=55ff6957449c author: asaha date: Tue Mar 18 12:29:47 2014 -0700 Merge changeset 150a300ab10f in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=150a300ab10f author: asaha date: Tue Mar 18 12:56:46 2014 -0700 Merge changeset 7d0244d860ac in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=7d0244d860ac author: asaha date: Wed Mar 19 10:16:00 2014 -0700 Merge changeset 61d38e4c42d5 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=61d38e4c42d5 author: asaha date: Wed Mar 26 21:24:48 2014 -0700 Merge changeset 135884407d31 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=135884407d31 author: katleman date: Thu Mar 27 11:36:25 2014 -0700 Added tag jdk7u55-b31 for changeset 55ff6957449c changeset a0bfd0e80ae0 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=a0bfd0e80ae0 author: katleman date: Thu Mar 27 11:22:58 2014 -0700 Added tag jdk7u55-b30 for changeset e041c52fe691 changeset fba15e177b15 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=fba15e177b15 author: asaha date: Thu Mar 27 11:54:53 2014 -0700 Merge changeset ecd0d6609aea in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=ecd0d6609aea author: asaha date: Thu Mar 27 12:05:40 2014 -0700 Merge changeset fd662ec9d098 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=fd662ec9d098 author: asaha date: Tue Apr 01 15:19:55 2014 -0700 Merge changeset 7930a42acd1b in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=7930a42acd1b author: asaha date: Wed Apr 02 09:45:30 2014 -0700 Merge changeset 96856d06c6e6 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=96856d06c6e6 author: asaha date: Wed Apr 09 09:42:37 2014 -0700 Merge changeset ae8120f628c2 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=ae8120f628c2 author: katleman date: Tue Apr 15 11:49:45 2014 -0700 Added tag jdk7u55-b14 for changeset a0bfd0e80ae0 changeset e5946b2cf82b in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=e5946b2cf82b author: asaha date: Tue Apr 15 12:32:58 2014 -0700 Merge changeset e424fb845285 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=e424fb845285 author: katleman date: Wed Apr 16 12:26:06 2014 -0700 Added tag jdk7u60-b15 for changeset e5946b2cf82b changeset e120608ed399 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=e120608ed399 author: andrew date: Thu Apr 17 17:52:18 2014 +0100 Merge jdk7u60-b15 diffstat: .hgtags | 41 + .jcheck/conf | 2 - make/Makefile | 2 +- make/common/Defs-aix.gmk | 397 ++++++++++ make/common/shared/Defs-java.gmk | 8 +- make/common/shared/Platform.gmk | 9 + src/share/classes/com/sun/corba/se/impl/io/ObjectStreamClass.java | 126 +- src/share/classes/com/sun/corba/se/impl/orbutil/ObjectStreamClassUtil_1_3.java | 19 +- src/share/classes/com/sun/corba/se/impl/orbutil/ObjectStreamClass_1_3_1.java | 69 +- src/share/classes/com/sun/corba/se/spi/orb/ORB.java | 31 +- src/share/classes/org/omg/CORBA/ORB.java | 34 +- 11 files changed, 583 insertions(+), 155 deletions(-) diffs (truncated from 1438 to 500 lines): diff -r d581875525aa -r e120608ed399 .hgtags --- a/.hgtags Wed Mar 19 10:04:02 2014 -0700 +++ b/.hgtags Thu Apr 17 17:52:18 2014 +0100 @@ -50,6 +50,7 @@ b751c528c55560cf2adeaeef24b39ca1f4d1cbf7 jdk7-b73 5d0cf59a3203b9f57aceebc33ae656b884987955 jdk7-b74 0fb137085952c8e47878e240d1cb40f14de463c4 jdk7-b75 +d728db3889da23d9f74e45154b9261a43b4acd8d icedtea7-1.12 937144222e2219939101b0129d26a872a7956b13 jdk7-b76 6881f0383f623394b5ec73f27a5f329ff55d0467 jdk7-b77 a7f7276b48cd74d8eb1baa83fbf3d1ef4a2603c8 jdk7-b78 @@ -63,6 +64,7 @@ 6253e28826d16cf1aecc39ce04c8de1f6bf2df5f jdk7-b86 09a41111a401d327f65e453384d976a10154d9ea jdk7-b87 39e14d2da687c7e592142137517aaf689544820f jdk7-b88 +e805b4155d76f76d40ffae36a74546f79218c539 icedtea7-1.13 bb4424c5e778b842c064a8b1aa902b35f4397654 jdk7-b89 56ce07b0eb47b93a98a72adef0f21e602c460623 jdk7-b90 bcd2fc089227559ac5be927923609fac29f067fa jdk7-b91 @@ -111,6 +113,7 @@ 918003855fa0dba5acf4bf1fe36526d2fc4c1ba8 jdk7-b134 e0b72ae5dc5e824b342801c8d1d336a55eb54e2c jdk7-b135 48ef0c712e7cbf272f47f9224db92a3c6a9e2612 jdk7-b136 +b62418551e20fa19fbf57c49d4378b7096809e60 icedtea-1.14 a66c01d8bf895261715955df0b95545c000ed6a8 jdk7-b137 78d8cf04697e9df54f7f11e195b7da29b8e345a2 jdk7-b138 60b074ec6fcf5cdf9efce22fdfb02326ed8fa2d3 jdk7-b139 @@ -123,6 +126,7 @@ 770227a4087e4e401fe87ccd19738440111c3948 jdk7-b146 36f0efbc66ef8ace3cca8aa8d0c88f3334080f8a jdk7u1-b01 73323cb3396260d93e0ab731fd2d431096ceed0f jdk7-b147 +d034cc90ecc266d78b87d1429c426669431fcc1f icedtea-2.0-branchpoint 9515a2d034b4727c11aeea36354a549fbc469c4f jdk7u1-b02 dd71cb354c573c1addcda269a7dd9144bfce9587 jdk7u1-b03 eaee830124aa453627591d8f9eccb39d7e040876 jdk7u1-b04 @@ -141,6 +145,7 @@ 56b02f8ef70391a67c9fa71157a8faafbdff4b74 jdk7u2-b12 456ff1f14b14ef8cfe47cef95c8094f8443fa092 jdk7u2-b13 62b846b0c3259cae732e75df50a1b180a2541178 jdk7u2-b21 +ecb9fc90dea4720f5c1ba1354364ed610f463e41 icedtea-2.1-branchpoint 1b648adeeefa9b1fb022459e8e4f590b736c0fdd jdk7u3-b02 730fa05af5a9d10a3a7a1626d248b96d09f8069f jdk7u3-b03 7f7a9b1addb4925f4f6e17f6eb5cce986c3b626d jdk7u3-b04 @@ -157,6 +162,7 @@ 23777178e7eb61859be3f7240561aa1034ff9221 jdk7u4-b10 bdc37f3c09b6008667aff77432bb6d31cbae945e jdk7u4-b11 fddc26b35a31884d64315cf7c296570245e9c481 jdk7u4-b12 +9ffa2340e018131c900e9cc12c9f3a10698aa191 icedtea-2.2-branchpoint f7119745898016a98cddab3e69efb41c5a5aaf78 jdk7u4-b13 6a262c36caebb43972cbae5032cff632ce31d2cc jdk7u4-b14 d9bf21b76f093abfe451880d5db29e4932b1e72e jdk7u4-b15 @@ -186,11 +192,15 @@ c9f6750370c9a99d149d73fd32c363d9959d19d1 jdk7u6-b10 a2089d3bf5a00be50764e1ced77e270ceddddb5d jdk7u6-b11 34354c623c450dc9f2f58981172fa3d66f51e89c jdk7u6-b12 +325250aef90af0f5cd04b141f83a81638ae1e478 ppc-aix-port-b01 +325250aef90af0f5cd04b141f83a81638ae1e478 ppc-aix-port-b02 +325250aef90af0f5cd04b141f83a81638ae1e478 ppc-aix-port-b03 76bee3576f61d4d96fef118902d5d237a4f3d219 jdk7u6-b13 731d5dbd7020dca232023f2e6c3e3e22caccccfb jdk7u6-b14 8da4015f405b0fa267cca4780d20cd012d0a9cb4 jdk7u6-b15 7674c7ed99a53a8dcf654ab8a6963199ef562a08 jdk7u6-b16 e4a676826cb3fe2f84e19105a027c15c097f98f1 jdk7u6-b17 +68c35d6e9548bc7be9c3ce73774c6d53b0d72d3b icedtea-2.3-branchpoint b3d767dbd67f518168c561e078be5e860bc60cfc jdk7u6-b18 5c046510b9308bf514f078d48fcf0112a376ad41 jdk7u6-b19 f0c51b691d34b4a06c1e22c7960be71e0d0ee84e jdk7u6-b20 @@ -258,11 +268,13 @@ 7969d5f219248de033c296ef75fff7aae7545bbd jdk7u12-b07 6f4d4c7a254d4aca3a7f2caabb75e6559a290393 jdk7u12-b08 c8c261b2220c5b966c07784682057a915defb0da jdk7u12-b09 +efbe4cef7fe2d46a197c39eb7a94e127e0bb4c5d icedtea-2.4-branchpoint 3877f9ae971eefbfbbcb16f2ff79c72ac10ac4bd jdk7u14-b10 3bd891cd98773cf841ad65f52f25e3e6fa185cef jdk7u14-b11 fbb83600db33de6211fc58ba2a2bbb6b356aa9c2 jdk7u14-b12 cd7aaec5accf3f8fbb693153f8d9be846e0f8a05 jdk7u14-b13 9e8bde2586a1a7fd95f654c7d0043d1eb18f0793 jdk7u14-b14 +70af8b7907a504f7b6e4be1882054ca9f3ad1875 ppc-aix-port-b04 2b1fcbe4e78557822b2269b43c8b589aa1f0b522 jdk7u14-b15 622e370c2d1e8c5f48d8f520f486dc6fcc1239c5 jdk7u15-b01 30188388048333e213a839363329ac2cb0cf0e0d jdk7u15-b02 @@ -381,8 +393,10 @@ 80f65a8f58500ef5d93ddf4426d9c1909b79fadf jdk7u45-b18 a15e4a54504471f1e34a494ed66235870722a0f5 jdk7u45-b30 b7fb35bbe70d88eced3725b6e9070ad0b5b621ad jdk7u45-b31 +c5b5886004e6446b8b27ccdc1fd073354c1dc614 jdk7u60-b00 d641ac83157ec86219519c0cbaf3122bdc997136 jdk7u45-b33 aa24e046a2da95637257c9effeaabe254db0aa0b jdk7u45-b34 +fab1423e6ab8ecf36da8b6bf2e454156ec701e8a jdk7u45-b35 b1f069eb48edfa6fb7428dc045a53e287215ef4a jdk7u51-b00 8d884cf2e8cce92d532950de2c7283d9804f9e58 jdk7u51-b01 327035fbb0433927c1b1af2bc0bcb84e7827f1b9 jdk7u51-b02 @@ -399,9 +413,31 @@ e2f0036f712aa636cfd55334ac21ea7ca2587a7b jdk7u51-b13 6563d12c48c92af39a27ca46b4515fad8e994667 jdk7u51-b30 0ad990211737fe1b1e2737a3498ab266146d2c53 jdk7u51-b31 +ee7d9f5d18fb67564e88a10f1bd682660db60aa2 jdk7u51-b33 +65ef96a075a43e9201866d1c9b8ee3138ebcc424 jdk7u51-b34 +55a509ccc0e4ed49e311c7ecf2ed29a908bc1d6b jdk7u55-b00 +aabfdc799c0799837dcbbf9ea8d6df1511978b1f jdk7u55-b01 +db2e6d87bade9d2061646ff9a6b39b5159fba0ec jdk7u55-b02 +02ff18f156bd3382fe22e4758b138370f5238e97 jdk7u55-b03 +6a88a170331fb38af5046e54bf75f38176af5c41 jdk7u55-b04 +a8d27c3fc4e4e6cd99fa164f04c30a71f474a2d6 jdk7u55-b05 +af7f1808106bf4e9b4680d943677299829245d08 jdk7u55-b06 +44801796d42bebc90e8c4c7fb5bd79db04b10b75 jdk7u55-b07 +aa98fb8dc3608a30ac593635b21aca2105aaab20 jdk7u55-b08 +2a4842e7ca0b2228017542cea0fed3b8d4f4491a jdk7u55-b09 +5805c3291eb3a82cd75e95ac06eb13daa7f92866 jdk7u55-b09 +b9dae31c56a2bf69fc5932cc490cd80fccc1e0fd jdk7u55-b10 +cbd5b4b07e0c8a5f61eff396b7622e7b04d2a164 jdk7u55-b11 +3cce2a49d18d93dfca2634db32368486ebbb1590 jdk7u55-b12 +8efa6e66c13a5329c312d1a521ffab75d9a330e3 jdk7u55-b13 +e041c52fe69128ec3439d26afef9b0fcba00684c jdk7u55-b30 +a0bfd0e80ae0ae6e3a29bf527b5911c83163b3f5 jdk7u55-b14 +55ff6957449cf6c79f5d5bb159df27f51ece1659 jdk7u55-b31 c5b5886004e6446b8b27ccdc1fd073354c1dc614 jdk7u60-b00 a531112cc6d0b0a1e7d4ffdaa3ba53addcd25cf4 jdk7u60-b01 d81370c5b863acc19e8fb07315b1ec687ac1136a jdk7u60-b02 +47343904e95d315b5d2828cb3d60716e508656a9 icedtea-2.5pre01 +16906c5a09dab5f0f081a218f20be4a89137c8b1 icedtea-2.5pre02 d7e98ed925a3885380226f8375fe109a9a25397f jdk7u60-b03 1a3aa4637b80fabbd069ae88c241efcb3520fc49 jdk7u60-b04 753698a910167cc29c01490648a2adbcea1314cc jdk7u60-b05 @@ -411,3 +447,8 @@ 7abca119f9543489280d560dc11256d439004f0f jdk7u60-b09 1861f1f599728c4f15a85a5980edef916552747b jdk7u60-b10 a429ff635395688ded6c52cd21c0b4ce75e62168 jdk7u60-b11 +3a7c12d7b1cfef7c1ad17159154c917095f68a4d icedtea-2.5pre03 +d581875525aaf618afe901da31d679195ee35f4b jdk7u60-b12 +2c8ba5f9487b0ac085874afd38f4c10a4127f62c jdk7u60-b13 +02bdeb33754315f589bd650dde656d2c9947976d jdk7u60-b14 +e5946b2cf82bdea3a4b85917e903168e65a543a7 jdk7u60-b15 diff -r d581875525aa -r e120608ed399 .jcheck/conf --- a/.jcheck/conf Wed Mar 19 10:04:02 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -project=jdk7 -bugids=dup diff -r d581875525aa -r e120608ed399 make/Makefile --- a/make/Makefile Wed Mar 19 10:04:02 2014 -0700 +++ b/make/Makefile Thu Apr 17 17:52:18 2014 +0100 @@ -150,7 +150,7 @@ #----- bin.zip -BIN_ZIP_FILES = $(BUILD_DIR/lib/orb.idl $(BUILD_DIR)/lib/ir.idl +BIN_ZIP_FILES = $(BUILD_DIR)/lib/orb.idl $(BUILD_DIR)/lib/ir.idl BIN_ZIP = $(LIB_DIR)/bin.zip $(BIN_ZIP): $(BIN_ZIP_FILES) diff -r d581875525aa -r e120608ed399 make/common/Defs-aix.gmk --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/make/common/Defs-aix.gmk Thu Apr 17 17:52:18 2014 +0100 @@ -0,0 +1,397 @@ +# +# Copyright (c) 1995, 2012, 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 +# under the terms of the GNU General Public License version 2 only, as +# published by the Free Software Foundation. Oracle designates this +# particular file as subject to the "Classpath" exception as provided +# by Oracle in the LICENSE file that accompanied this code. +# +# This code is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# version 2 for more details (a copy is included in the LICENSE file that +# accompanied this code). +# +# You should have received a copy of the GNU General Public License version +# 2 along with this work; if not, write to the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA +# or visit www.oracle.com if you need additional information or have any +# questions. +# + +# +# Makefile to specify compiler flags for programs and libraries +# targeted to Solaris. Should not contain any rules. +# +# WARNING: This file is shared with other workspaces. +# So when it includes other files, it must use JDK_TOPDIR. +# + +# Warning: the following variables are overridden by Defs.gmk. Set +# values will be silently ignored: +# CFLAGS (set $(OTHER_CFLAGS) instead) +# CPPFLAGS (set $(OTHER_CPPFLAGS) instead) +# CXXFLAGS (set $(OTHER_CXXFLAGS) instead) +# LDFLAGS (set $(OTHER_LDFAGS) instead) +# LDLIBS (set $(EXTRA_LIBS) instead) +# LDLIBS_COMMON (set $(EXTRA_LIBS) instead) +# LINTFLAGS (set $(OTHER_LINTFLAGS) instead) +# +# Note: CPPFLAGS are used in C and C++ compiles. +# + +# Get shared JDK settings +include $(JDK_MAKE_SHARED_DIR)/Defs.gmk + +# define these to avoid picking up ones from aliases or from +# non-standard locations +# + +AR = $(USRBIN_PATH)ar +BASENAME = $(UNIXCOMMAND_PATH)basename +CAT = $(UNIXCOMMAND_PATH)cat +# SAPJVM: Moved to shared/Compiler-aix.gmk +#CC = $(COMPILER_PATH)xlc_r +#CPP = $(COMPILER_PATH)xlc_r -E +#CXX = $(COMPILER_PATH)xlC_r +CD = cd # intrinsic unix command +CHMOD = $(UNIXCOMMAND_PATH)chmod +CMP = $(USRBIN_PATH)cmp +COMPRESS = $(USRBIN_PATH)compress +CP = $(UNIXCOMMAND_PATH)cp +CPIO = $(UNIXCOMMAND_PATH)cpio +CUT = $(USRBIN_PATH)cut +DATE = $(UNIXCOMMAND_PATH)date +DF = $(UNIXCOMMAND_PATH)df +DIFF = $(USRBIN_PATH)diff +DIRNAME = $(USRBIN_PATH)dirname +ECHO = echo # intrinsic unix command, with backslash-escaped character interpretation +EGREP = $(UNIXCOMMAND_PATH)egrep +EXPR = $(USRBIN_PATH)expr + +FIND = $(UNIXCOMMAND_PATH)find + +HEAD = $(USRBIN_PATH)head +GREP = $(UNIXCOMMAND_PATH)grep +GUNZIP = $(UNIXCOMMAND_PATH)gunzip +LEX = $(USRBIN_PATH)lex +LN = $(UNIXCOMMAND_PATH)ln +LS = $(UNIXCOMMAND_PATH)ls +M4 = $(USRBIN_PATH)m4 +MKDIR = $(UNIXCOMMAND_PATH)mkdir +MV = $(UNIXCOMMAND_PATH)mv +NAWK = $(USRBIN_PATH)awk +PWD = $(UNIXCOMMAND_PATH)pwd +#RM is defined by GNU Make as 'rm -f' +RMDIR = $(UNIXCOMMAND_PATH)rmdir +RPM = $(UNIXCOMMAND_PATH)rpm +SED = $(UNIXCOMMAND_PATH)sed +SH = $(UNIXCOMMAND_PATH)sh +SORT = $(UNIXCOMMAND_PATH)sort +STRIP = $(USRBIN_PATH)strip +TAIL = $(USRBIN_PATH)tail + +# SAPJVM: catch (gnu) tool by PATH environment variable +TAR = /usr/local/bin/tar + +TEST = $(USRBIN_PATH)test +TOUCH = $(UNIXCOMMAND_PATH)touch +TR = $(USRBIN_PATH)tr +TRUE = $(UNIXCOMMAND_PATH)true +UNAME = $(UNIXCOMMAND_PATH)uname +UNIQ = $(USRBIN_PATH)uniq +UNZIPSFX = $(USRBIN_PATH)unzipsfx +YACC = $(USRBIN_PATH)yacc + +# SAPJVM: catch (gnu) tool by PATH environment variable +ZIPEXE = $(UNIXCOMMAND_PATH)zip + +OS_VERSION = $(shell $(UNAME) -v) +OS_NAME = aix + +ARCH_DATA_MODEL=64 + +LIBARCH = ppc64 + +# Value of Java os.arch property +ARCHPROP = $(LIBARCH) + +BINDIR = $(OUTPUTDIR)/bin + +# where is unwanted output to be delivered? +DEV_NULL = /dev/null +export DEV_NULL + +CLASSPATH_SEPARATOR = : + +ifndef PLATFORM_SRC + PLATFORM_SRC = $(BUILDDIR)/../src/solaris +endif # PLATFORM_SRC + +# Location of the various .properties files specific to Linux platform +ifndef PLATFORM_PROPERTIES + PLATFORM_PROPERTIES = $(BUILDDIR)/../src/solaris/lib +endif # PLATFORM_SRC + +# Platform specific closed sources +ifndef OPENJDK + ifndef CLOSED_PLATFORM_SRC + CLOSED_PLATFORM_SRC = $(BUILDDIR)/../src/closed/solaris + endif +endif + +# SAPJVM: Set the source for the platform dependent sources of express +SAPJVMEXPRESS_PLATFORM_SRC=$(JDK_TOPDIR)/../../common/j2se/src/solaris + +# platform specific include files +PLATFORM_INCLUDE_NAME = $(PLATFORM) +PLATFORM_INCLUDE = $(INCLUDEDIR)/$(PLATFORM_INCLUDE_NAME) + +# SAPJVM: OBJECT_SUFFIX, LIBRARY_SUFFIX, EXE_SUFFICS etc. are set in +# j2se/make/common/shared/Platform.gmk . Just override those which differ for AIX. +# suffix used for make dependencies files. +# SAPJVM AIX: -qmakedep outputs .u, not .d +override DEPEND_SUFFIX = u +# suffix used for lint files +LINT_SUFFIX = ln +# The suffix applied to the library name for FDLIBM +FDDLIBM_SUFFIX = a +# The suffix applied to scripts (.bat for windows, nothing for unix) +SCRIPT_SUFFIX = +# CC compiler object code output directive flag value +CC_OBJECT_OUTPUT_FLAG = -o #trailing blank required! +CC_PROGRAM_OUTPUT_FLAG = -o #trailing blank required! + +# On AIX we don't have any issues using javah and javah_g. +JAVAH_SUFFIX = $(SUFFIX) + +# +# Default optimization +# + +ifndef OPTIMIZATION_LEVEL + ifeq ($(PRODUCT), java) + OPTIMIZATION_LEVEL = HIGHER + else + OPTIMIZATION_LEVEL = LOWER + endif +endif +ifndef FASTDEBUG_OPTIMIZATION_LEVEL + FASTDEBUG_OPTIMIZATION_LEVEL = LOWER +endif + +CC_OPT/LOWER = -O2 +CC_OPT/HIGHER = -O3 + +CC_OPT = $(CC_OPT/$(OPTIMIZATION_LEVEL)) + +# +# Selection of warning messages +# +CFLAGS_SHARED_OPTION=-qmkshrobj +CXXFLAGS_SHARED_OPTION=-qmkshrobj + +# +# If -Xa is in CFLAGS_COMMON it will end up ahead of $(POPT) for the +# optimized build, and that ordering of the flags completely freaks +# out cc. Hence, -Xa is instead in each CFLAGS variant. +# The extra options to the C++ compiler prevent it from: +# - adding runpath (dump -Lv) to *your* C++ compile install dir +# - adding stubs to various things such as thr_getspecific (hence -nolib) +# - creating Templates.DB in current directory (arch specific) +CFLAGS_COMMON = -qchars=signed +PIC_CODE_LARGE = -qpic=large +PIC_CODE_SMALL = -qpic=small +GLOBAL_KPIC = $(PIC_CODE_LARGE) +CFLAGS_COMMON += $(GLOBAL_KPIC) $(GCC_WARNINGS) +# SAPJVM: +# save compiler options into object file +CFLAGS_COMMON += -qsaveopt + +# SAPJVM +# preserve absolute source file infos in debug infos +CFLAGS_COMMON += -qfullpath + +# SAPJVM +# We want to be able to debug an opt build as well. +CFLAGS_OPT = -g $(POPT) +CFLAGS_DBG = -g + +CXXFLAGS_COMMON = $(GLOBAL_KPIC) -DCC_NOEX $(GCC_WARNINGS) +# SAPJVM +# We want to be able to debug an opt build as well. +CXXFLAGS_OPT = -g $(POPT) +CXXFLAGS_DBG = -g + +# FASTDEBUG: Optimize the code in the -g versions, gives us a faster debug java +ifeq ($(FASTDEBUG), true) + CFLAGS_DBG += -O2 + CXXFLAGS_DBG += -O2 +endif + +CPP_ARCH_FLAGS = -DARCH='"$(ARCH)"' + +# Alpha arch does not like "alpha" defined (potential general arch cleanup issue here) +ifneq ($(ARCH),alpha) + CPP_ARCH_FLAGS += -D$(ARCH) +else + CPP_ARCH_FLAGS += -D_$(ARCH)_ +endif + +# SAPJVM. turn `=' into `+='. +CPPFLAGS_COMMON += -D$(ARCH) -DARCH='"$(ARCH)"' -DAIX $(VERSION_DEFINES) \ + -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT + +# SAPJVM: AIX port: zip lib +CPPFLAGS_COMMON += -DSTDC + +# turn on USE_PTHREADS +CPPFLAGS_COMMON += -DUSE_PTHREADS +CFLAGS_COMMON += -DUSE_PTHREADS + +CFLAGS_COMMON += -q64 +CPPFLAGS_COMMON += -q64 + +# SAPJVM. define PPC64 +CFLAGS_COMMON += -DPPC64 +CPPFLAGS_COMMON += -DPPC64 + +# SAPJVM +LDFLAGS_COMMON += -b64 + +# SAPJVM: enable dynamic runtime linking & strip the absolute paths from the coff section +LDFLAGS_COMMON += -brtl -bnolibpath + +# SAPJVM: Additional link parameters for AIX +LDFLAGS_COMMON += -liconv + +CPPFLAGS_OPT = +CPPFLAGS_DBG += -DDEBUG + +LDFLAGS_COMMON += -L$(LIBDIR)/$(LIBARCH) +LDFLAGS_OPT = +LDFLAGS_DBG = + +# SAPJVM +# Export symbols +OTHER_LDFLAGS += -bexpall + +# +# Post Processing of libraries/executables +# +ifeq ($(VARIANT), OPT) + ifneq ($(NO_STRIP), true) + ifneq ($(DEBUG_BINARIES), true) + # Debug 'strip -g' leaves local function Elf symbols (better stack + # traces) + # SAPJVM + # We want to be able to debug an opt build as well. + # POST_STRIP_PROCESS = $(STRIP) -g + endif + endif +endif + +# javac Boot Flags +JAVAC_BOOT_FLAGS = -J-Xmx128m + +# +# Use: ld $(LD_MAPFILE_FLAG) mapfile *.o +# +LD_MAPFILE_FLAG = -Xlinker --version-script -Xlinker + +# +# Support for Quantify. +# +ifdef QUANTIFY +QUANTIFY_CMD = quantify +QUANTIFY_OPTIONS = -cache-dir=/tmp/quantify -always-use-cache-dir=yes +LINK_PRE_CMD = $(QUANTIFY_CMD) $(QUANTIFY_OPTIONS) +endif + +# +# Path and option to link against the VM, if you have to. Note that +# there are libraries that link against only -ljava, but they do get +# -L to the -ljvm, this is because -ljava depends on -ljvm, whereas +# the library itself should not. +# +VM_NAME = server +JVMLIB = -L$(LIBDIR)/$(LIBARCH)/$(VM_NAME) -ljvm$(SUFFIX) +JAVALIB = -ljava$(SUFFIX) $(JVMLIB) + +# Part of INCREMENTAL_BUILD mechanism. +# Compiler emits things like: path/file.o: file.h +# We want something like: relative_path/file.o relative_path/file.d: file.h +CC_DEPEND = -qmakedep +#CC_DEPEND_FILTER = $(SED) -e 's!$*\.$(OBJECT_SUFFIX)!$(dir $@)& $(dir $@)$*.$(DEPEND_SUFFIX)!g' +CC_DEPEND_FILTER = $(SED) -e '/:[ ]*[/]/d' -e 's!$*\.$(OBJECT_SUFFIX)!$(dir $@)& $(dir $@)$*.$(DEPEND_SUFFIX)!g' | $(SORT) -u + +# Runtime graphics library search paths... +OPENWIN_RUNTIME_LIB = +AWT_RUNPATH = + +# +# We want to privatize JVM symbols on Solaris. This is so the user can +# write a function called FindClass and this should not override the +# FindClass that is inside the JVM. At this point in time we are not +# concerned with other JNI libraries because we hope that there will +# not be as many clashes there. +# +PRIVATIZE_JVM_SYMBOLS = false + +USE_PTHREADS = true From andrew at icedtea.classpath.org Thu Apr 17 16:53:24 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 17 Apr 2014 16:53:24 +0000 Subject: /hg/release/icedtea7-forest-2.5/jaxp: 55 new changesets Message-ID: changeset 92cf0b5c1c3e in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=92cf0b5c1c3e author: katleman date: Wed Mar 26 09:28:11 2014 -0700 Added tag jdk7u60-b12 for changeset a9574b35f0af changeset 2814f43a6c73 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=2814f43a6c73 author: katleman date: Wed Apr 02 09:31:41 2014 -0700 Added tag jdk7u60-b13 for changeset 92cf0b5c1c3e changeset 166b11c89c1b in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=166b11c89c1b author: katleman date: Wed Apr 09 08:44:42 2014 -0700 Added tag jdk7u60-b14 for changeset 2814f43a6c73 changeset bb7779a8fc4d in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=bb7779a8fc4d author: asaha date: Mon Dec 16 12:13:09 2013 -0800 Added tag jdk7u55-b00 for changeset 807946db29f4 changeset 362a62e01eb5 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=362a62e01eb5 author: asaha date: Mon Dec 16 14:54:05 2013 -0800 Added tag jdk7u55-b01 for changeset bb7779a8fc4d changeset cc383c0bb24c in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=cc383c0bb24c author: asaha date: Mon Dec 16 18:51:39 2013 -0800 Merge changeset 2178f4130d54 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=2178f4130d54 author: asaha date: Fri Dec 20 11:49:36 2013 -0800 Merge changeset 9e0431568793 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=9e0431568793 author: asaha date: Fri Dec 20 14:15:03 2013 -0800 Merge changeset 8275dc4db7f8 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=8275dc4db7f8 author: asaha date: Fri Dec 20 21:33:49 2013 -0800 Merge changeset 2f790a3687eb in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=2f790a3687eb author: katleman date: Tue Dec 24 14:46:31 2013 -0800 Added tag jdk7u55-b02 for changeset 8275dc4db7f8 changeset 381e73f93a83 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=381e73f93a83 author: asaha date: Thu Dec 26 15:54:47 2013 -0800 Merge changeset 7d1d9e4c655d in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=7d1d9e4c655d author: katleman date: Mon Jan 06 13:57:04 2014 -0800 Added tag jdk7u55-b03 for changeset 381e73f93a83 changeset b196086e5dba in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=b196086e5dba author: katleman date: Wed Jan 08 13:24:02 2014 -0800 Added tag jdk7u45-b35 for changeset 7fda9b300e07 changeset 1a6c3258ad21 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=1a6c3258ad21 author: asaha date: Wed Jan 08 14:15:07 2014 -0800 Merge changeset 6fb45ae3fdfa in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=6fb45ae3fdfa author: asaha date: Thu Jan 09 07:57:21 2014 -0800 Merge changeset c72c57f71c2b in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=c72c57f71c2b author: aefimov date: Mon Jan 13 19:07:53 2014 +0400 8029282: Enhance CharInfo set up Reviewed-by: joehw changeset 269625fabc9f in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=269625fabc9f author: katleman date: Mon Jan 13 16:14:48 2014 -0800 Added tag jdk7u55-b04 for changeset c72c57f71c2b changeset 5592b0c44617 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=5592b0c44617 author: aefimov date: Thu Jan 16 12:56:28 2014 +0400 8031330: Refactor ObjectFactory Reviewed-by: joehw changeset c59d71409008 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=c59d71409008 author: katleman date: Wed Jan 22 10:06:51 2014 -0800 Added tag jdk7u55-b05 for changeset 5592b0c44617 changeset 125ea54089ad in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=125ea54089ad author: katleman date: Tue Jan 28 11:49:39 2014 -0800 Added tag jdk7u55-b06 for changeset c59d71409008 changeset 39337c00cb3c in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=39337c00cb3c author: katleman date: Tue Feb 04 13:12:02 2014 -0800 Added tag jdk7u55-b07 for changeset 125ea54089ad changeset 2b2ca0053540 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=2b2ca0053540 author: asaha date: Thu Feb 06 10:57:35 2014 -0800 Merge changeset 537f4f609132 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=537f4f609132 author: katleman date: Tue Feb 11 13:11:28 2014 -0800 Added tag jdk7u55-b08 for changeset 39337c00cb3c changeset 086dca834645 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=086dca834645 author: asaha date: Tue Feb 11 15:16:25 2014 -0800 Merge changeset 825ae5315388 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=825ae5315388 author: asaha date: Wed Feb 12 16:09:46 2014 -0800 Merge changeset 997bdd44d5de in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=997bdd44d5de author: katleman date: Tue Feb 18 12:41:27 2014 -0800 Added tag jdk7u55-b09 for changeset 537f4f609132 changeset 606483a43e8b in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=606483a43e8b author: katleman date: Tue Feb 18 13:36:20 2014 -0800 Added tag jdk7u55-b09 for changeset 997bdd44d5de changeset 24d9fc7d50b4 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=24d9fc7d50b4 author: asaha date: Wed Feb 19 12:19:45 2014 -0800 Merge changeset 0e835919358e in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=0e835919358e author: asaha date: Wed Feb 19 14:37:34 2014 -0800 Merge changeset f3f02e67d867 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=f3f02e67d867 author: katleman date: Tue Feb 25 12:20:32 2014 -0800 Added tag jdk7u55-b10 for changeset 606483a43e8b changeset 8d3132c7c2a8 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=8d3132c7c2a8 author: asaha date: Tue Feb 25 13:54:23 2014 -0800 Merge changeset 35e4bc8b3e3c in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=35e4bc8b3e3c author: asaha date: Thu Feb 27 08:31:45 2014 -0800 Merge changeset 708a1872f5bb in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=708a1872f5bb author: katleman date: Tue Mar 04 12:01:53 2014 -0800 Added tag jdk7u55-b11 for changeset f3f02e67d867 changeset 997a68a4171c in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=997a68a4171c author: asaha date: Tue Mar 04 15:37:18 2014 -0800 Merge changeset b3987075f395 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=b3987075f395 author: asaha date: Wed Mar 05 13:26:28 2014 -0800 Merge changeset 14719f73596f in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=14719f73596f author: katleman date: Tue Mar 11 12:59:44 2014 -0700 Added tag jdk7u55-b12 for changeset 708a1872f5bb changeset 52a5a894a364 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=52a5a894a364 author: asaha date: Tue Mar 11 14:03:53 2014 -0700 Merge changeset d8b2e72962cd in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=d8b2e72962cd author: asaha date: Wed Mar 12 14:49:56 2014 -0700 Merge changeset 01f26830f88c in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=01f26830f88c author: katleman date: Tue Mar 18 12:07:53 2014 -0700 Added tag jdk7u55-b13 for changeset 14719f73596f changeset 9cdc04d76eb1 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=9cdc04d76eb1 author: katleman date: Fri Feb 14 08:59:28 2014 -0800 Added tag jdk7u51-b33 for changeset 1a6c3258ad21 changeset ce99028809b0 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=ce99028809b0 author: katleman date: Fri Feb 28 17:23:12 2014 -0800 Added tag jdk7u51-b34 for changeset 9cdc04d76eb1 changeset 5be97f6c25d9 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=5be97f6c25d9 author: asaha date: Tue Mar 18 12:34:22 2014 -0700 Merge changeset c3f1f6f9e057 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=c3f1f6f9e057 author: asaha date: Tue Mar 18 13:00:34 2014 -0700 Merge changeset 35a9f0af5454 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=35a9f0af5454 author: asaha date: Wed Mar 19 10:19:54 2014 -0700 Merge changeset d96bca7f721b in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=d96bca7f721b author: asaha date: Wed Mar 26 21:25:50 2014 -0700 Merge changeset 8145ff9396bd in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=8145ff9396bd author: katleman date: Thu Mar 27 11:36:48 2014 -0700 Added tag jdk7u55-b31 for changeset 5be97f6c25d9 changeset 26187a65c765 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=26187a65c765 author: katleman date: Thu Mar 27 11:23:09 2014 -0700 Added tag jdk7u55-b30 for changeset 01f26830f88c changeset 94f3ad704f28 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=94f3ad704f28 author: asaha date: Thu Mar 27 11:57:45 2014 -0700 Merge changeset 94543e8cd09b in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=94543e8cd09b author: asaha date: Thu Mar 27 12:09:44 2014 -0700 Merge changeset 2c3d39b45a2d in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=2c3d39b45a2d author: asaha date: Wed Apr 02 09:46:37 2014 -0700 Merge changeset c086bbf53ba6 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=c086bbf53ba6 author: asaha date: Wed Apr 09 09:43:44 2014 -0700 Merge changeset b81309c60141 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=b81309c60141 author: katleman date: Tue Apr 15 11:49:59 2014 -0700 Added tag jdk7u55-b14 for changeset 26187a65c765 changeset 10eed57b6633 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=10eed57b6633 author: asaha date: Tue Apr 15 12:41:10 2014 -0700 Merge changeset fefd2d5c524b in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=fefd2d5c524b author: katleman date: Wed Apr 16 12:26:20 2014 -0700 Added tag jdk7u60-b15 for changeset 10eed57b6633 changeset 611fdb7bcd4f in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=611fdb7bcd4f author: andrew date: Thu Apr 17 17:52:19 2014 +0100 Merge jdk7u60-b15 diffstat: .hgtags | 41 +++ .jcheck/conf | 2 - src/com/sun/org/apache/xalan/internal/utils/ObjectFactory.java | 25 +- src/com/sun/org/apache/xalan/internal/utils/SecuritySupport.java | 2 +- src/com/sun/org/apache/xerces/internal/utils/ObjectFactory.java | 14 +- src/com/sun/org/apache/xml/internal/serializer/CharInfo.java | 125 ++++----- src/com/sun/org/apache/xml/internal/serializer/ToHTMLStream.java | 2 +- src/com/sun/org/apache/xml/internal/serializer/ToXMLStream.java | 2 +- 8 files changed, 118 insertions(+), 95 deletions(-) diffs (493 lines): diff -r a9574b35f0af -r 611fdb7bcd4f .hgtags --- a/.hgtags Wed Mar 19 10:04:16 2014 -0700 +++ b/.hgtags Thu Apr 17 17:52:19 2014 +0100 @@ -50,6 +50,7 @@ feb05980f9f2964e6bc2b3a8532f9b3054c2289b jdk7-b73 ea7b88c676dd8b269bc858a4a17c14dc96c8aed1 jdk7-b74 555fb78ee4cebed082ca7ddabff46d2e5b4c9026 jdk7-b75 +fb68fd18eb9f9d94bd7f307097b98a5883018da8 icedtea7-1.12 233a4871d3364ec305efd4a58cfd676620a03a90 jdk7-b76 bfadab8c7b1bf806a49d3e1bc19ec919717f057a jdk7-b77 7a12d3789e1b07a560fc79568b991818d617ede2 jdk7-b78 @@ -63,6 +64,7 @@ 81c0f115bbe5d3bcf59864465b5eca5538567c79 jdk7-b86 8b493f1aa136d86de0885fcba15262c4fa2b1412 jdk7-b87 d8ebd15910034f2ba50b2f129f959f86cca01419 jdk7-b88 +826bafcb6c4abbf24887bfc5a78868e13cddd068 icedtea7-1.13 d2818fd2b036f3b3154a9a7de41afcf4ac679c1b jdk7-b89 c5d932ee326d6f7fd4634b11c7185ea82d184df2 jdk7-b90 b89b2c3044a298d542f84a2e9d957202b7d8cdb9 jdk7-b91 @@ -111,6 +113,7 @@ d56b326ae0544fc16c3e0d0285876f3c82054db2 jdk7-b134 4aa9916693dc1078580c1865e6f2584046851e5a jdk7-b135 1759daa85d33800bd578853f9531f9de73f70fc7 jdk7-b136 +1c2f25bf36b1d43920e94fb82a0afdafd29b1735 icedtea-1.14 1d87f7460cde7f8f30af668490f82b52b879bfd8 jdk7-b137 be3758943770a0a3dd4be6a1cb4063507c4d7062 jdk7-b138 28c7c0ed2444607829ba11ad827f8d52197a2830 jdk7-b139 @@ -123,6 +126,7 @@ bcd31fa1e3c6f51b4fdd427ef905188cdac57164 jdk7-b146 067fb18071e3872698f6218724958bd0cebf30a3 jdk7u1-b01 fc268cd1dd5d2e903ccd4b0275e1f9c2461ed30c jdk7-b147 +b8d01501956a0d41f5587ff1bebbfe5a9b8fea5a icedtea-2.0-branchpoint 104ca42e1e7ca66b074a4619ce6420f15d8f454d jdk7u1-b02 64e323faadf65018c1ffc8bb9c97f7b664e87347 jdk7u1-b03 2256c20e66857f80cacda14ffdbc0979c929d7f8 jdk7u1-b04 @@ -141,6 +145,7 @@ 0e61ef309edd2deb71f53f2bdaf6dcff1c80bfb8 jdk7u2-b12 d9ac427e5149d1db12c6f3e4aa4280587c06aed5 jdk7u2-b13 0efaf5c97fba2ee7864240efaa0df651a2635ae5 jdk7u2-b21 +7300d2ab9fb2068250a96ca4afc481c4beb6a42b icedtea-2.1-branchpoint 0efaf5c97fba2ee7864240efaa0df651a2635ae5 jdk7u3-b02 604dd391203960d0028fc95bc70b0ae161e09d99 jdk7u3-b03 551c076358f6691999f613db9b155c83ec9a648d jdk7u3-b04 @@ -157,6 +162,7 @@ 7a37651d304de62b18b343b3ae675ab1b08fc5fe jdk7u4-b10 3fbd87d50fbf4de3987e36ec5f3e8ce1c383ce3d jdk7u4-b11 b4e5df5b18bb75db15ed97da02e5df086d2c7930 jdk7u4-b12 +c51876b27811ba0f6ea3409ba19d357b7400908a icedtea-2.2-branchpoint 7d18bccaec3781f3d4f2d71879f91e257db2f0f7 jdk7u4-b13 82c5b3166b3194e7348b2a9d146b6760c9a77128 jdk7u4-b14 36490d49683f7be9d8fbbe1f8eefa1fe9fe550fa jdk7u5-b01 @@ -186,11 +192,15 @@ f4e80156296e43182a0fea5f54032d8c0fd0b41f jdk7u6-b10 5078a73b3448849f3328af5e0323b3e1b8d2d26c jdk7u6-b11 c378e596fb5b2ebeb60b89da7ad33f329d407e2d jdk7u6-b12 +15b71daf5e69c169fcbd383c0251cfc99e558d8a ppc-aix-port-b01 +15b71daf5e69c169fcbd383c0251cfc99e558d8a ppc-aix-port-b02 +15b71daf5e69c169fcbd383c0251cfc99e558d8a ppc-aix-port-b03 15b71daf5e69c169fcbd383c0251cfc99e558d8a jdk7u6-b13 da79c0fdf9a8b5403904e6ffdd8f5dc335d489d0 jdk7u6-b14 94474d6f28284a1ef492984dd6d6f66f8787de80 jdk7u6-b15 0b329a8d325b6a58d89c6042dac62ce5852380ab jdk7u6-b16 5eb867cdd08ca299fe03b31760acd57aac2b5673 jdk7u6-b17 +445dd0b578fc2ed12c539eb6f9a71cbd40bed4f6 icedtea-2.3-branchpoint 1c4b9671de5c7ed5713f55509cb2ada38b36dffe jdk7u6-b18 3ba4c395d2cf973c8c603b2aedc846bd4ae54656 jdk7u6-b19 4f7b77cc3b252098f52a8f30a74f603783a2e0f1 jdk7u6-b20 @@ -258,12 +268,14 @@ 1b914599a6d5560e743b9fecd390924ed0bf7d15 jdk7u12-b07 427a603569db59f61721e709fcb8a73390d468ae jdk7u12-b08 366ebbf581df0134d9039b649abc315e87f23772 jdk7u12-b09 +14adb683be4ebc49ee729f0253d012795a4a2ae4 icedtea-2.4-branchpoint 23191c790e12841f81ac1cf956e7dbc0b45914ee jdk7u14-b10 825eda7553590ce19eb4fa0686c4405d97daafdb jdk7u14-b11 560e5cf5b57fc91e2bc6dd1809badd58c6eb25bd jdk7u14-b12 937bae61a48febcc948b7e10ae781c9077360241 jdk7u14-b13 7038ca4959e50a02f797e639daffe6b2b4065f86 jdk7u14-b14 aa6fb94c5e7bc645f478b6f60c5e6e06bebcc2bf jdk7u14-b15 +1d1e1fc3b88d2fda0c7da55ee3abb2b455e0d317 ppc-aix-port-b04 99c114990b191f32e72c6158072033aec5816aaf jdk7u15-b01 edbaa584f09a78d0ad3c73389faf20409a552e46 jdk7u15-b02 14a9b60a2086f4e2f6ec43bee3375042946f6510 jdk7u15-b30 @@ -382,8 +394,10 @@ 4beb90ab48f7fd46c7a9afbe66f8cccb230699ba jdk7u45-b18 a456c78a50e201a65c9f63565c8291b84a4fbd32 jdk7u45-b30 3c34f244296e98d8ebb94973c752f3395612391a jdk7u45-b31 +d9b92749a0f4c8e6c6f4fe11210c2a02d70bae74 jdk7u60-b00 056494e83d15cd1c546d32a3b35bdb6f670b3876 jdk7u45-b33 b5a83862ed2ab9cc2de3719e38c72519481a4bbb jdk7u45-b34 +7fda9b300e07738116b2b95b568229bdb4b31059 jdk7u45-b35 0a8b95184728548be4b20876e05f76e0262e4195 jdk7u51-b00 2450ace952f45202e5a3fd4f6a8356a196fe029e jdk7u51-b01 68def851cc6b17944756f1986734b323d8569571 jdk7u51-b02 @@ -400,9 +414,31 @@ 114654a331e2f97a048d7ed43d06d7512e20e2c1 jdk7u51-b13 3161567adae93d12c64b79592bda3046f0c0a22d jdk7u51-b30 e85ee81daec2ea2fa21bf804d03431b0664c6dff jdk7u51-b31 +1a6c3258ad218bf286c47d65e4cd80eb6763f8df jdk7u51-b33 +9cdc04d76eb19a871c739625acd801ed1b24bed9 jdk7u51-b34 +807946db29f42477e8d8390be01c7e27280bc85c jdk7u55-b00 +bb7779a8fc4d14719e907b8890a2665476cf45ae jdk7u55-b01 +8275dc4db7f852edb331ae48d663d08b9ab2b5c7 jdk7u55-b02 +381e73f93a83e8d3bfd7dbf79f4f363a8fd6442f jdk7u55-b03 +c72c57f71c2ba6362d9ccfbf4743947b9ecefcac jdk7u55-b04 +5592b0c44617022e3c136eedfa1e98d4f254c964 jdk7u55-b05 +c59d714090080ad2e06f0ca5e8d354403059d8ce jdk7u55-b06 +125ea54089add3a16898b801a9989bf6cca05da6 jdk7u55-b07 +39337c00cb3ce29b4d67f6d247c3fa80f16cb49f jdk7u55-b08 +537f4f609132f3d6a4ce506c98f1dbd57f1320f8 jdk7u55-b09 +997bdd44d5de4aee319ff0a0d2892a912d9de6f5 jdk7u55-b09 +606483a43e8b6317d84922b9ed2b2c30d9e77419 jdk7u55-b10 +f3f02e67d867ae25cd4f3b9bc39a4fd17f593126 jdk7u55-b11 +708a1872f5bb8ba58ecc9fcbf4e12e6fa4783998 jdk7u55-b12 +14719f73596f5c90e3f46c0f4312f32e5b105edd jdk7u55-b13 +01f26830f88cf4f10897416fe1f4f372efcdecf5 jdk7u55-b30 +26187a65c765b3177f1b7ff0638259bf66f9ec47 jdk7u55-b14 +5be97f6c25d9eb3ef0a05fc860964cb3d27134b0 jdk7u55-b31 d9b92749a0f4c8e6c6f4fe11210c2a02d70bae74 jdk7u60-b00 ad39e88c503948fc4fc01e97c75b6e3c24599d23 jdk7u60-b01 050986fd54e3ec4515032ee938bc59e86772b6c0 jdk7u60-b02 +74093b75ddd4fc2e578a3469d32b8bb2de3692d5 icedtea-2.5pre01 +d7085aad637fa90d027840c7f7066dba82b21667 icedtea-2.5pre02 359b79d99538d17eeb90927a1e4883fcec31661f jdk7u60-b03 7215972c2c30d0fa469a459a3e4fcee6bc93991d jdk7u60-b04 673ea3822e59de18ae5771de7a280c6ae435ef86 jdk7u60-b05 @@ -412,3 +448,8 @@ 4bfece8a5148947d268611cc1b4485e92960064e jdk7u60-b09 28a6c0b3b22580101bf750383c2e48d34dea2124 jdk7u60-b10 e57490e0b99917ea8e1da1bb4d0c57fd5b7705f9 jdk7u60-b11 +1fef0a819b0acd01898f16d75fe924720412c9fd icedtea-2.5pre03 +a9574b35f0af409fa1665aadd9b2997a0f9878dc jdk7u60-b12 +92cf0b5c1c3e9b61d36671d8fb5070716e0f016b jdk7u60-b13 +2814f43a6c73414dcb2b799e1a52d5b44688590d jdk7u60-b14 +10eed57b66336660f71f7524f2283478bdf373dc jdk7u60-b15 diff -r a9574b35f0af -r 611fdb7bcd4f .jcheck/conf --- a/.jcheck/conf Wed Mar 19 10:04:16 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -project=jdk7 -bugids=dup diff -r a9574b35f0af -r 611fdb7bcd4f src/com/sun/org/apache/xalan/internal/utils/ObjectFactory.java --- a/src/com/sun/org/apache/xalan/internal/utils/ObjectFactory.java Wed Mar 19 10:04:16 2014 -0700 +++ b/src/com/sun/org/apache/xalan/internal/utils/ObjectFactory.java Thu Apr 17 17:52:19 2014 +0100 @@ -54,8 +54,8 @@ // // Constants // - private static final String XALAN_INTERNAL = "com.sun.org.apache.xalan.internal"; - private static final String XERCES_INTERNAL = "com.sun.org.apache.xerces.internal"; + private static final String JAXP_INTERNAL = "com.sun.org.apache"; + private static final String STAX_INTERNAL = "com.sun.xml.internal"; // name of default properties file to look for in JDK's jre/lib directory private static final String DEFAULT_PROPERTIES_FILENAME = @@ -497,12 +497,8 @@ public static Class findProviderClass(String className, boolean doFallback) throws ClassNotFoundException, ConfigurationError { - if (System.getSecurityManager()!=null) { - return Class.forName(className); - } else { - return findProviderClass (className, + return findProviderClass (className, findClassLoader (), doFallback); - } } /** @@ -517,8 +513,8 @@ SecurityManager security = System.getSecurityManager(); try{ if (security != null){ - if (className.startsWith(XALAN_INTERNAL) || - className.startsWith(XERCES_INTERNAL)) { + if (className.startsWith(JAXP_INTERNAL) || + className.startsWith(STAX_INTERNAL)) { cl = null; } else { final int lastDot = className.lastIndexOf("."); @@ -533,16 +529,7 @@ Class providerClass; if (cl == null) { - // XXX Use the bootstrap ClassLoader. There is no way to - // load a class using the bootstrap ClassLoader that works - // in both JDK 1.1 and Java 2. However, this should still - // work b/c the following should be true: - // - // (cl == null) iff current ClassLoader == null - // - // Thus Class.forName(String) will use the current - // ClassLoader which will be the bootstrap ClassLoader. - providerClass = Class.forName(className); + providerClass = Class.forName(className, false, ObjectFactory.class.getClassLoader()); } else { try { providerClass = cl.loadClass(className); diff -r a9574b35f0af -r 611fdb7bcd4f src/com/sun/org/apache/xalan/internal/utils/SecuritySupport.java --- a/src/com/sun/org/apache/xalan/internal/utils/SecuritySupport.java Wed Mar 19 10:04:16 2014 -0700 +++ b/src/com/sun/org/apache/xalan/internal/utils/SecuritySupport.java Thu Apr 17 17:52:19 2014 +0100 @@ -57,7 +57,7 @@ return securitySupport; } - static ClassLoader getContextClassLoader() { + public static ClassLoader getContextClassLoader() { return (ClassLoader) AccessController.doPrivileged(new PrivilegedAction() { public Object run() { ClassLoader cl = null; diff -r a9574b35f0af -r 611fdb7bcd4f src/com/sun/org/apache/xerces/internal/utils/ObjectFactory.java --- a/src/com/sun/org/apache/xerces/internal/utils/ObjectFactory.java Wed Mar 19 10:04:16 2014 -0700 +++ b/src/com/sun/org/apache/xerces/internal/utils/ObjectFactory.java Thu Apr 17 17:52:19 2014 +0100 @@ -48,7 +48,8 @@ // // Constants // - private static final String DEFAULT_INTERNAL_CLASSES = "com.sun.org.apache."; + private static final String JAXP_INTERNAL = "com.sun.org.apache"; + private static final String STAX_INTERNAL = "com.sun.xml.internal"; // name of default properties file to look for in JDK's jre/lib directory private static final String DEFAULT_PROPERTIES_FILENAME = "xerces.properties"; @@ -288,12 +289,8 @@ public static Class findProviderClass(String className, boolean doFallback) throws ClassNotFoundException, ConfigurationError { - if (System.getSecurityManager()!=null) { - return Class.forName(className); - } else { - return findProviderClass (className, + return findProviderClass (className, findClassLoader (), doFallback); - } } /** * Find a Class using the specified ClassLoader @@ -306,7 +303,8 @@ //restrict the access to package as speicified in java.security policy SecurityManager security = System.getSecurityManager(); if (security != null) { - if (className.startsWith(DEFAULT_INTERNAL_CLASSES)) { + if (className.startsWith(JAXP_INTERNAL) || + className.startsWith(STAX_INTERNAL)) { cl = null; } else { final int lastDot = className.lastIndexOf("."); @@ -318,7 +316,7 @@ Class providerClass; if (cl == null) { //use the bootstrap ClassLoader. - providerClass = Class.forName(className); + providerClass = Class.forName(className, false, ObjectFactory.class.getClassLoader()); } else { try { providerClass = cl.loadClass(className); diff -r a9574b35f0af -r 611fdb7bcd4f src/com/sun/org/apache/xml/internal/serializer/CharInfo.java --- a/src/com/sun/org/apache/xml/internal/serializer/CharInfo.java Wed Mar 19 10:04:16 2014 -0700 +++ b/src/com/sun/org/apache/xml/internal/serializer/CharInfo.java Thu Apr 17 17:52:19 2014 +0100 @@ -22,6 +22,11 @@ */ package com.sun.org.apache.xml.internal.serializer; +import com.sun.org.apache.xalan.internal.utils.SecuritySupport; +import com.sun.org.apache.xml.internal.serializer.utils.MsgKey; +import com.sun.org.apache.xml.internal.serializer.utils.SystemIDResolver; +import com.sun.org.apache.xml.internal.serializer.utils.Utils; +import com.sun.org.apache.xml.internal.serializer.utils.WrappedRuntimeException; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; @@ -29,19 +34,11 @@ import java.net.URL; import java.util.Enumeration; import java.util.HashMap; +import java.util.Locale; import java.util.PropertyResourceBundle; import java.util.ResourceBundle; -import java.security.AccessController; -import java.security.PrivilegedAction; - import javax.xml.transform.TransformerException; -import com.sun.org.apache.xml.internal.serializer.utils.MsgKey; -import com.sun.org.apache.xml.internal.serializer.utils.SystemIDResolver; -import com.sun.org.apache.xml.internal.serializer.utils.Utils; -import com.sun.org.apache.xml.internal.serializer.utils.WrappedRuntimeException; -import com.sun.org.apache.xalan.internal.utils.ObjectFactory; - /** * This class provides services that tell if a character should have * special treatement, such as entity reference substitution or normalization @@ -176,13 +173,19 @@ // file // 3) try treating the resource a URI - if (internal) { - try { + try { + if (internal) { // Load entity property files by using PropertyResourceBundle, // cause of security issure for applets entities = PropertyResourceBundle.getBundle(entitiesResource); - } catch (Exception e) {} - } + } else { + ClassLoader cl = SecuritySupport.getContextClassLoader(); + if (cl != null) { + entities = PropertyResourceBundle.getBundle(entitiesResource, + Locale.getDefault(), cl); + } + } + } catch (Exception e) {} if (entities != null) { Enumeration keys = entities.getKeys(); @@ -198,6 +201,7 @@ set(S_CARRIAGERETURN); } else { InputStream is = null; + String err = null; // Load user specified resource file by using URL loading, it // requires a valid URI as parameter @@ -205,18 +209,22 @@ if (internal) { is = CharInfo.class.getResourceAsStream(entitiesResource); } else { - ClassLoader cl = ObjectFactory.findClassLoader(); - if (cl == null) { - is = ClassLoader.getSystemResourceAsStream(entitiesResource); - } else { - is = cl.getResourceAsStream(entitiesResource); + ClassLoader cl = SecuritySupport.getContextClassLoader(); + if (cl != null) { + try { + is = cl.getResourceAsStream(entitiesResource); + } catch (Exception e) { + err = e.getMessage(); + } } if (is == null) { try { URL url = new URL(entitiesResource); is = url.openStream(); - } catch (Exception e) {} + } catch (Exception e) { + err = e.getMessage(); + } } } @@ -224,7 +232,7 @@ throw new RuntimeException( Utils.messages.createMessage( MsgKey.ER_RESOURCE_COULD_NOT_FIND, - new Object[] {entitiesResource, entitiesResource})); + new Object[] {entitiesResource, err})); } // Fix Bugzilla#4000: force reading in UTF-8 @@ -456,64 +464,56 @@ return isCleanTextASCII[value]; } -// In the future one might want to use the array directly and avoid -// the method call, but I think the JIT alreay inlines this well enough -// so don't do it (for now) - bjm -// public final boolean[] getASCIIClean() -// { -// return isCleanTextASCII; -// } + /** + * Read an internal resource file that describes the mapping of + * characters to entity references; Construct a CharInfo object. + * + * @param entitiesFileName Name of entities resource file that should + * be loaded, which describes the mapping of characters to entity references. + * @param method the output method type, which should be one of "xml", "html", and "text". + * @return an instance of CharInfo + * + * @xsl.usage internal + */ + static CharInfo getCharInfoInternal(String entitiesFileName, String method) + { + CharInfo charInfo = (CharInfo) m_getCharInfoCache.get(entitiesFileName); + if (charInfo != null) { + return charInfo; + } - private static CharInfo getCharInfoBasedOnPrivilege( - final String entitiesFileName, final String method, - final boolean internal){ - return (CharInfo) AccessController.doPrivileged( - new PrivilegedAction() { - public Object run() { - return new CharInfo(entitiesFileName, - method, internal);} - }); + charInfo = new CharInfo(entitiesFileName, method, true); + m_getCharInfoCache.put(entitiesFileName, charInfo); + return charInfo; } /** - * Factory that reads in a resource file that describes the mapping of - * characters to entity references. + * Constructs a CharInfo object using the following process to try reading + * the entitiesFileName parameter: * - * Resource files must be encoded in UTF-8 and have a format like: + * 1) attempt to load it as a ResourceBundle + * 2) try using the class loader to find the specified file + * 3) try opening it as an URI + * + * In case of 2 and 3, the resource file must be encoded in UTF-8 and have the + * following format: *

      * # First char # is a comment
      * Entity numericValue
      * quot 34
      * amp 38
      * 
- * (Note: Why don't we just switch to .properties files? Oct-01 -sc) * - * @param entitiesResource Name of entities resource file that should - * be loaded, which describes that mapping of characters to entity references. - * @param method the output method type, which should be one of "xml", "html", "text"... - * - * @xsl.usage internal + * @param entitiesFileName Name of entities resource file that should + * be loaded, which describes the mapping of characters to entity references. + * @param method the output method type, which should be one of "xml", "html", and "text". + * @return an instance of CharInfo */ static CharInfo getCharInfo(String entitiesFileName, String method) { - CharInfo charInfo = (CharInfo) m_getCharInfoCache.get(entitiesFileName); - if (charInfo != null) { - return charInfo; - } - - // try to load it internally - cache try { - charInfo = getCharInfoBasedOnPrivilege(entitiesFileName, - method, true); - m_getCharInfoCache.put(entitiesFileName, charInfo); - return charInfo; - } catch (Exception e) {} - - // try to load it externally - do not cache - try { - return getCharInfoBasedOnPrivilege(entitiesFileName, - method, false); + return new CharInfo(entitiesFileName, method, false); } catch (Exception e) {} String absoluteEntitiesFileName; @@ -530,8 +530,7 @@ } } - return getCharInfoBasedOnPrivilege(entitiesFileName, - method, false); + return new CharInfo(absoluteEntitiesFileName, method, false); } /** Table of user-specified char infos. */ diff -r a9574b35f0af -r 611fdb7bcd4f src/com/sun/org/apache/xml/internal/serializer/ToHTMLStream.java --- a/src/com/sun/org/apache/xml/internal/serializer/ToHTMLStream.java Wed Mar 19 10:04:16 2014 -0700 +++ b/src/com/sun/org/apache/xml/internal/serializer/ToHTMLStream.java Thu Apr 17 17:52:19 2014 +0100 @@ -60,7 +60,7 @@ */ private static final CharInfo m_htmlcharInfo = // new CharInfo(CharInfo.HTML_ENTITIES_RESOURCE); - CharInfo.getCharInfo(CharInfo.HTML_ENTITIES_RESOURCE, Method.HTML); + CharInfo.getCharInfoInternal(CharInfo.HTML_ENTITIES_RESOURCE, Method.HTML); /** A digital search trie for fast, case insensitive lookup of ElemDesc objects. */ static final Trie m_elementFlags = new Trie(); diff -r a9574b35f0af -r 611fdb7bcd4f src/com/sun/org/apache/xml/internal/serializer/ToXMLStream.java --- a/src/com/sun/org/apache/xml/internal/serializer/ToXMLStream.java Wed Mar 19 10:04:16 2014 -0700 +++ b/src/com/sun/org/apache/xml/internal/serializer/ToXMLStream.java Thu Apr 17 17:52:19 2014 +0100 @@ -58,7 +58,7 @@ */ private static CharInfo m_xmlcharInfo = // new CharInfo(CharInfo.XML_ENTITIES_RESOURCE); - CharInfo.getCharInfo(CharInfo.XML_ENTITIES_RESOURCE, Method.XML); + CharInfo.getCharInfoInternal(CharInfo.XML_ENTITIES_RESOURCE, Method.XML); /** * Default constructor. From andrew at icedtea.classpath.org Thu Apr 17 16:53:56 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 17 Apr 2014 16:53:56 +0000 Subject: /hg/release/icedtea7-forest-2.5/jaxws: 66 new changesets Message-ID: changeset d941a701cf5c in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=d941a701cf5c author: katleman date: Wed Mar 26 09:28:14 2014 -0700 Added tag jdk7u60-b12 for changeset 9d34f726e35b changeset 43b5a7cf08e7 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=43b5a7cf08e7 author: katleman date: Wed Apr 02 09:31:44 2014 -0700 Added tag jdk7u60-b13 for changeset d941a701cf5c changeset b80a31267bdd in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=b80a31267bdd author: katleman date: Wed Apr 09 08:44:43 2014 -0700 Added tag jdk7u60-b14 for changeset 43b5a7cf08e7 changeset a41e0d5e8068 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=a41e0d5e8068 author: mkos date: Tue Nov 12 11:22:53 2013 +0100 8025152: Enhance activation set up Summary: fix also reviewed by Alexander Fomin Reviewed-by: dfuchs, hawtin Contributed-by: bill.shannon at oracle.com changeset 056a132d0223 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=056a132d0223 author: asaha date: Tue Nov 12 09:11:48 2013 -0800 Merge changeset 5b8c5c7e7d37 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=5b8c5c7e7d37 author: asaha date: Tue Nov 19 09:33:16 2013 -0800 Merge changeset 19649e196e49 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=19649e196e49 author: mkos date: Thu Nov 21 11:15:32 2013 +0100 8028382: Two javax/xml/8005433 tests still fail after the fix JDK-8028147 Summary: test regression; fix also reviewed by Iaroslav Savytskyi, Alexander Fomin Reviewed-by: mchung changeset 6c2cad0f4118 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=6c2cad0f4118 author: asaha date: Wed Nov 27 11:19:47 2013 -0800 Merge changeset b50502c930cb in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=b50502c930cb author: asaha date: Wed Dec 04 12:38:06 2013 -0800 Merge changeset 6b7d0933da9c in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=6b7d0933da9c author: mkos date: Fri Dec 13 16:37:37 2013 +0100 8028388: 9 jaxws tests failed in nightly build with java.lang.ClassCastException Summary: test regression; fix also reviewed by Bill Shannon, Alexander Fomin Reviewed-by: mgrebac changeset 0860f1035671 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=0860f1035671 author: asaha date: Tue Dec 10 17:15:48 2013 -0800 Merge changeset 1d158ec07962 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=1d158ec07962 author: asaha date: Fri Dec 13 12:21:51 2013 -0800 Merge changeset 96dd734df51a in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=96dd734df51a author: asaha date: Mon Dec 16 12:13:15 2013 -0800 Added tag jdk7u55-b00 for changeset 7c7c2ea4b680 changeset c5eb0c2a0f97 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=c5eb0c2a0f97 author: asaha date: Mon Dec 16 13:05:19 2013 -0800 Merge changeset 8294e9363fa1 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=8294e9363fa1 author: asaha date: Mon Dec 16 14:54:11 2013 -0800 Added tag jdk7u55-b01 for changeset c5eb0c2a0f97 changeset 42e28ea95ed8 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=42e28ea95ed8 author: asaha date: Mon Dec 16 18:52:05 2013 -0800 Merge changeset 7288467e7b25 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=7288467e7b25 author: asaha date: Fri Dec 20 11:50:01 2013 -0800 Merge changeset 8deb28a9bed6 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=8deb28a9bed6 author: asaha date: Fri Dec 20 14:15:22 2013 -0800 Merge changeset a257072fc2aa in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=a257072fc2aa author: asaha date: Fri Dec 20 21:34:30 2013 -0800 Merge changeset 2a2ccf1cf0dd in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=2a2ccf1cf0dd author: katleman date: Tue Dec 24 14:46:37 2013 -0800 Added tag jdk7u55-b02 for changeset a257072fc2aa changeset 2916fdfc475b in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=2916fdfc475b author: asaha date: Thu Dec 26 15:55:14 2013 -0800 Merge changeset 2a830f473b8a in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=2a830f473b8a author: katleman date: Mon Jan 06 13:57:07 2014 -0800 Added tag jdk7u55-b03 for changeset 2916fdfc475b changeset 1d351a6ccb25 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=1d351a6ccb25 author: katleman date: Wed Jan 08 13:24:04 2014 -0800 Added tag jdk7u45-b35 for changeset c654ba4b2392 changeset b2e40219fdcb in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=b2e40219fdcb author: asaha date: Wed Jan 08 14:15:36 2014 -0800 Merge changeset f4759b454760 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=f4759b454760 author: asaha date: Thu Jan 09 07:57:38 2014 -0800 Merge changeset 8a8dfdbc6614 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=8a8dfdbc6614 author: katleman date: Mon Jan 13 16:14:50 2014 -0800 Added tag jdk7u55-b04 for changeset f4759b454760 changeset 2696d6747826 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=2696d6747826 author: katleman date: Wed Jan 22 10:06:54 2014 -0800 Added tag jdk7u55-b05 for changeset 8a8dfdbc6614 changeset 1ad971afe2b5 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=1ad971afe2b5 author: katleman date: Tue Jan 28 11:49:41 2014 -0800 Added tag jdk7u55-b06 for changeset 2696d6747826 changeset bef42537f2d0 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=bef42537f2d0 author: katleman date: Tue Feb 04 13:12:05 2014 -0800 Added tag jdk7u55-b07 for changeset 1ad971afe2b5 changeset 2b55a88eca6d in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=2b55a88eca6d author: asaha date: Thu Feb 06 10:58:08 2014 -0800 Merge changeset 57ba92e96b7f in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=57ba92e96b7f author: mkos date: Thu Feb 06 11:06:01 2014 +0100 8026801: Enhance endpoint addressing Summary: Caching data initialized via TCCL in static context; fix also reviewed by Iaroslav Savytskyi, Alexander Fomin Reviewed-by: ahgross, mgrebac, skoivu changeset cc0582e79419 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=cc0582e79419 author: katleman date: Tue Feb 11 13:11:31 2014 -0800 Added tag jdk7u55-b08 for changeset 57ba92e96b7f changeset 6a9cc44d0ef8 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=6a9cc44d0ef8 author: asaha date: Tue Feb 11 15:18:16 2014 -0800 Merge changeset 3472ba65635c in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=3472ba65635c author: asaha date: Wed Feb 12 16:10:11 2014 -0800 Merge changeset cfc3c8286c3b in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=cfc3c8286c3b author: mkos date: Thu Feb 13 18:20:10 2014 +0100 8025030: Enhance stream handling Summary: Avoiding caching data initialized via TCCL in static context; fix also reviewed by Iaroslav Savytskyi, Alexander Fomin Reviewed-by: ahgross, mgrebac, skoivu changeset c9d8555964a5 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=c9d8555964a5 author: mkos date: Mon Feb 17 13:32:02 2014 -0800 8026188: Enhance envelope factory Summary: Avoiding caching data initialized via TCCL in static context; fix also reviewed by Alexander Fomin Reviewed-by: ahgross, mgrebac, skoivu changeset 0f469a7307b9 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=0f469a7307b9 author: katleman date: Tue Feb 18 12:41:30 2014 -0800 Added tag jdk7u55-b09 for changeset c9d8555964a5 changeset 1080e907d64a in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=1080e907d64a author: katleman date: Tue Feb 18 13:36:23 2014 -0800 Added tag jdk7u55-b09 for changeset 0f469a7307b9 changeset 7aaf99e3060b in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=7aaf99e3060b author: asaha date: Wed Feb 19 12:20:44 2014 -0800 Merge changeset 2ba93db7181a in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=2ba93db7181a author: asaha date: Wed Feb 19 14:37:52 2014 -0800 Merge changeset 0db5b891d1ba in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=0db5b891d1ba author: katleman date: Tue Feb 25 12:20:36 2014 -0800 Added tag jdk7u55-b10 for changeset 1080e907d64a changeset c95621589d36 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=c95621589d36 author: asaha date: Tue Feb 25 13:54:48 2014 -0800 Merge changeset 12ca9a3fb843 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=12ca9a3fb843 author: asaha date: Thu Feb 27 08:32:03 2014 -0800 Merge changeset 3834eb921dfd in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=3834eb921dfd author: katleman date: Tue Mar 04 12:01:56 2014 -0800 Added tag jdk7u55-b11 for changeset 0db5b891d1ba changeset 8901560451e6 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=8901560451e6 author: asaha date: Tue Mar 04 15:37:43 2014 -0800 Merge changeset 0ae4600c787f in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=0ae4600c787f author: asaha date: Wed Mar 05 13:26:49 2014 -0800 Merge changeset 3b0da73591b1 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=3b0da73591b1 author: katleman date: Tue Mar 11 12:59:53 2014 -0700 Added tag jdk7u55-b12 for changeset 3834eb921dfd changeset b7e91bd5b000 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=b7e91bd5b000 author: asaha date: Tue Mar 11 14:04:37 2014 -0700 Merge changeset 3eab0c86ceba in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=3eab0c86ceba author: asaha date: Wed Mar 12 14:50:06 2014 -0700 Merge changeset 5d726bf8fedc in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=5d726bf8fedc author: katleman date: Tue Mar 18 12:07:56 2014 -0700 Added tag jdk7u55-b13 for changeset 3b0da73591b1 changeset f782f513bb1c in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=f782f513bb1c author: katleman date: Fri Feb 14 08:59:31 2014 -0800 Added tag jdk7u51-b33 for changeset b2e40219fdcb changeset 92bcef96b214 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=92bcef96b214 author: katleman date: Fri Feb 28 17:23:15 2014 -0800 Added tag jdk7u51-b34 for changeset f782f513bb1c changeset 2d103c97c9bd in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=2d103c97c9bd author: asaha date: Tue Mar 18 12:34:51 2014 -0700 Merge changeset 1e6c4752ae89 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=1e6c4752ae89 author: asaha date: Tue Mar 18 13:01:14 2014 -0700 Merge changeset 5060633981b8 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=5060633981b8 author: asaha date: Wed Mar 19 10:20:06 2014 -0700 Merge changeset f0a290903cbe in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=f0a290903cbe author: asaha date: Wed Mar 26 21:25:58 2014 -0700 Merge changeset c5b664c87c82 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=c5b664c87c82 author: katleman date: Thu Mar 27 11:36:52 2014 -0700 Added tag jdk7u55-b31 for changeset 2d103c97c9bd changeset 81d0f297557c in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=81d0f297557c author: katleman date: Thu Mar 27 11:23:10 2014 -0700 Added tag jdk7u55-b30 for changeset 5d726bf8fedc changeset b15b4084288f in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=b15b4084288f author: asaha date: Thu Mar 27 11:58:04 2014 -0700 Merge changeset 6c304251c4be in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=6c304251c4be author: asaha date: Thu Mar 27 12:10:10 2014 -0700 Merge changeset 3d79f18b9f49 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=3d79f18b9f49 author: asaha date: Wed Apr 02 09:46:46 2014 -0700 Merge changeset f5a789418b78 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=f5a789418b78 author: asaha date: Wed Apr 09 09:43:53 2014 -0700 Merge changeset f616603ab693 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=f616603ab693 author: katleman date: Tue Apr 15 11:50:03 2014 -0700 Added tag jdk7u55-b14 for changeset 81d0f297557c changeset d00389bf5439 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=d00389bf5439 author: asaha date: Tue Apr 15 12:41:38 2014 -0700 Merge changeset 2fc16d3a3212 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=2fc16d3a3212 author: katleman date: Wed Apr 16 12:26:21 2014 -0700 Added tag jdk7u60-b15 for changeset d00389bf5439 changeset 8c3ac91d06c0 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=8c3ac91d06c0 author: andrew date: Thu Apr 17 17:52:21 2014 +0100 Merge jdk7u60-b15 diffstat: .hgtags | 41 +++ .jcheck/conf | 2 - build.properties | 3 + build.xml | 14 +- src/share/jaf_classes/javax/activation/CommandMap.java | 31 ++- src/share/jaf_classes/javax/activation/DataHandler.java | 9 +- src/share/jaf_classes/javax/activation/FileTypeMap.java | 38 ++- src/share/jaf_classes/javax/activation/MailcapCommandMap.java | 16 +- src/share/jaf_classes/javax/activation/MimetypesFileTypeMap.java | 16 +- src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/Internalizer.java | 13 +- src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/JAXWSBindingExtensionHandler.java | 12 +- src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/internalizer/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/internalizer/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/internalizer/Internalizer.java | 11 +- src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/parser/SchemaConstraintChecker.java | 8 + src/share/jaxws_classes/com/sun/xml/internal/bind/DatatypeConverterImpl.java | 37 ++- src/share/jaxws_classes/com/sun/xml/internal/bind/Messages.java | 48 ++++ src/share/jaxws_classes/com/sun/xml/internal/bind/Messages.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/Messages.java | 3 +- src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/Messages.properties | 5 +- src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/RuntimeBuiltinLeafInfoImpl.java | 24 +- src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/output/XMLStreamWriterOutput.java | 18 +- src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/unmarshaller/StAXStreamConnector.java | 19 +- src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/AttachmentPartImpl.java | 108 ++++----- src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/EnvelopeFactory.java | 55 ++-- src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/XMLStreamBuffer.java | 11 +- src/share/jaxws_classes/com/sun/xml/internal/ws/api/streaming/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/ws/api/streaming/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/ws/api/streaming/XMLStreamReaderFactory.java | 47 ++-- src/share/jaxws_classes/com/sun/xml/internal/ws/api/streaming/XMLStreamWriterFactory.java | 66 +++-- src/share/jaxws_classes/com/sun/xml/internal/ws/binding/BindingImpl.java | 59 +++++- src/share/jaxws_classes/com/sun/xml/internal/ws/developer/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/ws/developer/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/ws/developer/MemberSubmissionEndpointReference.java | 13 +- src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/MimeCodec.java | 32 +-- src/share/jaxws_classes/com/sun/xml/internal/ws/policy/sourcemodel/attach/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/ws/policy/sourcemodel/attach/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/ws/policy/sourcemodel/attach/ExternalAttachmentsUnmarshaller.java | 12 +- src/share/jaxws_classes/com/sun/xml/internal/ws/spi/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/ws/spi/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/ws/spi/ProviderImpl.java | 11 +- src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/ws/util/xml/XmlUtil.java | 28 +- src/share/jaxws_classes/com/sun/xml/internal/xsom/util/ContextClassloaderLocal.java | 86 +++++++ src/share/jaxws_classes/com/sun/xml/internal/xsom/util/ContextClassloaderLocal.properties | 27 ++ src/share/jaxws_classes/com/sun/xml/internal/xsom/util/DomAnnotationParserFactory.java | 11 +- src/share/jaxws_classes/javax/xml/bind/DatatypeConverterImpl.java | 41 ++- src/share/jaxws_classes/javax/xml/bind/Messages.java | 4 +- src/share/jaxws_classes/javax/xml/bind/Messages.properties | 5 +- src/share/jaxws_classes/javax/xml/ws/wsaddressing/W3CEndpointReference.java | 4 +- 57 files changed, 1700 insertions(+), 332 deletions(-) diffs (truncated from 3111 to 500 lines): diff -r 9d34f726e35b -r 8c3ac91d06c0 .hgtags --- a/.hgtags Wed Mar 19 10:04:21 2014 -0700 +++ b/.hgtags Thu Apr 17 17:52:21 2014 +0100 @@ -50,6 +50,7 @@ 558985e26fe16f5a6ebb2edb9180a42e1c8e8202 jdk7-b73 f4466e1b608088c90e11beaa4b600f102608c6a1 jdk7-b74 fcf2b8b5d606641659419f247fcee4b284c45e6e jdk7-b75 +0dc08d528c998ca993e759b311e7b54c98e0ef28 icedtea7-1.12 765d2077d1e652e234d27fe85ba58a986b488503 jdk7-b76 5b4968c110476085225d3a71c4210fad2c1116c1 jdk7-b77 fc1c72d1dfbb17db7d46bba8db9afc39cbbb9299 jdk7-b78 @@ -63,6 +64,7 @@ 512b0e924a5ae0c0b7ad326182cae0dc0e4d1aa8 jdk7-b86 3febd6fab2ac8ffddbaf7bed00d11290262af153 jdk7-b87 8c666f8f3565974e301ccb58b7538912551a6e26 jdk7-b88 +1661166c82dc2102f3f0364e28d1e4211f25a4cf icedtea7-1.13 bf3675aa7f20fc6f241ce95760005aef2a30ff41 jdk7-b89 ead7c4566a0017bcb44b468b3ac03b60dc5333ce jdk7-b90 cf4686bf35abd1e573f09fa43cbec66403160ae9 jdk7-b91 @@ -111,6 +113,7 @@ 545de8303fec939db3892f7c324dd7df197e8f09 jdk7-b134 d5fc61f18043765705ef22b57a68c924ab2f1a5b jdk7-b135 c81d289c9a532d6e94af3c09d856a2a20529040f jdk7-b136 +339c2d381d80dbf9b74604e6ba43ead276b8024e icedtea-1.14 ccea3282991ce8b678e188cf32a8239f76ff3bfa jdk7-b137 cc956c8a8255583535597e9a63db23c510e9a063 jdk7-b138 c025078c8362076503bb83b8e4da14ba7b347940 jdk7-b139 @@ -123,6 +126,7 @@ 05469dd4c3662c454f8a019e492543add60795cc jdk7-b146 c01bfd68d0528bc88348813c4d75d7f5c62bc4e2 jdk7u1-b01 d13b1f877bb5ed8dceb2f7ec10365d1db5f70b2d jdk7-b147 +e6cd09c7ef22bbabe31c9f2a32c7e13cfa713fd3 icedtea-2.0-branchpoint 4c24f7019ce939a452154a83151294ad7da66a9d jdk7u1-b02 272778f529d11081f548f37fcd6a7aec0b11a8dd jdk7u1-b03 48b06a6e6f46e5bcd610f4bed57cd5067cf31f8c jdk7u1-b04 @@ -141,6 +145,7 @@ 21131044a61353ac20e360bce52d8f480e08d7a2 jdk7u2-b12 9728fd833e01faa5e51484aeaf3c51d32d1175fb jdk7u2-b13 d6db86a7ca32e6d97844f633badc0d516e55694f jdk7u2-b21 +d26ff33070cb75a0a7349d965ec4f0930ded418d icedtea-2.1-branchpoint d6db86a7ca32e6d97844f633badc0d516e55694f jdk7u3-b02 44e824502fa24440f907205ccdc3959d01bd8109 jdk7u3-b03 6e1cc321aacea944691aa06558f2bbad89baf5b3 jdk7u3-b04 @@ -157,6 +162,7 @@ 3891fe529057431278394c6341cfabaacd5061f5 jdk7u4-b10 2df5cd83fab91f050c4bac54aa06e174ecee38f4 jdk7u4-b11 4d3a9fe44f7531642bc739ec3c8efb2e6d9e08c7 jdk7u4-b12 +1854d8e2547cb18ebcf84db13c22d0987c49c274 icedtea-2.2-branchpoint c3b6659aa169b3f249246497a8d5a87baa1e798a jdk7u4-b13 0f8963feaefda21e72f84b8ea49834a289d537f3 jdk7u4-b14 61516652b59ec411678b38a232a84413652a4172 jdk7u5-b01 @@ -186,11 +192,15 @@ c08f88f5ae98917254cd38e204393adac22823a6 jdk7u6-b10 a37ad8f90c7bd215d11996480e37f03eb2776ce2 jdk7u6-b11 95a96a879b8c974707a7ddb94e4fcd00e93d469c jdk7u6-b12 +4325d1311d5511da36cae81332af6840af1c0fed ppc-aix-port-b01 +4325d1311d5511da36cae81332af6840af1c0fed ppc-aix-port-b02 +4325d1311d5511da36cae81332af6840af1c0fed ppc-aix-port-b03 e0a71584b8d84d28feac9594d7bb1a981d862d7c jdk7u6-b13 9ae31559fcce636b8c219180e5db1d54556db5d9 jdk7u6-b14 f1dba7ebe6a50c22ffcaf85b14b31462ce008556 jdk7u6-b15 e1d2afbb63d27600dd8c8a021eadff84a901a73c jdk7u6-b16 401bdbbf89c9187b51dc8906c0e2700ef0ffc8a3 jdk7u6-b17 +8888d2790217c31edbf13ea81d9ac06210092ad2 icedtea-2.3-branchpoint a1daf7097c61181216233e4850ef6ec56b0fe6b6 jdk7u6-b18 58c1c6ecf8f1e59db9b575ae57b2894d0152d319 jdk7u6-b19 6d17242f12edc643ecab4263e656003a1ca44c03 jdk7u6-b20 @@ -258,11 +268,13 @@ 42ba62cdc1f3c357b6d192612dd1c4b209df2662 jdk7u12-b07 66f36438f54812e44327d38129d9488e5ea59e73 jdk7u12-b08 c130f21b16a2b2e2b961362bc4baf40fde2be458 jdk7u12-b09 +a653d06d5b50cacf58aebbab8b55e7e00587cd4c icedtea-2.4-branchpoint 9207c72345c9e82d4445764df57706f7b33a7981 jdk7u14-b10 444aa84f38df2607140e9ce35a21fef0965d27a6 jdk7u14-b11 40afea757379cfaaadca13eeb7dcbc0fe195f73d jdk7u14-b12 4fe9a362c3277cd4c7a5149853e5cf59dbba7cb7 jdk7u14-b13 a2b2e716637acdb9884d21fc4b9aef3c8b59e702 jdk7u14-b14 +53bd8e6a5ffabdc878a312509cf84a72020ddf9a ppc-aix-port-b04 b5c8ac5253ef735e5aa770b7325843ec89b56633 jdk7u14-b15 abcaebcead605f89cd0919add20d8ac16637ddc2 jdk7u15-b01 62f9e7f5eb644fedd93dd93bd36bcf817a8d9c8a jdk7u15-b02 @@ -381,8 +393,10 @@ 65b0f3ccdc8bcff0d79e1b543a8cefb817529b3f jdk7u45-b18 c32c6a662d18d7195fc02125178c7543ce09bb00 jdk7u45-b30 6802a1c098c48b2c8336e06f1565254759025bab jdk7u45-b31 +cb5f95263f620967f5097c5ff8e0b27cfb9e8c44 jdk7u60-b00 e040abab3625fbced33b30cba7c0307236268211 jdk7u45-b33 e7df5d6b23c64509672d262187f51cde14db4e66 jdk7u45-b34 +c654ba4b2392c2913f45b495a2ea0c53cc348d98 jdk7u45-b35 5524cced32d3959d95ed414add230273bc10c38d jdk7u51-b00 db9e3328f393313e52cbf3fee5236aa2429028d0 jdk7u51-b01 92a4787cb3617005a329fb49247c550e8d7eb47a jdk7u51-b02 @@ -399,9 +413,31 @@ 81a1b110f70c37d2c2f0de7c0ef3bd2d04aba475 jdk7u51-b13 5dbeb9983f104be717da35c9b14923d71dd248d7 jdk7u51-b30 eb79f394916efba85f4f6c7ef562966699f2c1e8 jdk7u51-b31 +b2e40219fdcb579d9e10bf01bbd1f05ddcc936fb jdk7u51-b33 +f782f513bb1c74640fe0f4711fec6a417845e9e9 jdk7u51-b34 +7c7c2ea4b6808d0abf7fd48d11440d75b0c08d3a jdk7u55-b00 +c5eb0c2a0f9715b510bc641506fb90df9bf05ab0 jdk7u55-b01 +a257072fc2aa482abd6ffa28e235dbe532af6d00 jdk7u55-b02 +2916fdfc475bf29bc702887bf5ba02df67c98916 jdk7u55-b03 +f4759b4547602b3bc865db8c5f356f46979c6389 jdk7u55-b04 +8a8dfdbc66149b89f804c5a50e4692c2520569ae jdk7u55-b05 +2696d6747826cea92a97b2d80be4a59ff99462bd jdk7u55-b06 +1ad971afe2b5db93420654fa65b23f827760fed7 jdk7u55-b07 +57ba92e96b7fb6f4543038c1daa390c45d8a9d84 jdk7u55-b08 +c9d8555964a581486f4c8e1bf5f5db678eb3b9f2 jdk7u55-b09 +0f469a7307b98e911aaaab8cad781eab3bd94ad6 jdk7u55-b09 +1080e907d64ab63c6138b1a61d9e5b826e83634a jdk7u55-b10 +0db5b891d1ba10211da0a8158551b35f00da7684 jdk7u55-b11 +3834eb921dfd8d29d917a0c57bb9fdd9aa58c209 jdk7u55-b12 +3b0da73591b1ea23c48aa7babc34ed776fc183f0 jdk7u55-b13 +5d726bf8fedc1f10d250e980653315919b7602f2 jdk7u55-b30 +81d0f297557c4a876727cabeb2bfcdf066a1fc9d jdk7u55-b14 +2d103c97c9bd0b3357e6d5e2b5b9ffb64c271288 jdk7u55-b31 cb5f95263f620967f5097c5ff8e0b27cfb9e8c44 jdk7u60-b00 f675dfce1e61a6ed01732ae7cfbae941791cba74 jdk7u60-b01 8a3b9e8492a5ac4e2e0c166dbfc5d058be244377 jdk7u60-b02 +3f7212cae6eb1fe4b257adfbd05a7fce47c84bf0 icedtea-2.5pre01 +4aeccc3040fa45d7156dccb03984320cb75a0d73 icedtea-2.5pre02 d4ba4e1ed3ecdef1ef7c3b7aaf62ff69fc105cb2 jdk7u60-b03 bef313c7ff7a7a829f8f6a305bf0c3738ad99795 jdk7u60-b04 30afd3e2e7044b2aa87ce00ab4301990e6d94d27 jdk7u60-b05 @@ -411,3 +447,8 @@ c85645aa77cedabeeb6e01373cdd81afd56c602e jdk7u60-b09 79501d4561e4cfa96fd77e2e92eb6a1b6ad61005 jdk7u60-b10 5d848774565b5e188d7ba915ce1cb09d8f3fdb87 jdk7u60-b11 +c3f7dc317cdbe308045d12deeb298c8be800d495 icedtea-2.5pre03 +9d34f726e35b321072ce5bd0aad2e513b9fc972f jdk7u60-b12 +d941a701cf5ca11b2777fd1d0238e05e3c963e89 jdk7u60-b13 +43b5a7cf08e7ee018b1fa42a89510b4c381dc4c5 jdk7u60-b14 +d00389bf5439e5c42599604d2ebc909d26df8dcf jdk7u60-b15 diff -r 9d34f726e35b -r 8c3ac91d06c0 .jcheck/conf --- a/.jcheck/conf Wed Mar 19 10:04:21 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -project=jdk7 -bugids=dup diff -r 9d34f726e35b -r 8c3ac91d06c0 build.properties --- a/build.properties Wed Mar 19 10:04:21 2014 -0700 +++ b/build.properties Thu Apr 17 17:52:21 2014 +0100 @@ -58,6 +58,9 @@ build.dir=${output.dir}/build build.classes.dir=${build.dir}/classes +# JAXP built files +jaxp.classes.dir=${output.dir}/../jaxp/build/classes + # Distributed results dist.dir=${output.dir}/dist dist.lib.dir=${dist.dir}/lib diff -r 9d34f726e35b -r 8c3ac91d06c0 build.xml --- a/build.xml Wed Mar 19 10:04:21 2014 -0700 +++ b/build.xml Thu Apr 17 17:52:21 2014 +0100 @@ -135,9 +135,15 @@ - + - + diff -r 9d34f726e35b -r 8c3ac91d06c0 src/share/jaf_classes/javax/activation/CommandMap.java --- a/src/share/jaf_classes/javax/activation/CommandMap.java Wed Mar 19 10:04:21 2014 -0700 +++ b/src/share/jaf_classes/javax/activation/CommandMap.java Thu Apr 17 17:52:21 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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,6 +25,9 @@ package javax.activation; +import java.util.Map; +import java.util.WeakHashMap; + /** * The CommandMap class provides an interface to a registry of @@ -38,6 +41,8 @@ */ public abstract class CommandMap { private static CommandMap defaultCommandMap = null; + private static Map map = + new WeakHashMap(); /** * Get the default CommandMap. @@ -56,11 +61,18 @@ * * @return the CommandMap */ - public static CommandMap getDefaultCommandMap() { - if (defaultCommandMap == null) - defaultCommandMap = new MailcapCommandMap(); + public static synchronized CommandMap getDefaultCommandMap() { + if (defaultCommandMap != null) + return defaultCommandMap; - return defaultCommandMap; + // fetch per-thread-context-class-loader default + ClassLoader tccl = SecuritySupport.getContextClassLoader(); + CommandMap def = map.get(tccl); + if (def == null) { + def = new MailcapCommandMap(); + map.put(tccl, def); + } + return def; } /** @@ -71,7 +83,7 @@ * @exception SecurityException if the caller doesn't have permission * to change the default */ - public static void setDefaultCommandMap(CommandMap commandMap) { + public static synchronized void setDefaultCommandMap(CommandMap commandMap) { SecurityManager security = System.getSecurityManager(); if (security != null) { try { @@ -79,13 +91,16 @@ security.checkSetFactory(); } catch (SecurityException ex) { // otherwise, we also allow it if this code and the - // factory come from the same class loader (e.g., + // factory come from the same (non-system) class loader (e.g., // the JAF classes were loaded with the applet classes). - if (CommandMap.class.getClassLoader() != + if (CommandMap.class.getClassLoader() == null || + CommandMap.class.getClassLoader() != commandMap.getClass().getClassLoader()) throw ex; } } + // remove any per-thread-context-class-loader CommandMap + map.remove(SecuritySupport.getContextClassLoader()); defaultCommandMap = commandMap; } diff -r 9d34f726e35b -r 8c3ac91d06c0 src/share/jaf_classes/javax/activation/DataHandler.java --- a/src/share/jaf_classes/javax/activation/DataHandler.java Wed Mar 19 10:04:21 2014 -0700 +++ b/src/share/jaf_classes/javax/activation/DataHandler.java Thu Apr 17 17:52:21 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -368,7 +368,12 @@ // if it's not set, set it... if (transferFlavors == emptyFlavors) transferFlavors = getDataContentHandler().getTransferDataFlavors(); - return transferFlavors; + + if (transferFlavors == emptyFlavors) + return transferFlavors; + else + return transferFlavors.clone(); + } /** diff -r 9d34f726e35b -r 8c3ac91d06c0 src/share/jaf_classes/javax/activation/FileTypeMap.java --- a/src/share/jaf_classes/javax/activation/FileTypeMap.java Wed Mar 19 10:04:21 2014 -0700 +++ b/src/share/jaf_classes/javax/activation/FileTypeMap.java Thu Apr 17 17:52:21 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -26,6 +26,8 @@ package javax.activation; import java.io.File; +import java.util.Map; +import java.util.WeakHashMap; /** * The FileTypeMap is an abstract class that provides a data typing @@ -48,6 +50,8 @@ public abstract class FileTypeMap { private static FileTypeMap defaultMap = null; + private static Map map = + new WeakHashMap(); /** * The default constructor. @@ -78,11 +82,11 @@ * Sets the default FileTypeMap for the system. This instance * will be returned to callers of getDefaultFileTypeMap. * - * @param map The FileTypeMap. + * @param fileTypeMap The FileTypeMap. * @exception SecurityException if the caller doesn't have permission * to change the default */ - public static void setDefaultFileTypeMap(FileTypeMap map) { + public static synchronized void setDefaultFileTypeMap(FileTypeMap fileTypeMap) { SecurityManager security = System.getSecurityManager(); if (security != null) { try { @@ -90,14 +94,17 @@ security.checkSetFactory(); } catch (SecurityException ex) { // otherwise, we also allow it if this code and the - // factory come from the same class loader (e.g., + // factory come from the same (non-system) class loader (e.g., // the JAF classes were loaded with the applet classes). - if (FileTypeMap.class.getClassLoader() != - map.getClass().getClassLoader()) + if (FileTypeMap.class.getClassLoader() == null || + FileTypeMap.class.getClassLoader() != + fileTypeMap.getClass().getClassLoader()) throw ex; } } - defaultMap = map; + // remove any per-thread-context-class-loader FileTypeMap + map.remove(SecuritySupport.getContextClassLoader()); + defaultMap = fileTypeMap; } /** @@ -109,10 +116,17 @@ * @return The default FileTypeMap * @see javax.activation.FileTypeMap#setDefaultFileTypeMap */ - public static FileTypeMap getDefaultFileTypeMap() { - // XXX - probably should be synchronized - if (defaultMap == null) - defaultMap = new MimetypesFileTypeMap(); - return defaultMap; + public static synchronized FileTypeMap getDefaultFileTypeMap() { + if (defaultMap != null) + return defaultMap; + + // fetch per-thread-context-class-loader default + ClassLoader tccl = SecuritySupport.getContextClassLoader(); + FileTypeMap def = map.get(tccl); + if (def == null) { + def = new MimetypesFileTypeMap(); + map.put(tccl, def); + } + return def; } } diff -r 9d34f726e35b -r 8c3ac91d06c0 src/share/jaf_classes/javax/activation/MailcapCommandMap.java --- a/src/share/jaf_classes/javax/activation/MailcapCommandMap.java Wed Mar 19 10:04:21 2014 -0700 +++ b/src/share/jaf_classes/javax/activation/MailcapCommandMap.java Thu Apr 17 17:52:21 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -120,11 +120,7 @@ public class MailcapCommandMap extends CommandMap { /* * We manage a collection of databases, searched in order. - * The default database is shared between all instances - * of this class. - * XXX - Can we safely share more databases between instances? */ - private static MailcapFile defDB = null; private MailcapFile[] DB; private static final int PROG = 0; // programmatically added entries @@ -164,14 +160,10 @@ loadAllResources(dbv, "META-INF/mailcap"); LogSupport.log("MailcapCommandMap: load DEF"); - synchronized (MailcapCommandMap.class) { - // see if another instance has created this yet. - if (defDB == null) - defDB = loadResource("/META-INF/mailcap.default"); - } + mf = loadResource("/META-INF/mailcap.default"); - if (defDB != null) - dbv.add(defDB); + if (mf != null) + dbv.add(mf); DB = new MailcapFile[dbv.size()]; DB = (MailcapFile[])dbv.toArray(DB); diff -r 9d34f726e35b -r 8c3ac91d06c0 src/share/jaf_classes/javax/activation/MimetypesFileTypeMap.java --- a/src/share/jaf_classes/javax/activation/MimetypesFileTypeMap.java Wed Mar 19 10:04:21 2014 -0700 +++ b/src/share/jaf_classes/javax/activation/MimetypesFileTypeMap.java Thu Apr 17 17:52:21 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -69,11 +69,7 @@ public class MimetypesFileTypeMap extends FileTypeMap { /* * We manage a collection of databases, searched in order. - * The default database is shared between all instances - * of this class. - * XXX - Can we safely share more databases between instances? */ - private static MimeTypeFile defDB = null; private MimeTypeFile[] DB; private static final int PROG = 0; // programmatically added entries @@ -114,14 +110,10 @@ loadAllResources(dbv, "META-INF/mime.types"); LogSupport.log("MimetypesFileTypeMap: load DEF"); - synchronized (MimetypesFileTypeMap.class) { - // see if another instance has created this yet. - if (defDB == null) - defDB = loadResource("/META-INF/mimetypes.default"); - } + mf = loadResource("/META-INF/mimetypes.default"); - if (defDB != null) - dbv.addElement(defDB); + if (mf != null) + dbv.addElement(mf); DB = new MimeTypeFile[dbv.size()]; dbv.copyInto(DB); diff -r 9d34f726e35b -r 8c3ac91d06c0 src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/ContextClassloaderLocal.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/parser/ContextClassloaderLocal.java Thu Apr 17 17:52:21 2014 +0100 @@ -0,0 +1,86 @@ +/* + * Copyright (c) 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 + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +package com.sun.tools.internal.ws.wsdl.parser; + +import java.security.AccessController; +import java.security.PrivilegedAction; +import java.text.MessageFormat; +import java.util.ResourceBundle; +import java.util.WeakHashMap; + +/** + * Simple utility ensuring that the value is cached only in case it is non-internal implementation + */ +abstract class ContextClassloaderLocal { + + private static final String FAILED_TO_CREATE_NEW_INSTANCE = "FAILED_TO_CREATE_NEW_INSTANCE"; + + private WeakHashMap CACHE = new WeakHashMap(); + From andrew at icedtea.classpath.org Thu Apr 17 16:54:04 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 17 Apr 2014 16:54:04 +0000 Subject: /hg/release/icedtea7-forest-2.5/langtools: 54 new changesets Message-ID: changeset 3dc3e59e9580 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=3dc3e59e9580 author: katleman date: Wed Mar 26 09:28:25 2014 -0700 Added tag jdk7u60-b12 for changeset b79b8b1dc88f changeset a8b9c1929e50 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=a8b9c1929e50 author: katleman date: Wed Apr 02 09:31:54 2014 -0700 Added tag jdk7u60-b13 for changeset 3dc3e59e9580 changeset 95c13223f3b9 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=95c13223f3b9 author: katleman date: Wed Apr 09 08:44:55 2014 -0700 Added tag jdk7u60-b14 for changeset a8b9c1929e50 changeset 3e64e49131b8 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=3e64e49131b8 author: asaha date: Mon Dec 16 12:14:15 2013 -0800 Added tag jdk7u55-b00 for changeset 5b44df2114e4 changeset f6506ddb9433 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=f6506ddb9433 author: asaha date: Mon Dec 16 14:55:17 2013 -0800 Added tag jdk7u55-b01 for changeset 3e64e49131b8 changeset 11faf64b5153 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=11faf64b5153 author: asaha date: Mon Dec 16 18:55:10 2013 -0800 Merge changeset 5d04e4f8e09b in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=5d04e4f8e09b author: asaha date: Fri Dec 20 11:54:03 2013 -0800 Merge changeset f78274253714 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=f78274253714 author: asaha date: Fri Dec 20 14:17:23 2013 -0800 Merge changeset 2a9f5c00ba46 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=2a9f5c00ba46 author: asaha date: Fri Dec 20 21:38:15 2013 -0800 Merge changeset 11892b902d6c in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=11892b902d6c author: katleman date: Tue Dec 24 14:47:10 2013 -0800 Added tag jdk7u55-b02 for changeset 2a9f5c00ba46 changeset 0479d260ac83 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=0479d260ac83 author: asaha date: Thu Dec 26 16:02:32 2013 -0800 Merge changeset a1cdb7ff88b6 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=a1cdb7ff88b6 author: katleman date: Mon Jan 06 13:57:21 2014 -0800 Added tag jdk7u55-b03 for changeset 0479d260ac83 changeset 8f79a22ee7d1 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=8f79a22ee7d1 author: katleman date: Wed Jan 08 13:24:16 2014 -0800 Added tag jdk7u45-b35 for changeset efbda7abd821 changeset fb3ff30ecd8e in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=fb3ff30ecd8e author: asaha date: Wed Jan 08 14:18:19 2014 -0800 Merge changeset 7f3b35338390 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=7f3b35338390 author: asaha date: Thu Jan 09 07:59:42 2014 -0800 Merge changeset a244cc40ae0b in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=a244cc40ae0b author: bpatel date: Mon Jan 13 14:46:55 2014 -0800 8026736: Enhance Javadoc pages Reviewed-by: jjg changeset 25d63d986653 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=25d63d986653 author: katleman date: Mon Jan 13 16:15:06 2014 -0800 Added tag jdk7u55-b04 for changeset a244cc40ae0b changeset 76eeeaace70d in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=76eeeaace70d author: katleman date: Wed Jan 22 10:07:16 2014 -0800 Added tag jdk7u55-b05 for changeset 25d63d986653 changeset 08f7914d6aa9 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=08f7914d6aa9 author: katleman date: Tue Jan 28 11:50:07 2014 -0800 Added tag jdk7u55-b06 for changeset 76eeeaace70d changeset e64301b473b4 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=e64301b473b4 author: katleman date: Tue Feb 04 13:12:36 2014 -0800 Added tag jdk7u55-b07 for changeset 08f7914d6aa9 changeset 79e82c4b6547 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=79e82c4b6547 author: asaha date: Thu Feb 06 13:33:12 2014 -0800 Merge changeset a296112a3fd7 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=a296112a3fd7 author: katleman date: Tue Feb 11 13:12:43 2014 -0800 Added tag jdk7u55-b08 for changeset e64301b473b4 changeset 0d95d35e3dea in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=0d95d35e3dea author: asaha date: Tue Feb 11 15:25:33 2014 -0800 Merge changeset c2403682cf10 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=c2403682cf10 author: asaha date: Wed Feb 12 16:12:47 2014 -0800 Merge changeset faa9f8c51a6e in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=faa9f8c51a6e author: katleman date: Tue Feb 18 13:36:50 2014 -0800 Added tag jdk7u55-b09 for changeset a296112a3fd7 changeset 367192507b56 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=367192507b56 author: asaha date: Wed Feb 19 12:24:13 2014 -0800 Merge changeset 8048958f3e13 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=8048958f3e13 author: asaha date: Wed Feb 19 14:39:47 2014 -0800 Merge changeset 2bdd105e433d in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=2bdd105e433d author: katleman date: Tue Feb 25 12:21:21 2014 -0800 Added tag jdk7u55-b10 for changeset faa9f8c51a6e changeset 59efdc3e2dc2 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=59efdc3e2dc2 author: asaha date: Tue Feb 25 13:57:56 2014 -0800 Merge changeset 48b50f5261e1 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=48b50f5261e1 author: asaha date: Thu Feb 27 08:34:33 2014 -0800 Merge changeset a3cdca5d3773 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=a3cdca5d3773 author: katleman date: Tue Mar 04 12:02:32 2014 -0800 Added tag jdk7u55-b11 for changeset 2bdd105e433d changeset 7a9e17c49f4a in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=7a9e17c49f4a author: asaha date: Tue Mar 04 15:40:38 2014 -0800 Merge changeset a3a6a974a965 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=a3a6a974a965 author: asaha date: Wed Mar 05 13:30:06 2014 -0800 Merge changeset 70b8d2e146ea in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=70b8d2e146ea author: asaha date: Tue Mar 11 13:40:44 2014 -0700 Merge changeset 81bf1ca3a3a7 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=81bf1ca3a3a7 author: katleman date: Tue Mar 11 13:00:25 2014 -0700 Added tag jdk7u55-b12 for changeset a3cdca5d3773 changeset 02e9326a4655 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=02e9326a4655 author: asaha date: Tue Mar 11 14:35:01 2014 -0700 Merge changeset 55254a6d1caf in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=55254a6d1caf author: asaha date: Wed Mar 12 14:51:14 2014 -0700 Merge changeset 96d55b4d88fe in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=96d55b4d88fe author: katleman date: Tue Mar 18 12:08:15 2014 -0700 Added tag jdk7u55-b13 for changeset 81bf1ca3a3a7 changeset 4adc6c094545 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=4adc6c094545 author: katleman date: Fri Feb 14 09:00:06 2014 -0800 Added tag jdk7u51-b33 for changeset fb3ff30ecd8e changeset 0260a3969b5a in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=0260a3969b5a author: katleman date: Fri Feb 28 17:23:53 2014 -0800 Added tag jdk7u51-b34 for changeset 4adc6c094545 changeset 4f6115ba266e in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=4f6115ba266e author: asaha date: Tue Mar 18 12:45:26 2014 -0700 Merge changeset 9edfb8b2c760 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=9edfb8b2c760 author: asaha date: Tue Mar 18 13:05:33 2014 -0700 Merge changeset b5066734655f in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=b5066734655f author: asaha date: Wed Mar 19 10:21:32 2014 -0700 Merge changeset 66c893cd8323 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=66c893cd8323 author: asaha date: Wed Mar 26 21:26:57 2014 -0700 Merge changeset 070326eb7936 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=070326eb7936 author: katleman date: Thu Mar 27 11:37:20 2014 -0700 Added tag jdk7u55-b31 for changeset 4f6115ba266e changeset c1964a222000 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=c1964a222000 author: katleman date: Thu Mar 27 11:23:22 2014 -0700 Added tag jdk7u55-b30 for changeset 96d55b4d88fe changeset ec8793f5aa4f in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=ec8793f5aa4f author: asaha date: Thu Mar 27 12:00:02 2014 -0700 Merge changeset 79a577c2552c in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=79a577c2552c author: asaha date: Thu Mar 27 12:13:23 2014 -0700 Merge changeset 145ad4d90ad6 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=145ad4d90ad6 author: asaha date: Wed Apr 02 09:47:57 2014 -0700 Merge changeset 5ba843be1d57 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=5ba843be1d57 author: asaha date: Wed Apr 09 09:45:09 2014 -0700 Merge changeset 56c12a84e86e in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=56c12a84e86e author: katleman date: Tue Apr 15 11:50:50 2014 -0700 Added tag jdk7u55-b14 for changeset c1964a222000 changeset 7568ebdada11 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=7568ebdada11 author: asaha date: Tue Apr 15 12:46:08 2014 -0700 Merge changeset 057caf9e0774 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=057caf9e0774 author: katleman date: Wed Apr 16 12:26:32 2014 -0700 Added tag jdk7u60-b15 for changeset 7568ebdada11 changeset 2f5810fa2937 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=2f5810fa2937 author: andrew date: Thu Apr 17 17:52:22 2014 +0100 Merge jdk7u60-b15 diffstat: .hgtags | 40 ++ .jcheck/conf | 2 - make/Makefile | 4 + make/build.properties | 3 +- make/build.xml | 2 +- src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java | 4 +- test/com/sun/javadoc/testWindowTitle/TestWindowTitle.java | 154 +++++++++- test/tools/javac/T5090006/broken.jar | Bin 8 files changed, 193 insertions(+), 16 deletions(-) diffs (394 lines): diff -r b79b8b1dc88f -r 2f5810fa2937 .hgtags --- a/.hgtags Wed Mar 19 10:04:37 2014 -0700 +++ b/.hgtags Thu Apr 17 17:52:22 2014 +0100 @@ -50,6 +50,7 @@ 9596dff460935f09684c11d156ce591f92584f0d jdk7-b73 1a66b08deed0459054b5b1bea3dfbead30d258fa jdk7-b74 2485f5641ed0829205aaaeb31ad711c2c2ef0de3 jdk7-b75 +83367f01297bf255f511f5291bbbbaa24a9c8459 icedtea7-1.12 8fb9b4be3cb1574302acde90549a4d333ef51e93 jdk7-b76 0398ae15b90ac76d87ee21844453e95ff8613e43 jdk7-b77 acc1e40a5874ebf32bebcb6ada565b3b40b7461c jdk7-b78 @@ -63,6 +64,7 @@ ef07347428f2198ae6b8144ac0b9086bbe39fd16 jdk7-b86 409db93d19c002333980df5b797c6b965150c7a0 jdk7-b87 f9b5d4867a26f8c4b90ad37fe2c345b721e93d6b jdk7-b88 +681f1f51926faf4c73d8905a429ff4ead6e9d622 icedtea7-1.13 6cea9a143208bc1185ced046942c0f4e45dbeba5 jdk7-b89 71c2c23a7c35b2896c87004023b9743b6d1b7758 jdk7-b90 97b6fa97b8ddb3a49394011c2a0ec5d6535e594c jdk7-b91 @@ -111,6 +113,7 @@ 3d7acdbb72cab55deedfd35f60d4732abc9d6ac4 jdk7-b134 9d0a61ac567b983da7cc8f4a7030f2245bb6dbab jdk7-b135 ed0f7f1f9511db4f9615b1426d22f8b961629275 jdk7-b136 +8e26c4aee63c04ee129bf9068f5eea47cc385177 icedtea-1.14 a15c9b058ae007d4ccb7e35ce44e4dfa977f090b jdk7-b137 53f212bed4f4304dce7f0bf0fa01c998c65bacd6 jdk7-b138 853b6bb99f9b58eb7cf8211c67d3b6e4f1228a3e jdk7-b139 @@ -123,6 +126,7 @@ 9425dd4f53d5bfcd992d9aecea0eb7d8b2d4f62b jdk7-b146 d34578643d1c6c752d4a6b5e79c6ab1b60850b4a jdk7u1-b01 58bc532d63418ac3c9b42460d89cdaf595c6f3e1 jdk7-b147 +fb7fb3071b642334520e5b9f4a87ce28717af61c icedtea-2.0-branchpoint cd2cc8b5edb045b950aed46d159b4fb8fc2fd1df jdk7u1-b02 82820a30201dbf4b80f1916f3d0f4a92ad21b61a jdk7u1-b03 baa2c13c70fea3d6e259a34f0903197fdceb64b5 jdk7u1-b04 @@ -141,6 +145,7 @@ f0802d8a0909f66ce19d3d44b33ddf4943aee076 jdk7u2-b12 f474527e77e4797d78bd6c3b31923fddcfd9d5c6 jdk7u2-b13 fc0769df8cd03fffc38c7a1ab6b2e2e7cc2506a8 jdk7u2-b21 +58f6a950cd726220e81eddb126ca5c57e3b368f2 icedtea-2.1-branchpoint fc0769df8cd03fffc38c7a1ab6b2e2e7cc2506a8 jdk7u3-b02 0ffc4995457773085f61c39f6d33edc242b41bcf jdk7u3-b03 f6de36b195cd315646213c7affd2cc15702edbfb jdk7u3-b04 @@ -157,6 +162,7 @@ 8919b2b02fcba65f833c68374f3bfdd9bc3ba814 jdk7u4-b10 4672e092f0968d503dc37f860b15ae7e2653f8d7 jdk7u4-b11 a4bf6a1aff54a98e9ff2b3fb53c719f658bec677 jdk7u4-b12 +e3537a4f75c7fcca16c349c3175bb0cdc2fbc29c icedtea-2.2-branchpoint 56eb9150d9ffdb71c47d72871e8ecc98b5f402de jdk7u4-b13 0e55881c2ee2984048c179d1e031cefb56a36bec jdk7u4-b14 0bea057f7ce1577e1b0306f2027c057e35394398 jdk7u5-b01 @@ -186,11 +192,15 @@ 21d2313dfeac8c52a04b837d13958c86346a4b12 jdk7u6-b10 13d3c624291615593b4299a273085441b1dd2f03 jdk7u6-b11 f0be10a26af08c33d9afe8fe51df29572d431bac jdk7u6-b12 +e3eeee75b861baf378d41adcd29ae70ed047eae7 ppc-aix-port-b01 +e3eeee75b861baf378d41adcd29ae70ed047eae7 ppc-aix-port-b02 +e3eeee75b861baf378d41adcd29ae70ed047eae7 ppc-aix-port-b03 fcebf337f5c1d342973573d9c6f758443c8aefcf jdk7u6-b13 35b2699c6243e9fb33648c2c25e97ec91d0e3553 jdk7u6-b14 47ae28da508861d77ee6dd408d822acf507b28ec jdk7u6-b15 5c7763489f4d2727c6d9de11f4114fb8ed839042 jdk7u6-b16 66c671f28cb2840ceec5b44c44bac073fc0b4256 jdk7u6-b17 +cee31ee38a190f77b1e21c0515bb28802dcd9678 icedtea-2.3-branchpoint 6aa859ef42876c51bb1b1d7fb4db32a916a7dcaa jdk7u6-b18 474a52eeeafb1feccffda68b96f651e65415c01d jdk7u6-b19 32acb67a79531daf678577c7ef1bde1867da807d jdk7u6-b20 @@ -258,11 +268,13 @@ 382bab6d9682eefa2185a1643dfa32d65b6c20e5 jdk7u12-b07 7c0c3aeb2c603baba2cabba9adc5a0a49afb4f47 jdk7u12-b08 96c4f3ec63552a87a825baabd7f0dfafec299483 jdk7u12-b09 +85fb9d7ce4af53f0a47d2b73d983c96239f9ff33 icedtea-2.4-branchpoint e5b1403fa68abe3ac7174c031f19e6ecf77624a0 jdk7u14-b10 db94066df63468172e074d59e71d82dc874ed7cb jdk7u14-b11 f9a326e92fafc4724f0af550c2cba82fea202a31 jdk7u14-b12 5a52c6cc8db94b68eaacb42a9b4df30a40b09d82 jdk7u14-b13 5febc4e479fad801424cdcce90a0d463a2ef9223 jdk7u14-b14 +d52538e72925a1da7b1fcff051b591beeb2452b4 ppc-aix-port-b04 5fdb509d1f1a0533b14c61c92d77ff21e0ce2488 jdk7u14-b15 1298307076c2f0c2a4acd3a2a132cbe98d399009 jdk7u15-b01 8db0105f00ce9fe6899ece52d46d78995111c456 jdk7u15-b02 @@ -382,8 +394,10 @@ ba3ff27d4082f2cf0d06e635b2b6e01f80e78589 jdk7u45-b18 164cf7491ba2f371354ba343a604eee4c61c529d jdk7u45-b30 7f5cfaedb25c2c2774d6839810d6ae543557ca01 jdk7u45-b31 +849b17bc6e9a08fa41e0ef631e51366a09842e64 jdk7u60-b00 ef7bdbe7f1fa42fd58723e541d9cdedcacb2649a jdk7u45-b33 bcb3e939d046d75436c7c8511600b6edce42e6da jdk7u45-b34 +efbda7abd821f280ec3a3aa6819ad62d45595e55 jdk7u45-b35 18d1864abca976ca68cb71612e9b20c908455d3d jdk7u51-b00 14d1cf2630aea549cfba9d052200c7ebcabd875c jdk7u51-b01 f0168ccf171ed6080267fe0a7f7aed0b46bd5713 jdk7u51-b02 @@ -400,9 +414,30 @@ 4d0807934c302f2e35e6a5acc6cdc720c82b5671 jdk7u51-b13 ada23e55d76a378cb2fc2cd7ffae8c147aaf0055 jdk7u51-b30 e3d4896d52ab4ad0fc0b7a45d60340dbdcb8826d jdk7u51-b31 +fb3ff30ecd8ea1637551461bfaf09fc8204b536c jdk7u51-b33 +4adc6c094545774b324d2e5511723ada2b32e6c4 jdk7u51-b34 +5b44df2114e466da85c3816627bfcd1b59c6499d jdk7u55-b00 +3e64e49131b88c839733c9869ff8aebcd15cf828 jdk7u55-b01 +2a9f5c00ba46f895bc9d16a584bf7d80c1822268 jdk7u55-b02 +0479d260ac835eb3f0c7f3d7d15be0599b92a20a jdk7u55-b03 +a244cc40ae0b29028ff8503ee516cb5f9e3db6e3 jdk7u55-b04 +25d63d986653d81522b01bbd2664083ae5fdc243 jdk7u55-b05 +76eeeaace70d38795eef5215f758493421cee0ac jdk7u55-b06 +08f7914d6aa947e73269b4e60110ed12573ffa28 jdk7u55-b07 +e64301b473b43609cb28d8cfe7e5db17d9bf8a4a jdk7u55-b08 +a296112a3fd774c258375912c7ada38daf8eee1e jdk7u55-b09 +faa9f8c51a6e3fcb444729012a798e3ad09c3da4 jdk7u55-b10 +2bdd105e433da7fbf7f37ec2f75fc4bed4e54280 jdk7u55-b11 +a3cdca5d3773f67a49091f9131a4d073bc6b83d9 jdk7u55-b12 +81bf1ca3a3a71c628b7d952ba47c6f200a223f27 jdk7u55-b13 +96d55b4d88fea1d9f8227e70003210a6c10a1dba jdk7u55-b30 +c1964a222000b4884b992fdbaf8f62a45fb893c9 jdk7u55-b14 +4f6115ba266e5489b5e1968a28304f82be1f5641 jdk7u55-b31 849b17bc6e9a08fa41e0ef631e51366a09842e64 jdk7u60-b00 b19e375d9829daf207b1bdc7f908a3e1d548462c jdk7u60-b01 954e1616449af74f68aed57261cbeb62403377f1 jdk7u60-b02 +0d89cc5766d72e870eaf16696ec9b7b1ca4901fd icedtea-2.5pre01 +f75a642c2913e1ecbd22fc46812cffa2e7739169 icedtea-2.5pre02 4170784840d510b4e8ae7ae250b92279aaf5eb25 jdk7u60-b03 772aad4e9681828b8ee193b9ed971cbfe6c7f347 jdk7u60-b04 744287fccf3b2c4fba2abf105863f0a44c3bd4da jdk7u60-b05 @@ -412,3 +447,8 @@ 3f8b585403e596b7eadc231484f5480361c52c4b jdk7u60-b09 3ee98cd07065dfa9a982e6692a3e875684a7e820 jdk7u60-b10 3cc64ba8cf85942929b15c5ef21360f96db3b99c jdk7u60-b11 +f38810d86876a74b6267c207f47840c895e4f393 icedtea-2.5pre03 +b79b8b1dc88faa73229b2bce04e979ff5ec854f5 jdk7u60-b12 +3dc3e59e9580dfdf95dac57c54fe1a4209401125 jdk7u60-b13 +a8b9c1929e50a9f3ae9ae1a23c06fa73a57afce3 jdk7u60-b14 +7568ebdada118da1d1a6addcf6316ffda21801fd jdk7u60-b15 diff -r b79b8b1dc88f -r 2f5810fa2937 .jcheck/conf --- a/.jcheck/conf Wed Mar 19 10:04:37 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -project=jdk7 -bugids=dup diff -r b79b8b1dc88f -r 2f5810fa2937 make/Makefile --- a/make/Makefile Wed Mar 19 10:04:37 2014 -0700 +++ b/make/Makefile Thu Apr 17 17:52:22 2014 +0100 @@ -111,6 +111,10 @@ ANT_OPTIONS += -Ddebug.classfiles=true endif +ifeq ($(JAVAC_WARNINGS_FATAL), false) + ANT_OPTIONS += -Djavac.warnings.fatal= +endif + # Note: jdk/make/common/Defs.gmk uses LANGUAGE_VERSION (-source NN) # and the somewhat misnamed CLASS_VERSION (-target NN) ifdef TARGET_CLASS_VERSION diff -r b79b8b1dc88f -r 2f5810fa2937 make/build.properties --- a/make/build.properties Wed Mar 19 10:04:37 2014 -0700 +++ b/make/build.properties Thu Apr 17 17:52:22 2014 +0100 @@ -68,7 +68,8 @@ # set the following to -version to verify the versions of javac being used javac.version.opt = # in time, there should be no exceptions to -Xlint:all -javac.lint.opts = -Xlint:all,-deprecation -Werror +javac.warnings.fatal = -Werror +javac.lint.opts = -Xlint:all,-deprecation ${javac.warnings.fatal} # options for the task for javac #javadoc.jls3.url=http://java.sun.com/docs/books/jls/ diff -r b79b8b1dc88f -r 2f5810fa2937 make/build.xml --- a/make/build.xml Wed Mar 19 10:04:37 2014 -0700 +++ b/make/build.xml Thu Apr 17 17:52:22 2014 +0100 @@ -877,7 +877,7 @@ + classpath="${build.toolclasses.dir}:${build.bootstrap.dir}/classes:${ant.home}/lib/ant.jar"/> diff -r b79b8b1dc88f -r 2f5810fa2937 src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java --- a/src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java Wed Mar 19 10:04:37 2014 -0700 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java Thu Apr 17 17:52:22 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 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 @@ -235,7 +235,7 @@ } else if (opt.equals("-doctitle")) { doctitle = os[1]; } else if (opt.equals("-windowtitle")) { - windowtitle = os[1]; + windowtitle = os[1].replaceAll("\\<.*?>", ""); } else if (opt.equals("-top")) { top = os[1]; } else if (opt.equals("-bottom")) { diff -r b79b8b1dc88f -r 2f5810fa2937 test/com/sun/javadoc/testWindowTitle/TestWindowTitle.java --- a/test/com/sun/javadoc/testWindowTitle/TestWindowTitle.java Wed Mar 19 10:04:37 2014 -0700 +++ b/test/com/sun/javadoc/testWindowTitle/TestWindowTitle.java Thu Apr 17 17:52:22 2014 +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 @@ -23,7 +23,7 @@ /* * @test - * @bug 8016675 + * @bug 8016675 8026736 * @summary Test for window title. * @author Bhavesh Patel * @library ../lib/ @@ -34,26 +34,153 @@ public class TestWindowTitle extends JavadocTester { private static final String BUG_ID = "8016675"; - private static final String WIN_TITLE = + //Window title with JavaScript special characters. + private static final String TITLE_JS_CHARS = "Testing \"Window 'Title'\" with a \\ backslash and a / " + "forward slash and a \u00e8 unicode char also a tab and also a " + "\t special character another \u0002 unicode)"; - private static final String[][] TEST = { - {BUG_ID + FS + "overview-summary.html", + private static final String[] ARGS_JS_CHARS = new String[]{ + "-d", BUG_ID + "-1", "-windowtitle", TITLE_JS_CHARS, "-sourcepath", SRC_DIR, "p1", "p2" + }; + private static final String[][] TEST_JS_CHARS = { + {BUG_ID + "-1" + FS + "overview-summary.html", "parent.document.title=\"Overview (Testing \\\"Window \\\'Title\\\'\\\" " + "with a \\\\ backslash and a / forward slash and a \\u00E8 unicode char " + "also a tab and also a \\t special character another \\u0002 unicode))\";" }, }; - private static final String[][] NEG_TEST = { - {BUG_ID + FS + "overview-summary.html", + private static final String[][] NEG_TEST_JS_CHARS = { + {BUG_ID + "-1" + FS + "overview-summary.html", "parent.document.title=\"Overview (Testing \"Window \'Title\'\" " + "with a \\ backslash and a / forward slash and a \u00E8 unicode char " + "also a tab and also a \t special character another \u0002 unicode))\";" + } + }; + + //Window title with a script tag. + private static final String TITLE_SCRIPT_TAG = + "Testing script tag in title ."; + private static final String[] ARGS_SCRIPT_TAG = new String[]{ + "-d", BUG_ID + "-2", "-windowtitle", TITLE_SCRIPT_TAG, "-sourcepath", SRC_DIR, "p1", "p2" + }; + private static final String[][] TEST_SCRIPT_TAG = { + {BUG_ID + "-2" + FS + "overview-summary.html", + "parent.document.title=\"Overview (Testing script tag in title alert" + + "(\\\"Should not pop up\\\").)\";" }, + {BUG_ID + "-2" + FS + "p2" + FS + "C2.html", + "parent.document.title=\"C2 (Testing script tag in title alert" + + "(\\\"Should not pop up\\\").)\";" + } }; - private static final String[] ARGS = new String[]{ - "-d", BUG_ID, "-windowtitle", WIN_TITLE, "-sourcepath", SRC_DIR, "p1", "p2" + private static final String[][] NEG_TEST_SCRIPT_TAG = { + {BUG_ID + "-2" + FS + "overview-summary.html", + "parent.document.title=\"Overview (Testing script tag in title .)\";" + }, + {BUG_ID + "-2" + FS + "p2" + FS + "C2.html", + "parent.document.title=\"C2 (Testing script tag in title .)\";" + } + }; + + //Window title with other HTML tags. + private static final String TITLE_HTML_TAGS = + "Testing another

HTML

tag. Another

tag

. A " + + "tag with attributes. "; + private static final String[] ARGS_EMPTY_TAGS = new String[]{ + "-d", BUG_ID + "-5", "-windowtitle", TITLE_EMPTY_TAGS, "-sourcepath", SRC_DIR, "p1", "p2" + }; + private static final String[][] TEST_EMPTY_TAGS = { + {BUG_ID + "-5" + FS + "overview-summary.html", + "parent.document.title=\"Overview\";" + } + }; + private static final String[][] NEG_TEST_EMPTY_TAGS = { + {BUG_ID + "-5" + FS + "overview-summary.html", + "parent.document.title=\"Overview ()\";" + } + }; + + //Window title with unicode characters. + private static final String TITLE_UNICODE_CHARS = + "Testing unicode \u003cscript\u003ealert(\"Should not pop up\")\u003c/script\u003e."; + private static final String[] ARGS_UNICODE_CHARS = new String[]{ + "-d", BUG_ID + "-6", "-windowtitle", TITLE_UNICODE_CHARS, "-sourcepath", SRC_DIR, "p1", "p2" + }; + private static final String[][] TEST_UNICODE_CHARS = { + {BUG_ID + "-6" + FS + "overview-summary.html", + "parent.document.title=\"Overview (Testing unicode alert(\\\"Should " + + "not pop up\\\").)\";" + } + }; + private static final String[][] NEG_TEST_UNICODE_CHARS = { + {BUG_ID + "-6" + FS + "overview-summary.html", + "parent.document.title=\"Overview (Testing unicode .)\";" + } + }; + + //An empty window title. + private static final String TITLE_EMPTY = + ""; + private static final String[] ARGS_EMPTY_TITLE = new String[]{ + "-d", BUG_ID + "-7", "-windowtitle", TITLE_EMPTY, "-sourcepath", SRC_DIR, "p1", "p2" + }; + private static final String[][] TEST_EMPTY = { + {BUG_ID + "-7" + FS + "overview-summary.html", + "parent.document.title=\"Overview\";" + } + }; + + //Test doctitle. + private static final String[] ARGS_DOCTITLE = new String[]{ + "-d", BUG_ID + "-8", "-doctitle", TITLE_JS_CHARS, "-sourcepath", SRC_DIR, "p1", "p2" + }; + private static final String[][] NEG_TEST_DOCTITLE = { + {BUG_ID + "-8" + FS + "overview-summary.html", + "parent.document.title=\"Overview (Testing \\\"Window \\\'Title\\\'\\\" " + + "with a \\\\ backslash and a / forward slash and a \\u00E8 unicode char " + + "also a tab and also a \\t special character another \\u0002 unicode)\";" + }, }; /** @@ -62,7 +189,14 @@ */ public static void main(String[] args) { TestWindowTitle tester = new TestWindowTitle(); - run(tester, ARGS, TEST, NEG_TEST); + run(tester, ARGS_JS_CHARS, TEST_JS_CHARS, NEG_TEST_JS_CHARS); + run(tester, ARGS_SCRIPT_TAG, TEST_SCRIPT_TAG, NEG_TEST_SCRIPT_TAG); + run(tester, ARGS_HTML_TAGS, TEST_HTML_TAGS, NEG_TEST_HTML_TAGS); + run(tester, ARGS_HTML_ENTITIES, TEST_HTML_ENTITIES, NEG_TEST_HTML_ENTITIES); + run(tester, ARGS_EMPTY_TAGS, TEST_EMPTY_TAGS, NEG_TEST_EMPTY_TAGS); + run(tester, ARGS_UNICODE_CHARS, TEST_UNICODE_CHARS, NEG_TEST_UNICODE_CHARS); + run(tester, ARGS_EMPTY_TITLE, TEST_EMPTY, NO_TEST); + run(tester, ARGS_DOCTITLE, NO_TEST, NEG_TEST_DOCTITLE); tester.printSummary(); } diff -r b79b8b1dc88f -r 2f5810fa2937 test/tools/javac/T5090006/broken.jar Binary file test/tools/javac/T5090006/broken.jar has changed From andrew at icedtea.classpath.org Thu Apr 17 16:54:15 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 17 Apr 2014 16:54:15 +0000 Subject: /hg/release/icedtea7-forest-2.5/hotspot: 82 new changesets Message-ID: changeset e82a6a7c1e03 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=e82a6a7c1e03 author: chrisphi date: Wed Apr 16 16:09:05 2014 +0100 Fix accidental reversion of PR1188 for armel changeset 5853131ba4b4 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=5853131ba4b4 author: katleman date: Wed Mar 26 09:28:04 2014 -0700 Added tag jdk7u60-b12 for changeset cae50351dcec changeset 6d29056049f4 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=6d29056049f4 author: katleman date: Wed Apr 02 09:31:35 2014 -0700 Added tag jdk7u60-b13 for changeset 5853131ba4b4 changeset ee4082d91402 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=ee4082d91402 author: mgronlun date: Thu Mar 27 15:12:56 2014 +0100 8037340: Linux semaphores to use CLOCK_REALTIME Reviewed-by: dholmes, sla changeset b226be2040f9 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=b226be2040f9 author: lana date: Thu Apr 03 14:07:20 2014 -0700 Merge changeset 7e23c8cbeb8c in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=7e23c8cbeb8c author: katleman date: Wed Apr 09 08:44:36 2014 -0700 Added tag jdk7u60-b14 for changeset b226be2040f9 changeset 8942207fe300 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=8942207fe300 author: jwilhelm date: Mon Mar 31 13:22:14 2014 +0200 8037510: CMM Testing: Min/MaxHeapFreeRatio flags should be manageable through the API Summary: New tests added for manageable Min/MaxHeapFreeRatio Reviewed-by: jwilhelm, tschatzl Contributed-by: andrey.x.zakharov at oracle.com changeset a00a0ed34130 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=a00a0ed34130 author: coffeys date: Thu Apr 10 09:29:32 2014 +0100 Merge changeset e2c008218d66 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=e2c008218d66 author: asaha date: Wed Oct 23 13:53:41 2013 -0700 8027196: Increment minor version of HSx for 7u55 and initialize the build number Reviewed-by: jcoomes changeset 10848efaae50 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=10848efaae50 author: asaha date: Tue Oct 29 09:53:41 2013 -0700 Merge changeset 291ce272b61e in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=291ce272b61e author: aeriksso date: Thu Oct 31 16:49:53 2013 +0100 8026887: Make issues due to failed large pages allocations easier to debug Reviewed-by: stefank, mcastegr, poonam changeset db1734313388 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=db1734313388 author: asaha date: Tue Nov 05 12:03:32 2013 -0800 Merge changeset be6a1b65ba06 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=be6a1b65ba06 author: asaha date: Tue Nov 12 09:11:14 2013 -0800 Merge changeset 5a869822ce57 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=5a869822ce57 author: asaha date: Tue Nov 19 09:32:43 2013 -0800 Merge changeset 67c54d2ad34c in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=67c54d2ad34c author: asaha date: Wed Nov 27 11:19:05 2013 -0800 Merge changeset fb0e151fb1c6 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=fb0e151fb1c6 author: asaha date: Wed Dec 04 12:37:34 2013 -0800 Merge changeset a863ae5351d9 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=a863ae5351d9 author: jrose date: Thu Dec 05 14:38:53 2013 -0800 8029507: Enhance JVM method processing 8029533: REGRESSION: closed/java/lang/invoke/8008140/Test8008140.java fails against JPRT PIT 17891982 build 8026502: java/lang/invoke/MethodHandleConstants.java fails on all platforms Summary: update MemberName.clazz correctly in MemberName.resolve; also pass lookupClass to MethodHandles::resolve_MemberName Reviewed-by: acorn, vlivanov changeset 496f7585f7d0 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=496f7585f7d0 author: asaha date: Tue Dec 10 17:15:13 2013 -0800 Merge changeset dd90f1ad1fe8 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=dd90f1ad1fe8 author: asaha date: Mon Dec 16 12:12:41 2013 -0800 Added tag jdk7u55-b00 for changeset dee2a38ef6b2 changeset ac0063b4452b in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=ac0063b4452b author: asaha date: Mon Dec 16 13:04:36 2013 -0800 Merge changeset 2f09c332de9b in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=2f09c332de9b author: asaha date: Mon Dec 16 14:53:36 2013 -0800 Added tag jdk7u55-b01 for changeset ac0063b4452b changeset ea287a90718f in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=ea287a90718f author: asaha date: Mon Dec 16 18:49:35 2013 -0800 Merge changeset 89b9bdf85398 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=89b9bdf85398 author: asaha date: Fri Dec 20 11:47:26 2013 -0800 Merge changeset f1a5b7cc078f in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=f1a5b7cc078f author: asaha date: Fri Dec 20 14:13:38 2013 -0800 Merge changeset 408028d410e3 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=408028d410e3 author: asaha date: Fri Dec 20 21:30:47 2013 -0800 Merge changeset f80814d92860 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=f80814d92860 author: katleman date: Tue Dec 24 14:45:55 2013 -0800 Added tag jdk7u55-b02 for changeset 408028d410e3 changeset 50fb91504dd8 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=50fb91504dd8 author: asaha date: Thu Dec 26 15:50:54 2013 -0800 Merge changeset ff8e01218d6c in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=ff8e01218d6c author: katleman date: Mon Jan 06 13:56:54 2014 -0800 Added tag jdk7u55-b03 for changeset 50fb91504dd8 changeset 619b904e420a in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=619b904e420a author: katleman date: Wed Jan 08 13:23:53 2014 -0800 Added tag jdk7u45-b35 for changeset 12ea8d416f10 changeset 208419914859 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=208419914859 author: asaha date: Wed Jan 08 14:13:12 2014 -0800 Merge changeset 46236fe5d1fe in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=46236fe5d1fe author: asaha date: Thu Jan 09 07:55:58 2014 -0800 Merge changeset 3be3b8a032a5 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=3be3b8a032a5 author: dsimms date: Fri Jan 10 15:38:30 2014 +0100 8029858: Enhance array copies Summary: Just read the source element once Reviewed-by: coleenp, ahgross changeset fa17e3e38bb2 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=fa17e3e38bb2 author: katleman date: Mon Jan 13 16:14:38 2014 -0800 Added tag jdk7u55-b04 for changeset 3be3b8a032a5 changeset b86119fa2748 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=b86119fa2748 author: kvn date: Mon Nov 11 11:53:33 2013 -0800 8024830: SEGV in org.apache.lucene.codecs.compressing.CompressingTermVectorsReader.get Summary: Exclude last input argument's stack slots from vector's spilling masks. Reviewed-by: iveresov changeset 260d919d52e5 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=260d919d52e5 author: katleman date: Wed Jan 22 10:06:30 2014 -0800 Added tag jdk7u55-b05 for changeset b86119fa2748 changeset 8cf6e0a3a065 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=8cf6e0a3a065 author: katleman date: Tue Jan 28 11:49:28 2014 -0800 Added tag jdk7u55-b06 for changeset 260d919d52e5 changeset 049fd2cef85b in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=049fd2cef85b author: katleman date: Tue Feb 04 13:11:50 2014 -0800 Added tag jdk7u55-b07 for changeset 8cf6e0a3a065 changeset 9047d04b307a in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=9047d04b307a author: asaha date: Thu Feb 06 10:14:20 2014 -0800 Merge changeset bb5f0b751dcf in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=bb5f0b751dcf author: katleman date: Tue Feb 11 13:11:16 2014 -0800 Added tag jdk7u55-b08 for changeset 049fd2cef85b changeset 6943ae02fb04 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=6943ae02fb04 author: asaha date: Tue Feb 11 15:11:53 2014 -0800 Merge changeset 3c2420a7014b in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=3c2420a7014b author: asaha date: Wed Feb 12 16:08:15 2014 -0800 Merge changeset 9b238ab164e6 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=9b238ab164e6 author: miroslawzn date: Thu Jan 30 10:50:11 2014 -0800 8022452: Hotspot needs to know about Windows 8.1 and Windows Server 2012 R2 Reviewed-by: coleenp, ctornqvi changeset 573d8d080af9 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=573d8d080af9 author: katleman date: Tue Feb 18 12:41:17 2014 -0800 Added tag jdk7u55-b09 for changeset 9b238ab164e6 changeset 36f8bd4dd467 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=36f8bd4dd467 author: katleman date: Tue Feb 18 13:36:09 2014 -0800 Added tag jdk7u55-b09 for changeset 573d8d080af9 changeset bb7ef0de23c2 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=bb7ef0de23c2 author: asaha date: Wed Feb 19 12:14:47 2014 -0800 Merge changeset efa6b5e1980a in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=efa6b5e1980a author: asaha date: Wed Feb 19 14:36:03 2014 -0800 Merge changeset a54bc521a3b8 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=a54bc521a3b8 author: asaha date: Tue Feb 25 11:38:12 2014 -0800 Merge changeset 4adb2ebfcf54 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=4adb2ebfcf54 author: katleman date: Tue Feb 25 12:20:03 2014 -0800 Added tag jdk7u55-b10 for changeset 36f8bd4dd467 changeset e325ae91a061 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=e325ae91a061 author: asaha date: Tue Feb 25 13:52:09 2014 -0800 Merge changeset beeaee2df810 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=beeaee2df810 author: asaha date: Thu Feb 27 08:30:16 2014 -0800 Merge changeset 49f4a81eabd5 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=49f4a81eabd5 author: asaha date: Mon Mar 03 11:56:00 2014 -0800 Merge changeset bc52bce9e569 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=bc52bce9e569 author: asaha date: Mon Mar 03 09:19:30 2014 -0800 8036147: Increment hsx 24.55 build to b02 for 7u55-b11 Reviewed-by: jcoomes changeset 49cada8e39b9 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=49cada8e39b9 author: dholmes date: Fri Feb 28 17:30:14 2014 +0000 8014460: Need to check for non-empty EXT_LIBS_PATH before using it Reviewed-by: tbell, collins, sla, coleenp changeset 2c47e6310e00 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=2c47e6310e00 author: katleman date: Tue Mar 04 12:01:41 2014 -0800 Added tag jdk7u55-b11 for changeset 49cada8e39b9 changeset ae99b9328cf3 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=ae99b9328cf3 author: asaha date: Tue Mar 04 15:35:18 2014 -0800 Merge changeset 939f46908506 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=939f46908506 author: asaha date: Wed Mar 05 13:25:01 2014 -0800 Merge changeset 67a853a5a05c in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=67a853a5a05c author: asaha date: Thu Mar 06 13:40:24 2014 -0800 8036837: Increment hsx 24.55 build to b03 for 7u55-b12 Reviewed-by: jcoomes changeset 8cc154e4a3d6 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=8cc154e4a3d6 author: poonam date: Fri Feb 28 02:45:17 2014 -0800 8035283: Second phase of branch shortening doesn't account for loop alignment Summary: added missing check for loop padding case. Reviewed-by: kvn, jrose changeset aadc864abd1c in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=aadc864abd1c author: hseigel date: Thu Feb 20 13:51:45 2014 -0500 8034926: Attribute classes properly Summary: Add check to prevent underflow Reviewed-by: coleenp, ahgross changeset b021fd817a01 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=b021fd817a01 author: katleman date: Tue Mar 11 12:59:26 2014 -0700 Added tag jdk7u55-b12 for changeset aadc864abd1c changeset 58499c7a5175 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=58499c7a5175 author: asaha date: Tue Mar 11 13:58:48 2014 -0700 Merge changeset 6a517d8dd231 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=6a517d8dd231 author: asaha date: Wed Mar 12 14:49:04 2014 -0700 Merge changeset d27b468d5f3b in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=d27b468d5f3b author: katleman date: Tue Mar 18 12:07:41 2014 -0700 Added tag jdk7u55-b13 for changeset b021fd817a01 changeset e9e1d7b07b68 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=e9e1d7b07b68 author: katleman date: Fri Feb 14 08:59:13 2014 -0800 Added tag jdk7u51-b33 for changeset 208419914859 changeset f5a68bb4e4f6 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=f5a68bb4e4f6 author: asaha date: Fri Feb 28 07:55:01 2014 -0800 8036027: Increment hsx 24.51 build to b04 for 7u51-b34 Reviewed-by: jcoomes changeset f8457a75bdb5 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=f8457a75bdb5 author: poonam date: Fri Feb 28 02:45:17 2014 -0800 8035283: Second phase of branch shortening doesn't account for loop alignment Summary: added missing check for loop padding case. Reviewed-by: kvn, jrose changeset eeed79e84166 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=eeed79e84166 author: katleman date: Fri Feb 28 17:23:01 2014 -0800 Added tag jdk7u51-b34 for changeset f8457a75bdb5 changeset 817559986488 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=817559986488 author: asaha date: Tue Mar 18 12:31:20 2014 -0700 Merge changeset 78a3bb888434 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=78a3bb888434 author: asaha date: Tue Mar 18 12:57:51 2014 -0700 Merge changeset 294deedf70e3 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=294deedf70e3 author: asaha date: Wed Mar 19 10:19:00 2014 -0700 Merge changeset ecb1cffb30e4 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=ecb1cffb30e4 author: asaha date: Wed Mar 26 21:25:09 2014 -0700 Merge changeset f7eff46b1418 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=f7eff46b1418 author: katleman date: Thu Mar 27 11:36:40 2014 -0700 Added tag jdk7u55-b31 for changeset 817559986488 changeset dff9147a7816 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=dff9147a7816 author: katleman date: Thu Mar 27 11:23:03 2014 -0700 Added tag jdk7u55-b30 for changeset d27b468d5f3b changeset ba9270b8fb1f in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=ba9270b8fb1f author: asaha date: Thu Mar 27 11:55:57 2014 -0700 Merge changeset de98b3410d60 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=de98b3410d60 author: asaha date: Thu Mar 27 12:07:27 2014 -0700 Merge changeset aae8da94a741 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=aae8da94a741 author: asaha date: Wed Apr 02 09:45:54 2014 -0700 Merge changeset 2793b550b13e in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=2793b550b13e author: asaha date: Wed Apr 09 09:43:02 2014 -0700 Merge changeset 24f291386c96 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=24f291386c96 author: asaha date: Mon Apr 14 10:53:36 2014 -0700 Merge changeset 4e73c6403b44 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=4e73c6403b44 author: katleman date: Tue Apr 15 11:49:52 2014 -0700 Added tag jdk7u55-b14 for changeset dff9147a7816 changeset 2871f345b7e5 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=2871f345b7e5 author: asaha date: Tue Apr 15 12:34:03 2014 -0700 Merge changeset ec76bacbb5b9 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=ec76bacbb5b9 author: katleman date: Wed Apr 16 12:26:14 2014 -0700 Added tag jdk7u60-b15 for changeset 2871f345b7e5 changeset 6dfe2b3e243c in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=6dfe2b3e243c author: andrew date: Thu Apr 17 17:52:25 2014 +0100 Merge jdk7u60-b15 diffstat: .hgtags | 25 ++ make/bsd/makefiles/arm.make | 6 +- make/linux/makefiles/arm.make | 6 +- src/cpu/zero/vm/cppInterpreter_arm.S | 2 +- src/os/linux/vm/os_linux.cpp | 20 +- src/share/vm/classfile/classFileParser.cpp | 7 +- src/share/vm/oops/objArrayKlass.cpp | 2 +- src/share/vm/opto/output.cpp | 15 +- test/gc/arguments/TestDynMaxHeapFreeRatio.java | 64 +++++ test/gc/arguments/TestDynMinHeapFreeRatio.java | 62 +++++ test/testlibrary/com/oracle/java/testlibrary/DynamicVMOptionChecker.java | 111 ++++++++++ test/testlibrary/com/oracle/java/testlibrary/TestDynamicVMOption.java | 95 ++++++++ 12 files changed, 404 insertions(+), 11 deletions(-) diffs (truncated from 573 to 500 lines): diff -r f4abc2022f98 -r 6dfe2b3e243c .hgtags --- a/.hgtags Wed Apr 02 20:04:16 2014 +0100 +++ b/.hgtags Thu Apr 17 17:52:25 2014 +0100 @@ -607,6 +607,7 @@ cc83359f5e5eb46dd9176b0a272390b1a0a51fdc hs24.60-b01 c373a733d5d5147f99eaa2b91d6b937c28214fc9 jdk7u45-b33 0bcb43482f2ac5615437541ffb8dc0f79ece3148 jdk7u45-b34 +12ea8d416f105f5971c808c89dddc1006bfc4c53 jdk7u45-b35 429884602206fcf5314c8b953c06d54d337558ca jdk7u51-b00 68f03ff066f2341b89b52a6d6e21ae09de008351 jdk7u51-b01 67910a581eca113847c5320c49436a9816c5d5c6 jdk7u51-b02 @@ -623,6 +624,26 @@ 6c6a2299029ad02fa2820b8ff8c61c2bbcae799c jdk7u51-b13 a398ddc79d2310ad37b131cc3794b3cf574f088e jdk7u51-b30 cf4110c35afb10456d8264c47b7cde1c20150cab jdk7u51-b31 +208419914859dd77abdb5ec755b32c237ee6e4eb jdk7u51-b33 +f8457a75bdb5052f1d8c547027a926f9b755b808 jdk7u51-b34 +dee2a38ef6b26534c44c550ef4da2c3146c612c2 jdk7u55-b00 +ac0063b4452bc724e8648e64f4b2d495054bb308 jdk7u55-b01 +408028d410e316a99495c42df0031018890c22fe jdk7u55-b02 +50fb91504dd8cdf410eb956075442daf3aacf1db jdk7u55-b03 +3be3b8a032a5508646c1c5620cee18d3e69fc708 jdk7u55-b04 +b86119fa2748bd91ae4984ff2264da92b6626f8c jdk7u55-b05 +260d919d52e500a0b20f911fade2a7710474067a jdk7u55-b06 +8cf6e0a3a0651c4132ae034c2b68ddf4eb5c4d88 jdk7u55-b07 +049fd2cef85bf2d557dd7dd8a90a6831a8168ce4 jdk7u55-b08 +9b238ab164e6d1cf9cfb560827d88ef8a7d8c898 jdk7u55-b09 +573d8d080af9eff48aa3b8f0696d8874ce36fbb1 jdk7u55-b09 +36f8bd4dd467ae4183340842fd7158ac3309b826 jdk7u55-b10 +49cada8e39b9215b9fd8b9183743f92625587cfc jdk7u55-b11 +aadc864abd1ced3049bf59ce32786a07997ba190 jdk7u55-b12 +b021fd817a0177b31d1e3d65127a27458e85801e jdk7u55-b13 +d27b468d5f3be3329ff1ff342f3347e6b2e0303b jdk7u55-b30 +dff9147a781672f20bb0577a94233264ea4a95d1 jdk7u55-b14 +8175599864880938d68d0a515fa561043d7d5fd0 jdk7u55-b31 ae4adc1492d1c90a70bd2d139a939fc0c8329be9 jdk7u60-b00 af1fc2868a2b919727bfbb0858449bd991bbee4a jdk7u40-b60 cc83359f5e5eb46dd9176b0a272390b1a0a51fdc hs24.60-b01 @@ -647,3 +668,7 @@ 6f74afd8577eb4b6a0e6f7b25cfef7d6f7d92e5f jdk7u60-b10 a2ac67a2c1cc867a8d6b525ab1df17204186e636 jdk7u60-b11 903304e152fc584b85cbf241fd293f8dcf1c6605 icedtea-2.5pre03 +cae50351dcece6e5bf215eabf958c5d669ffff1f jdk7u60-b12 +5853131ba4b448c5d89a3f0aa501fdf07f3b473c jdk7u60-b13 +b226be2040f971855626f5b88cb41a7d5299fea0 jdk7u60-b14 +2871f345b7e5585e20dc7aa91035967fe774cfba jdk7u60-b15 diff -r f4abc2022f98 -r 6dfe2b3e243c make/bsd/makefiles/arm.make --- a/make/bsd/makefiles/arm.make Wed Apr 02 20:04:16 2014 +0100 +++ b/make/bsd/makefiles/arm.make Thu Apr 17 17:52:25 2014 +0100 @@ -1,5 +1,5 @@ # -# Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2008, 2013, 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 @@ -24,6 +24,8 @@ Obj_Files += bsd_arm.o -LIBS += $(EXT_LIBS_PATH)/sflt_glibc.a +ifneq ($(EXT_LIBS_PATH),) + LIBS += $(EXT_LIBS_PATH)/sflt_glibc.a +endif CFLAGS += -DVM_LITTLE_ENDIAN diff -r f4abc2022f98 -r 6dfe2b3e243c make/linux/makefiles/arm.make --- a/make/linux/makefiles/arm.make Wed Apr 02 20:04:16 2014 +0100 +++ b/make/linux/makefiles/arm.make Thu Apr 17 17:52:25 2014 +0100 @@ -1,5 +1,5 @@ # -# Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2008, 2013, 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 @@ -24,6 +24,8 @@ Obj_Files += linux_arm.o -LIBS += $(EXT_LIBS_PATH)/sflt_glibc.a +ifneq ($(EXT_LIBS_PATH),) + LIBS += $(EXT_LIBS_PATH)/sflt_glibc.a +endif CFLAGS += -DVM_LITTLE_ENDIAN diff -r f4abc2022f98 -r 6dfe2b3e243c src/cpu/zero/vm/cppInterpreter_arm.S --- a/src/cpu/zero/vm/cppInterpreter_arm.S Wed Apr 02 20:04:16 2014 +0100 +++ b/src/cpu/zero/vm/cppInterpreter_arm.S Thu Apr 17 17:52:25 2014 +0100 @@ -367,7 +367,7 @@ flds s1, [stack, #4] add stack, #4 #else - POP r0 + POP r1 #endif .endm diff -r f4abc2022f98 -r 6dfe2b3e243c src/os/linux/vm/os_linux.cpp --- a/src/os/linux/vm/os_linux.cpp Wed Apr 02 20:04:16 2014 +0100 +++ b/src/os/linux/vm/os_linux.cpp Thu Apr 17 17:52:25 2014 +0100 @@ -128,6 +128,8 @@ #define MAX_PATH (2 * K) +#define MAX_SECS 100000000 + // for timer info max values which include all bits #define ALL_64_BITS CONST64(0xFFFFFFFFFFFFFFFF) @@ -2531,7 +2533,6 @@ sem_t _semaphore; }; - Semaphore::Semaphore() { sem_init(&_semaphore, 0, 0); } @@ -2553,8 +2554,22 @@ } bool Semaphore::timedwait(unsigned int sec, int nsec) { + struct timespec ts; - unpackTime(&ts, false, (sec * NANOSECS_PER_SEC) + nsec); + // Semaphore's are always associated with CLOCK_REALTIME + os::Linux::clock_gettime(CLOCK_REALTIME, &ts); + // see unpackTime for discussion on overflow checking + if (sec >= MAX_SECS) { + ts.tv_sec += MAX_SECS; + ts.tv_nsec = 0; + } else { + ts.tv_sec += sec; + ts.tv_nsec += nsec; + if (ts.tv_nsec >= NANOSECS_PER_SEC) { + ts.tv_nsec -= NANOSECS_PER_SEC; + ++ts.tv_sec; // note: this must be <= max_secs + } + } while (1) { int result = sem_timedwait(&_semaphore, &ts); @@ -5875,7 +5890,6 @@ * is no need to track notifications. */ -#define MAX_SECS 100000000 /* * This code is common to linux and solaris and will be moved to a * common place in dolphin. diff -r f4abc2022f98 -r 6dfe2b3e243c src/share/vm/classfile/classFileParser.cpp --- a/src/share/vm/classfile/classFileParser.cpp Wed Apr 02 20:04:16 2014 +0100 +++ b/src/share/vm/classfile/classFileParser.cpp Thu Apr 17 17:52:25 2014 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 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 @@ -2661,6 +2661,11 @@ "Short length on BootstrapMethods in class file %s", CHECK); + guarantee_property(attribute_byte_length > sizeof(u2), + "Invalid BootstrapMethods attribute length %u in class file %s", + attribute_byte_length, + CHECK); + // The attribute contains a counted array of counted tuples of shorts, // represending bootstrap specifiers: // length*{bootstrap_method_index, argument_count*{argument_index}} diff -r f4abc2022f98 -r 6dfe2b3e243c src/share/vm/oops/objArrayKlass.cpp --- a/src/share/vm/oops/objArrayKlass.cpp Wed Apr 02 20:04:16 2014 +0100 +++ b/src/share/vm/oops/objArrayKlass.cpp Thu Apr 17 17:52:25 2014 +0100 @@ -149,7 +149,7 @@ if (element_is_null || Klass::cast((new_val->klass()))->is_subtype_of(bound)) { bs->write_ref_field_pre(p, new_val); - *p = *from; + *p = element; } else { // We must do a barrier to cover the partial copy. const size_t pd = pointer_delta(p, dst, (size_t)heapOopSize); diff -r f4abc2022f98 -r 6dfe2b3e243c src/share/vm/opto/output.cpp --- a/src/share/vm/opto/output.cpp Wed Apr 02 20:04:16 2014 +0100 +++ b/src/share/vm/opto/output.cpp Thu Apr 17 17:52:25 2014 +0100 @@ -345,6 +345,11 @@ uint* jmp_offset = NEW_RESOURCE_ARRAY(uint,nblocks); uint* jmp_size = NEW_RESOURCE_ARRAY(uint,nblocks); int* jmp_nidx = NEW_RESOURCE_ARRAY(int ,nblocks); + + // Collect worst case block paddings + int* block_worst_case_pad = NEW_RESOURCE_ARRAY(int, nblocks); + memset(block_worst_case_pad, 0, nblocks * sizeof(int)); + DEBUG_ONLY( uint *jmp_target = NEW_RESOURCE_ARRAY(uint,nblocks); ) DEBUG_ONLY( uint *jmp_rule = NEW_RESOURCE_ARRAY(uint,nblocks); ) @@ -461,6 +466,7 @@ last_avoid_back_to_back_adr += max_loop_pad; } blk_size += max_loop_pad; + block_worst_case_pad[i + 1] = max_loop_pad; } } @@ -500,9 +506,16 @@ if (bnum > i) { // adjust following block's offset offset -= adjust_block_start; } + + // This block can be a loop header, account for the padding + // in the previous block. + int block_padding = block_worst_case_pad[i]; + assert(i == 0 || block_padding == 0 || br_offs >= block_padding, "Should have at least a padding on top"); // In the following code a nop could be inserted before // the branch which will increase the backward distance. - bool needs_padding = ((uint)br_offs == last_may_be_short_branch_adr); + bool needs_padding = ((uint)(br_offs - block_padding) == last_may_be_short_branch_adr); + assert(!needs_padding || jmp_offset[i] == 0, "padding only branches at the beginning of block"); + if (needs_padding && offset <= 0) offset -= nop_size; diff -r f4abc2022f98 -r 6dfe2b3e243c test/gc/arguments/TestDynMaxHeapFreeRatio.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/gc/arguments/TestDynMaxHeapFreeRatio.java Thu Apr 17 17:52:25 2014 +0100 @@ -0,0 +1,64 @@ +/* + * Copyright (c) 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 + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +/** + * @test TestDynMaxHeapFreeRatio + * @bug 8028391 + * @summary Verify that MaxHeapFreeRatio flag is manageable + * @library /testlibrary + * @run main TestDynMaxHeapFreeRatio + * @run main/othervm -XX:MinHeapFreeRatio=0 -XX:MaxHeapFreeRatio=100 TestDynMaxHeapFreeRatio + * @run main/othervm -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=50 -XX:-UseAdaptiveSizePolicy TestDynMaxHeapFreeRatio + * @run main/othervm -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=50 TestDynMaxHeapFreeRatio + * @run main/othervm -XX:MinHeapFreeRatio=51 -XX:MaxHeapFreeRatio=52 TestDynMaxHeapFreeRatio + * @run main/othervm -XX:MinHeapFreeRatio=75 -XX:MaxHeapFreeRatio=100 TestDynMaxHeapFreeRatio + */ +import com.oracle.java.testlibrary.TestDynamicVMOption; +import com.oracle.java.testlibrary.DynamicVMOptionChecker; + +public class TestDynMaxHeapFreeRatio extends TestDynamicVMOption { + + public static final String MinFreeRatioFlagName = "MinHeapFreeRatio"; + public static final String MaxFreeRatioFlagName = "MaxHeapFreeRatio"; + + public TestDynMaxHeapFreeRatio() { + super(MaxFreeRatioFlagName); + } + + public void test() { + + int minHeapFreeValue = DynamicVMOptionChecker.getIntValue(MinFreeRatioFlagName); + System.out.println(MinFreeRatioFlagName + " = " + minHeapFreeValue); + + testPercentageValues(); + + checkInvalidValue(Integer.toString(minHeapFreeValue - 1)); + checkValidValue(Integer.toString(minHeapFreeValue)); + checkValidValue("100"); + } + + public static void main(String args[]) throws Exception { + new TestDynMaxHeapFreeRatio().test(); + } + +} diff -r f4abc2022f98 -r 6dfe2b3e243c test/gc/arguments/TestDynMinHeapFreeRatio.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/gc/arguments/TestDynMinHeapFreeRatio.java Thu Apr 17 17:52:25 2014 +0100 @@ -0,0 +1,62 @@ +/* + * Copyright (c) 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 + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +/** + * @test TestDynMinHeapFreeRatio + * @bug 8028391 + * @summary Verify that MinHeapFreeRatio flag is manageable + * @library /testlibrary + * @run main TestDynMinHeapFreeRatio + * @run main/othervm -XX:MinHeapFreeRatio=0 -XX:MaxHeapFreeRatio=100 TestDynMinHeapFreeRatio + * @run main/othervm -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=50 -XX:-UseAdaptiveSizePolicy TestDynMinHeapFreeRatio + * @run main/othervm -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=50 TestDynMinHeapFreeRatio + * @run main/othervm -XX:MinHeapFreeRatio=51 -XX:MaxHeapFreeRatio=52 TestDynMinHeapFreeRatio + * @run main/othervm -XX:MinHeapFreeRatio=75 -XX:MaxHeapFreeRatio=100 TestDynMinHeapFreeRatio + */ +import com.oracle.java.testlibrary.TestDynamicVMOption; +import com.oracle.java.testlibrary.DynamicVMOptionChecker; + +public class TestDynMinHeapFreeRatio extends TestDynamicVMOption { + + public static final String MinFreeRatioFlagName = "MinHeapFreeRatio"; + public static final String MaxFreeRatioFlagName = "MaxHeapFreeRatio"; + + public TestDynMinHeapFreeRatio() { + super(MinFreeRatioFlagName); + } + + public void test() { + int maxHeapFreeValue = DynamicVMOptionChecker.getIntValue(MaxFreeRatioFlagName); + System.out.println(MaxFreeRatioFlagName + " = " + maxHeapFreeValue); + + testPercentageValues(); + + checkInvalidValue(Integer.toString(maxHeapFreeValue + 1)); + checkValidValue(Integer.toString(maxHeapFreeValue)); + checkValidValue("0"); + } + + public static void main(String args[]) throws Exception { + new TestDynMinHeapFreeRatio().test(); + } +} diff -r f4abc2022f98 -r 6dfe2b3e243c test/testlibrary/com/oracle/java/testlibrary/DynamicVMOptionChecker.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/testlibrary/com/oracle/java/testlibrary/DynamicVMOptionChecker.java Thu Apr 17 17:52:25 2014 +0100 @@ -0,0 +1,111 @@ +/* + * Copyright (c) 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 + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ +package com.oracle.java.testlibrary; + +import com.sun.management.HotSpotDiagnosticMXBean; +import com.sun.management.VMOption; +import java.lang.management.ManagementFactory; + +/** + * Simple class to check writeability, invalid and valid values for VMOption + */ +public class DynamicVMOptionChecker { + + /** + * Reads VM option from PlatformMXBean and parse it to integer value + * + * @param name of option + * @return parsed value + */ + public static int getIntValue(String name) { + + VMOption option = ManagementFactory. + getPlatformMXBean(HotSpotDiagnosticMXBean.class). + getVMOption(name); + + return Integer.parseInt(option.getValue()); + } + + /** + * Checks that VM option is dynamically writable + * + * @param name + * @throws RuntimeException if option if not writable + * @return always true + */ + public static boolean checkIsWritable(String name) { + VMOption option = ManagementFactory. + getPlatformMXBean(HotSpotDiagnosticMXBean.class). + getVMOption(name); + + if (!option.isWriteable()) { + throw new RuntimeException(name + " is not writable"); + } + + return true; + } + + /** + * Checks that value cannot be set + * + * @param name of flag + * @param value string representation of value to set + * @throws RuntimeException on error - when expected exception hasn't been thrown + */ + public static void checkInvalidValue(String name, String value) { + // should throw + try { + ManagementFactory. + getPlatformMXBean(HotSpotDiagnosticMXBean.class). + setVMOption(name, value); + + } catch (IllegalArgumentException e) { + return; + } + + throw new RuntimeException("Expected IllegalArgumentException was not thrown, " + name + "= " + value); + } + + /** + * Checks that value can be set + * + * @param name of flag to set + * @param value string representation of value to set + * @throws RuntimeException on error - when value in VM is not equal to origin + */ + public static void checkValidValue(String name, String value) { + ManagementFactory. + getPlatformMXBean(HotSpotDiagnosticMXBean.class). + setVMOption(name, value); + + VMOption option = ManagementFactory. + getPlatformMXBean(HotSpotDiagnosticMXBean.class). + getVMOption(name); + + if (!option.getValue().equals(value)) { + throw new RuntimeException("Actual value of " + name + " \"" + option.getValue() + + "\" not equal origin \"" + value + "\""); + } + } + +} diff -r f4abc2022f98 -r 6dfe2b3e243c test/testlibrary/com/oracle/java/testlibrary/TestDynamicVMOption.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/testlibrary/com/oracle/java/testlibrary/TestDynamicVMOption.java Thu Apr 17 17:52:25 2014 +0100 @@ -0,0 +1,95 @@ +/* + * Copyright (c) 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 + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ From andrew at icedtea.classpath.org Thu Apr 17 16:54:55 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 17 Apr 2014 16:54:55 +0000 Subject: /hg/release/icedtea7-forest-2.5/jdk: 144 new changesets Message-ID: changeset 79ed8f597afa in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=79ed8f597afa author: katleman date: Wed Mar 26 09:28:16 2014 -0700 Added tag jdk7u60-b12 for changeset 1a90de8005e3 changeset 90077564c80e in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=90077564c80e author: aefimov date: Wed Mar 19 19:16:01 2014 +0400 8037012: (tz) Support tzdata2014a Reviewed-by: coffeys, okutsu, sherman changeset 815450ef3bc7 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=815450ef3bc7 author: naoto date: Mon Sep 30 16:15:49 2013 -0700 8016110: Japanese char (MS932) 0x5C cannot be used as an argument when quoted Reviewed-by: ksrini, akhil changeset b06d4ed71ae0 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=b06d4ed71ae0 author: lana date: Thu Mar 27 13:49:20 2014 -0700 Merge changeset 2b9972e96cf8 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=2b9972e96cf8 author: katleman date: Wed Apr 02 09:31:46 2014 -0700 Added tag jdk7u60-b13 for changeset b06d4ed71ae0 changeset 08512d0648dc in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=08512d0648dc author: weijun date: Wed Mar 05 09:43:15 2014 +0800 7176574: sun/security/krb5/auto/TcpTimeout.java failed with solaris-i586 Reviewed-by: xuelei changeset d251ab1f1761 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=d251ab1f1761 author: weijun date: Wed Mar 12 14:18:01 2014 +0800 8035963: The failed Kerberos tests due to timeouts Reviewed-by: alanb, xuelei changeset 6bac2d7b0d04 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=6bac2d7b0d04 author: lana date: Tue Apr 01 21:24:31 2014 -0700 Merge changeset a7f1881673cd in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=a7f1881673cd author: chegar date: Wed Mar 26 20:35:47 2014 +0000 8034181: SIGBUS in SctpChannelImpl receive Reviewed-by: alanb, dsamersoff changeset b7fbd9b4febf in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=b7fbd9b4febf author: lana date: Thu Apr 03 14:08:03 2014 -0700 Merge changeset 668d7d315bd8 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=668d7d315bd8 author: katleman date: Wed Apr 09 08:44:44 2014 -0700 Added tag jdk7u60-b14 for changeset b7fbd9b4febf changeset 0b2b0051e7a1 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=0b2b0051e7a1 author: pchelko date: Tue Apr 08 16:59:01 2014 +0400 8039097: Some tests fail with NPE since 7u60 b12 Reviewed-by: serb, alexsch changeset 91bfea07f665 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=91bfea07f665 author: coffeys date: Thu Apr 10 09:29:39 2014 +0100 Merge changeset ff7327ac386e in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=ff7327ac386e author: malenkov date: Thu Oct 24 13:10:36 2013 +0400 8026797: Enhance data transfers Reviewed-by: art, skoivu changeset f58ff2903a96 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=f58ff2903a96 author: xuelei date: Thu Oct 24 10:07:51 2013 -0700 8027204: Revise the update of 8026204 and 8025758 Summary: Rivise the update to use system class loader with null TCCL. Also reviewed by Alexander Fomin Reviewed-by: weijun, mchung, ahgross changeset ab5307d46f53 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=ab5307d46f53 author: serb date: Mon Oct 28 20:51:33 2013 +0400 8026163: Enhance media provisioning Reviewed-by: art, skoivu changeset 290217f41970 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=290217f41970 author: alanb date: Thu Oct 24 19:21:52 2013 +0100 8021257: com.sun.corba.se.** should be on restricted package list Reviewed-by: chegar, coffeys, smarks Contributed-by: alan.bateman at oracle.com, mark.sheppard at oracle.com changeset 2e7137407d27 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=2e7137407d27 author: kshefov date: Fri Jun 21 17:53:00 2013 +0400 8015976: OpenJDK part of bug JDK-8015812 [TEST_BUG] Tests have conflicting test descriptions Reviewed-by: coffeys, alanb changeset 64443e2a6000 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=64443e2a6000 author: lancea date: Wed Oct 30 12:30:13 2013 -0400 8026200: Enhance RowSet Factory Reviewed-by: alanb, skoivu changeset 348f5dd4bce0 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=348f5dd4bce0 author: asaha date: Tue Oct 29 09:54:21 2013 -0700 Merge changeset 0ba8fdfc5660 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=0ba8fdfc5660 author: asaha date: Wed Oct 30 12:40:26 2013 -0700 Merge changeset 933fa343a0bc in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=933fa343a0bc author: michaelm date: Fri Nov 01 10:40:56 2013 +0000 8011787: Better applet networking Summary: add checkListen() to client socket binds and new interpretation for port number 0 in SocketPermission Reviewed-by: chegar, alanb changeset 81293c9813de in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=81293c9813de author: asaha date: Tue Nov 05 12:04:46 2013 -0800 Merge changeset 24e3a0b2a423 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=24e3a0b2a423 author: mfang date: Thu Nov 07 12:20:30 2013 -0800 8027787: 7u51 l10n resource file translation update 1 Reviewed-by: yhuang changeset 978eb6856c77 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=978eb6856c77 author: mfang date: Thu Nov 07 12:51:09 2013 -0800 Merge changeset 0c3e9fe842ad in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=0c3e9fe842ad author: rgallard date: Fri Nov 08 13:50:04 2013 -0800 8028057: Modify jarsigner man page documentation to document CCC 8024302: Clarify jar verifications Reviewed-by: weijun changeset 7706eff5936f in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=7706eff5936f author: asaha date: Tue Nov 12 09:12:24 2013 -0800 Merge changeset ae3923aa13d3 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=ae3923aa13d3 author: vadim date: Wed Nov 13 13:19:42 2013 +0400 8023046: Enhance splashscreen support Reviewed-by: anthony, pchelko, mschoene changeset add74b5b0d9f in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=add74b5b0d9f author: lancea date: Fri Nov 15 11:19:36 2013 -0500 8028385: Enhance RowSet Factory Reviewed-by: alanb, skoivu changeset e0855171fee3 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=e0855171fee3 author: asaha date: Tue Nov 19 09:33:42 2013 -0800 Merge changeset e2df89b55221 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=e2df89b55221 author: michaelm date: Wed Nov 20 15:28:54 2013 +0000 8028453: AsynchronousSocketChannel.connect() requires SocketPermission due to bind to local address (win) Reviewed-by: alanb, chegar changeset dae1c43deff0 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=dae1c43deff0 author: coffeys date: Thu Nov 21 13:39:01 2013 +0000 8022698: javax/script/GetInterfaceTest.java fails since 7u45 b04 with -agentvm option Reviewed-by: sundar changeset a659270fc704 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=a659270fc704 author: michaelm date: Fri Nov 22 00:08:17 2013 +0000 8028293: Check local configuration for actual ephemeral port range Reviewed-by: alanb, chegar, smarks changeset 2b32a9e5debc in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=2b32a9e5debc author: michaelm date: Fri Nov 22 00:09:52 2013 +0000 Merge changeset a8b20ef1cf10 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=a8b20ef1cf10 author: michaelm date: Fri Nov 22 01:15:32 2013 +0000 8028823: java/net/Makefile tabs converted to spaces Reviewed-by: mduigou changeset e33366af7724 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=e33366af7724 author: msheppar date: Sun Nov 24 13:08:16 2013 +0000 8028215: ORB.init fails with SecurityException if properties select the JDK default ORB Summary: check for default ORBImpl and ORBSingleton set via properties or System properties Reviewed-by: alanb, coffeys, mchung changeset 87bce4c4d211 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=87bce4c4d211 author: bae date: Wed Nov 27 12:08:21 2013 +0400 8027841: Enhance pixel manipulations Reviewed-by: prr, vadim changeset a41e6d94840b in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=a41e6d94840b author: asaha date: Wed Nov 27 11:20:48 2013 -0800 Merge changeset 26522cc1beae in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=26522cc1beae author: pchelko date: Thu Nov 28 10:33:52 2013 +0400 8025588: [macosx] Frozen AppKit thread in 7u40 Reviewed-by: anthony, art, serb changeset 59b9673236c2 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=59b9673236c2 author: aefimov date: Fri Nov 15 13:31:41 2013 +0400 8027370: Support tzdata2013h Reviewed-by: sherman, coffeys changeset 1d273450bc0a in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=1d273450bc0a author: asaha date: Wed Dec 04 12:38:32 2013 -0800 Merge changeset c5c6085bc635 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=c5c6085bc635 author: weijun date: Mon Nov 25 15:00:36 2013 +0800 8026067: Enhance signed jar verification Reviewed-by: ddehaven, ahgross, mullan changeset c20f746699c7 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=c20f746699c7 author: asaha date: Tue Dec 10 17:16:20 2013 -0800 Merge changeset f48db95291a6 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=f48db95291a6 author: jzavgren date: Thu Apr 11 12:33:33 2013 -0400 8008118: (process) Possible null pointer dereference in jdk/src/solaris/native/java/lang/UNIXProcess_md.c Summary: Modified the path processing code so that it detects and handles out of memory errors. Reviewed-by: chegar, martin, christos, alanb, msheppar Contributed-by: john.zavgren at oracle.com changeset c7c231608e20 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=c7c231608e20 author: robm date: Wed Nov 13 17:51:30 2013 +0000 5049299: (process) Use posix_spawn, not fork, on S10 to avoid swap exhaustion Reviewed-by: alanb, dholmes changeset ea6ec524d828 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=ea6ec524d828 author: jrose date: Fri Dec 13 18:03:41 2013 -0800 8029844: Enhance argument validation Summary: make defensive copy of a varargs array Reviewed-by: mchung, twisti, ahgross changeset 54c9fea273a1 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=54c9fea273a1 author: prr date: Mon Dec 16 10:19:56 2013 -0800 8027775: Enhance ICU code. Reviewed-by: srl, bae, mschoene changeset 37a1f142496b in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=37a1f142496b author: asaha date: Mon Dec 16 12:13:34 2013 -0800 Added tag jdk7u55-b00 for changeset f5eee4f1d5b4 changeset 5010db5b9b5a in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=5010db5b9b5a author: asaha date: Mon Dec 16 13:05:49 2013 -0800 Merge changeset 243656b2a733 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=243656b2a733 author: asaha date: Mon Dec 16 14:54:29 2013 -0800 Added tag jdk7u55-b01 for changeset 5010db5b9b5a changeset f78849b94ee7 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=f78849b94ee7 author: asaha date: Mon Dec 16 18:52:48 2013 -0800 Merge changeset 9e7bfab5bb87 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=9e7bfab5bb87 author: pchelko date: Tue Dec 17 13:59:04 2013 +0400 8029760: Enhance AWT image libraries Reviewed-by: prr, vadim, mschoene changeset 33d856938d83 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=33d856938d83 author: prr date: Thu Dec 19 09:20:59 2013 -0800 8029854: Enhance JPEG decodings Reviewed-by: bae, vadim, mschoene changeset 56161b644cbc in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=56161b644cbc author: kizune date: Thu Dec 19 22:00:54 2013 +0400 8029699: Update Poller demo Reviewed-by: dcubed changeset 23a8ee1e7ed9 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=23a8ee1e7ed9 author: pchelko date: Fri Dec 20 13:37:06 2013 +0400 8025010: Enhance AWT contexts Reviewed-by: art, serb, hawtin changeset 813b5f3ebc22 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=813b5f3ebc22 author: asaha date: Fri Dec 20 11:50:54 2013 -0800 Merge changeset cffb2941192b in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=cffb2941192b author: asaha date: Fri Dec 20 14:15:55 2013 -0800 Merge changeset 2ca3e1fa4455 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=2ca3e1fa4455 author: asaha date: Fri Dec 20 21:35:27 2013 -0800 Merge changeset f298f47b3dae in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=f298f47b3dae author: katleman date: Tue Dec 24 14:46:43 2013 -0800 Added tag jdk7u55-b02 for changeset 2ca3e1fa4455 changeset c12b3c81366c in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=c12b3c81366c author: asaha date: Thu Dec 26 15:56:24 2013 -0800 Merge changeset 95e59bea1725 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=95e59bea1725 author: katleman date: Mon Jan 06 13:57:11 2014 -0800 Added tag jdk7u55-b03 for changeset c12b3c81366c changeset 87efaa6ab6c5 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=87efaa6ab6c5 author: dbuck date: Mon Jan 06 17:02:35 2014 -0800 6571600: JNI use results in UnsatisfiedLinkError looking for libmawt.so Summary: Fix is to call dladdr with name less likely to cause name conflict. Reviewed-by: serb, art changeset 3dbb06a924cd in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=3dbb06a924cd author: mullan date: Mon Dec 23 14:03:25 2013 -0500 8030813: Signed applet fails to load when CRLs are stored in an LDAP directory Summary: Skip JNDI application resource lookup to avoid recursive JAR validation Reviewed-by: vinnie, herrick changeset 8df5084cad1b in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=8df5084cad1b author: katleman date: Wed Jan 08 13:24:08 2014 -0800 Added tag jdk7u45-b35 for changeset 3dbb06a924cd changeset e9143dc3dc2a in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=e9143dc3dc2a author: asaha date: Wed Jan 08 14:16:16 2014 -0800 Merge changeset ff1c173f8810 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=ff1c173f8810 author: asaha date: Thu Jan 09 07:58:13 2014 -0800 Merge changeset a6ec20a1aa89 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=a6ec20a1aa89 author: jbachorik date: Mon Dec 23 15:33:11 2013 +0100 8029735: Enhance service mgmt natives Reviewed-by: sla, mschoene changeset 9aa3938dd1cd in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=9aa3938dd1cd author: serb date: Fri Jan 10 21:20:55 2014 +0400 8029730: Improve audio device additions Reviewed-by: prr, mschoene changeset 476d1bddaa32 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=476d1bddaa32 author: prr date: Mon Jan 13 14:55:45 2014 -0800 8031462: Fonts with morx tables are broken with latest ICU fixes Reviewed-by: bae, vadim changeset 0c16ba816e4f in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=0c16ba816e4f author: katleman date: Mon Jan 13 16:14:55 2014 -0800 Added tag jdk7u55-b04 for changeset 476d1bddaa32 changeset 4e3fb3d5d4bf in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=4e3fb3d5d4bf author: jbachorik date: Mon Dec 23 14:29:27 2013 +0100 8029286: Enhance subject delegation Reviewed-by: dfuchs, ahgross changeset 42e68c7fbe98 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=42e68c7fbe98 author: weijun date: Wed Jan 15 11:23:07 2014 +0800 8030655: Regression: 14_01 Security fix 8024306 causes test failures Reviewed-by: mullan, xuelei, ahgross changeset 6d918cec0812 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=6d918cec0812 author: pchelko date: Wed Jan 15 11:42:50 2014 +0400 8031477: [macosx] Loading AWT native library fails 8002191: AWT-Shutdown thread does not start with the AppletSecurity on Linux 8031032: SQE test failures after JDK-8025010 was fixed Reviewed-by: serb, ddehaven changeset 473208bb112f in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=473208bb112f author: anashaty date: Wed Jan 15 17:21:59 2014 +0400 7190349: [macosx] Text (Label) is incorrectly drawn with a rotated g2d 8013569: [macosx] JLabel preferred size incorrect on retina displays with non-default font size Reviewed-by: prr changeset 99c62bfd15c4 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=99c62bfd15c4 author: robm date: Wed Jan 15 17:56:27 2014 +0000 8026716: (aio) Enhance asynchronous channel handling Reviewed-by: alanb, coffeys changeset 9aaea012e6f3 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=9aaea012e6f3 author: dfuchs date: Thu Jan 16 15:13:15 2014 +0100 8029740: Enhance handling of loggers Reviewed-by: mchung, ahgross changeset 487fd431bad4 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=487fd431bad4 author: wetmore date: Thu Jan 16 15:07:56 2014 -0800 8027766: Enhance RSA processing Summary: Refactored code Reviewed-by: mullan, xuelei changeset 402b13fc601a in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=402b13fc601a author: juh date: Thu Jan 16 18:08:15 2014 -0500 8029745: Enhance algorithm checking Reviewed-by: mullan changeset fc7bd55c4e6c in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=fc7bd55c4e6c author: mullan date: Thu Jan 16 18:10:05 2014 -0500 Merge changeset 56f59e248fe0 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=56f59e248fe0 author: serb date: Tue Jan 21 07:56:57 2014 +0400 8031352: Enhance PNG handling Reviewed-by: prr, mschoene changeset bf6ddbf51dcd in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=bf6ddbf51dcd author: vinnie date: Tue Jan 21 10:55:05 2014 +0000 8030731: Improve name service robustness Reviewed-by: weijun, michaelm, skoivu changeset 888b6fcf7fad in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=888b6fcf7fad author: dmeetry date: Tue Jan 21 20:38:01 2014 +0400 8031394: (sl) Fix exception handling in ServiceLoader Reviewed-by: alanb changeset 7fa6d3ba2cc7 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=7fa6d3ba2cc7 author: prr date: Tue Jan 21 08:47:30 2014 -0800 8031335: Better color profiling 8029750: Enhance LCMS color processing Reviewed-by: bae, vadim, mschoene changeset 72023f0db35d in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=72023f0db35d author: katleman date: Wed Jan 22 10:07:01 2014 -0800 Added tag jdk7u55-b05 for changeset 7fa6d3ba2cc7 changeset 27bdc007056b in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=27bdc007056b author: dfuchs date: Wed Jan 15 20:25:48 2014 +0100 8019853: Break logging and AWT circular dependency Summary: Break logging and AWT circular dependency, which was at the root cause for 8023258 - Logger.getLogger() after ImageIO.read() returns different logger instance Reviewed-by: mchung, art changeset 2fabc47fc5be in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=2fabc47fc5be author: dfuchs date: Wed Jan 15 20:29:07 2014 +0100 8026404: Logging in Applet can trigger ACE: access denied ("java.lang.RuntimePermission" "modifyThreadGroup") Summary: The test 'threadGroup.getParent() == null' can sometimes throw ACE and needs to be wrapped in doPrivileged. Reviewed-by: alanb, mchung, dholmes changeset c40e21f7dff8 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=c40e21f7dff8 author: prr date: Fri Jan 24 10:34:31 2014 -0800 8032370: No "Truncated file" warning from IIOReadWarningListener on JPEGImageReader Reviewed-by: bae, vadim changeset 3b44abd19845 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=3b44abd19845 author: robm date: Mon Jan 27 13:42:59 2014 +0000 8031395: Enhance LDAP processing Reviewed-by: weijun, coffeys changeset c26df3aa662c in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=c26df3aa662c author: bae date: Fri Jan 24 22:40:21 2014 +0400 7131153: GetDC called way too many times - causes bad performance. Reviewed-by: prr changeset 8a1d4fdead57 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=8a1d4fdead57 author: prr date: Fri Jan 24 10:34:31 2014 -0800 8032370: No "Truncated file" warning from IIOReadWarningListener on JPEGImageReader Reviewed-by: bae, vadim changeset 02ae50be6e7b in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=02ae50be6e7b author: bae date: Fri Jan 24 22:40:21 2014 +0400 7131153: GetDC called way too many times - causes bad performance. Reviewed-by: prr changeset f46c291ddeab in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=f46c291ddeab author: robm date: Mon Jan 27 13:42:59 2014 +0000 8031395: Enhance LDAP processing Reviewed-by: weijun, coffeys changeset 795654fce29c in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=795654fce29c author: asaha date: Mon Jan 27 12:15:07 2014 -0800 Merge changeset e6b8e2254dca in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=e6b8e2254dca author: katleman date: Tue Jan 28 11:49:51 2014 -0800 Added tag jdk7u55-b06 for changeset 795654fce29c changeset 88a7dc88e190 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=88a7dc88e190 author: malenkov date: Wed Jan 29 21:39:16 2014 +0400 8026705: [TEST_BUG] java/beans/Introspector/TestTypeResolver.java failed Reviewed-by: art, jfranck changeset 4b2ed892b195 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=4b2ed892b195 author: twisti date: Mon Feb 03 13:00:51 2014 -0800 8032686: Issues with method invoke Reviewed-by: jrose, vlivanov, ahgross changeset 69d1723b0f91 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=69d1723b0f91 author: katleman date: Tue Feb 04 13:12:16 2014 -0800 Added tag jdk7u55-b07 for changeset 4b2ed892b195 changeset 5f869a9e879e in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=5f869a9e879e author: kizune date: Fri Feb 07 20:21:23 2014 +0400 8033618: Correct logging output Reviewed-by: ksrini, alanb, ahgross changeset db1323224053 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=db1323224053 author: aefimov date: Tue Feb 04 17:37:42 2014 +0400 8030822: (tz) Support tzdata2013i Reviewed-by: coffeys, mfang, okutsu changeset e81cb8e23642 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=e81cb8e23642 author: asaha date: Mon Feb 10 14:28:52 2014 -0800 Merge changeset 2af7186f8bd1 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=2af7186f8bd1 author: katleman date: Tue Feb 11 13:11:47 2014 -0800 Added tag jdk7u55-b08 for changeset db1323224053 changeset af65b1cd6349 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=af65b1cd6349 author: asaha date: Tue Feb 11 15:20:24 2014 -0800 Merge changeset 0712635c14c7 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=0712635c14c7 author: asaha date: Wed Feb 12 16:10:57 2014 -0800 Merge changeset c933355731b2 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=c933355731b2 author: chegar date: Wed Feb 12 17:49:39 2014 +0000 8031050: (thread) Change Thread initialization so that thread name is set before invoking SecurityManager Reviewed-by: alanb, dholmes, mchung changeset 534eeff29ac9 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=534eeff29ac9 author: uta date: Wed Jan 22 18:13:07 2014 -0800 8020191: System.getProperty("os.name") returns "Windows NT (unknown)" on Windows 8.1 Reviewed-by: alanb, khazra, chegar changeset d39dd4135844 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=d39dd4135844 author: katleman date: Tue Feb 18 12:41:39 2014 -0800 Added tag jdk7u55-b09 for changeset 534eeff29ac9 changeset 122510be9947 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=122510be9947 author: katleman date: Tue Feb 18 13:36:34 2014 -0800 Added tag jdk7u55-b09 for changeset d39dd4135844 changeset b23153655006 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=b23153655006 author: pchelko date: Wed Feb 19 10:23:06 2014 +0400 8034772: JDK-8028795 brought a specification change to 7u55 release and caused JCK7 signature test failure Reviewed-by: art, serb changeset 0d6bf4c0ec4c in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=0d6bf4c0ec4c author: asaha date: Wed Feb 19 12:21:32 2014 -0800 Merge changeset 2acfa13df091 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=2acfa13df091 author: asaha date: Wed Feb 19 14:38:25 2014 -0800 Merge changeset 67d86837f669 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=67d86837f669 author: katleman date: Tue Feb 25 12:20:51 2014 -0800 Added tag jdk7u55-b10 for changeset b23153655006 changeset d48066490e8d in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=d48066490e8d author: asaha date: Tue Feb 25 13:55:37 2014 -0800 Merge changeset a1b5bc0b0d7f in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=a1b5bc0b0d7f author: asaha date: Thu Feb 27 08:32:47 2014 -0800 Merge changeset c25c7b84ca1b in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=c25c7b84ca1b author: asaha date: Mon Mar 03 11:56:43 2014 -0800 Merge changeset 2d80b7cd7aae in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=2d80b7cd7aae author: collins date: Fri Feb 28 16:48:51 2014 +0000 8032740: Need to create SE Embedded Source Bundles in 7 Release Reviewed-by: dholmes, katleman, bobv, cjplummer changeset 5185723546d5 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=5185723546d5 author: katleman date: Tue Mar 04 12:02:10 2014 -0800 Added tag jdk7u55-b11 for changeset 2d80b7cd7aae changeset c126b93408a6 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=c126b93408a6 author: asaha date: Tue Mar 04 15:38:27 2014 -0800 Merge changeset ed45af764a8a in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=ed45af764a8a author: asaha date: Wed Mar 05 13:27:22 2014 -0800 Merge changeset fe7a36f9c888 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=fe7a36f9c888 author: asaha date: Tue Mar 11 13:39:59 2014 -0700 Merge changeset 07be5d550873 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=07be5d550873 author: mbankal date: Mon Mar 10 18:40:38 2014 +0000 8036794: Manage JavaScript instances Reviewed-by: sundar, ahgross changeset 51ff2df66fd5 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=51ff2df66fd5 author: katleman date: Tue Mar 11 13:00:07 2014 -0700 Added tag jdk7u55-b12 for changeset 07be5d550873 changeset 48dc2b5d484f in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=48dc2b5d484f author: asaha date: Tue Mar 11 14:21:45 2014 -0700 Merge changeset f7340a27b42c in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=f7340a27b42c author: asaha date: Wed Mar 12 14:50:21 2014 -0700 Merge changeset 92fd166252c2 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=92fd166252c2 author: igerasim date: Wed Mar 12 12:46:11 2014 +0400 8035834: InetAddress.getLocalHost() can hang after JDK-8030731 was fixed Reviewed-by: vinnie changeset 4a5651c84b1e in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=4a5651c84b1e author: katleman date: Tue Mar 18 12:08:03 2014 -0700 Added tag jdk7u55-b13 for changeset 92fd166252c2 changeset c1eaf405fb8d in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=c1eaf405fb8d author: katleman date: Fri Feb 14 08:59:45 2014 -0800 Added tag jdk7u51-b33 for changeset e9143dc3dc2a changeset 0ac094b2c43d in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=0ac094b2c43d author: katleman date: Fri Feb 28 17:23:28 2014 -0800 Added tag jdk7u51-b34 for changeset c1eaf405fb8d changeset 88f1bf248cc5 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=88f1bf248cc5 author: asaha date: Tue Mar 18 12:35:25 2014 -0700 Merge changeset 5dbdcd0de09e in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=5dbdcd0de09e author: asaha date: Tue Mar 18 13:02:08 2014 -0700 Merge changeset 579a5ce5a5c9 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=579a5ce5a5c9 author: asaha date: Wed Mar 19 10:20:26 2014 -0700 Merge changeset 476179253f0a in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=476179253f0a author: asaha date: Wed Mar 19 13:49:41 2014 -0700 Merge changeset 77028375e719 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=77028375e719 author: asaha date: Wed Mar 26 21:26:11 2014 -0700 Merge changeset 6f85c7ee87a1 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=6f85c7ee87a1 author: katleman date: Thu Mar 27 11:37:01 2014 -0700 Added tag jdk7u55-b31 for changeset 88f1bf248cc5 changeset ffd99c597521 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=ffd99c597521 author: katleman date: Thu Mar 27 11:23:12 2014 -0700 Added tag jdk7u55-b30 for changeset 4a5651c84b1e changeset 538f5f518edf in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=538f5f518edf author: asaha date: Thu Mar 27 11:58:32 2014 -0700 Merge changeset 3475a622a07f in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=3475a622a07f author: asaha date: Thu Mar 27 12:10:48 2014 -0700 Merge changeset ea322c69761a in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=ea322c69761a author: asaha date: Tue Apr 01 15:45:04 2014 -0700 Merge changeset 618ddda0fa81 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=618ddda0fa81 author: asaha date: Wed Apr 02 09:47:03 2014 -0700 Merge changeset 2f5004e2254f in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=2f5004e2254f author: asaha date: Wed Apr 09 09:44:12 2014 -0700 Merge changeset c3d3d9df08e7 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=c3d3d9df08e7 author: asaha date: Mon Apr 14 10:54:06 2014 -0700 Merge changeset a015a0971dac in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=a015a0971dac author: katleman date: Tue Apr 15 11:50:21 2014 -0700 Added tag jdk7u55-b14 for changeset ffd99c597521 changeset 04882f9a073e in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=04882f9a073e author: asaha date: Tue Apr 15 12:43:32 2014 -0700 Merge changeset 1c1b897a12ed in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=1c1b897a12ed author: katleman date: Wed Apr 16 12:26:23 2014 -0700 Added tag jdk7u60-b15 for changeset 04882f9a073e changeset 18b79b346c2c in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=18b79b346c2c author: andrew date: Thu Apr 17 17:52:33 2014 +0100 Merge jdk7u60-b15 diffstat: .hgtags | 41 + .jcheck/conf | 2 - make/com/sun/java/pack/Makefile | 7 +- make/com/sun/jmx/Makefile | 10 +- make/com/sun/nio/Makefile | 2 +- make/com/sun/nio/sctp/Makefile | 2 + make/com/sun/security/auth/module/Makefile | 6 +- make/com/sun/tools/attach/Exportedfiles.gmk | 5 + make/com/sun/tools/attach/FILES_c.gmk | 5 + make/com/sun/tools/attach/FILES_java.gmk | 9 +- make/common/Defs-aix.gmk | 391 + make/common/Defs-embedded.gmk | 4 +- make/common/Defs-linux.gmk | 32 +- make/common/Defs.gmk | 32 +- make/common/Library.gmk | 42 +- make/common/Program.gmk | 96 +- make/common/Release.gmk | 32 +- make/common/shared/Compiler-gcc.gmk | 76 +- make/common/shared/Compiler-xlc_r.gmk | 37 + make/common/shared/Defs-aix.gmk | 167 + make/common/shared/Defs-java.gmk | 23 +- make/common/shared/Defs-utils.gmk | 4 + make/common/shared/Defs-versions.gmk | 7 +- make/common/shared/Defs.gmk | 2 +- make/common/shared/Platform.gmk | 23 +- make/common/shared/Sanity.gmk | 8 + make/docs/Makefile | 6 +- make/java/fdlibm/Makefile | 7 + make/java/jli/Makefile | 31 +- make/java/main/java/mapfile-aarch64 | 39 + make/java/main/java/mapfile-ppc64 | 43 + make/java/management/Makefile | 6 + make/java/net/FILES_c.gmk | 11 + make/java/net/Makefile | 26 +- make/java/nio/Makefile | 259 +- make/java/npt/Makefile | 2 +- make/java/security/Makefile | 12 +- make/java/sun_nio/Makefile | 2 +- make/java/version/Makefile | 5 + make/javax/sound/SoundDefs.gmk | 68 +- make/jdk_generic_profile.sh | 181 +- make/jpda/transport/socket/Makefile | 2 +- make/sun/awt/FILES_c_unix.gmk | 10 + make/sun/awt/Makefile | 29 +- make/sun/awt/mawt.gmk | 42 +- make/sun/cmm/lcms/FILES_c_unix.gmk | 7 +- make/sun/cmm/lcms/Makefile | 8 +- make/sun/font/Makefile | 15 +- make/sun/javazic/tzdata/VERSION | 2 +- make/sun/javazic/tzdata/asia | 9 +- make/sun/javazic/tzdata/australasia | 21 +- make/sun/javazic/tzdata/europe | 62 +- make/sun/javazic/tzdata/northamerica | 7 +- make/sun/javazic/tzdata/southamerica | 19 +- make/sun/jawt/Makefile | 11 + make/sun/jpeg/FILES_c.gmk | 6 +- make/sun/jpeg/Makefile | 11 +- make/sun/lwawt/FILES_c_macosx.gmk | 6 + make/sun/lwawt/Makefile | 7 +- make/sun/native2ascii/Makefile | 2 +- make/sun/net/FILES_java.gmk | 229 +- make/sun/nio/cs/Makefile | 4 +- make/sun/security/Makefile | 11 +- make/sun/security/ec/Makefile | 27 +- make/sun/security/jgss/wrapper/Makefile | 2 +- make/sun/security/krb5/Makefile | 8 +- make/sun/security/krb5/internal/ccache/Makefile | 49 + make/sun/security/mscapi/Makefile | 2 +- make/sun/security/pkcs11/Makefile | 6 +- make/sun/security/pkcs11/mapfile-vers | 4 +- make/sun/security/smartcardio/Makefile | 17 +- make/sun/splashscreen/FILES_c.gmk | 78 +- make/sun/splashscreen/Makefile | 37 +- make/sun/xawt/FILES_c_unix.gmk | 20 + make/sun/xawt/Makefile | 71 +- make/tools/Makefile | 9 + make/tools/freetypecheck/Makefile | 21 +- make/tools/generate_nimbus/Makefile | 1 + make/tools/sharing/classlist.aix | 2406 ++++++ make/tools/src/build/tools/buildmetaindex/BuildMetaIndex.java | 22 +- make/tools/src/build/tools/compileproperties/CompileProperties.java | 9 +- make/tools/src/build/tools/dirdiff/DirDiff.java | 4 +- make/tools/src/build/tools/dtdbuilder/DTDBuilder.java | 34 +- make/tools/src/build/tools/dtdbuilder/DTDInputStream.java | 6 +- make/tools/src/build/tools/dtdbuilder/DTDParser.java | 44 +- make/tools/src/build/tools/dtdbuilder/PublicMapping.java | 6 +- make/tools/src/build/tools/generatebreakiteratordata/CharSet.java | 16 +- make/tools/src/build/tools/generatebreakiteratordata/DictionaryBasedBreakIteratorBuilder.java | 8 +- make/tools/src/build/tools/generatebreakiteratordata/GenerateBreakIteratorData.java | 6 +- make/tools/src/build/tools/generatebreakiteratordata/RuleBasedBreakIteratorBuilder.java | 201 +- make/tools/src/build/tools/generatebreakiteratordata/SupplementaryCharacterData.java | 6 +- make/tools/src/build/tools/generatecharacter/GenerateCharacter.java | 4 +- make/tools/src/build/tools/generatecharacter/SpecialCaseMap.java | 147 +- make/tools/src/build/tools/generatecharacter/UnicodeSpec.java | 22 +- make/tools/src/build/tools/generatecurrencydata/GenerateCurrencyData.java | 4 +- make/tools/src/build/tools/hasher/Hasher.java | 38 +- make/tools/src/build/tools/jarsplit/JarSplit.java | 5 +- make/tools/src/build/tools/javazic/Gen.java | 14 +- make/tools/src/build/tools/javazic/GenDoc.java | 16 +- make/tools/src/build/tools/javazic/Main.java | 3 +- make/tools/src/build/tools/javazic/Simple.java | 23 +- make/tools/src/build/tools/javazic/Time.java | 10 +- make/tools/src/build/tools/javazic/Zoneinfo.java | 18 +- make/tools/src/build/tools/jdwpgen/AbstractCommandNode.java | 7 +- make/tools/src/build/tools/jdwpgen/AbstractGroupNode.java | 7 +- make/tools/src/build/tools/jdwpgen/AbstractNamedNode.java | 14 +- make/tools/src/build/tools/jdwpgen/AbstractTypeListNode.java | 26 +- make/tools/src/build/tools/jdwpgen/AltNode.java | 4 +- make/tools/src/build/tools/jdwpgen/CommandSetNode.java | 11 +- make/tools/src/build/tools/jdwpgen/ConstantSetNode.java | 9 +- make/tools/src/build/tools/jdwpgen/ErrorSetNode.java | 9 +- make/tools/src/build/tools/jdwpgen/Node.java | 25 +- make/tools/src/build/tools/jdwpgen/OutNode.java | 14 +- make/tools/src/build/tools/jdwpgen/RootNode.java | 10 +- make/tools/src/build/tools/jdwpgen/SelectNode.java | 10 +- make/tools/src/build/tools/makeclasslist/MakeClasslist.java | 15 +- make/tools/src/build/tools/stripproperties/StripProperties.java | 4 +- src/macosx/classes/sun/font/CFontManager.java | 23 +- src/macosx/classes/sun/font/CStrike.java | 110 +- src/macosx/classes/sun/lwawt/LWToolkit.java | 26 +- src/macosx/classes/sun/lwawt/macosx/CClipboard.java | 2 +- src/macosx/classes/sun/lwawt/macosx/CInputMethod.java | 15 +- src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java | 2 +- src/macosx/classes/sun/lwawt/macosx/CViewEmbeddedFrame.java | 2 +- src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java | 34 +- src/macosx/native/sun/awt/LWCToolkit.m | 4 +- src/macosx/native/sun/awt/awt.m | 12 +- src/macosx/native/sun/font/AWTStrike.h | 7 +- src/macosx/native/sun/font/AWTStrike.m | 10 +- src/macosx/native/sun/font/CGGlyphImages.m | 17 +- src/macosx/native/sun/osxapp/ThreadUtilities.h | 4 +- src/macosx/native/sun/osxapp/ThreadUtilities.m | 27 +- src/share/bin/java.c | 8 +- src/share/bin/wildcard.c | 5 + src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java | 2 +- src/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java | 2 +- src/share/classes/com/sun/java/swing/plaf/gtk/GTKEngine.java | 3 +- src/share/classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java | 10 +- src/share/classes/com/sun/java/swing/plaf/gtk/GTKStyle.java | 5 +- src/share/classes/com/sun/jmx/remote/security/MBeanServerFileAccessController.java | 2 + src/share/classes/com/sun/jmx/remote/security/SubjectDelegator.java | 20 +- src/share/classes/com/sun/jndi/dns/DnsClient.java | 101 +- src/share/classes/com/sun/jndi/dns/DnsContextFactory.java | 2 +- src/share/classes/com/sun/jndi/ldap/LdapBindingEnumeration.java | 21 +- src/share/classes/com/sun/jndi/ldap/LdapSearchEnumeration.java | 22 +- src/share/classes/com/sun/media/sound/JDK13Services.java | 129 +- src/share/classes/com/sun/media/sound/JSSecurityManager.java | 2 +- src/share/classes/com/sun/naming/internal/ResourceManager.java | 57 +- src/share/classes/com/sun/rowset/CachedRowSetImpl.java | 23 +- src/share/classes/com/sun/rowset/internal/CachedRowSetWriter.java | 13 +- src/share/classes/com/sun/script/javascript/RhinoScriptEngine.java | 2 +- src/share/classes/com/sun/script/javascript/RhinoScriptEngineFactory.java | 8 +- src/share/classes/com/sun/script/javascript/RhinoTopLevel.java | 3 +- src/share/classes/java/awt/EventQueue.java | 8 +- src/share/classes/java/awt/Toolkit.java | 30 +- src/share/classes/java/awt/color/ICC_Profile.java | 4 +- src/share/classes/java/awt/datatransfer/SystemFlavorMap.java | 63 +- src/share/classes/java/awt/event/InvocationEvent.java | 94 +- src/share/classes/java/io/InputStream.java | 2 +- src/share/classes/java/lang/Thread.java | 3 +- src/share/classes/java/lang/invoke/BoundMethodHandle.java | 83 +- src/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java | 3 +- src/share/classes/java/lang/invoke/MethodHandles.java | 2 + src/share/classes/java/net/SocksSocketImpl.java | 4 +- src/share/classes/java/security/Policy.java | 1 - src/share/classes/java/util/ServiceLoader.java | 2 +- src/share/classes/java/util/jar/JarVerifier.java | 20 +- src/share/classes/java/util/logging/LogManager.java | 20 +- src/share/classes/java/util/logging/Logger.java | 36 +- src/share/classes/javax/crypto/Cipher.java | 172 +- src/share/classes/javax/script/ScriptEngineManager.java | 24 +- src/share/classes/javax/security/auth/Subject.java | 22 +- src/share/classes/javax/sql/rowset/RowSetProvider.java | 26 +- src/share/classes/javax/sql/rowset/serial/SQLInputImpl.java | 13 +- src/share/classes/javax/sql/rowset/spi/SyncFactory.java | 48 +- src/share/classes/javax/swing/JComponent.java | 13 +- src/share/classes/javax/swing/JDialog.java | 3 +- src/share/classes/javax/swing/JEditorPane.java | 11 +- src/share/classes/javax/swing/JFrame.java | 10 +- src/share/classes/javax/swing/JInternalFrame.java | 6 +- src/share/classes/javax/swing/JPopupMenu.java | 10 +- src/share/classes/javax/swing/MenuSelectionManager.java | 5 +- src/share/classes/javax/swing/PopupFactory.java | 14 +- src/share/classes/javax/swing/SwingUtilities.java | 3 +- src/share/classes/javax/swing/SwingWorker.java | 2 +- src/share/classes/javax/swing/plaf/basic/BasicComboBoxUI.java | 6 +- src/share/classes/javax/swing/plaf/basic/BasicListUI.java | 5 +- src/share/classes/javax/swing/plaf/basic/BasicPopupMenuUI.java | 16 +- src/share/classes/javax/swing/plaf/basic/BasicTableUI.java | 8 +- src/share/classes/javax/swing/plaf/basic/BasicTreeUI.java | 3 +- src/share/classes/javax/swing/plaf/synth/ImagePainter.java | 5 +- src/share/classes/javax/swing/plaf/synth/SynthLookAndFeel.java | 3 +- src/share/classes/javax/swing/text/JTextComponent.java | 6 +- src/share/classes/org/jcp/xml/dsig/internal/dom/DOMHMACSignatureMethod.java | 2 - src/share/classes/sun/applet/AppletPanel.java | 10 +- src/share/classes/sun/applet/AppletViewerPanel.java | 18 +- src/share/classes/sun/awt/AWTAccessor.java | 41 +- src/share/classes/sun/awt/AWTAutoShutdown.java | 20 +- src/share/classes/sun/awt/SunToolkit.java | 3 +- src/share/classes/sun/awt/datatransfer/ClipboardTransferable.java | 2 +- src/share/classes/sun/awt/datatransfer/SunClipboard.java | 12 +- src/share/classes/sun/awt/image/JPEGImageDecoder.java | 2 +- src/share/classes/sun/font/CreatedFontTracker.java | 46 +- src/share/classes/sun/font/SunFontManager.java | 35 +- src/share/classes/sun/java2d/Disposer.java | 32 +- src/share/classes/sun/java2d/cmm/lcms/LCMS.java | 2 +- src/share/classes/sun/java2d/opengl/OGLRenderQueue.java | 10 +- src/share/classes/sun/misc/InnocuousThread.java | 121 + src/share/classes/sun/misc/Service.java | 2 +- src/share/classes/sun/misc/SharedSecrets.java | 7 +- src/share/classes/sun/misc/ThreadGroupUtils.java | 55 + src/share/classes/sun/misc/Version.java.template | 58 +- src/share/classes/sun/nio/ch/FileChannelImpl.java | 3 +- src/share/classes/sun/nio/ch/FileDispatcher.java | 12 +- src/share/classes/sun/nio/ch/Invoker.java | 12 + src/share/classes/sun/nio/ch/SimpleAsynchronousFileChannelImpl.java | 3 +- src/share/classes/sun/nio/ch/ThreadPool.java | 35 +- src/share/classes/sun/nio/cs/ext/ExtendedCharsets.java | 2 +- src/share/classes/sun/rmi/registry/RegistryImpl.java | 14 + src/share/classes/sun/rmi/server/LoaderHandler.java | 2 +- src/share/classes/sun/rmi/server/UnicastServerRef.java | 2 +- src/share/classes/sun/security/krb5/internal/ccache/FileCredentialsCache.java | 96 +- src/share/classes/sun/security/pkcs11/Config.java | 3 + src/share/classes/sun/security/pkcs11/P11Digest.java | 185 +- src/share/classes/sun/security/pkcs11/P11Util.java | 2 +- src/share/classes/sun/security/pkcs11/SunPKCS11.java | 23 +- src/share/classes/sun/security/pkcs11/wrapper/PKCS11.java | 377 +- src/share/classes/sun/security/provider/SeedGenerator.java | 31 +- src/share/classes/sun/security/provider/certpath/AlgorithmChecker.java | 2 +- src/share/classes/sun/security/provider/certpath/OCSP.java | 18 +- src/share/classes/sun/security/provider/certpath/ldap/LDAPCertStore.java | 20 + src/share/classes/sun/security/rsa/RSAPadding.java | 131 +- src/share/classes/sun/security/ssl/SSLEngineImpl.java | 11 + src/share/classes/sun/security/ssl/SignatureAndHashAlgorithm.java | 2 +- src/share/classes/sun/security/tools/JarSigner.java | 20 +- src/share/classes/sun/security/util/ObjectIdentifier.java | 2 +- src/share/classes/sun/security/util/SignatureFileVerifier.java | 46 + src/share/classes/sun/swing/DefaultLookup.java | 3 +- src/share/classes/sun/swing/SwingUtilities2.java | 17 +- src/share/classes/sun/tools/attach/META-INF/services/com.sun.tools.attach.spi.AttachProvider | 1 + src/share/classes/sun/tools/jar/Main.java | 2 +- src/share/classes/sun/tools/native2ascii/Main.java | 9 +- src/share/classes/sun/util/calendar/ZoneInfoFile.java | 41 +- src/share/demo/jvmti/gctest/sample.makefile.txt | 6 +- src/share/demo/jvmti/heapTracker/sample.makefile.txt | 19 +- src/share/demo/jvmti/heapViewer/sample.makefile.txt | 5 +- src/share/demo/jvmti/hprof/sample.makefile.txt | 6 +- src/share/demo/jvmti/minst/sample.makefile.txt | 19 +- src/share/demo/jvmti/mtrace/sample.makefile.txt | 20 +- src/share/demo/jvmti/versionCheck/sample.makefile.txt | 6 +- src/share/demo/jvmti/waiters/sample.makefile.txt | 8 +- src/share/instrument/JarFacade.c | 4 +- src/share/lib/security/java.security-linux | 4 + src/share/lib/security/java.security-macosx | 4 + src/share/lib/security/java.security-solaris | 4 + src/share/lib/security/java.security-windows | 4 + src/share/lib/security/nss.cfg.in | 5 + src/share/lib/security/sunpkcs11-solaris.cfg | 14 +- src/share/native/com/sun/java/util/jar/pack/unpack.cpp | 37 +- src/share/native/com/sun/media/sound/SoundDefs.h | 9 + src/share/native/common/check_code.c | 35 + src/share/native/java/net/net_util.c | 9 + src/share/native/java/util/zip/Deflater.c | 46 +- src/share/native/java/util/zip/Inflater.c | 6 +- src/share/native/sun/awt/giflib/dgif_lib.c | 4 +- src/share/native/sun/awt/image/awt_ImageRep.c | 2 +- src/share/native/sun/awt/image/gif/gifdecoder.c | 1 + src/share/native/sun/awt/image/jpeg/README | 385 - src/share/native/sun/awt/image/jpeg/imageioJPEG.c | 16 +- src/share/native/sun/awt/image/jpeg/jcapimin.c | 284 - src/share/native/sun/awt/image/jpeg/jcapistd.c | 165 - src/share/native/sun/awt/image/jpeg/jccoefct.c | 453 - src/share/native/sun/awt/image/jpeg/jccolor.c | 462 - src/share/native/sun/awt/image/jpeg/jcdctmgr.c | 391 - src/share/native/sun/awt/image/jpeg/jchuff.c | 913 -- src/share/native/sun/awt/image/jpeg/jchuff.h | 51 - src/share/native/sun/awt/image/jpeg/jcinit.c | 76 - src/share/native/sun/awt/image/jpeg/jcmainct.c | 297 - src/share/native/sun/awt/image/jpeg/jcmarker.c | 682 - src/share/native/sun/awt/image/jpeg/jcmaster.c | 594 - src/share/native/sun/awt/image/jpeg/jcomapi.c | 110 - src/share/native/sun/awt/image/jpeg/jconfig.h | 43 - src/share/native/sun/awt/image/jpeg/jcparam.c | 614 - src/share/native/sun/awt/image/jpeg/jcphuff.c | 837 -- src/share/native/sun/awt/image/jpeg/jcprepct.c | 358 - src/share/native/sun/awt/image/jpeg/jcsample.c | 523 - src/share/native/sun/awt/image/jpeg/jctrans.c | 392 - src/share/native/sun/awt/image/jpeg/jdapimin.c | 399 - src/share/native/sun/awt/image/jpeg/jdapistd.c | 279 - src/share/native/sun/awt/image/jpeg/jdcoefct.c | 740 - src/share/native/sun/awt/image/jpeg/jdcolor.c | 398 - src/share/native/sun/awt/image/jpeg/jdct.h | 180 - src/share/native/sun/awt/image/jpeg/jddctmgr.c | 273 - src/share/native/sun/awt/image/jpeg/jdhuff.c | 655 - src/share/native/sun/awt/image/jpeg/jdhuff.h | 205 - src/share/native/sun/awt/image/jpeg/jdinput.c | 385 - src/share/native/sun/awt/image/jpeg/jdmainct.c | 516 - src/share/native/sun/awt/image/jpeg/jdmarker.c | 1384 --- src/share/native/sun/awt/image/jpeg/jdmaster.c | 561 - src/share/native/sun/awt/image/jpeg/jdmerge.c | 404 - src/share/native/sun/awt/image/jpeg/jdphuff.c | 672 - src/share/native/sun/awt/image/jpeg/jdpostct.c | 294 - src/share/native/sun/awt/image/jpeg/jdsample.c | 482 - src/share/native/sun/awt/image/jpeg/jdtrans.c | 147 - src/share/native/sun/awt/image/jpeg/jerror.c | 272 - src/share/native/sun/awt/image/jpeg/jerror.h | 295 - src/share/native/sun/awt/image/jpeg/jfdctflt.c | 172 - src/share/native/sun/awt/image/jpeg/jfdctfst.c | 228 - src/share/native/sun/awt/image/jpeg/jfdctint.c | 287 - src/share/native/sun/awt/image/jpeg/jidctflt.c | 246 - src/share/native/sun/awt/image/jpeg/jidctfst.c | 372 - src/share/native/sun/awt/image/jpeg/jidctint.c | 393 - src/share/native/sun/awt/image/jpeg/jidctred.c | 402 - src/share/native/sun/awt/image/jpeg/jinclude.h | 95 - src/share/native/sun/awt/image/jpeg/jmemmgr.c | 1124 -- src/share/native/sun/awt/image/jpeg/jmemnobs.c | 113 - src/share/native/sun/awt/image/jpeg/jmemsys.h | 202 - src/share/native/sun/awt/image/jpeg/jmorecfg.h | 378 - src/share/native/sun/awt/image/jpeg/jpeg-6b/README | 385 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcapimin.c | 284 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcapistd.c | 165 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jccoefct.c | 453 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jccolor.c | 462 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcdctmgr.c | 391 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jchuff.c | 913 ++ src/share/native/sun/awt/image/jpeg/jpeg-6b/jchuff.h | 51 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcinit.c | 76 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcmainct.c | 297 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcmarker.c | 682 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcmaster.c | 594 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcomapi.c | 110 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jconfig.h | 43 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcparam.c | 614 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcphuff.c | 837 ++ src/share/native/sun/awt/image/jpeg/jpeg-6b/jcprepct.c | 358 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jcsample.c | 523 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jctrans.c | 392 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdapimin.c | 399 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdapistd.c | 279 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdcoefct.c | 740 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdcolor.c | 398 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdct.h | 180 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jddctmgr.c | 273 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdhuff.c | 655 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdhuff.h | 205 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdinput.c | 385 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdmainct.c | 516 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdmarker.c | 1390 +++ src/share/native/sun/awt/image/jpeg/jpeg-6b/jdmaster.c | 561 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdmerge.c | 404 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdphuff.c | 672 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdpostct.c | 294 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdsample.c | 482 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jdtrans.c | 147 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jerror.c | 272 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jerror.h | 295 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jfdctflt.c | 172 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jfdctfst.c | 228 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jfdctint.c | 287 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jidctflt.c | 246 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jidctfst.c | 372 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jidctint.c | 393 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jidctred.c | 402 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jinclude.h | 95 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jmemmgr.c | 1124 ++ src/share/native/sun/awt/image/jpeg/jpeg-6b/jmemnobs.c | 113 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jmemsys.h | 202 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jmorecfg.h | 378 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jpegint.h | 396 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jpeglib.h | 1100 ++ src/share/native/sun/awt/image/jpeg/jpeg-6b/jquant1.c | 860 ++ src/share/native/sun/awt/image/jpeg/jpeg-6b/jquant2.c | 1314 +++ src/share/native/sun/awt/image/jpeg/jpeg-6b/jutils.c | 183 + src/share/native/sun/awt/image/jpeg/jpeg-6b/jversion.h | 18 + src/share/native/sun/awt/image/jpeg/jpegdecoder.c | 5 +- src/share/native/sun/awt/image/jpeg/jpegint.h | 396 - src/share/native/sun/awt/image/jpeg/jpeglib.h | 1100 -- src/share/native/sun/awt/image/jpeg/jquant1.c | 860 -- src/share/native/sun/awt/image/jpeg/jquant2.c | 1314 --- src/share/native/sun/awt/image/jpeg/jutils.c | 183 - src/share/native/sun/awt/image/jpeg/jversion.h | 18 - src/share/native/sun/awt/libpng/pngrtran.c | 3 + src/share/native/sun/awt/libpng/pngset.c | 11 + src/share/native/sun/awt/medialib/awt_ImagingLib.c | 82 +- src/share/native/sun/awt/medialib/mlib_sys.c | 2 +- src/share/native/sun/awt/medialib/mlib_types.h | 7 +- src/share/native/sun/awt/splashscreen/splashscreen_gif.c | 11 +- src/share/native/sun/awt/splashscreen/splashscreen_jpeg.c | 7 +- src/share/native/sun/awt/splashscreen/splashscreen_png.c | 2 +- src/share/native/sun/font/freetypeScaler.c | 28 +- src/share/native/sun/font/layout/ContextualGlyphSubstProc2.cpp | 1 + src/share/native/sun/font/layout/ContextualSubstSubtables.cpp | 7 +- src/share/native/sun/font/layout/LigatureSubstProc2.cpp | 6 +- src/share/native/sun/font/layout/LookupProcessor.cpp | 1 + src/share/native/sun/font/layout/MarkToBasePosnSubtables.cpp | 1 + src/share/native/sun/font/layout/OpenTypeUtilities.cpp | 2 +- src/share/native/sun/font/layout/SegmentArrayProcessor.cpp | 1 + src/share/native/sun/font/layout/StateTableProcessor.cpp | 1 + src/share/native/sun/java2d/cmm/lcms/cmscam02.c | 4 +- src/share/native/sun/java2d/cmm/lcms/cmscgats.c | 61 +- src/share/native/sun/java2d/cmm/lcms/cmscnvrt.c | 99 +- src/share/native/sun/java2d/cmm/lcms/cmserr.c | 2 - src/share/native/sun/java2d/cmm/lcms/cmsgamma.c | 59 +- src/share/native/sun/java2d/cmm/lcms/cmsgmt.c | 54 +- src/share/native/sun/java2d/cmm/lcms/cmsintrp.c | 69 +- src/share/native/sun/java2d/cmm/lcms/cmsio0.c | 167 +- src/share/native/sun/java2d/cmm/lcms/cmsio1.c | 242 +- src/share/native/sun/java2d/cmm/lcms/cmslut.c | 89 +- src/share/native/sun/java2d/cmm/lcms/cmsmd5.c | 2 +- src/share/native/sun/java2d/cmm/lcms/cmsnamed.c | 52 +- src/share/native/sun/java2d/cmm/lcms/cmsopt.c | 107 +- src/share/native/sun/java2d/cmm/lcms/cmspack.c | 24 +- src/share/native/sun/java2d/cmm/lcms/cmspcs.c | 4 + src/share/native/sun/java2d/cmm/lcms/cmsplugin.c | 47 +- src/share/native/sun/java2d/cmm/lcms/cmsps2.c | 5 +- src/share/native/sun/java2d/cmm/lcms/cmssamp.c | 246 +- src/share/native/sun/java2d/cmm/lcms/cmstypes.c | 264 +- src/share/native/sun/java2d/cmm/lcms/cmsvirt.c | 191 +- src/share/native/sun/java2d/cmm/lcms/cmswtpnt.c | 66 +- src/share/native/sun/java2d/cmm/lcms/cmsxform.c | 29 +- src/share/native/sun/java2d/cmm/lcms/lcms2.h | 18 +- src/share/native/sun/java2d/cmm/lcms/lcms2_internal.h | 28 +- src/share/native/sun/java2d/loops/GraphicsPrimitiveMgr.h | 6 +- src/share/native/sun/java2d/loops/TransformHelper.c | 11 +- src/share/native/sun/java2d/opengl/OGLContext.c | 2 + src/share/native/sun/java2d/opengl/OGLFuncs.h | 2 +- src/share/native/sun/management/Flag.c | 4 +- src/share/native/sun/management/GcInfoBuilder.c | 15 +- src/share/native/sun/security/ec/ECC_JNI.cpp | 12 +- src/share/native/sun/security/ec/ecc_impl.h | 293 + src/share/native/sun/security/ec/impl/ecc_impl.h | 263 - src/share/native/sun/security/jgss/wrapper/GSSLibStub.c | 185 +- src/share/native/sun/security/jgss/wrapper/NativeUtil.c | 17 +- src/share/native/sun/security/pkcs11/wrapper/p11_convert.c | 42 +- src/share/native/sun/security/pkcs11/wrapper/p11_crypt.c | 12 +- src/share/native/sun/security/pkcs11/wrapper/p11_digest.c | 7 +- src/share/native/sun/security/pkcs11/wrapper/p11_dual.c | 8 +- src/share/native/sun/security/pkcs11/wrapper/p11_general.c | 17 +- src/share/native/sun/security/pkcs11/wrapper/p11_keymgmt.c | 4 +- src/share/native/sun/security/pkcs11/wrapper/p11_mutex.c | 58 +- src/share/native/sun/security/pkcs11/wrapper/p11_objmgmt.c | 4 +- src/share/native/sun/security/pkcs11/wrapper/p11_sessmgmt.c | 14 +- src/share/native/sun/security/pkcs11/wrapper/p11_sign.c | 27 +- src/share/native/sun/security/pkcs11/wrapper/p11_util.c | 90 +- src/share/native/sun/security/pkcs11/wrapper/pkcs11wrapper.h | 9 +- src/share/npt/npt.h | 8 +- src/solaris/back/exec_md.c | 4 +- src/solaris/bin/aarch64/jvm.cfg | 36 + src/solaris/bin/java_md_solinux.c | 27 +- src/solaris/bin/ppc64/jvm.cfg | 33 + src/solaris/classes/java/lang/UNIXProcess.java.aix | 303 + src/solaris/classes/sun/awt/X11/XClipboard.java | 4 +- src/solaris/classes/sun/awt/X11/XConstants.java | 5 + src/solaris/classes/sun/awt/X11/XToolkit.java | 27 +- src/solaris/classes/sun/awt/X11/XWM.java | 26 +- src/solaris/classes/sun/awt/X11/XWindowPeer.java | 2 + src/solaris/classes/sun/awt/X11GraphicsDevice.java | 28 +- src/solaris/classes/sun/awt/fontconfigs/aix.fontconfig.properties | 75 + src/solaris/classes/sun/nio/ch/AixAsynchronousChannelProvider.java | 91 + src/solaris/classes/sun/nio/ch/AixPollPort.java | 536 + src/solaris/classes/sun/nio/ch/DefaultAsynchronousChannelProvider.java | 2 + src/solaris/classes/sun/nio/ch/FileDispatcherImpl.java | 8 +- src/solaris/classes/sun/nio/ch/Port.java | 8 + src/solaris/classes/sun/nio/fs/AixFileStore.java | 106 + src/solaris/classes/sun/nio/fs/AixFileSystem.java | 94 + src/solaris/classes/sun/nio/fs/AixFileSystemProvider.java | 58 + src/solaris/classes/sun/nio/fs/AixNativeDispatcher.java | 56 + src/solaris/classes/sun/nio/fs/DefaultFileSystemProvider.java | 2 + src/solaris/classes/sun/nio/fs/UnixCopyFile.java | 8 +- src/solaris/classes/sun/nio/fs/UnixFileAttributeViews.java | 6 +- src/solaris/classes/sun/nio/fs/UnixNativeDispatcher.java | 4 +- src/solaris/classes/sun/nio/fs/UnixSecureDirectoryStream.java | 4 +- src/solaris/classes/sun/print/UnixPrintService.java | 73 +- src/solaris/classes/sun/print/UnixPrintServiceLookup.java | 97 +- src/solaris/classes/sun/security/smartcardio/PlatformPCSC.java | 4 +- src/solaris/classes/sun/tools/attach/AixAttachProvider.java | 88 + src/solaris/classes/sun/tools/attach/AixVirtualMachine.java | 317 + src/solaris/demo/jni/Poller/Poller.c | 12 +- src/solaris/demo/jvmti/hprof/hprof_md.c | 87 +- src/solaris/javavm/export/jni_md.h | 18 +- src/solaris/native/com/sun/management/UnixOperatingSystem_md.c | 20 +- src/solaris/native/com/sun/media/sound/PLATFORM_API_SolarisOS_Utils.c | 2 +- src/solaris/native/com/sun/security/auth/module/Solaris.c | 17 +- src/solaris/native/com/sun/security/auth/module/Unix.c | 102 +- src/solaris/native/common/deps/cups_fp.c | 104 + src/solaris/native/common/deps/cups_fp.h | 61 + src/solaris/native/common/deps/fontconfig2/fontconfig/fontconfig.h | 302 + src/solaris/native/common/deps/fontconfig2/fontconfig_fp.c | 207 + src/solaris/native/common/deps/fontconfig2/fontconfig_fp.h | 161 + src/solaris/native/common/deps/gconf2/gconf/gconf-client.h | 41 + src/solaris/native/common/deps/gconf2/gconf_fp.c | 76 + src/solaris/native/common/deps/gconf2/gconf_fp.h | 48 + src/solaris/native/common/deps/glib2/gio/gio_typedefs.h | 65 + src/solaris/native/common/deps/glib2/gio_fp.c | 109 + src/solaris/native/common/deps/glib2/gio_fp.h | 61 + src/solaris/native/common/deps/glib2/glib_fp.h | 41 + src/solaris/native/common/deps/gtk2/gtk/gtk.h | 567 + src/solaris/native/common/deps/gtk2/gtk_fp.c | 398 + src/solaris/native/common/deps/gtk2/gtk_fp.h | 469 + src/solaris/native/common/deps/syscalls_fp.c | 122 + src/solaris/native/common/deps/syscalls_fp.h | 79 + src/solaris/native/java/io/UnixFileSystem_md.c | 2 +- src/solaris/native/java/lang/UNIXProcess_md.c | 2 +- src/solaris/native/java/lang/java_props_md.c | 7 +- src/solaris/native/java/net/Inet4AddressImpl.c | 55 + src/solaris/native/java/net/NetworkInterface.c | 173 +- src/solaris/native/java/net/PlainSocketImpl.c | 2 +- src/solaris/native/java/net/linux_close.c | 59 +- src/solaris/native/java/net/net_util_md.c | 27 + src/solaris/native/java/net/net_util_md.h | 13 +- src/solaris/native/java/util/TimeZone_md.c | 76 +- src/solaris/native/sun/awt/CUPSfuncs.c | 137 +- src/solaris/native/sun/awt/awt_GraphicsEnv.c | 2 +- src/solaris/native/sun/awt/awt_LoadLibrary.c | 65 +- src/solaris/native/sun/awt/awt_UNIXToolkit.c | 20 +- src/solaris/native/sun/awt/fontconfig.h | 941 -- src/solaris/native/sun/awt/fontpath.c | 420 +- src/solaris/native/sun/awt/gtk2_interface.c | 988 +- src/solaris/native/sun/awt/gtk2_interface.h | 580 +- src/solaris/native/sun/awt/splashscreen/splashscreen_sys.c | 7 + src/solaris/native/sun/awt/sun_awt_X11_GtkFileDialogPeer.c | 68 +- src/solaris/native/sun/awt/swing_GTKEngine.c | 76 +- src/solaris/native/sun/awt/swing_GTKStyle.c | 20 +- src/solaris/native/sun/java2d/opengl/OGLFuncs_md.h | 2 +- src/solaris/native/sun/java2d/x11/XRBackendNative.c | 6 +- src/solaris/native/sun/net/spi/DefaultProxySelector.c | 465 +- src/solaris/native/sun/nio/ch/AixPollPort.c | 181 + src/solaris/native/sun/nio/ch/DatagramChannelImpl.c | 2 +- src/solaris/native/sun/nio/ch/EPollArrayWrapper.c | 1 - src/solaris/native/sun/nio/ch/FileDispatcherImpl.c | 54 +- src/solaris/native/sun/nio/ch/Net.c | 126 +- src/solaris/native/sun/nio/ch/PollArrayWrapper.c | 51 +- src/solaris/native/sun/nio/ch/SctpChannelImpl.c | 49 +- src/solaris/native/sun/nio/ch/ServerSocketChannelImpl.c | 9 + src/solaris/native/sun/nio/fs/AixNativeDispatcher.c | 224 + src/solaris/native/sun/nio/fs/GnomeFileTypeDetector.c | 94 +- src/solaris/native/sun/nio/fs/LinuxNativeDispatcher.c | 50 +- src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c | 179 +- src/solaris/native/sun/security/krb5/internal/ccache/krb5ccache.c | 113 + src/solaris/native/sun/security/pkcs11/j2secmod_md.c | 15 +- src/solaris/native/sun/security/pkcs11/wrapper/p11_md.c | 2 +- src/solaris/native/sun/security/pkcs11/wrapper/p11_md.h | 5 + src/solaris/native/sun/security/smartcardio/pcsc_md.c | 40 +- src/solaris/native/sun/security/smartcardio/pcsc_md.h | 40 + src/solaris/native/sun/tools/attach/AixVirtualMachine.c | 283 + src/solaris/native/sun/tools/attach/BsdVirtualMachine.c | 4 + src/solaris/native/sun/xawt/awt_Desktop.c | 103 +- src/windows/bin/cmdtoargs.c | 76 +- src/windows/classes/sun/awt/shell/Win32ShellFolderManager2.java | 25 +- src/windows/classes/sun/awt/windows/WClipboard.java | 3 +- src/windows/classes/sun/awt/windows/WToolkit.java | 48 +- src/windows/classes/sun/java2d/d3d/D3DScreenUpdateManager.java | 64 +- src/windows/classes/sun/nio/ch/FileDispatcherImpl.java | 3 +- src/windows/classes/sun/nio/ch/WindowsAsynchronousFileChannelImpl.java | 3 +- src/windows/native/sun/font/fontpath.c | 26 +- src/windows/native/sun/security/pkcs11/j2secmod_md.c | 4 +- src/windows/native/sun/security/pkcs11/wrapper/p11_md.h | 4 + src/windows/native/sun/windows/awt_Toolkit.cpp | 11 +- test/ProblemList.txt | 9 - test/com/oracle/security/ucrypto/TestAES.java | 118 +- test/com/oracle/security/ucrypto/TestDigest.java | 24 +- test/com/oracle/security/ucrypto/TestRSA.java | 276 +- test/com/oracle/security/ucrypto/UcryptoTest.java | 28 +- test/com/sun/corba/cachedSocket/7056731.sh | 2 +- test/com/sun/crypto/provider/Cipher/UTIL/TestUtil.java | 13 +- test/com/sun/jdi/ImmutableResourceTest.sh | 2 +- test/com/sun/jdi/JITDebug.sh | 2 +- test/com/sun/jdi/ShellScaffold.sh | 4 +- test/com/sun/jdi/Solaris32AndSolaris64Test.sh | 2 +- test/com/sun/jdi/connect/spi/JdiLoadedByCustomLoader.sh | 2 +- test/com/sun/nio/sctp/SctpChannel/ReceiveIntoDirect.java | 276 + test/com/sun/tools/attach/CommonSetup.sh | 2 +- test/java/awt/Component/PrintAllXcheckJNI/PrintAllXcheckJNI.java | 9 + test/java/awt/Graphics2D/DrawString/DrawRotatedString.java | 81 + test/java/awt/Graphics2D/IncorrectTextSize/IncorrectTextSize.java | 77 + test/java/awt/Toolkit/AutoShutdown/ShowExitTest/ShowExitTest.sh | 8 + test/java/awt/Toolkit/LoadAWTCrashTest/LoadAWTCrashTest.java | 37 + test/java/awt/appletviewer/IOExceptionIfEncodedURLTest/IOExceptionIfEncodedURLTest.sh | 8 + test/java/awt/font/TextLayout/TestAATMorxFont.java | 86 + test/java/beans/Introspector/TestTypeResolver.java | 2 + test/java/io/Serializable/evolution/RenamePackage/run.sh | 2 +- test/java/io/Serializable/serialver/classpath/run.sh | 2 +- test/java/io/Serializable/serialver/nested/run.sh | 2 +- test/java/lang/ClassLoader/deadlock/TestCrossDelegate.sh | 3 + test/java/lang/ClassLoader/deadlock/TestOneWayDelegate.sh | 3 + test/java/lang/StringCoding/CheckEncodings.sh | 2 +- test/java/lang/annotation/loaderLeak/LoaderLeak.sh | 2 +- test/java/lang/instrument/appendToClassLoaderSearch/CommonSetup.sh | 4 + test/java/lang/management/OperatingSystemMXBean/TestSystemLoadAvg.sh | 2 +- test/java/net/Authenticator/B4933582.sh | 2 +- test/java/net/DatagramSocket/SetDatagramSocketImplFactory/ADatagramSocket.sh | 2 +- test/java/net/Socket/OldSocketImpl.sh | 2 +- test/java/net/URL/B5086147.sh | 2 +- test/java/net/URL/TestHttps.java | 34 + test/java/net/URL/runconstructor.sh | 2 +- test/java/net/URLClassLoader/B5077773.sh | 2 +- test/java/net/URLClassLoader/sealing/checksealed.sh | 2 +- test/java/net/URLConnection/6212146/test.sh | 2 +- test/java/nio/MappedByteBuffer/Basic.java | 91 +- test/java/nio/channels/spi/SelectorProvider/inheritedChannel/lib/linux-i586/libLauncher.so | Bin test/java/nio/channels/spi/SelectorProvider/inheritedChannel/lib/solaris-i586/libLauncher.so | Bin test/java/nio/channels/spi/SelectorProvider/inheritedChannel/lib/solaris-sparc/libLauncher.so | Bin test/java/nio/channels/spi/SelectorProvider/inheritedChannel/lib/solaris-sparcv9/libLauncher.so | Bin test/java/nio/charset/coders/CheckSJISMappingProp.sh | 2 +- test/java/nio/charset/spi/basic.sh | 4 +- test/java/rmi/activation/Activatable/extLoadedImpl/ext.sh | 2 +- test/java/rmi/activation/rmidViaInheritedChannel/InheritedChannelNotServerSocket.java | 9 +- test/java/rmi/activation/rmidViaInheritedChannel/RmidViaInheritedChannel.java | 9 +- test/java/rmi/registry/readTest/readTest.sh | 2 +- test/java/security/Security/ClassLoaderDeadlock/ClassLoaderDeadlock.sh | 4 + test/java/security/Security/ClassLoaderDeadlock/Deadlock.sh | 4 + test/java/security/Security/ClassLoaderDeadlock/Deadlock2.sh | 4 + test/java/security/Security/signedfirst/Dyn.sh | 4 + test/java/security/Security/signedfirst/Static.sh | 4 + test/java/util/Currency/PropertiesTest.sh | 2 +- test/java/util/Locale/LocaleCategory.sh | 2 +- test/java/util/Locale/data/deflocale.rhel5 | 3924 ---------- test/java/util/Locale/data/deflocale.rhel5.fmtasdefault | 3924 ---------- test/java/util/Locale/data/deflocale.sol10 | 1725 ---- test/java/util/Locale/data/deflocale.sol10.fmtasdefault | 1725 ---- test/java/util/Locale/data/deflocale.win7 | 1494 --- test/java/util/Locale/data/deflocale.win7.fmtasdefault | 1494 --- test/java/util/PluggableLocale/ExecTest.sh | 2 +- test/java/util/ResourceBundle/Bug6299235Test.sh | 2 +- test/java/util/ResourceBundle/Control/ExpirationTest.sh | 2 +- test/java/util/ServiceLoader/basic.sh | 2 +- test/java/util/prefs/CheckUserPrefsStorage.sh | 2 +- test/javax/crypto/SecretKeyFactory/FailOverTest.sh | 2 +- test/javax/imageio/plugins/jpeg/TruncatedImageWarningTest.java | 58 + test/javax/imageio/plugins/jpeg/truncated.jpg | Bin test/javax/imageio/stream/StreamCloserLeak/run_test.sh | 8 + test/javax/script/CommonSetup.sh | 2 +- test/javax/security/auth/Subject/doAs/Test.sh | 5 + test/lib/security/java.policy/Ext_AllPolicy.sh | 2 +- test/sun/management/jmxremote/bootstrap/GeneratePropertyPassword.sh | 2 +- test/sun/management/jmxremote/bootstrap/linux-i586/launcher | Bin test/sun/management/jmxremote/bootstrap/solaris-i586/launcher | Bin test/sun/management/jmxremote/bootstrap/solaris-sparc/launcher | Bin test/sun/management/windows/revokeall.exe | Bin test/sun/misc/URLClassPath/ClassnameCharTest.sh | 2 +- test/sun/net/InetAddress/nameservice/dns/cname.sh | 2 +- test/sun/net/idn/nfscis.spp | Bin test/sun/net/idn/nfscsi.spp | Bin test/sun/net/idn/nfscss.spp | Bin test/sun/net/idn/nfsmxp.spp | Bin test/sun/net/idn/nfsmxs.spp | Bin test/sun/net/www/MarkResetTest.sh | 2 +- test/sun/net/www/http/HttpClient/RetryPost.sh | 2 +- test/sun/net/www/protocol/file/DirPermissionDenied.sh | 1 + test/sun/net/www/protocol/jar/B5105410.sh | 2 +- test/sun/net/www/protocol/jar/jarbug/run.sh | 2 +- test/sun/security/krb5/auto/BadKdc.java | 29 +- test/sun/security/krb5/auto/BadKdc1.java | 11 +- test/sun/security/krb5/auto/BadKdc2.java | 7 +- test/sun/security/krb5/auto/MaxRetries.java | 8 +- test/sun/security/krb5/auto/TcpTimeout.java | 141 +- test/sun/security/krb5/runNameEquals.sh | 4 + test/sun/security/pkcs11/MessageDigest/TestCloning.java | 141 + test/sun/security/pkcs11/Provider/ConfigQuotedString.sh | 6 + test/sun/security/pkcs11/Provider/Login.sh | 6 + test/sun/security/pkcs11/nss/lib/linux-amd64/libfreebl3.chk | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libfreebl3.so | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libnspr4.so | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libnss3.so | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libnssckbi.so | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libplc4.so | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libplds4.so | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libsoftokn3.chk | Bin test/sun/security/pkcs11/nss/lib/linux-amd64/libsoftokn3.so | Bin test/sun/security/pkcs11/nss/lib/linux-i586/libnspr4.so | Bin test/sun/security/pkcs11/nss/lib/linux-i586/libnss3.so | Bin test/sun/security/pkcs11/nss/lib/linux-i586/libnssckbi.so | Bin test/sun/security/pkcs11/nss/lib/linux-i586/libplc4.so | Bin test/sun/security/pkcs11/nss/lib/linux-i586/libplds4.so | Bin test/sun/security/pkcs11/nss/lib/linux-i586/libsoftokn3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-amd64/libnspr4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-amd64/libnss3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-amd64/libnssckbi.so | Bin test/sun/security/pkcs11/nss/lib/solaris-amd64/libplc4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-amd64/libplds4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-amd64/libsoftokn3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-i586/libfreebl3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-i586/libnspr4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-i586/libnss3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-i586/libnssckbi.so | Bin test/sun/security/pkcs11/nss/lib/solaris-i586/libplc4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-i586/libplds4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-i586/libsoftokn3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libfreebl_hybrid_3.chk | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libfreebl_hybrid_3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libnspr4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libnss3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libnssckbi.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libplc4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libplds4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libsoftokn3.chk | Bin test/sun/security/pkcs11/nss/lib/solaris-sparc/libsoftokn3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparcv9/libnspr4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparcv9/libnss3.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparcv9/libnssckbi.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparcv9/libplc4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparcv9/libplds4.so | Bin test/sun/security/pkcs11/nss/lib/solaris-sparcv9/libsoftokn3.so | Bin test/sun/security/pkcs11/nss/lib/windows-i586/libnspr4.dll | Bin test/sun/security/pkcs11/nss/lib/windows-i586/libplc4.dll | Bin test/sun/security/pkcs11/nss/lib/windows-i586/libplds4.dll | Bin test/sun/security/pkcs11/nss/lib/windows-i586/nss3.dll | Bin test/sun/security/pkcs11/nss/lib/windows-i586/nssckbi.dll | Bin test/sun/security/pkcs11/nss/lib/windows-i586/softokn3.dll | Bin test/sun/security/provider/PolicyFile/getinstance/getinstance.sh | 4 + test/sun/security/ssl/com/sun/net/ssl/internal/ssl/EngineArgs/DebugReportsOneExtraByte.sh | 2 +- test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/NotifyHandshakeTest.sh | 2 +- test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/PostThruProxy.sh | 2 +- test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/PostThruProxyWithAuth.sh | 2 +- test/sun/security/tools/jarsigner/AlgOptions.sh | 2 +- test/sun/security/tools/jarsigner/PercentSign.sh | 2 +- test/sun/security/tools/jarsigner/diffend.sh | 2 +- test/sun/security/tools/jarsigner/oldsig.sh | 2 +- test/sun/security/tools/keytool/AltProviderPath.sh | 2 +- test/sun/security/tools/keytool/CloneKeyAskPassword.sh | 4 + test/sun/security/tools/keytool/NoExtNPE.sh | 4 + test/sun/security/tools/keytool/SecretKeyKS.sh | 2 +- test/sun/security/tools/keytool/StandardAlgName.sh | 2 +- test/sun/security/tools/keytool/printssl.sh | 2 +- test/sun/security/tools/keytool/resource.sh | 2 +- test/sun/security/tools/keytool/standard.sh | 2 +- test/sun/security/tools/policytool/Alias.sh | 2 +- test/sun/security/tools/policytool/ChangeUI.sh | 2 +- test/sun/security/tools/policytool/OpenPolicy.sh | 2 +- test/sun/security/tools/policytool/SaveAs.sh | 2 +- test/sun/security/tools/policytool/UpdatePermissions.sh | 2 +- test/sun/security/tools/policytool/UsePolicy.sh | 2 +- test/sun/security/tools/policytool/i18n.sh | 2 +- test/sun/tools/native2ascii/NativeErrors.java | 4 +- test/sun/tools/native2ascii/resources/ImmutableResourceTest.sh | 2 +- test/tools/launcher/I18NArgTest.java | 111 + test/tools/launcher/RunpathTest.java | 84 + test/tools/pack200/MemoryAllocatorTest.java | 369 + 738 files changed, 42765 insertions(+), 45934 deletions(-) diffs (truncated from 106626 to 500 lines): diff -r 1a90de8005e3 -r 18b79b346c2c .hgtags --- a/.hgtags Wed Mar 19 10:41:46 2014 -0700 +++ b/.hgtags Thu Apr 17 17:52:33 2014 +0100 @@ -50,6 +50,7 @@ f708138c9aca4b389872838fe6773872fce3609e jdk7-b73 eacb36e30327e7ae33baa068e82ddccbd91eaae2 jdk7-b74 8885b22565077236a927e824ef450742e434a230 jdk7-b75 +fb2ee5e96b171ae9db67274d87ffaba941e8bfa6 icedtea7-1.12 8fb602395be0f7d5af4e7e93b7df2d960faf9d17 jdk7-b76 e6a5d095c356a547cf5b3c8885885aca5e91e09b jdk7-b77 1143e498f813b8223b5e3a696d79da7ff7c25354 jdk7-b78 @@ -63,6 +64,7 @@ eae6e9ab26064d9ba0e7665dd646a1fd2506fcc1 jdk7-b86 2cafbbe9825e911a6ca6c17d9a18eb1f0bf0873c jdk7-b87 b3c69282f6d3c90ec21056cd1ab70dc0c895b069 jdk7-b88 +2017795af50aebc00f500e58f708980b49bc7cd1 icedtea7-1.13 4a6abb7e224cc8d9a583c23c5782e4668739a119 jdk7-b89 7f90d0b9dbb7ab4c60d0b0233e4e77fb4fac597c jdk7-b90 08a31cab971fcad4695e913d0f3be7bde3a90747 jdk7-b91 @@ -111,6 +113,7 @@ 554adcfb615e63e62af530b1c10fcf7813a75b26 jdk7-b134 d8ced728159fbb2caa8b6adb477fd8efdbbdf179 jdk7-b135 aa13e7702cd9d8aca9aa38f1227f966990866944 jdk7-b136 +1571aa7abe47a54510c62a5b59a8c343cdaf67cb icedtea-1.14 29296ea6529a418037ccce95903249665ef31c11 jdk7-b137 60d3d55dcc9c31a30ced9caa6ef5c0dcd7db031d jdk7-b138 d80954a89b49fda47c0c5cace65a17f5a758b8bd jdk7-b139 @@ -123,6 +126,7 @@ 539e576793a8e64aaf160e0d6ab0b9723cd0bef0 jdk7-b146 69e973991866c948cf1808b06884ef2d28b64fcb jdk7u1-b01 f097ca2434b1412b12ab4a5c2397ce271bf681e7 jdk7-b147 +7ec1845521edfb1843cad3868217983727ece53d icedtea-2.0-branchpoint 2baf612764d215e6f3a5b48533f74c6924ac98d7 jdk7u1-b02 a4781b6d9cfb6901452579adee17c9a17c1b584c jdk7u1-b03 b223ed9a5fdf8ce3af42adfa8815975811d70eae jdk7u1-b04 @@ -141,6 +145,7 @@ 79c8c4608f60e1f981b17ba4077dfcaa2ed67be4 jdk7u2-b12 fb2980d7c9439e3d62ab12f40506a2a2db2df0f4 jdk7u2-b13 24e42f1f9029f9f5a9b1481d523facaf09452e5b jdk7u2-b21 +a75913596199fbb8583f9d74021f54dc76f87b14 icedtea-2.1-branchpoint e3790f3ce50aa4e2a1b03089ac0bcd48f9d1d2c2 jdk7u3-b02 7e8351342f0b22b694bd3c2db979643529f32e71 jdk7u3-b03 fc6b7b6ac837c9e867b073e13fc14e643f771028 jdk7u3-b04 @@ -157,6 +162,7 @@ 6485e842d7f736b6ca3d7e4a7cdc5de6bbdd870c jdk7u4-b10 d568e85567ccfdd75f3f0c42aa0d75c440422827 jdk7u4-b11 16781e84dcdb5f82c287a3b5387dde9f8aaf74e0 jdk7u4-b12 +907555f6191a0cd84886b07c4c40bc6ce498b8b1 icedtea-2.2-branchpoint c929e96aa059c8b79ab94d5b0b1a242ca53a5b32 jdk7u4-b13 09f612bac047b132bb9bf7d4aa8afe6ea4d5b938 jdk7u4-b14 9e15d1f3fa4b35b8c950323c76b9ed094d434b97 jdk7u5-b01 @@ -186,11 +192,15 @@ a2bd61800667c38d759a0e02a756063d47dbcdc0 jdk7u6-b10 18a1b4f0681ae6e748fc60162dd76e357de3304b jdk7u6-b11 76306dce87104d9f333db3371ca97c80cac9674a jdk7u6-b12 +35172a51cc7639a44fe06ffbd5be471e48b71a88 ppc-aix-port-b01 +3097457689ba2d41b1d692191c5ba2f2b30aff9e ppc-aix-port-b02 +3097457689ba2d41b1d692191c5ba2f2b30aff9e ppc-aix-port-b03 aa49fe7490963f0c53741fbca3a175e0fec93951 jdk7u6-b13 3ce621d9b988abcccd86b52a97ea39133006c245 jdk7u6-b14 e50c9a5f001c61f49e7e71b25b97ed4095d3557b jdk7u6-b15 966e21feb7f088e318a35b069c1a61ff6363e554 jdk7u6-b16 aa0ad405f70bc7a7af95fef109f114ceecf31232 jdk7u6-b17 +8ff5fca08814f1f0eeda40aaec6f2936076b7444 icedtea-2.3-branchpoint 4a6917092af80481c1fa5b9ec8ccae75411bb72c jdk7u6-b18 a263f787ced5bc7c14078ae552c82de6bd011611 jdk7u6-b19 09145b546a2b6ae1f44d5c8a7d2a37d48e4b39e2 jdk7u6-b20 @@ -258,11 +268,13 @@ cb81ee79a72d84f99b8e7d73b5ae73124b661fe7 jdk7u12-b07 b5e180ef18a0c823675bcd32edfbf2f5122d9722 jdk7u12-b08 2e7fe0208e9c928f2f539fecb6dc8a1401ecba9e jdk7u12-b09 +b171007921c3d01066848c88cbcb6a376df3f01c icedtea-2.4-branchpoint e012aace90500a88f51ce83fcd27791f5dbf493f jdk7u14-b10 9eb82fb221f3b34a5df97e7db3c949fdb0b6fee0 jdk7u14-b11 ee3ab2ed2371dd72ad5a75ebb6b6b69071e29390 jdk7u14-b12 7c0d4bfd9d2c183ebf8566013af5111927b472f6 jdk7u14-b13 3982fc37bc256b07a710f25215e5525cfbefe2ed jdk7u14-b14 +739869c45976bb154908af5d145b7ed98c6a7d47 ppc-aix-port-b04 2eb3ac105b7fe7609a20c9986ecbccab71f1609f jdk7u14-b15 835448d525a10bb826f4f7ebe272fc410bdb0f5d jdk7u15-b01 0443fe2d8023111b52f4c8db32e038f4a5a9f373 jdk7u15-b02 @@ -365,8 +377,10 @@ c5ca4daec23b5e7f99ac8d684f5016ff8bfebbb0 jdk7u45-b18 4797f984f6c93c433aa797e9b2d8f904cf083f96 jdk7u45-b30 8c343a783777b8728cb819938f387db0acf7f3ac jdk7u45-b31 +db5a29c812ee25c34ce9cd97de6e0dae284a4e34 jdk7u60-b00 402d54c7d8ce95f3945cc3d698e528e4adec7b9b jdk7u45-b33 34e8f9f26ae612ebac36357eecbe70ea20e0233c jdk7u45-b34 +3dbb06a924cdf73d39b8543824ec88ae501ba5c6 jdk7u45-b35 3c9a6d9eafd31be44b0ade0354e60f5078b417a4 jdk7u51-b00 d76613074ff357d0664b97b4aaf99fbb65dcec47 jdk7u51-b01 fb057871f094ebe4906ad6856326768b01a62c45 jdk7u51-b02 @@ -383,9 +397,31 @@ d19a89fdfb9b959b8638441d9d396685d6c7ab7b jdk7u51-b13 ef58b2b9a9a1e1a42b0139b57816a160c4681371 jdk7u51-b30 5bca0d0969b13b1d9b8caba3cce8293a98d68318 jdk7u51-b31 +e9143dc3dc2a8f4b896e74f70d6c503d73c40533 jdk7u51-b33 +c1eaf405fb8d7beddd75c6f81671970f6baa70d8 jdk7u51-b34 +f5eee4f1d5b4a1e19febc9c26c863ae853ed6d2e jdk7u55-b00 +5010db5b9b5ab07a9409a5c557d3f43ab32dc428 jdk7u55-b01 +2ca3e1fa4455ad564228ad6e654498167af2f20d jdk7u55-b02 +c12b3c81366cb067ff4444952209d54bfa387353 jdk7u55-b03 +476d1bddaa32bf440953c3b1814ba38f16886c03 jdk7u55-b04 +7fa6d3ba2cc77cd1e6f24e33f0c39788cb2893b8 jdk7u55-b05 +795654fce29c38d4c8504f760d8d8a36248d38ed jdk7u55-b06 +4b2ed892b195e95f7541aaa3b129a2caa5faae1d jdk7u55-b07 +db1323224053a18ecc62bdc1d3902d93b33f0b70 jdk7u55-b08 +534eeff29ac9fcbbb99ef8908548dbb368d04baf jdk7u55-b09 +d39dd4135844ca5c707bc39ae1d7e020d49880ce jdk7u55-b09 +b231536550067c3b00c77d0e035afe8faaa15581 jdk7u55-b10 +2d80b7cd7aae76f0909a210414317dcf846ad651 jdk7u55-b11 +07be5d5508733ed37c11fcd21a13ae3c8288313b jdk7u55-b12 +92fd166252c2701092a510002f4cf9285a20473d jdk7u55-b13 +4a5651c84b1e6cf26dc9b19f00747e5004efba68 jdk7u55-b30 +ffd99c5975217a14609851602c5f5dc005234aba jdk7u55-b14 +88f1bf248cc520e0bf7ef17bc862f87aab958373 jdk7u55-b31 db5a29c812ee25c34ce9cd97de6e0dae284a4e34 jdk7u60-b00 def34c4a798678c424786a8f0d0508e90185958d jdk7u60-b01 ff67c89658525e8903fb870861ed3645befd6bc5 jdk7u60-b02 +7d5b758810c20af12c6576b7d570477712360744 icedtea-2.5pre01 +3162252ff26b4e6788b0c79405b035b535afa018 icedtea-2.5pre02 b1bcc999a8f1b4b4452b59c6636153bb0154cf5a jdk7u60-b03 efc8886310cbccb941f826acfad2ad51a2891be5 jdk7u60-b04 4fb749a3110727d5334c69793578a3254a053bf5 jdk7u60-b05 @@ -395,3 +431,8 @@ 7b571638b0f51bcbe04c088dfff569b4cba6bbdf jdk7u60-b09 fb4981489b09594d2449527e2d511834cf8ad370 jdk7u60-b10 c2bb87dae8a08eab6f4f336ce5a59865aa0214d6 jdk7u60-b11 +06f771c9a7b7e05cadfde6f316893be31f18ea70 icedtea-2.5pre03 +1a90de8005e3de2475fd9355dcdb6f5e60bf89cc jdk7u60-b12 +b06d4ed71ae0bc6e13f5a8437cb6388f17c66e84 jdk7u60-b13 +b7fbd9b4febf8961091fdf451d3da477602a8f1d jdk7u60-b14 +04882f9a073e8de153ec7ad32486569fd9a087ec jdk7u60-b15 diff -r 1a90de8005e3 -r 18b79b346c2c .jcheck/conf --- a/.jcheck/conf Wed Mar 19 10:41:46 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -project=jdk7 -bugids=dup diff -r 1a90de8005e3 -r 18b79b346c2c make/com/sun/java/pack/Makefile --- a/make/com/sun/java/pack/Makefile Wed Mar 19 10:41:46 2014 -0700 +++ b/make/com/sun/java/pack/Makefile Thu Apr 17 17:52:33 2014 +0100 @@ -75,7 +75,7 @@ OTHER_CXXFLAGS += $(ZINCLUDE) LDDFLAGS += $(ZIPOBJS) else - LDDFLAGS += $(ZLIB_LIBS) + OTHER_LDLIBS += $(ZLIB_LIBS) OTHER_CXXFLAGS += $(ZLIB_CFLAGS) -DSYSTEM_ZLIB endif else @@ -99,8 +99,7 @@ RES = $(OBJDIR)/$(PGRM).res else LDOUTPUT = -o #Have a space - LDDFLAGS += -lc - OTHER_LDLIBS += $(LIBCXX) + OTHER_LDLIBS += -lc $(LIBCXX) # setup the list of libraries to link in... ifeq ($(PLATFORM), linux) ifeq ("$(CC_VER_MAJOR)", "3") @@ -157,7 +156,7 @@ $(prep-target) $(RM) $(TEMPDIR)/mapfile-vers $(CP) mapfile-vers-unpack200 $(TEMPDIR)/mapfile-vers - $(LINKER) $(LDDFLAGS) $(UNPACK_EXE_FILES_o) $(RES) $(LIBCXX) $(LDOUTPUT)$(TEMPDIR)/unpack200$(EXE_SUFFIX) + $(LINKER) $(LDDFLAGS) $(UNPACK_EXE_FILES_o) $(RES) $(OTHER_LDLIBS) $(LDOUTPUT)$(TEMPDIR)/unpack200$(EXE_SUFFIX) ifdef MT $(MT) /manifest $(OBJDIR)/unpack200$(EXE_SUFFIX).manifest /outputresource:$(TEMPDIR)/unpack200$(EXE_SUFFIX);#1 endif diff -r 1a90de8005e3 -r 18b79b346c2c make/com/sun/jmx/Makefile --- a/make/com/sun/jmx/Makefile Wed Mar 19 10:41:46 2014 -0700 +++ b/make/com/sun/jmx/Makefile Thu Apr 17 17:52:33 2014 +0100 @@ -114,13 +114,19 @@ endif ifeq ($(CROSS_COMPILE_ARCH),) -RMIC = $(RMIC_JAVA) $(JAVA_TOOLS_FLAGS) -cp $(OUTPUTDIR)/classes sun.rmi.rmic.Main +RMIC_VM = $(RMIC_JAVA) else -RMIC = $(BOOT_JAVA_CMD) $(JAVA_TOOLS_FLAGS) -cp $(OUTPUTDIR)/classes sun.rmi.rmic.Main +RMIC_VM = $(BOOT_JAVA_CMD) endif +RMIC = $(RMIC_VM) $(JAVA_TOOLS_FLAGS) -cp $(OUTPUTDIR)/classes sun.rmi.rmic.Main $(CLASSDESTDIR)/%_Stub.class: $(CLASSDESTDIR)/%.class $(prep-target) + if [ -x $(PAX_COMMAND) ] ; then \ + if [ -w $(RMIC_VM) ] ; then \ + $(PAX_COMMAND) $(PAX_COMMAND_ARGS) $(RMIC_VM) ; \ + fi ; \ + fi $(RMIC) -classpath "$(CLASSDESTDIR)" \ -d $(CLASSDESTDIR) \ -v1.2 \ diff -r 1a90de8005e3 -r 18b79b346c2c make/com/sun/nio/Makefile --- a/make/com/sun/nio/Makefile Wed Mar 19 10:41:46 2014 -0700 +++ b/make/com/sun/nio/Makefile Thu Apr 17 17:52:33 2014 +0100 @@ -31,7 +31,7 @@ include $(BUILDDIR)/common/Defs.gmk # MMM: disable for now -ifneq ($(PLATFORM), macosx) +ifeq (, $(findstring $(PLATFORM), macosx aix)) include $(BUILDDIR)/common/Subdirs.gmk SUBDIRS = sctp endif diff -r 1a90de8005e3 -r 18b79b346c2c make/com/sun/nio/sctp/Makefile --- a/make/com/sun/nio/sctp/Makefile Wed Mar 19 10:41:46 2014 -0700 +++ b/make/com/sun/nio/sctp/Makefile Thu Apr 17 17:52:33 2014 +0100 @@ -60,7 +60,9 @@ -I$(CLASSHDRDIR)/../../../../java/java.nio/nio/CClassHeaders ifeq ($(PLATFORM), linux) +ifneq ($(COMPILER_WARNINGS_FATAL),false) COMPILER_WARNINGS_FATAL=true +endif #OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -ljava -lnet -lpthread -ldl OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -lnio -lnet -lpthread -ldl endif diff -r 1a90de8005e3 -r 18b79b346c2c make/com/sun/security/auth/module/Makefile --- a/make/com/sun/security/auth/module/Makefile Wed Mar 19 10:41:46 2014 -0700 +++ b/make/com/sun/security/auth/module/Makefile Thu Apr 17 17:52:33 2014 +0100 @@ -67,7 +67,7 @@ include FILES_c_solaris.gmk endif # solaris -ifneq (,$(findstring $(PLATFORM), linux macosx)) +ifneq (,$(findstring $(PLATFORM), linux macosx aix)) LIBRARY = jaas_unix include FILES_export_unix.gmk include FILES_c_unix.gmk @@ -78,7 +78,3 @@ # include $(BUILDDIR)/common/Library.gmk -# -# JVMDI implementation lives in the VM. -# -OTHER_LDLIBS = $(JVMLIB) diff -r 1a90de8005e3 -r 18b79b346c2c make/com/sun/tools/attach/Exportedfiles.gmk --- a/make/com/sun/tools/attach/Exportedfiles.gmk Wed Mar 19 10:41:46 2014 -0700 +++ b/make/com/sun/tools/attach/Exportedfiles.gmk Thu Apr 17 17:52:33 2014 +0100 @@ -47,3 +47,8 @@ FILES_export = \ sun/tools/attach/BsdVirtualMachine.java endif + +ifeq ($(PLATFORM), aix) +FILES_export = \ + sun/tools/attach/AixVirtualMachine.java +endif diff -r 1a90de8005e3 -r 18b79b346c2c make/com/sun/tools/attach/FILES_c.gmk --- a/make/com/sun/tools/attach/FILES_c.gmk Wed Mar 19 10:41:46 2014 -0700 +++ b/make/com/sun/tools/attach/FILES_c.gmk Thu Apr 17 17:52:33 2014 +0100 @@ -43,3 +43,8 @@ FILES_c = \ BsdVirtualMachine.c endif + +ifeq ($(PLATFORM), aix) +FILES_c = \ + AixVirtualMachine.c +endif diff -r 1a90de8005e3 -r 18b79b346c2c make/com/sun/tools/attach/FILES_java.gmk --- a/make/com/sun/tools/attach/FILES_java.gmk Wed Mar 19 10:41:46 2014 -0700 +++ b/make/com/sun/tools/attach/FILES_java.gmk Thu Apr 17 17:52:33 2014 +0100 @@ -32,7 +32,7 @@ com/sun/tools/attach/spi/AttachProvider.java \ sun/tools/attach/HotSpotAttachProvider.java \ sun/tools/attach/HotSpotVirtualMachine.java - + ifeq ($(PLATFORM), solaris) FILES_java += \ sun/tools/attach/SolarisAttachProvider.java @@ -48,11 +48,16 @@ sun/tools/attach/BsdAttachProvider.java endif +ifeq ($(PLATFORM), aix) +FILES_java += \ + sun/tools/attach/AixAttachProvider.java +endif + # # Files that need to be copied # SERVICEDIR = $(CLASSBINDIR)/META-INF/services - + FILES_copy = \ $(SERVICEDIR)/com.sun.tools.attach.spi.AttachProvider diff -r 1a90de8005e3 -r 18b79b346c2c make/common/Defs-aix.gmk --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/make/common/Defs-aix.gmk Thu Apr 17 17:52:33 2014 +0100 @@ -0,0 +1,391 @@ +# +# Copyright (c) 1995, 2012, 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 +# under the terms of the GNU General Public License version 2 only, as +# published by the Free Software Foundation. Oracle designates this +# particular file as subject to the "Classpath" exception as provided +# by Oracle in the LICENSE file that accompanied this code. +# +# This code is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# version 2 for more details (a copy is included in the LICENSE file that +# accompanied this code). +# +# You should have received a copy of the GNU General Public License version +# 2 along with this work; if not, write to the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA +# or visit www.oracle.com if you need additional information or have any +# questions. +# + +# +# Makefile to specify compiler flags for programs and libraries +# targeted to AIX. Should not contain any rules. +# +# WARNING: This file is shared with other workspaces. +# So when it includes other files, it must use JDK_TOPDIR. +# + +# Warning: the following variables are overridden by Defs.gmk. Set +# values will be silently ignored: +# CFLAGS (set $(OTHER_CFLAGS) instead) +# CPPFLAGS (set $(OTHER_CPPFLAGS) instead) +# CXXFLAGS (set $(OTHER_CXXFLAGS) instead) +# LDFLAGS (set $(OTHER_LDFAGS) instead) +# LDLIBS (set $(EXTRA_LIBS) instead) +# LDLIBS_COMMON (set $(EXTRA_LIBS) instead) +# LINTFLAGS (set $(OTHER_LINTFLAGS) instead) +# +# Note: CPPFLAGS are used in C and C++ compiles. +# + +# Get shared JDK settings +include $(JDK_MAKE_SHARED_DIR)/Defs.gmk + +# define these to avoid picking up ones from aliases or from +# non-standard locations +# + +AR = $(USRBIN_PATH)ar +BASENAME = $(UNIXCOMMAND_PATH)basename +CAT = $(UNIXCOMMAND_PATH)cat +CD = cd # intrinsic unix command +CHMOD = $(UNIXCOMMAND_PATH)chmod +CMP = $(USRBIN_PATH)cmp +COMPRESS = $(USRBIN_PATH)compress +CP = $(UNIXCOMMAND_PATH)cp +CPIO = $(UNIXCOMMAND_PATH)cpio +CUT = $(USRBIN_PATH)cut +DATE = $(UNIXCOMMAND_PATH)date +DF = $(UNIXCOMMAND_PATH)df +DIFF = $(USRBIN_PATH)diff +DIRNAME = $(USRBIN_PATH)dirname +ECHO = echo # intrinsic unix command, with backslash-escaped character interpretation +EGREP = $(UNIXCOMMAND_PATH)egrep +EXPR = $(USRBIN_PATH)expr + +FIND = $(UNIXCOMMAND_PATH)find + +HEAD = $(USRBIN_PATH)head +GREP = $(UNIXCOMMAND_PATH)grep +GUNZIP = $(UNIXCOMMAND_PATH)gunzip +LEX = $(USRBIN_PATH)lex +LN = $(UNIXCOMMAND_PATH)ln +LS = $(UNIXCOMMAND_PATH)ls +M4 = $(USRBIN_PATH)m4 +MKDIR = $(UNIXCOMMAND_PATH)mkdir +MV = $(UNIXCOMMAND_PATH)mv +NAWK = $(USRBIN_PATH)awk +PWD = $(UNIXCOMMAND_PATH)pwd +#RM is defined by GNU Make as 'rm -f' +RMDIR = $(UNIXCOMMAND_PATH)rmdir +RPM = $(UNIXCOMMAND_PATH)rpm +SED = $(UNIXCOMMAND_PATH)sed +SH = $(UNIXCOMMAND_PATH)sh +SORT = $(UNIXCOMMAND_PATH)sort +STRIP = $(USRBIN_PATH)strip +TAIL = $(USRBIN_PATH)tail + +TAR = tar # We need GNU TAR which must be found trough PATH (may be in /opt/freeware/bin or /usr/local/bin) + +TEST = $(USRBIN_PATH)test +TOUCH = $(UNIXCOMMAND_PATH)touch +TR = $(USRBIN_PATH)tr +TRUE = $(UNIXCOMMAND_PATH)true +UNAME = $(UNIXCOMMAND_PATH)uname +UNIQ = $(USRBIN_PATH)uniq +UNZIPSFX = $(USRBIN_PATH)unzipsfx +YACC = $(USRBIN_PATH)yacc + +ZIPEXE = zip # Must be found trough PATH (may be in /opt/freeware/bin or /usr/local/bin) + +OS_VERSION = $(shell $(UNAME) -v) +OS_NAME = aix + +ARCH_DATA_MODEL=64 + +LIBARCH = ppc64 + +# Value of Java os.arch property +ARCHPROP = $(LIBARCH) + +BINDIR = $(OUTPUTDIR)/bin + +# where is unwanted output to be delivered? +DEV_NULL = /dev/null +export DEV_NULL + +CLASSPATH_SEPARATOR = : + +ifndef PLATFORM_SRC + PLATFORM_SRC = $(BUILDDIR)/../src/solaris +endif # PLATFORM_SRC + +# Location of the various .properties files specific to Linux platform +ifndef PLATFORM_PROPERTIES + PLATFORM_PROPERTIES = $(BUILDDIR)/../src/solaris/lib +endif # PLATFORM_SRC + +# Platform specific closed sources +ifndef OPENJDK + ifndef CLOSED_PLATFORM_SRC + CLOSED_PLATFORM_SRC = $(BUILDDIR)/../src/closed/solaris + endif +endif + +# platform specific include files +PLATFORM_INCLUDE_NAME = $(PLATFORM) +PLATFORM_INCLUDE = $(INCLUDEDIR)/$(PLATFORM_INCLUDE_NAME) + +# OBJECT_SUFFIX, LIBRARY_SUFFIX, EXE_SUFFICS etc. are set in +# j2se/make/common/shared/Platform.gmk . Just override those which differ for AIX. +# suffix used for make dependencies files. +# -qmakedep outputs .u, not .d +override DEPEND_SUFFIX = u +# suffix used for lint files +LINT_SUFFIX = ln +# The suffix applied to the library name for FDLIBM +FDDLIBM_SUFFIX = a +# The suffix applied to scripts (.bat for windows, nothing for unix) +SCRIPT_SUFFIX = +# CC compiler object code output directive flag value +CC_OBJECT_OUTPUT_FLAG = -o #trailing blank required! +CC_PROGRAM_OUTPUT_FLAG = -o #trailing blank required! + +# On AIX we don't have any issues using javah and javah_g. +JAVAH_SUFFIX = $(SUFFIX) + +# +# Default optimization +# + +ifndef OPTIMIZATION_LEVEL + ifeq ($(PRODUCT), java) + OPTIMIZATION_LEVEL = HIGHER + else + OPTIMIZATION_LEVEL = LOWER + endif +endif +ifndef FASTDEBUG_OPTIMIZATION_LEVEL + FASTDEBUG_OPTIMIZATION_LEVEL = LOWER +endif + +CC_OPT/LOWER = -O2 +CC_OPT/HIGHER = -O3 + +CC_OPT = $(CC_OPT/$(OPTIMIZATION_LEVEL)) + +# +# Selection of warning messages +# +CFLAGS_SHARED_OPTION=-qmkshrobj +CXXFLAGS_SHARED_OPTION=-qmkshrobj + +# +# If -Xa is in CFLAGS_COMMON it will end up ahead of $(POPT) for the +# optimized build, and that ordering of the flags completely freaks +# out cc. Hence, -Xa is instead in each CFLAGS variant. +# The extra options to the C++ compiler prevent it from: +# - adding runpath (dump -Lv) to *your* C++ compile install dir +# - adding stubs to various things such as thr_getspecific (hence -nolib) +# - creating Templates.DB in current directory (arch specific) +CFLAGS_COMMON = -qchars=signed +PIC_CODE_LARGE = -qpic=large +PIC_CODE_SMALL = -qpic=small +GLOBAL_KPIC = $(PIC_CODE_LARGE) +CFLAGS_COMMON += $(GLOBAL_KPIC) $(GCC_WARNINGS) +# save compiler options into object file From andrew at icedtea.classpath.org Thu Apr 17 21:51:51 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 17 Apr 2014 21:51:51 +0000 Subject: /hg/release/icedtea7-forest-2.5/jdk: Fix merge duplication in co... Message-ID: changeset 2cef4a93bcb8 in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=2cef4a93bcb8 author: andrew date: Thu Apr 17 22:51:43 2014 +0100 Fix merge duplication in com.sun.script.javascript.RhinoTopLevel diffstat: src/share/classes/com/sun/script/javascript/RhinoTopLevel.java | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diffs (11 lines): diff -r 18b79b346c2c -r 2cef4a93bcb8 src/share/classes/com/sun/script/javascript/RhinoTopLevel.java --- a/src/share/classes/com/sun/script/javascript/RhinoTopLevel.java Thu Apr 17 17:52:33 2014 +0100 +++ b/src/share/classes/com/sun/script/javascript/RhinoTopLevel.java Thu Apr 17 22:51:43 2014 +0100 @@ -26,7 +26,6 @@ package com.sun.script.javascript; import sun.org.mozilla.javascript.internal.*; -import java.security.AccessControlContext; import javax.script.*; import java.security.AccessControlContext; From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 00:32:25 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 00:32:25 +0000 Subject: [Bug 1736] Awt loads gtk3 in all the look and feel configurations In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1736 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Version|unspecified |2.4.4 --- Comment #1 from Andrew John Hughes --- It's because it's linked to libmawt.so. I guess the solution would be to put the Gtk look and feel code in a separate library. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 00:33:53 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 00:33:53 +0000 Subject: [Bug 1719] A fatal error has been detected by the Java Runtime Environment In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1719 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID Severity|critical |normal --- Comment #4 from Andrew John Hughes --- You haven't mentioned the version of IcedTea being used here. It sounds like an issue with the native library, so I'll close this as INVALID. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 00:34:16 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 00:34:16 +0000 Subject: [Bug 1657] Java VM crash SIGSEGV In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1657 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal --- Comment #1 from Andrew John Hughes --- Which version of IcedTea is this? -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 00:35:12 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 00:35:12 +0000 Subject: [Bug 1720] Crashes when attempting to build uPortal In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1720 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from Andrew John Hughes --- This looks like a bug in whatever package provides org.hsqldb.HsqlException.equals -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 05:13:54 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 05:13:54 +0000 Subject: [Bug 1657] Java VM crash SIGSEGV In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1657 --- Comment #2 from Blew --- I think the version is on top of the attachment right? It was the official build released by centos on that date. I have reimaged the machine and refactored the app, so I am unsure if it repros with me.. JRE version: OpenJDK Runtime Environment (7.0_45-b15) (build 1.7.0_45-mockbuild_2013_10_16_17_51-b00) # Java VM: OpenJDK 64-Bit Server VM (24.45-b08 mixed mode linux-amd64 compressed oops) -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew at icedtea.classpath.org Fri Apr 18 05:46:19 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 18 Apr 2014 05:46:19 +0000 Subject: /hg/release/icedtea7-2.5: Update to icedtea-2.5pre04. Message-ID: changeset 579668bd82f7 in /hg/release/icedtea7-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-2.5?cmd=changeset;node=579668bd82f7 author: Andrew John Hughes date: Fri Apr 18 06:46:03 2014 +0100 Update to icedtea-2.5pre04. 2014-04-18 Andrew John Hughes * Makefile.am: (BUILD_VERSION): Bump to b15. (CORBA_CHANGESET): Update to icedtea-2.5pre04 tag. (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. (ICEDTEA_PATCHES): Temporarily disable systemtap_gc patch which breaks build. * NEWS: Updated. * configure.ac: Bump to pre04. * hotspot.map: Update to icedtea-2.5pre04. * patches/boot/ecj-autoboxing.patch: Regenerated. * patches/boot/ecj-diamond.patch: Regenerated and new cases added for JDK13Services, SubjectDelegator and ScriptEngineManager. * patches/boot/ecj-trywithresources.patch: Regenerated. * patches/rhino.patch: Likewise. diffstat: ChangeLog | 28 + Makefile.am | 30 +- NEWS | 34 +- configure.ac | 2 +- hotspot.map | 2 +- patches/boot/ecj-autoboxing.patch | 236 +++--- patches/boot/ecj-diamond.patch | 1138 ++++++++++++++++-------------- patches/boot/ecj-trywithresources.patch | 188 ++-- patches/rhino.patch | 52 +- 9 files changed, 906 insertions(+), 804 deletions(-) diffs (truncated from 4132 to 500 lines): diff -r d3eb8e1c6de5 -r 579668bd82f7 ChangeLog --- a/ChangeLog Wed Apr 02 20:10:19 2014 +0100 +++ b/ChangeLog Fri Apr 18 06:46:03 2014 +0100 @@ -1,3 +1,31 @@ +2014-04-18 Andrew John Hughes + + * Makefile.am: + (BUILD_VERSION): Bump to b15. + (CORBA_CHANGESET): Update to icedtea-2.5pre04 tag. + (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. + (ICEDTEA_PATCHES): Temporarily disable systemtap_gc + patch which breaks build. + * NEWS: Updated. + * configure.ac: Bump to pre04. + * hotspot.map: Update to icedtea-2.5pre04. + * patches/boot/ecj-autoboxing.patch: Regenerated. + * patches/boot/ecj-diamond.patch: Regenerated and + new cases added for JDK13Services, SubjectDelegator + and ScriptEngineManager. + * patches/boot/ecj-trywithresources.patch: Regenerated. + * patches/rhino.patch: Likewise. + 2014-03-27 Andrew John Hughes * acinclude.m4: diff -r d3eb8e1c6de5 -r 579668bd82f7 Makefile.am --- a/Makefile.am Wed Apr 02 20:10:19 2014 +0100 +++ b/Makefile.am Fri Apr 18 06:46:03 2014 +0100 @@ -1,22 +1,22 @@ # Dependencies JDK_UPDATE_VERSION = 60 -BUILD_VERSION = b12 +BUILD_VERSION = b15 COMBINED_VERSION = $(JDK_UPDATE_VERSION)-$(BUILD_VERSION) -CORBA_CHANGESET = 3a7c12d7b1cf -JAXP_CHANGESET = 1fef0a819b0a -JAXWS_CHANGESET = c3f7dc317cdb -JDK_CHANGESET = 06f771c9a7b7 -LANGTOOLS_CHANGESET = f38810d86876 -OPENJDK_CHANGESET = 9e3f6f4585c5 +CORBA_CHANGESET = e120608ed399 +JAXP_CHANGESET = 611fdb7bcd4f +JAXWS_CHANGESET = 8c3ac91d06c0 +JDK_CHANGESET = 2cef4a93bcb8 +LANGTOOLS_CHANGESET = 2f5810fa2937 +OPENJDK_CHANGESET = c6d37b19485e -CORBA_SHA256SUM = 5482758eb6ba5953b100dd8754b11905bcfc839741f1987c301fd16f26222a74 -JAXP_SHA256SUM = 1fa313b7d1bddc6d52cfd344a281ed9d5fffd79bdc83499b9761581aacb6dd1e -JAXWS_SHA256SUM = f6c9d4da5581d08ba5b0cc692d84dea7b90d665d10e0c1eedcfe8c706bc779ef -JDK_SHA256SUM = d3a87a47e2919e76abe9f616378852546300f6630804cb2ec1defb642d113f31 -LANGTOOLS_SHA256SUM = 7b77d3083347edd22a9227175cce2749844e59bcad737c22b4ede925c25cb34d -OPENJDK_SHA256SUM = f13b6a59399b388875bf71c8b864bff025d2cf2beb494fa00df60034ca4267bb +CORBA_SHA256SUM = 16d1f4117a86bbc0ce29fc2ef7797fba9e9a9977b6dae49dcf606592d37a03fc +JAXP_SHA256SUM = 6781b72fbe79b396262f942b6deaa2151deacf1a20b88d55145aa06cfa14e6e2 +JAXWS_SHA256SUM = a2c63277208f45addc51bbd5e40bf7dc7b0261fa9154cd4df7e0a5bfbf414440 +JDK_SHA256SUM = f3fea92a9caf00a5b3dbceb6fbe16d45ffb43be05371f15325d3246269a502f0 +LANGTOOLS_SHA256SUM = c19e847a613e2126ce91bfe4fdab8484356b1fb98d5754d85ca231145c02d002 +OPENJDK_SHA256SUM = ede5c64b02378d59e7ea96c9bab6c7c43d8095ddb576dc0159f68f658112b46d CACAO_VERSION = e215e36be9fc CACAO_SHA256SUM = 4966514c72ee7ed108b882d9b6e65c3adf8a8f9c2dccb029f971b3c8cb4870ab @@ -289,8 +289,8 @@ endif if ENABLE_SYSTEMTAP -ICEDTEA_PATCHES += \ - patches/hotspot/$(HSBUILD)/systemtap_gc.patch +#ICEDTEA_PATCHES += \ +# patches/hotspot/$(HSBUILD)/systemtap_gc.patch endif if ENABLE_NSS diff -r d3eb8e1c6de5 -r 579668bd82f7 NEWS --- a/NEWS Wed Apr 02 20:10:19 2014 +0100 +++ b/NEWS Fri Apr 18 06:46:03 2014 +0100 @@ -28,6 +28,7 @@ - S7124320: [TEST_BUG] [macosx] JComboBox doesn't change selection on mouse over - S7124338: [macosx] Selection lost if a selected item removed from a java.awt.List - S7129133: [macosx] Accelerators are displayed as Meta instead of the Command symbol + - S7131153: GetDC called way too many times - causes bad performance. - S7133122: SA throws sun.jvm.hotspot.debugger.UnmappedAddressException when it should not - S7133146: [macosx] closed/javax/swing/JInternalFrame/4193219/IconCoord fails on MacOS - S7133154: [TEST_BUG] [macosx] closed/javax/swing/JInternalFrame/4251301/bug4251301.java fails on MacOS @@ -35,8 +36,10 @@ - S7147084: (process) appA hangs when read output stream of appB which starts appC that runs forever - S7171591: getDefaultScopeID() in src/solaris/native/java/net/net_util_md.c should return a value - S7173464: Clipboard.getAvailableDataFlavors: Comparison method violates contract + - S7176574: sun/security/krb5/auto/TcpTimeout.java failed with solaris-i586 - S7186887: Test T6567415.java can fail on a slow machine - S7187554: JSR 292: JVMTI PopFrame needs to handle appendix arguments + - S7190349: [macosx] Text (Label) is incorrectly drawn with a rotated g2d - S7191817: -XX:+UseSerialGC -XX:+UseLargePages crashes with SIGFPE on MacOS X - S7194607: VerifyLocalVariableTableOnRetransformTest.sh fails after JSR-292 merge - S7197210: java/lang/invoke/CallSiteTest.java failing on armsflt. @@ -78,6 +81,7 @@ - S8014240: G1: Add remembered set size information to output of G1PrintRegionLivenessInfo - S8014288: perf regression in nashorn JDK-8008448.js test after 8008511 changes - S8014394: (fs) WatchService failing when watching \\server\$d + - S8014460: Need to check for non-empty EXT_LIBS_PATH before using it - S8014555: G1: Memory ordering problem with Conc refinement and card marking - S8015092: SchemaFactory cannot parse schema if whitespace added within patterns in Selector XPath expression - S8015243: SchemaFactory does not catch enum. value that is not in the value space of the base type, anyURI @@ -85,6 +89,7 @@ - S8015599: [TEST_BUG] [macosx] Test closed/javax/swing/Popup/TaskbarPositionTest.java fails since JDK 8 b75 on MacOSX - S8015600: [TEST_BUG] [macosx] Test closed/javax/swing/plaf/basic/BasicMenuUI/4983388/bug4983388.java fails since JDK 8 b75 on MacOSX - S8016018: Typo in AbstractStringBuilder#indexOf and #lastIndexOf descriptions + - S8016110: Japanese char (MS932) 0x5C cannot be used as an argument when quoted - S8016271: wsimport -clientjar does not create portable jars on Windows due to hardcoded backslash - S8016328: Regression : Javadoc i18n regression caused by fix for 8012375 - S8016500: Unlocalized warnings. @@ -101,7 +106,6 @@ - S8020191: System.getProperty("os.name") returns "Windows NT (unknown)" on Windows 8.1 - S8020530: Non heap memory size calculated incorrectly - S8020791: [TESTBUG] runtime/jsig/Test8017498.sh failed to compile native code - - S8021257: com.sun.corba.se.** should be on restricted package list - S8021296: [TESTBUG] Test8017498.sh fails to find "gcc" and fails to compile on some Linux releases - S8021368: Launch of Java Web Start app fails with ClassCircularityError exception in 7u25 - S8021898: Broken JIT compiler optimization for loop unswitching @@ -111,7 +115,6 @@ - S8022507: SIGSEGV at ParMarkBitMap::verify_clear() - S8022584: Memory leak in some NetworkInterface methods - S8022585: VM crashes when ran with -XX:+PrintInlining - - S8022698: javax/script/GetInterfaceTest.java fails since 7u45 b04 with -agentvm option - S8022993: Convert MAX_UNROLL constant to LoopMaxUnroll C2 flag - S8023004: JSR 292: java.lang.RuntimeException: Original target method was called. - S8023130: (process) ProcessBuilder#inheritIO does not work on Windows @@ -140,6 +143,7 @@ - S8025305: Cleanup CardTableModRefBS usage in G1 - S8025512: NPE with logging while launching webstart on jre7u40 if logging is disabled - S8025541: G1: assert "assert(thread < _num_vtimes) failed: just checking" fails when G1ConcRefinementThreads > ParallelGCThreads + - S8025588: [macosx] Frozen AppKit thread in 7u40 - S8025713: Syncing indendation/comment/copyright year differences with upstream projects - S8025775: JNI warnings in TryXShmAttach - S8025860: new hotspot build - hs24.60-b02 @@ -150,10 +154,12 @@ - S8026405: javax/xml/ws/clientjar/TestWsImport.java failing on JDK 8 nightly aurora test runs - S8026486: Significant slowdown due to transparent huge pages - S8026502: java/lang/invoke/MethodHandleConstants.java fails on all platforms + - S8026705: [TEST_BUG] java/beans/Introspector/TestTypeResolver.java failed - S8026794: Test tools/pack200/TimeStamp.java fails while opening golden.jar.native.IST on linux-ppc(v2) - S8026848: -XX:+G1SummarizeRSetStats can result in wrong exit code and crash - S8027066: XMLDecoder in java 7 cannot properly deserialize object arrays - S8027172: new hotspot build - hs24.60-b03 + - S8027196: Increment minor version of HSx for 7u55 and initialize the build number - S8027351: (ref) Private finalize method invoked in preference to protected superclass method - S8027426: String.toLowerCase incorrectly increases length, if string contains \u0130 char - S8027454: Do not traverse string table during G1 remark when treating them as strong roots during initial mark @@ -181,21 +187,40 @@ - S8029903: Add a type safe alternative for working with counter based data - S8030061: new hotspot build - hs24.60-b05 - S8030070: Test java/io/File/CheckPermission.java fails due to unfinished recursion (java.lang.StackOverflowError) when JIT'ed code (-client,-server) is running + - S8030655: Regression: 14_01 Security fix 8024306 causes test failures - S8030698: Several GUI labels in jconsole need correction + - S8030813: Signed applet fails to load when CRLs are stored in an LDAP directory + - S8030822: (tz) Support tzdata2013i + - S8031050: (thread) Change Thread initialization so that thread name is set before invoking SecurityManager + - S8031394: (sl) Fix exception handling in ServiceLoader + - S8031462: Fonts with morx tables are broken with latest ICU fixes - S8031787: Remove fix JDK-8026887 from 7u60 - S8031980: Add new j.u.l deadlock test for JDK-8027670 and JDK-8029281 - S8032013: new hotspot build - hs24.60-b08 - S8032207: C2: assert(VerifyOops || MachNode::size(ra_) <= (3+1)*4) failed: bad fixed size + - S8032740: Need to create SE Embedded Source Bundles in 7 Release - S8032771: The flag VerifySilently misses a test case - S8032960: Running forms URL throws NullPointerException in Javaconsole. - S8032986: new hotspot build - hs24.60-b09 - S8033294: javac, spurious warning for instanceof operator - S8033443: Test8000311 fails after latest changes to parallelize string and symbol table unlink - S8033487: Improve GC option handling + - S8034181: SIGBUS in SctpChannelImpl receive + - S8034772: JDK-8028795 brought a specification change to 7u55 release and caused JCK7 signature test failure + - S8035283: Second phase of branch shortening doesn't account for loop alignment + - S8035618: Four api/org_omg/CORBA TCK tests fail under plugin only - S8035893: JVM_GetVersionInfo fails to zero structure - S8035897: Better memory allocation for file descriptors greater than 1024 on macosx + - S8035963: The failed Kerberos tests due to timeouts - S8035988: 7u60 l10n resource file translation update 1 + - S8036027: Increment hsx 24.51 build to b04 for 7u51-b34 + - S8036147: Increment hsx 24.55 build to b02 for 7u55-b11 - S8036584: Review comments from 8035897 + - S8036837: Increment hsx 24.55 build to b03 for 7u55-b12 + - S8037012: (tz) Support tzdata2014a + - S8037340: Linux semaphores to use CLOCK_REALTIME + - S8037510: CMM Testing: Min/MaxHeapFreeRatio flags should be manageable through the API + - S8039097: Some tests fail with NPE since 7u60 b12 * Backports - S7103549: Remove dependencies on libjava and libjvm from security libraries - S8000204: Memory leak in com/sun/security/auth/module/Unix.c @@ -229,8 +254,9 @@ - Add new files from 8019229 - Remove duplicate ElfFuncDescTable code in elfSymbolTable.cpp - Remove duplicate ElfFuncDescTable code in elfSymbolTable.hpp - - PR1726: configure fails looking for ecj.jar before even trying to find javac - PR1699: Support building the SunEC provider with system NSS + - PR1393: JPEG support in build is broken on non-system-libjpeg builds + - Fix merge duplication in com.sun.script.javascript.RhinoTopLevel * PPC & AIX port - Add AIX-specific build instructions to README-ppc.html - Added AIX as testing platform for more jtreg tests written in shell-script @@ -449,6 +475,8 @@ - Use macosx's BsdVirtualMachine implementation to provide tools/attach on AIX platform. - Use stubs to implement safefetch. - Use the solaris' approach of doing IsXRenderAvailable check for AIX +* ARM port + - Fix accidental reversion of PR1188 for armel * JamVM - JVM_NewMultiArray: element class may be an array - jtreg test java/lang/reflect/Array/ExceedMaxDim diff -r d3eb8e1c6de5 -r 579668bd82f7 configure.ac --- a/configure.ac Wed Apr 02 20:10:19 2014 +0100 +++ b/configure.ac Fri Apr 18 06:46:03 2014 +0100 @@ -1,4 +1,4 @@ -AC_INIT([icedtea], [2.5pre03], [distro-pkg-dev at openjdk.java.net]) +AC_INIT([icedtea], [2.5pre04], [distro-pkg-dev at openjdk.java.net]) AM_INIT_AUTOMAKE([1.9 tar-pax foreign]) AC_CONFIG_FILES([Makefile]) diff -r d3eb8e1c6de5 -r 579668bd82f7 hotspot.map --- a/hotspot.map Wed Apr 02 20:10:19 2014 +0100 +++ b/hotspot.map Fri Apr 18 06:46:03 2014 +0100 @@ -1,3 +1,3 @@ # version url changeset sha256sum -default http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot 903304e152fc 74c1ba2ddd7130bf8a5d85fad48886ece9b81ac41dee8d4be5f51a459db8e9c9 +default http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot 6dfe2b3e243c 8f3c77d483989dbf06771df0c0575ce38700018865234c96bc8a8237548c18c0 aarch64 http://hg.openjdk.java.net/aarch64-port/jdk7u/hotspot f50993b6c38d 64c2d0bfa71d6eecf18ab28fd64d5bd79af096f77548d80de7953c306fd9c22c diff -r d3eb8e1c6de5 -r 579668bd82f7 patches/boot/ecj-autoboxing.patch --- a/patches/boot/ecj-autoboxing.patch Wed Apr 02 20:10:19 2014 +0100 +++ b/patches/boot/ecj-autoboxing.patch Fri Apr 18 06:46:03 2014 +0100 @@ -1,6 +1,52 @@ +diff -Nru openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/BoundMethodHandle.java openjdk-boot/jdk/src/share/classes/java/lang/invoke/BoundMethodHandle.java +--- openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/BoundMethodHandle.java 2014-04-18 05:16:59.309775872 +0100 ++++ openjdk-boot/jdk/src/share/classes/java/lang/invoke/BoundMethodHandle.java 2014-04-18 05:19:44.804221566 +0100 +@@ -71,11 +71,11 @@ + case 'I': + return (BoundMethodHandle) SpeciesData.EMPTY.extendWithType('I').constructor[0].invokeBasic(type, form, ValueConversions.widenSubword(x)); + case 'J': +- return (BoundMethodHandle) SpeciesData.EMPTY.extendWithType('J').constructor[0].invokeBasic(type, form, (long) x); ++ return (BoundMethodHandle) SpeciesData.EMPTY.extendWithType('J').constructor[0].invokeBasic(type, form, (Long) x); + case 'F': +- return (BoundMethodHandle) SpeciesData.EMPTY.extendWithType('F').constructor[0].invokeBasic(type, form, (float) x); ++ return (BoundMethodHandle) SpeciesData.EMPTY.extendWithType('F').constructor[0].invokeBasic(type, form, (Float) x); + case 'D': +- return (BoundMethodHandle) SpeciesData.EMPTY.extendWithType('D').constructor[0].invokeBasic(type, form, (double) x); ++ return (BoundMethodHandle) SpeciesData.EMPTY.extendWithType('D').constructor[0].invokeBasic(type, form, (Double) x); + default : throw new InternalError("unexpected xtype: " + xtype); + } + } catch (Throwable t) { +@@ -92,9 +92,9 @@ + switch (xtype) { + case 'L': return cloneExtendL(type, form, x); + case 'I': return cloneExtendI(type, form, ValueConversions.widenSubword(x)); +- case 'J': return cloneExtendJ(type, form, (long) x); +- case 'F': return cloneExtendF(type, form, (float) x); +- case 'D': return cloneExtendD(type, form, (double) x); ++ case 'J': return cloneExtendJ(type, form, (Long) x); ++ case 'F': return cloneExtendF(type, form, (Float) x); ++ case 'D': return cloneExtendD(type, form, (Double) x); + } + } catch (Throwable t) { + throw newInternalError(t); +@@ -171,10 +171,10 @@ + throw new InternalError("unexpected type: " + speciesData().types+"."+i); + } + /*non-public*/ final Object argL(int i) throws Throwable { return speciesData().getters[i].invokeBasic(this); } +- /*non-public*/ final int argI(int i) throws Throwable { return (int) speciesData().getters[i].invokeBasic(this); } +- /*non-public*/ final float argF(int i) throws Throwable { return (float) speciesData().getters[i].invokeBasic(this); } +- /*non-public*/ final double argD(int i) throws Throwable { return (double) speciesData().getters[i].invokeBasic(this); } +- /*non-public*/ final long argJ(int i) throws Throwable { return (long) speciesData().getters[i].invokeBasic(this); } ++ /*non-public*/ final int argI(int i) throws Throwable { return (Integer) speciesData().getters[i].invokeBasic(this); } ++ /*non-public*/ final float argF(int i) throws Throwable { return (Float) speciesData().getters[i].invokeBasic(this); } ++ /*non-public*/ final double argD(int i) throws Throwable { return (Double) speciesData().getters[i].invokeBasic(this); } ++ /*non-public*/ final long argJ(int i) throws Throwable { return (Long) speciesData().getters[i].invokeBasic(this); } + + // + // cloning API diff -Nru openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/CallSite.java openjdk-boot/jdk/src/share/classes/java/lang/invoke/CallSite.java ---- openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/CallSite.java 2012-11-30 12:17:08.000000000 +0000 -+++ openjdk-boot/jdk/src/share/classes/java/lang/invoke/CallSite.java 2012-11-30 15:01:56.540165063 +0000 +--- openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/CallSite.java 2014-04-17 22:51:43.000000000 +0100 ++++ openjdk-boot/jdk/src/share/classes/java/lang/invoke/CallSite.java 2014-04-18 05:18:50.303416137 +0100 @@ -303,7 +303,7 @@ private static Object maybeReBox(Object x) { @@ -10,9 +56,77 @@ if (xi == (byte) xi) x = xi; // must rebox; see JLS 5.1.7 } +diff -Nru openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java openjdk-boot/jdk/src/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java +--- openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java 2014-04-17 22:51:43.000000000 +0100 ++++ openjdk-boot/jdk/src/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java 2014-04-18 05:18:50.303416137 +0100 +@@ -315,11 +315,11 @@ + return; + } + if (con instanceof Integer) { +- emitIconstInsn((int) con); ++ emitIconstInsn((Integer) con); + return; + } + if (con instanceof Long) { +- long x = (long) con; ++ long x = (Long) con; + if (x == (short) x) { + emitIconstInsn((int) x); + mv.visitInsn(Opcodes.I2L); +@@ -327,7 +327,7 @@ + } + } + if (con instanceof Float) { +- float x = (float) con; ++ float x = (Float) con; + if (x == (short) x) { + emitIconstInsn((int) x); + mv.visitInsn(Opcodes.I2F); +@@ -335,7 +335,7 @@ + } + } + if (con instanceof Double) { +- double x = (double) con; ++ double x = (Double) con; + if (x == (short) x) { + emitIconstInsn((int) x); + mv.visitInsn(Opcodes.I2D); +@@ -343,7 +343,7 @@ + } + } + if (con instanceof Boolean) { +- emitIconstInsn((boolean) con ? 1 : 0); ++ emitIconstInsn((Boolean) con ? 1 : 0); + return; + } + // fall through: +diff -Nru openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/LambdaForm.java openjdk-boot/jdk/src/share/classes/java/lang/invoke/LambdaForm.java +--- openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/LambdaForm.java 2014-04-18 05:16:59.309775872 +0100 ++++ openjdk-boot/jdk/src/share/classes/java/lang/invoke/LambdaForm.java 2014-04-18 05:18:50.303416137 +0100 +@@ -1444,7 +1444,7 @@ + if (a1 instanceof Integer && a2 instanceof Integer) { + if (sawInt) continue; + sawInt = true; +- if ((int)a1 < (int)a2) continue; // still might be true ++ if (((Integer)a1).intValue() < ((Integer)a2).intValue()) continue; // still might be true + } + return false; + } +diff -Nru openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/MethodHandleImpl.java openjdk-boot/jdk/src/share/classes/java/lang/invoke/MethodHandleImpl.java +--- openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/MethodHandleImpl.java 2014-04-18 05:16:59.345776405 +0100 ++++ openjdk-boot/jdk/src/share/classes/java/lang/invoke/MethodHandleImpl.java 2014-04-18 05:18:50.303416137 +0100 +@@ -885,7 +885,7 @@ + MH_checkCallerClass = IMPL_LOOKUP + .findStatic(THIS_CLASS, "checkCallerClass", + MethodType.methodType(boolean.class, Class.class, Class.class)); +- assert((boolean) MH_checkCallerClass.invokeExact(THIS_CLASS, THIS_CLASS)); ++ assert((Boolean) MH_checkCallerClass.invokeExact(THIS_CLASS, THIS_CLASS)); + } catch (Throwable ex) { + throw newInternalError(ex); + } diff -Nru openjdk-boot.orig/jdk/src/share/classes/sun/invoke/util/ValueConversions.java openjdk-boot/jdk/src/share/classes/sun/invoke/util/ValueConversions.java ---- openjdk-boot.orig/jdk/src/share/classes/sun/invoke/util/ValueConversions.java 2012-11-30 14:59:33.053919817 +0000 -+++ openjdk-boot/jdk/src/share/classes/sun/invoke/util/ValueConversions.java 2012-11-30 15:02:05.216300867 +0000 +--- openjdk-boot.orig/jdk/src/share/classes/sun/invoke/util/ValueConversions.java 2014-04-18 05:16:59.313775930 +0100 ++++ openjdk-boot/jdk/src/share/classes/sun/invoke/util/ValueConversions.java 2014-04-18 05:18:50.303416137 +0100 @@ -191,9 +191,9 @@ if (x instanceof Number) { res = (Number) x; @@ -92,117 +206,3 @@ } private static MethodType boxType(Wrapper wrap) { -diff -Nru openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/BoundMethodHandle.java openjdk-boot/jdk/src/share/classes/java/lang/invoke/BoundMethodHandle.java ---- openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/BoundMethodHandle.java 2012-11-30 17:27:25.095740183 +0000 -+++ openjdk-boot/jdk/src/share/classes/java/lang/invoke/BoundMethodHandle.java 2012-11-30 17:29:35.229853381 +0000 -@@ -71,11 +71,11 @@ - case 'I': - return (BoundMethodHandle) SpeciesData.EMPTY.extendWithType('I').constructor[0].invokeBasic(type, form, ValueConversions.widenSubword(x)); - case 'J': -- return (BoundMethodHandle) SpeciesData.EMPTY.extendWithType('J').constructor[0].invokeBasic(type, form, (long) x); -+ return (BoundMethodHandle) SpeciesData.EMPTY.extendWithType('J').constructor[0].invokeBasic(type, form, (Long) x); - case 'F': -- return (BoundMethodHandle) SpeciesData.EMPTY.extendWithType('F').constructor[0].invokeBasic(type, form, (float) x); -+ return (BoundMethodHandle) SpeciesData.EMPTY.extendWithType('F').constructor[0].invokeBasic(type, form, (Float) x); - case 'D': -- return (BoundMethodHandle) SpeciesData.EMPTY.extendWithType('D').constructor[0].invokeBasic(type, form, (double) x); -+ return (BoundMethodHandle) SpeciesData.EMPTY.extendWithType('D').constructor[0].invokeBasic(type, form, (Double) x); - default : throw new InternalError("unexpected xtype: " + xtype); - } - } catch (Throwable t) { -@@ -92,9 +92,9 @@ - switch (xtype) { - case 'L': return cloneExtendL(type, form, x); - case 'I': return cloneExtendI(type, form, ValueConversions.widenSubword(x)); -- case 'J': return cloneExtendJ(type, form, (long) x); -- case 'F': return cloneExtendF(type, form, (float) x); -- case 'D': return cloneExtendD(type, form, (double) x); -+ case 'J': return cloneExtendJ(type, form, (Long) x); -+ case 'F': return cloneExtendF(type, form, (Float) x); -+ case 'D': return cloneExtendD(type, form, (Double) x); - } - } catch (Throwable t) { - throw newInternalError(t); -@@ -171,10 +171,10 @@ - throw new InternalError("unexpected type: " + speciesData().types+"."+i); - } - public final Object argL(int i) throws Throwable { return speciesData().getters[i].invokeBasic(this); } -- public final int argI(int i) throws Throwable { return (int) speciesData().getters[i].invokeBasic(this); } -- public final float argF(int i) throws Throwable { return (float) speciesData().getters[i].invokeBasic(this); } -- public final double argD(int i) throws Throwable { return (double) speciesData().getters[i].invokeBasic(this); } -- public final long argJ(int i) throws Throwable { return (long) speciesData().getters[i].invokeBasic(this); } -+ public final int argI(int i) throws Throwable { return (Integer) speciesData().getters[i].invokeBasic(this); } -+ public final float argF(int i) throws Throwable { return (Float) speciesData().getters[i].invokeBasic(this); } -+ public final double argD(int i) throws Throwable { return (Double) speciesData().getters[i].invokeBasic(this); } -+ public final long argJ(int i) throws Throwable { return (Long) speciesData().getters[i].invokeBasic(this); } - - // - // cloning API -diff -Nru openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java openjdk-boot/jdk/src/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java ---- openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java 2012-11-30 17:25:45.038114739 +0000 -+++ openjdk-boot/jdk/src/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java 2012-11-30 17:26:34.766922659 +0000 -@@ -317,11 +317,11 @@ - return; - } - if (con instanceof Integer) { -- emitIconstInsn((int) con); -+ emitIconstInsn((Integer) con); - return; - } - if (con instanceof Long) { -- long x = (long) con; -+ long x = (Long) con; - if (x == (short) x) { - emitIconstInsn((int) x); - mv.visitInsn(Opcodes.I2L); -@@ -329,7 +329,7 @@ - } - } - if (con instanceof Float) { -- float x = (float) con; -+ float x = (Float) con; - if (x == (short) x) { - emitIconstInsn((int) x); - mv.visitInsn(Opcodes.I2F); -@@ -337,7 +337,7 @@ - } - } - if (con instanceof Double) { -- double x = (double) con; -+ double x = (Double) con; - if (x == (short) x) { - emitIconstInsn((int) x); - mv.visitInsn(Opcodes.I2D); -@@ -345,7 +345,7 @@ - } - } - if (con instanceof Boolean) { -- emitIconstInsn((boolean) con ? 1 : 0); -+ emitIconstInsn((Boolean) con ? 1 : 0); - return; - } - // fall through: -diff -Nru openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/LambdaForm.java openjdk-boot/jdk/src/share/classes/java/lang/invoke/LambdaForm.java ---- openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/LambdaForm.java 2012-11-30 17:23:21.555782849 +0000 -+++ openjdk-boot/jdk/src/share/classes/java/lang/invoke/LambdaForm.java 2012-11-30 17:24:24.244801829 +0000 -@@ -1440,7 +1440,7 @@ - if (a1 instanceof Integer && a2 instanceof Integer) { - if (sawInt) continue; - sawInt = true; -- if ((int)a1 < (int)a2) continue; // still might be true -+ if (((Integer)a1).intValue() < ((Integer)a2).intValue()) continue; // still might be true - } - return false; - } -diff -Nru openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/MethodHandleImpl.java openjdk-boot/jdk/src/share/classes/java/lang/invoke/MethodHandleImpl.java ---- openjdk-boot.orig/jdk/src/share/classes/java/lang/invoke/MethodHandleImpl.java 2012-11-30 17:22:27.146898269 +0000 -+++ openjdk-boot/jdk/src/share/classes/java/lang/invoke/MethodHandleImpl.java 2012-11-30 17:22:51.067287189 +0000 -@@ -900,7 +900,7 @@ - MH_checkCallerClass = IMPL_LOOKUP - .findStatic(THIS_CLASS, "checkCallerClass", - MethodType.methodType(boolean.class, Class.class, Class.class)); -- assert((boolean) MH_checkCallerClass.invokeExact(THIS_CLASS, THIS_CLASS)); -+ assert((Boolean) MH_checkCallerClass.invokeExact(THIS_CLASS, THIS_CLASS)); - } catch (Throwable ex) { - throw newInternalError(ex); - } diff -r d3eb8e1c6de5 -r 579668bd82f7 patches/boot/ecj-diamond.patch --- a/patches/boot/ecj-diamond.patch Wed Apr 02 20:10:19 2014 +0100 +++ b/patches/boot/ecj-diamond.patch Fri Apr 18 06:46:03 2014 +0100 @@ -1,6 +1,6 @@ diff -Nru openjdk-boot.orig/corba/src/share/classes/com/sun/corba/se/impl/encoding/CachedCodeBase.java openjdk-boot/corba/src/share/classes/com/sun/corba/se/impl/encoding/CachedCodeBase.java ---- openjdk-boot.orig/corba/src/share/classes/com/sun/corba/se/impl/encoding/CachedCodeBase.java 2014-04-02 02:15:58.000000000 +0100 From andrew at icedtea.classpath.org Fri Apr 18 05:50:38 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 18 Apr 2014 05:50:38 +0000 Subject: /hg/release/icedtea7-forest-2.5: Added tag icedtea-2.5pre04 for ... Message-ID: changeset 716796f6c6f0 in /hg/release/icedtea7-forest-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5?cmd=changeset;node=716796f6c6f0 author: andrew date: Fri Apr 18 06:41:01 2014 +0100 Added tag icedtea-2.5pre04 for changeset c6d37b19485e diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r c6d37b19485e -r 716796f6c6f0 .hgtags --- a/.hgtags Thu Apr 17 17:52:16 2014 +0100 +++ b/.hgtags Fri Apr 18 06:41:01 2014 +0100 @@ -450,3 +450,4 @@ 5e540a4d55916519f5604a422bfbb7a0967d0594 jdk7u60-b13 1ca6a368aec38ee91a41dc03899d7dc1037de44d jdk7u60-b14 a95b821a2627295b90fb4ae8f3b8bc2ff9c64acc jdk7u60-b15 +c6d37b19485e6a086b632d3ab4adef2588f079fb icedtea-2.5pre04 From andrew at icedtea.classpath.org Fri Apr 18 05:50:44 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 18 Apr 2014 05:50:44 +0000 Subject: /hg/release/icedtea7-forest-2.5/corba: Added tag icedtea-2.5pre0... Message-ID: changeset fc55c94710a4 in /hg/release/icedtea7-forest-2.5/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/corba?cmd=changeset;node=fc55c94710a4 author: andrew date: Fri Apr 18 06:40:51 2014 +0100 Added tag icedtea-2.5pre04 for changeset e120608ed399 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r e120608ed399 -r fc55c94710a4 .hgtags --- a/.hgtags Thu Apr 17 17:52:18 2014 +0100 +++ b/.hgtags Fri Apr 18 06:40:51 2014 +0100 @@ -452,3 +452,4 @@ 2c8ba5f9487b0ac085874afd38f4c10a4127f62c jdk7u60-b13 02bdeb33754315f589bd650dde656d2c9947976d jdk7u60-b14 e5946b2cf82bdea3a4b85917e903168e65a543a7 jdk7u60-b15 +e120608ed3994b1597a6e2af96035518027d132b icedtea-2.5pre04 From andrew at icedtea.classpath.org Fri Apr 18 05:50:51 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 18 Apr 2014 05:50:51 +0000 Subject: /hg/release/icedtea7-forest-2.5/jaxp: Added tag icedtea-2.5pre04... Message-ID: changeset 89656c61a515 in /hg/release/icedtea7-forest-2.5/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxp?cmd=changeset;node=89656c61a515 author: andrew date: Fri Apr 18 06:40:52 2014 +0100 Added tag icedtea-2.5pre04 for changeset 611fdb7bcd4f diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 611fdb7bcd4f -r 89656c61a515 .hgtags --- a/.hgtags Thu Apr 17 17:52:19 2014 +0100 +++ b/.hgtags Fri Apr 18 06:40:52 2014 +0100 @@ -453,3 +453,4 @@ 92cf0b5c1c3e9b61d36671d8fb5070716e0f016b jdk7u60-b13 2814f43a6c73414dcb2b799e1a52d5b44688590d jdk7u60-b14 10eed57b66336660f71f7524f2283478bdf373dc jdk7u60-b15 +611fdb7bcd4f575284d0a00716371f9784b62422 icedtea-2.5pre04 From andrew at icedtea.classpath.org Fri Apr 18 05:50:57 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 18 Apr 2014 05:50:57 +0000 Subject: /hg/release/icedtea7-forest-2.5/jaxws: Added tag icedtea-2.5pre0... Message-ID: changeset 9639895f6950 in /hg/release/icedtea7-forest-2.5/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jaxws?cmd=changeset;node=9639895f6950 author: andrew date: Fri Apr 18 06:40:54 2014 +0100 Added tag icedtea-2.5pre04 for changeset 8c3ac91d06c0 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 8c3ac91d06c0 -r 9639895f6950 .hgtags --- a/.hgtags Thu Apr 17 17:52:21 2014 +0100 +++ b/.hgtags Fri Apr 18 06:40:54 2014 +0100 @@ -452,3 +452,4 @@ d941a701cf5ca11b2777fd1d0238e05e3c963e89 jdk7u60-b13 43b5a7cf08e7ee018b1fa42a89510b4c381dc4c5 jdk7u60-b14 d00389bf5439e5c42599604d2ebc909d26df8dcf jdk7u60-b15 +8c3ac91d06c0013bf4c4f4d986a5d9994bf3c049 icedtea-2.5pre04 From andrew at icedtea.classpath.org Fri Apr 18 05:51:03 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 18 Apr 2014 05:51:03 +0000 Subject: /hg/release/icedtea7-forest-2.5/langtools: Added tag icedtea-2.5... Message-ID: changeset 1b5335c79bc1 in /hg/release/icedtea7-forest-2.5/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/langtools?cmd=changeset;node=1b5335c79bc1 author: andrew date: Fri Apr 18 06:41:00 2014 +0100 Added tag icedtea-2.5pre04 for changeset 2f5810fa2937 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 2f5810fa2937 -r 1b5335c79bc1 .hgtags --- a/.hgtags Thu Apr 17 17:52:22 2014 +0100 +++ b/.hgtags Fri Apr 18 06:41:00 2014 +0100 @@ -452,3 +452,4 @@ 3dc3e59e9580dfdf95dac57c54fe1a4209401125 jdk7u60-b13 a8b9c1929e50a9f3ae9ae1a23c06fa73a57afce3 jdk7u60-b14 7568ebdada118da1d1a6addcf6316ffda21801fd jdk7u60-b15 +2f5810fa2937a0ea4aec2ef03b2b7ceacd122750 icedtea-2.5pre04 From andrew at icedtea.classpath.org Fri Apr 18 05:51:12 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 18 Apr 2014 05:51:12 +0000 Subject: /hg/release/icedtea7-forest-2.5/hotspot: Added tag icedtea-2.5pr... Message-ID: changeset 98c1afebeab8 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=98c1afebeab8 author: andrew date: Fri Apr 18 06:41:02 2014 +0100 Added tag icedtea-2.5pre04 for changeset 6dfe2b3e243c diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 6dfe2b3e243c -r 98c1afebeab8 .hgtags --- a/.hgtags Thu Apr 17 17:52:25 2014 +0100 +++ b/.hgtags Fri Apr 18 06:41:02 2014 +0100 @@ -672,3 +672,4 @@ 5853131ba4b448c5d89a3f0aa501fdf07f3b473c jdk7u60-b13 b226be2040f971855626f5b88cb41a7d5299fea0 jdk7u60-b14 2871f345b7e5585e20dc7aa91035967fe774cfba jdk7u60-b15 +6dfe2b3e243c2329d16af8c3c263961c547797df icedtea-2.5pre04 From andrew at icedtea.classpath.org Fri Apr 18 05:51:20 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 18 Apr 2014 05:51:20 +0000 Subject: /hg/release/icedtea7-forest-2.5/jdk: Added tag icedtea-2.5pre04 ... Message-ID: changeset 6cb22bfdd98b in /hg/release/icedtea7-forest-2.5/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/jdk?cmd=changeset;node=6cb22bfdd98b author: andrew date: Fri Apr 18 06:40:58 2014 +0100 Added tag icedtea-2.5pre04 for changeset 2cef4a93bcb8 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 2cef4a93bcb8 -r 6cb22bfdd98b .hgtags --- a/.hgtags Thu Apr 17 22:51:43 2014 +0100 +++ b/.hgtags Fri Apr 18 06:40:58 2014 +0100 @@ -436,3 +436,4 @@ b06d4ed71ae0bc6e13f5a8437cb6388f17c66e84 jdk7u60-b13 b7fbd9b4febf8961091fdf451d3da477602a8f1d jdk7u60-b14 04882f9a073e8de153ec7ad32486569fd9a087ec jdk7u60-b15 +2cef4a93bcb881190a1d828dfae1574c535bb19a icedtea-2.5pre04 From ptisnovs at icedtea.classpath.org Fri Apr 18 09:13:15 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Fri, 18 Apr 2014 09:13:15 +0000 Subject: /hg/gfx-test: Ten new common test methods added into BitBltBuffe... Message-ID: changeset 2426f771f3f3 in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=2426f771f3f3 author: Pavel Tisnovsky date: Fri Apr 18 11:13:55 2014 +0200 Ten new common test methods added into BitBltBufferedImageOp. diffstat: ChangeLog | 5 + src/org/gfxtest/testsuites/BitBltBufferedImageOp.java | 160 ++++++++++++++++++ 2 files changed, 165 insertions(+), 0 deletions(-) diffs (182 lines): diff -r accc207c5985 -r 2426f771f3f3 ChangeLog --- a/ChangeLog Thu Apr 17 09:44:26 2014 +0200 +++ b/ChangeLog Fri Apr 18 11:13:55 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-18 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/BitBltBufferedImageOp.java: + Ten new common test methods added into BitBltBufferedImageOp. + 2014-04-17 Pavel Tisnovsky * src/org/gfxtest/testsuites/CAGOperationsOnTwoOverlappingRectangles.java: diff -r accc207c5985 -r 2426f771f3f3 src/org/gfxtest/testsuites/BitBltBufferedImageOp.java --- a/src/org/gfxtest/testsuites/BitBltBufferedImageOp.java Thu Apr 17 09:44:26 2014 +0200 +++ b/src/org/gfxtest/testsuites/BitBltBufferedImageOp.java Fri Apr 18 11:13:55 2014 +0200 @@ -1601,6 +1601,166 @@ } /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_INT_RGB}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltVerticalStripesTypeIntRGB(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithVerticalStripesImage(image, graphics2d, BufferedImage.TYPE_INT_RGB, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_INT_ARGB}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltVerticalStripesTypeIntARGB(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithVerticalStripesImage(image, graphics2d, BufferedImage.TYPE_INT_ARGB, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_INT_ARGB_PRE}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltVerticalStripesTypeIntARGB_Pre(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithVerticalStripesImage(image, graphics2d, BufferedImage.TYPE_INT_ARGB_PRE, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_USHORT_555_RGB}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltVerticalStripesTypeUshort555RGB(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithVerticalStripesImage(image, graphics2d, BufferedImage.TYPE_USHORT_555_RGB, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_USHORT_565_RGB}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltVerticalStripesTypeUshort565RGB(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithVerticalStripesImage(image, graphics2d, BufferedImage.TYPE_USHORT_565_RGB, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_USHORT_GRAY}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltVerticalStripesTypeUshortGray(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithVerticalStripesImage(image, graphics2d, BufferedImage.TYPE_USHORT_GRAY, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_3BYTE_BGR}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltDiagonalStripesType3ByteBGR(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithDiagonalStripesImage(image, graphics2d, BufferedImage.TYPE_3BYTE_BGR, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_4BYTE_ABGR}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltDiagonalStripesType4ByteABGR(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithDiagonalStripesImage(image, graphics2d, BufferedImage.TYPE_4BYTE_ABGR, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_4BYTE_ABGR_PRE}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltDiagonalStripesType4ByteABGR_Pre(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithDiagonalStripesImage(image, graphics2d, BufferedImage.TYPE_4BYTE_ABGR_PRE, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_BYTE_BINARY}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltDiagonalStripesTypeByteBinary(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithDiagonalStripesImage(image, graphics2d, BufferedImage.TYPE_BYTE_BINARY, rasterOp); + } + + /** * Entry point to the test suite. * * @param args not used in this case From andrew at icedtea.classpath.org Fri Apr 18 16:11:18 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 18 Apr 2014 16:11:18 +0000 Subject: /hg/icedtea7: PR1699: Support building the SunEC provider with s... Message-ID: changeset 57b8fd8c92eb in /hg/icedtea7 details: http://icedtea.classpath.org/hg/icedtea7?cmd=changeset;node=57b8fd8c92eb author: Andrew John Hughes date: Fri Apr 18 17:11:05 2014 +0100 PR1699: Support building the SunEC provider with system NSS 2014-04-18 Andrew John Hughes * Makefile.am: (ICEDTEA_ENV): Only add DISABLE_INTREE_EC if ENABLE_SUNEC is not set. Set SYSTEM_NSS in both cases and NSS_LIBS, NSS_CFLAGS and ECC_JUST_SUITE_B when ENABLE_SUNEC is set. * acinclude.m4: (IT_LOCATE_NSS): Fix wording to make it clear that this is the PKCS11 provider, using NSS as the implementation. (IT_ENABLE_SUNEC): Allow the Sun elliptic curve crypto provider to be enabled. * configure.ac: Replace IT_LOCATE_NSS with IT_ENABLE_SUNEC (which depends on the former). * fsg.sh: Only delete the SunEC implementation code at this level. This is the part that is legally dubious, due to the use of many more elliptic curves than those provided by the NSS version. * remove-intree-libraries.sh.in: Include the remaining SunEC deletion from fsg.sh here and make it optional. diffstat: ChangeLog | 25 +++++++++++++++++++++++++ Makefile.am | 13 ++++++++++++- acinclude.m4 | 42 ++++++++++++++++++++++++++++++++++++++++-- configure.ac | 2 +- fsg.sh | 8 +------- remove-intree-libraries.sh.in | 10 ++++++++++ 6 files changed, 89 insertions(+), 11 deletions(-) diffs (171 lines): diff -r a9e744ed1395 -r 57b8fd8c92eb ChangeLog --- a/ChangeLog Thu Apr 17 02:57:23 2014 +0100 +++ b/ChangeLog Fri Apr 18 17:11:05 2014 +0100 @@ -1,3 +1,28 @@ +2014-04-18 Andrew John Hughes + + * Makefile.am: + (ICEDTEA_ENV): Only add DISABLE_INTREE_EC if + ENABLE_SUNEC is not set. Set SYSTEM_NSS in both + cases and NSS_LIBS, NSS_CFLAGS and ECC_JUST_SUITE_B + when ENABLE_SUNEC is set. + * acinclude.m4: + (IT_LOCATE_NSS): Fix wording to make it clear that + this is the PKCS11 provider, using NSS as the + implementation. + (IT_ENABLE_SUNEC): Allow the Sun elliptic curve + crypto provider to be enabled. + * configure.ac: + Replace IT_LOCATE_NSS with IT_ENABLE_SUNEC (which + depends on the former). + * fsg.sh: + Only delete the SunEC implementation code at this + level. This is the part that is legally dubious, + due to the use of many more elliptic curves than + those provided by the NSS version. + * remove-intree-libraries.sh.in: + Include the remaining SunEC deletion from fsg.sh + here and make it optional. + 2014-04-16 Andrew John Hughes * NEWS: diff -r a9e744ed1395 -r 57b8fd8c92eb Makefile.am --- a/Makefile.am Thu Apr 17 02:57:23 2014 +0100 +++ b/Makefile.am Fri Apr 18 17:11:05 2014 +0100 @@ -473,7 +473,6 @@ ALT_JIBX_LIBS_PATH="$(JIBX_DEPS_DIR)" \ DEBUG_CLASSFILES="true" \ DEBUG_BINARIES="true" \ - DISABLE_INTREE_EC="true" \ ALT_OUTPUTDIR="$(BUILD_OUTPUT_DIR)" \ VERBOSE="$(VERBOSE)" \ STATIC_CXX="false" \ @@ -561,6 +560,18 @@ PAX_COMMAND="${PAX_COMMAND}" endif +if ENABLE_SUNEC +ICEDTEA_ENV += \ + SYSTEM_NSS="true" \ + NSS_LIBS="${NSS_LIBS}" \ + NSS_CFLAGS="${NSS_CFLAGS}" \ + ECC_JUST_SUITE_B="true" +else +ICEDTEA_ENV += \ + SYSTEM_NSS="false" \ + DISABLE_INTREE_EC="true" +endif + # OpenJDK boot build environment. ICEDTEA_ENV_BOOT = $(ICEDTEA_ENV) \ BOOTCLASSPATH_CLS_RT="-bootclasspath $(CLS_DIR_BOOT):$(RUNTIME)" \ diff -r a9e744ed1395 -r 57b8fd8c92eb acinclude.m4 --- a/acinclude.m4 Thu Apr 17 02:57:23 2014 +0100 +++ b/acinclude.m4 Fri Apr 18 17:11:05 2014 +0100 @@ -1761,10 +1761,10 @@ AC_DEFUN_ONCE([IT_LOCATE_NSS], [ AC_REQUIRE([IT_OBTAIN_DEFAULT_LIBDIR]) -AC_MSG_CHECKING([whether to enable the NSS-based security provider]) +AC_MSG_CHECKING([whether to enable the PKCS11 crypto provider using NSS]) AC_ARG_ENABLE([nss], [AS_HELP_STRING([--enable-nss], - [Enable inclusion of NSS security provider])], + [Enable inclusion of PKCS11 crypto provider using NSS])], [ENABLE_NSS="${enableval}"], [ENABLE_NSS='no']) AM_CONDITIONAL([ENABLE_NSS], [test x$ENABLE_NSS = xyes]) if test "x${ENABLE_NSS}" = "xyes" @@ -2692,3 +2692,41 @@ AC_MSG_RESULT([$enable_arm32jit]) AM_CONDITIONAL([ENABLE_ARM32JIT], test x"${enable_arm32jit}" = "xyes") ]) + +AC_DEFUN_ONCE([IT_ENABLE_SUNEC], +[ + AC_REQUIRE([IT_LOCATE_NSS]) + AC_MSG_CHECKING([whether to enable the Sun elliptic curve crypto provider]) + AC_ARG_ENABLE([sunec], + [AS_HELP_STRING(--enable-sunec,build the Sun elliptic curve crypto provider [[default=no]])], + [ + case "${enableval}" in + yes) + enable_sunec=yes + ;; + *) + enable_sunec=no + ;; + esac + ], + [ + enable_sunec=no + ]) + AC_MSG_RESULT([$enable_sunec]) + AM_CONDITIONAL([ENABLE_SUNEC], test x"${enable_sunec}" = "xyes") + if test x"${enable_sunec}" = "xyes"; then + PKG_CHECK_MODULES(NSS_SOFTOKN, nss-softokn >= 3.16.1, [NSS_SOFTOKN_FOUND=yes], [NSS_SOFTOKN_FOUND=no]) + PKG_CHECK_MODULES(NSS_JAVA, nss-java, [NSS_JAVA_FOUND=yes], [NSS_JAVA_FOUND=no]) + if test "x${NSS_SOFTOKN_FOUND}" = "xyes"; then + NSS_CFLAGS=$NSS_SOFTOKN_CFLAGS; + NSS_LIBS=$NSS_SOFTOKN_LIBS; + elif test "x${NSS_JAVA_FOUND}" = "xyes"; then + NSS_CFLAGS=$NSS_JAVA_CFLAGS; + NSS_LIBS=$NSS_JAVA_LIBS; + else + AC_MSG_ERROR([Could not find a suitable NSS installation to use for the SunEC provider.]) + fi + AC_SUBST(NSS_CFLAGS) + AC_SUBST(NSS_LIBS) + fi +]) diff -r a9e744ed1395 -r 57b8fd8c92eb configure.ac --- a/configure.ac Thu Apr 17 02:57:23 2014 +0100 +++ b/configure.ac Fri Apr 18 17:11:05 2014 +0100 @@ -50,6 +50,7 @@ IT_DISABLE_HOTSPOT_TESTS IT_DISABLE_LANGTOOLS_TESTS IT_DISABLE_JDK_TESTS +IT_ENABLE_SUNEC # Use xvfb-run if found to run gui tests (check-jdk). AC_CHECK_PROG(XVFB_RUN_CMD, xvfb-run, [xvfb-run -a -e xvfb-errors], []) @@ -71,7 +72,6 @@ AM_CONDITIONAL([ENABLE_DOCS], [test x$ENABLE_DOCS = xyes]) AC_MSG_RESULT(${ENABLE_DOCS}) -IT_LOCATE_NSS IT_GET_PKGVERSION IT_GET_LSB_DATA diff -r a9e744ed1395 -r 57b8fd8c92eb fsg.sh --- a/fsg.sh Thu Apr 17 02:57:23 2014 +0100 +++ b/fsg.sh Fri Apr 18 17:11:05 2014 +0100 @@ -106,10 +106,4 @@ rm -rvf openjdk/jdk/test/com/sun/servicetag echo "Removing EC source code we don't build" -rm -vf openjdk/jdk/src/share/classes/sun/security/ec/ECDHKeyAgreement.java -rm -vf openjdk/jdk/src/share/classes/sun/security/ec/ECDSASignature.java -rm -vf openjdk/jdk/src/share/classes/sun/security/ec/ECKeyPairGenerator.java -rm -vf openjdk/jdk/src/share/classes/sun/security/ec/SunEC.java -rm -vf openjdk/jdk/src/share/classes/sun/security/ec/SunECEntries.java -rm -rvf openjdk/jdk/src/share/native/sun/security/ec -rm -rvf openjdk/jdk/make/sun/security/ec +rm -rvf openjdk/jdk/src/share/native/sun/security/ec/impl diff -r a9e744ed1395 -r 57b8fd8c92eb remove-intree-libraries.sh.in --- a/remove-intree-libraries.sh.in Thu Apr 17 02:57:23 2014 +0100 +++ b/remove-intree-libraries.sh.in Fri Apr 18 17:11:05 2014 +0100 @@ -63,3 +63,13 @@ echo "Removing libpcsc headers" rm -rvf ${PCSC_SRC} fi + +if test "x at ENABLE_SUNEC@" = "xno"; then +rm -vf openjdk/jdk/src/share/classes/sun/security/ec/ECDHKeyAgreement.java +rm -vf openjdk/jdk/src/share/classes/sun/security/ec/ECDSASignature.java +rm -vf openjdk/jdk/src/share/classes/sun/security/ec/ECKeyPairGenerator.java +rm -vf openjdk/jdk/src/share/classes/sun/security/ec/SunEC.java +rm -vf openjdk/jdk/src/share/classes/sun/security/ec/SunECEntries.java +rm -rvf openjdk/jdk/src/share/native/sun/security/ec +rm -rvf openjdk/jdk/make/sun/security/ec +fi From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 16:11:31 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 16:11:31 +0000 Subject: [Bug 1699] [IcedTea7] Support building the SunEC provider with system NSS In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1699 --- Comment #2 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7?cmd=changeset;node=57b8fd8c92eb author: Andrew John Hughes date: Fri Apr 18 17:11:05 2014 +0100 PR1699: Support building the SunEC provider with system NSS 2014-04-18 Andrew John Hughes * Makefile.am: (ICEDTEA_ENV): Only add DISABLE_INTREE_EC if ENABLE_SUNEC is not set. Set SYSTEM_NSS in both cases and NSS_LIBS, NSS_CFLAGS and ECC_JUST_SUITE_B when ENABLE_SUNEC is set. * acinclude.m4: (IT_LOCATE_NSS): Fix wording to make it clear that this is the PKCS11 provider, using NSS as the implementation. (IT_ENABLE_SUNEC): Allow the Sun elliptic curve crypto provider to be enabled. * configure.ac: Replace IT_LOCATE_NSS with IT_ENABLE_SUNEC (which depends on the former). * fsg.sh: Only delete the SunEC implementation code at this level. This is the part that is legally dubious, due to the use of many more elliptic curves than those provided by the NSS version. * remove-intree-libraries.sh.in: Include the remaining SunEC deletion from fsg.sh here and make it optional. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew at icedtea.classpath.org Fri Apr 18 16:47:13 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 18 Apr 2014 16:47:13 +0000 Subject: /hg/icedtea: PR1359: Check for /usr/lib64 JVMs and generic JPack... Message-ID: changeset 87d03fbc8737 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=87d03fbc8737 author: Andrew John Hughes date: Fri Apr 18 17:42:12 2014 +0100 PR1359: Check for /usr/lib64 JVMs and generic JPackage alternative 2013-06-06 Andrew John Hughes * INSTALL: Synchronise list of VMs with macro in acinclude.m4. * acinclude.m4: Provide separate output for user specified JDKs and the checking process. Extend the list of JVMs to include more from Fedora & RHEL and the newer Gentoo variants. * NEWS: Updated. 2013-03-21 Michal Vyskocil PR1359: Check for /usr/lib64 JVMs and generic JPackage alternative * INSTALL: Add /etc/alternatives/java_sdk_openjdk. * acinclude.m4: Likewise. 2013-06-06 Andrew John Hughes * AUTHORS: Updated with Michal. diffstat: AUTHORS | 1 + ChangeLog | 20 ++++++++++++++++++++ INSTALL | 31 +++++++++++++++++++------------ NEWS | 1 + acinclude.m4 | 25 ++++++++++++++++++------- 5 files changed, 59 insertions(+), 19 deletions(-) diffs (143 lines): diff -r 4acb21372190 -r 87d03fbc8737 AUTHORS --- a/AUTHORS Tue Apr 01 01:58:21 2014 +0100 +++ b/AUTHORS Fri Apr 18 17:42:12 2014 +0100 @@ -35,6 +35,7 @@ Christian Thalinger Dalibor Topic Arnaud Vandyck +Michal Vyskocil Mark Wielaard Yi Zhan diff -r 4acb21372190 -r 87d03fbc8737 ChangeLog --- a/ChangeLog Tue Apr 01 01:58:21 2014 +0100 +++ b/ChangeLog Fri Apr 18 17:42:12 2014 +0100 @@ -1,3 +1,23 @@ +2013-06-06 Andrew John Hughes + + * INSTALL: + Synchronise list of VMs with macro in acinclude.m4. + * acinclude.m4: Provide separate output for user + specified JDKs and the checking process. Extend + the list of JVMs to include more from Fedora & + RHEL and the newer Gentoo variants. + * NEWS: Updated. + +2013-03-21 Michal Vyskocil + + PR1359: Check for /usr/lib64 JVMs and generic JPackage alternative + * INSTALL: Add /etc/alternatives/java_sdk_openjdk. + * acinclude.m4: Likewise. + +2013-06-06 Andrew John Hughes + + * AUTHORS: Updated with Michal. + 2013-04-24 Andrew John Hughes * patches/cacao/jsig.patch: diff -r 4acb21372190 -r 87d03fbc8737 INSTALL --- a/INSTALL Tue Apr 01 01:58:21 2014 +0100 +++ b/INSTALL Fri Apr 18 17:42:12 2014 +0100 @@ -7,10 +7,7 @@ The build requirements are as follows: -A bootstrap JDK, either: - - GNU libgcj 4.4.0 (or equivalent class library based on GNU Classpath >= 0.95) for --enable-bootstrap mode (the default) - - IcedTea6 or IcedTea7 for --disable-bootstrap mode -Eclipse Java Compiler (ecj) +A bootstrap JDK, either IcedTea7 or IcedTea8 CUPS libX11 (libXp, libXtst, libXi, libXt) Freetype2 @@ -49,17 +46,27 @@ make The following locations are checked for a JDK: + * /usr/lib/jvm/icedtea-8 + * /usr/lib/jvm/java-1.8.0-openjdk + * /usr/lib/jvm/java-1.8.0-openjdk.x86_64 + * /usr/lib64/jvm/java-1.8.0-openjdk + * /usr/lib/jvm/java-1.8.0 + * /usr/lib/jvm/icedtea-7 + * /usr/lib/jvm/icedtea7 + * /usr/lib/jvm/java-1.7.0-openjdk + * /usr/lib/jvm/java-1.7.0-openjdk.x86_64 + * /usr/lib64/jvm/java-1.7.0-openjdk + * /usr/lib/jvm/java-1.7.0 +in the order given above. + +If bootstrapping is enabled, the following JDK locations are appended to the above list: + * /usr/lib/jvm/cacao + +Finally, the following generic locations are checked as a last resort: * /usr/lib/jvm/java-openjdk - * /usr/lib/jvm/icedtea6 - * /usr/lib/jvm/java-6-openjdk * /usr/lib/jvm/openjdk * /usr/lib/jvm/java-icedtea -in the order given above. - -If bootstrapping is enabled, the following JDK locations are prepended to the above list: - * /usr/lib/jvm/java-gcj - * /usr/lib/jvm/gcj-jdk - * /usr/lib/jvm/cacao + * /etc/alternatives/java_sdk_openjdk There is currently no install target. IcedTea ends up in openjdk.build when the build completes. diff -r 4acb21372190 -r 87d03fbc8737 NEWS --- a/NEWS Tue Apr 01 01:58:21 2014 +0100 +++ b/NEWS Fri Apr 18 17:42:12 2014 +0100 @@ -45,6 +45,7 @@ - PR1357: Make XRender mandatory - PR1325: Only add classes to rt-source-files.txt if the class (or one or more of its methods/fields) are actually missing from the boot JDK + - PR1359: Check for /usr/lib64 JVMs and generic JPackage alternative New in release 2.0 (2011-XX-XX): diff -r 4acb21372190 -r 87d03fbc8737 acinclude.m4 --- a/acinclude.m4 Tue Apr 01 01:58:21 2014 +0100 +++ b/acinclude.m4 Fri Apr 18 17:42:12 2014 +0100 @@ -1137,21 +1137,32 @@ SYSTEM_JDK_DIR= ]) if test -z "${SYSTEM_JDK_DIR}"; then + AC_MSG_RESULT([not specified]) if test "x${enable_bootstrap}" = "xyes"; then GCJ_VMS="/usr/lib/jvm/java-gcj /usr/lib/jvm/gcj-jdk"; BOOTSTRAP_VMS="/usr/lib/jvm/cacao"; fi - ICEDTEA7_VMS="/usr/lib/jvm/icedtea7 /usr/lib/jvm/java-1.7.0-openjdk" - ICEDTEA8_VMS="/usr/lib/jvm/icedtea8 /usr/lib/jvm/java-1.8.0-openjdk" - for dir in ${BOOTSTRAP_VMS} ${ICEDTEA8_VMS} ${ICEDTEA7_VMS} \ - /usr/lib/jvm/java-openjdk /usr/lib/jvm/openjdk /usr/lib/jvm/java-icedtea ; do + ICEDTEA7_VMS="/usr/lib/jvm/icedtea-7 /usr/lib/jvm/icedtea7 /usr/lib/jvm/java-1.7.0-openjdk + /usr/lib/jvm/java-1.7.0-openjdk.x86_64 /usr/lib64/jvm/java-1.7.0-openjdk + /usr/lib/jvm/java-1.7.0" + ICEDTEA8_VMS="/usr/lib/jvm/icedtea-8 /usr/lib/jvm/java-1.8.0-openjdk + /usr/lib/jvm/java-1.8.0-openjdk.x86_64 /usr/lib64/jvm/java-1.8.0-openjdk + /usr/lib/jvm/java-1.8.0" + for dir in ${ICEDTEA8_VMS} ${ICEDTEA7_VMS} ${BOOTSTRAP_VMS} \ + /usr/lib/jvm/java-openjdk /usr/lib/jvm/openjdk /usr/lib/jvm/java-icedtea \ + /etc/alternatives/java_sdk_openjdk ; do + AC_MSG_CHECKING([for ${dir}]); if test -d $dir; then - SYSTEM_JDK_DIR=$dir - break + SYSTEM_JDK_DIR=$dir ; + AC_MSG_RESULT([found]) ; + break ; + else + AC_MSG_RESULT([not found]) ; fi done + else + AC_MSG_RESULT(${SYSTEM_JDK_DIR}) fi - AC_MSG_RESULT(${SYSTEM_JDK_DIR}) if ! test -d "${SYSTEM_JDK_DIR}"; then AC_MSG_ERROR("A JDK home directory could not be found.") fi From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 16:47:21 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 16:47:21 +0000 Subject: [Bug 1359] [IcedTea8] Check for /usr/lib64 JVMs and generic JPackage alternative In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1359 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea?cmd=changeset;node=87d03fbc8737 author: Andrew John Hughes date: Fri Apr 18 17:42:12 2014 +0100 PR1359: Check for /usr/lib64 JVMs and generic JPackage alternative 2013-06-06 Andrew John Hughes * INSTALL: Synchronise list of VMs with macro in acinclude.m4. * acinclude.m4: Provide separate output for user specified JDKs and the checking process. Extend the list of JVMs to include more from Fedora & RHEL and the newer Gentoo variants. * NEWS: Updated. 2013-03-21 Michal Vyskocil PR1359: Check for /usr/lib64 JVMs and generic JPackage alternative * INSTALL: Add /etc/alternatives/java_sdk_openjdk. * acinclude.m4: Likewise. 2013-06-06 Andrew John Hughes * AUTHORS: Updated with Michal. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 16:52:23 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 16:52:23 +0000 Subject: [Bug 1739] New: hs_err_pid1146.log Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1739 Bug ID: 1739 Summary: hs_err_pid1146.log Product: IcedTea Version: unspecified Hardware: x86 OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: IcedTea Assignee: gnu.andrew at redhat.com Reporter: kabbalah100 at gmail.com CC: unassigned at icedtea.classpath.org Created attachment 1072 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1072&action=edit A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x80134d20, pid=1146, tid=2157730624 Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew at icedtea.classpath.org Fri Apr 18 17:43:04 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 18 Apr 2014 17:43:04 +0000 Subject: /hg/buildbot: Perform extensive cleanup and add support for buil... Message-ID: changeset 5e60264eb933 in /hg/buildbot details: http://icedtea.classpath.org/hg/buildbot?cmd=changeset;node=5e60264eb933 author: Andrew John Hughes date: Fri Apr 18 18:42:40 2014 +0100 Perform extensive cleanup and add support for building IcedTea 3.x with OpenJDK 8. * Remove duplicate configure options from build.sh. * Drop HotSpot, JamVM & CACAO quick builds from 6 (covered by main quick build) * Make Shark build a full bootstrap * Cleanup naming of builders, updating squeeze to wheezy * Cleanup naming of factories to make it more obvious which corresponds to which builder * Cleanup ordering so IcedTea 6/7/8 grouped together * Add quick, shark, armv7 and f16 builds for IcedTea8. diffstat: icedtea/build.sh | 14 - icedtea/master.cfg | 643 +++++++++++++++++++++++++++++----------------------- 2 files changed, 355 insertions(+), 302 deletions(-) diffs (truncated from 881 to 500 lines): diff -r ddb0e5427eb4 -r 5e60264eb933 icedtea/build.sh --- a/icedtea/build.sh Thu Dec 26 14:49:55 2013 +0000 +++ b/icedtea/build.sh Fri Apr 18 18:42:40 2014 +0100 @@ -110,18 +110,6 @@ # Make sure a failure in any command in a pipe, fails the whole pipe command. set -o pipefail -# Some additional VMs only build against one or the other version. -if [ "${VERSIONSTR}" == "6" ]; then - ICEDTEA_ADDITIONAL_VMS="cacao,jamvm,shark,zero" - ADDITIONAL_OPTIONS="" -elif [ "${VERSIONSTR}" == "7" ]; then - ICEDTEA_ADDITIONAL_VMS="cacao,jamvm" - ADDITIONAL_OPTIONS="--disable-system-lcms --disable-system-gio" -else - ICEDTEA_ADDITIONAL_VMS="" - ADDITIONAL_OPTIONS="--disable-system-lcms" -fi - # Build in separate dir. # Figure out a way to use local openjdk tar.gz files # maybe just copy to to an archive dir before cleanup and then copy back. @@ -130,8 +118,6 @@ && cd $ICEDTEA_BUILD_DIR \ && $ICEDTEA_DIR/configure \ --enable-nss \ - $ADDITIONAL_OPTIONS \ - --with-additional-vms=$ICEDTEA_ADDITIONAL_VMS \ && make VERBOSE=true) 2>&1 | tee $BUILD_LOG_FILE BUILD_RESULT=$? diff -r ddb0e5427eb4 -r 5e60264eb933 icedtea/master.cfg --- a/icedtea/master.cfg Thu Dec 26 14:49:55 2013 +0000 +++ b/icedtea/master.cfg Fri Apr 18 18:42:40 2014 +0100 @@ -64,15 +64,12 @@ # "Quick" schedulers for icedtea6 and 7 # Schedules a quick build (no bootstrap, no documentation) # after waiting 5 minutes for any more changes. -# the x85_64 builders also skips check-jdk to prevent server hickups since +# the x86_64 builders also skips check-jdk to prevent server hickups since # they are running on the buildmaster. c['schedulers'].append(Scheduler(name="icedtea6-quick", branch="icedtea6", treeStableTimer=5*60, - builderNames=["icedtea6-squeeze-x86_64-quick", - "icedtea6-squeeze-x86_64-quick-hotspot", - "icedtea6-squeeze-x86_64-quick-jamvm", - "icedtea6-squeeze-x86_64-quick-cacao", - "icedtea6-squeeze-x86_64-quick-shark", + builderNames=["icedtea6-wheezy-x86_64-quick", + "icedtea6-wheezy-x86_64-quick-shark", "icedtea6-f16-x86", "icedtea6-natty-armv7l-quick", "icedtea6-natty-armv7l-quick-cacao", @@ -90,12 +87,22 @@ c['schedulers'].append(Scheduler(name="icedtea7-quick", branch="icedtea7", treeStableTimer=5*60, - builderNames=["icedtea7-squeeze-x86_64-quick", + builderNames=["icedtea7-wheezy-x86_64-quick", + "icedtea7-wheezy-x86_64-shark", "icedtea7-f16-x86", "icedtea7-squeeze-armv5tel-quick", "icedtea7-natty-armv7l-quick"] )) +c['schedulers'].append(Scheduler(name="icedtea8-quick", branch="icedtea", + treeStableTimer=5*60, + builderNames=["icedtea8-wheezy-x86_64-quick", + "icedtea8-wheezy-x86_64-shark", + "icedtea8-f16-x86", + "icedtea8-squeeze-armv5tel-quick", + "icedtea8-natty-armv7l-quick"] + )) + # "Normal" schedulers for icedtea-web and testrepo. # Schedules a full build of either branch after waiting 60 seconds # for any more changes. @@ -114,7 +121,7 @@ "testrepo-lucid-ia32", "testrepo-squeeze-armv5tel"])) -# Full scheduler for icedtea6 or icedtea7 branches. +# Full scheduler for icedtea6, icedtea7 or icedtea8 branches. # Triggers every 8 hours if there were changes. Schedules a full build # that includes documentation and jdk-check. Takes multiple hours. # The trigger times are shifted 4 hours to minimize overlap. @@ -123,12 +130,17 @@ onlyIfChanged=True, hour=range(0, 24, 8), minute=38, - builderNames=["icedtea6-squeeze-x86_64-full"])) + builderNames=["icedtea6-wheezy-x86_64-full"])) c['schedulers'].append(Nightly(name="icedtea7-full", branch="icedtea7", onlyIfChanged=True, hour=range(4, 24, 8), minute=8, - builderNames=["icedtea7-squeeze-x86_64-full"])) + builderNames=["icedtea7-wheezy-x86_64-full"])) +c['schedulers'].append(Nightly(name="icedtea8-full", branch="icedtea", + onlyIfChanged=True, + hour=range(4, 24, 8), + minute=8, + builderNames=["icedtea8-wheezy-x86_64-full"])) ####### BUILDERS @@ -263,181 +275,7 @@ 'builddir': "testrepo_squeeze_armv5tel", 'factory': f2 } -#icedtea6-squeeze-x86_64-quick -f3s6 = factory.BuildFactory() -f3s6.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) -f3s6.addStep(ShellCommand(command=["./autogen.sh"], - workdir="src", - description="autogen")) -f3s6.addStep(ShellCommand(command=["rm", "-rf", "build"], - workdir=".", - description="clean build dir")) -f3s6.addStep(Configure(command=["../src/configure", - "--disable-bootstrap", - "--disable-optimizations", - "--disable-system-lcms", - "--disable-docs", - "--with-additional-vms=jamvm,cacao,shark", - "--with-parallel-jobs=4", - "--with-llvm-config=llvm-config-2.7"], - workdir="build")) -f3s6.addStep(Compile(workdir="build")) -f3s6.addStep(JTRegCheck(command=["make", "check-hotspot"], - description="check-hotspot", - workdir="build")) -f3s6.addStep(JTRegCheck(command=["make", "check-langtools"], - description="check-langtools", - workdir="build")) - -f3s7 = factory.BuildFactory() -f3s7.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) -f3s7.addStep(ShellCommand(command=["./autogen.sh"], - workdir="src", - description="autogen")) -f3s7.addStep(ShellCommand(command=["rm", "-rf", "build"], - workdir=".", - description="clean build dir")) -f3s7.addStep(Configure(command=["../src/configure", - "--disable-bootstrap", - "--disable-optimizations", - "--disable-docs", - "--with-additional-vms=shark", - "--with-parallel-jobs=4", - "--with-llvm-config=llvm-config-2.7", - "--disable-system-gio", - "--disable-system-gtk", - "--disable-system-lcms"], - workdir="build")) -f3s7.addStep(Compile(workdir="build")) -f3s7.addStep(JTRegCheck(command=["make", "check-hotspot"], - description="check-hotspot", - workdir="build")) -f3s7.addStep(JTRegCheck(command=["make", "check-langtools"], - description="check-langtools", - workdir="build")) - -#icedtea6-squeeze-x86_64-quick-hotspot -f3h = factory.BuildFactory() -f3h.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) -f3h.addStep(ShellCommand(command=["./autogen.sh"], - workdir="src", - description="autogen")) -f3h.addStep(ShellCommand(command=["rm", "-rf", "build"], - workdir=".", - description="clean build dir")) -f3h.addStep(Configure(command=["../src/configure", - "--disable-bootstrap", - "--disable-optimizations", - "--disable-system-lcms", - "--disable-docs", - "--with-hotspot-build", - "--with-parallel-jobs=4"], - workdir="build")) -f3h.addStep(Compile(workdir="build")) -f3h.addStep(JTRegCheck(command=["make", "check-hotspot"], - description="check-hotspot", - workdir="build")) -f3h.addStep(JTRegCheck(command=["make", "check-langtools"], - description="check-langtools", - workdir="build")) - -#icedtea6-squeeze-x86_64-quick-jamvm -f3j = factory.BuildFactory() -f3j.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) -f3j.addStep(ShellCommand(command=["./autogen.sh"], - workdir="src", - description="autogen")) -f3j.addStep(ShellCommand(command=["rm", "-rf", "build"], - workdir=".", - description="clean build dir")) -f3j.addStep(Configure(command=["../src/configure", - "--disable-bootstrap", - "--disable-system-lcms", - "--disable-docs", - "--enable-jamvm"], - workdir="build")) -f3j.addStep(Compile(workdir="build")) -f3j.addStep(JTRegCheck(command=["make", "check-hotspot"], - description="check-hotspot", - workdir="build")) -f3j.addStep(JTRegCheck(command=["make", "check-langtools"], - description="check-langtools", - workdir="build")) - -#icedtea6-squeeze-x86_64-quick-cacao -f3c = factory.BuildFactory() -f3c.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) -f3c.addStep(ShellCommand(command=["./autogen.sh"], - workdir="src", - description="autogen")) -f3c.addStep(ShellCommand(command=["rm", "-rf", "build"], - workdir=".", - description="clean build dir")) -f3c.addStep(Configure(command=["../src/configure", - "--disable-bootstrap", - "--disable-system-lcms", - "--disable-docs", - "--enable-cacao"], - workdir="build")) -f3c.addStep(Compile(workdir="build")) -f3c.addStep(JTRegCheck(command=["make", "check-hotspot"], - description="check-hotspot", - workdir="build")) -f3c.addStep(JTRegCheck(command=["make", "check-langtools"], - description="check-langtools", - workdir="build")) - -#icedtea6-squeeze-x86_64-quick-shark -f3s = factory.BuildFactory() -f3s.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) -f3s.addStep(ShellCommand(command=["./autogen.sh"], - workdir="src", - description="autogen")) -f3s.addStep(ShellCommand(command=["rm", "-rf", "build"], - workdir=".", - description="clean build dir")) -f3s.addStep(Configure(command=["../src/configure", - "--disable-bootstrap", - "--disable-system-lcms", - "--disable-docs", - "--enable-shark"], - workdir="build")) -f3s.addStep(Compile(workdir="build")) -f3s.addStep(JTRegCheck(command=["make", "check-hotspot"], - description="check-hotspot", - workdir="build")) -f3s.addStep(JTRegCheck(command=["make", "check-langtools"], - description="check-langtools", - workdir="build")) - -f3an = factory.BuildFactory() -f3an.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) -f3an.addStep(ShellCommand(command=["./autogen.sh"], - workdir="src", - description="autogen")) -f3an.addStep(ShellCommand(command=["rm", "-rf", "build"], - workdir=".", - description="clean build dir")) -f3an.addStep(Configure(command=["../src/configure", - "--disable-bootstrap", - "--with-parallel-jobs=2", - "--disable-docs"], - workdir="build")) -f3an.addStep(Compile(workdir="build")) -f3an.addStep(JTRegCheck(command=["make", "check-hotspot"], - description="check-hotspot", - workdir="build")) -f3an.addStep(JTRegCheck(command=["make", "check-langtools"], - description="check-langtools", - workdir="build", timeout=2400)) -f3an.addStep(JTRegCheck(command=["make", "check-jdk"], - description="check-jdk", - workdir="build", timeout=7500)) -f3an.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], - workdir=".", - flunkOnFailure=False, - alwaysRun=True, - description="killall")) +# Generic IcedTea # Default build factory that just does autogen, configure, make and make check fdefault = factory.BuildFactory() @@ -457,6 +295,7 @@ flunkOnFailure=False, alwaysRun=True, description="killall")) +# Default build factory that just does autogen, configure, make and make check with no docs fnodocs = factory.BuildFactory() fnodocs.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) fnodocs.addStep(ShellCommand(command=["./autogen.sh"], workdir="src", @@ -475,37 +314,118 @@ flunkOnFailure=False, alwaysRun=True, description="killall")) -f3an7 = factory.BuildFactory() -f3an7.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) -f3an7.addStep(ShellCommand(command=["./autogen.sh"], +# Generic quick squeeze armv5tel +f3a5 = factory.BuildFactory() +f3a5.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) +f3a5.addStep(ShellCommand(command=["./autogen.sh"], workdir="src", description="autogen")) -f3an7.addStep(ShellCommand(command=["rm", "-rf", "build"], +f3a5.addStep(ShellCommand(command=["rm", "-rf", "build"], workdir=".", description="clean build dir")) -f3an7.addStep(Configure(command=["../src/configure", +f3a5.addStep(Configure(command=["../src/configure", "--disable-bootstrap", - "--with-parallel-jobs=2", + "--with-parallel-jobs=1", "--disable-docs", + "--disable-system-gio", + "--disable-system-gtk", "--disable-system-lcms"], workdir="build")) -f3an7.addStep(Compile(workdir="build")) -f3an7.addStep(JTRegCheck(command=["make", "check-hotspot"], +f3a5.addStep(Compile(workdir="build")) +f3a5.addStep(JTRegCheck(command=["make", "check-hotspot"], description="check-hotspot", workdir="build")) -f3an7.addStep(JTRegCheck(command=["make", "check-langtools"], +f3a5.addStep(JTRegCheck(command=["make", "check-langtools"], description="check-langtools", workdir="build", timeout=2400)) -f3an7.addStep(JTRegCheck(command=["make", "check-jdk"], +f3a5.addStep(JTRegCheck(command=["make", "check-jdk"], description="check-jdk", workdir="build", timeout=7500)) -f3an7.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], +f3a5.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], workdir=".", flunkOnFailure=False, alwaysRun=True, description="killall")) +# IcedTea6 +#icedtea6-wheezy-x86_64-quick +f3q6 = factory.BuildFactory() +f3q6.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) +f3q6.addStep(ShellCommand(command=["./autogen.sh"], + workdir="src", + description="autogen")) +f3q6.addStep(ShellCommand(command=["rm", "-rf", "build"], + workdir=".", + description="clean build dir")) +f3q6.addStep(Configure(command=["../src/configure", + "--disable-bootstrap", + "--disable-system-lcms", + "--disable-docs", + "--with-additional-vms=jamvm,cacao,zero", + "--with-parallel-jobs=4"], + workdir="build")) +f3q6.addStep(Compile(workdir="build")) +f3q6.addStep(JTRegCheck(command=["make", "check-hotspot"], + description="check-hotspot", + workdir="build")) +f3q6.addStep(JTRegCheck(command=["make", "check-langtools"], + description="check-langtools", + workdir="build")) + +#icedtea6-squeeze-x86_64-quick-shark +f3s6 = factory.BuildFactory() +f3s6.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) +f3s6.addStep(ShellCommand(command=["./autogen.sh"], + workdir="src", + description="autogen")) +f3s6.addStep(ShellCommand(command=["rm", "-rf", "build"], + workdir=".", + description="clean build dir")) +f3s6.addStep(Configure(command=["../src/configure", + "--disable-system-lcms", + "--disable-docs", + "--enable-shark"], + workdir="build")) +f3s6.addStep(Compile(workdir="build")) +f3s6.addStep(JTRegCheck(command=["make", "check-hotspot"], + description="check-hotspot", + workdir="build")) +f3s6.addStep(JTRegCheck(command=["make", "check-langtools"], + description="check-langtools", + workdir="build")) + +# icedtea6-natty-armv7l-quick +f3an6 = factory.BuildFactory() +f3an6.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) +f3an6.addStep(ShellCommand(command=["./autogen.sh"], + workdir="src", + description="autogen")) +f3an6.addStep(ShellCommand(command=["rm", "-rf", "build"], + workdir=".", + description="clean build dir")) +f3an6.addStep(Configure(command=["../src/configure", + "--disable-bootstrap", + "--with-parallel-jobs=2", + "--disable-docs"], + workdir="build")) +f3an6.addStep(Compile(workdir="build")) +f3an6.addStep(JTRegCheck(command=["make", "check-hotspot"], + description="check-hotspot", + workdir="build")) +f3an6.addStep(JTRegCheck(command=["make", "check-langtools"], + description="check-langtools", + workdir="build", timeout=2400)) +f3an6.addStep(JTRegCheck(command=["make", "check-jdk"], + description="check-jdk", + workdir="build", timeout=7500)) +f3an6.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], + workdir=".", + flunkOnFailure=False, + alwaysRun=True, + description="killall")) + +# icedtea6-natty-armv7l-quick-cacao f3anc = factory.BuildFactory() f3anc.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) f3anc.addStep(ShellCommand(command=["./autogen.sh"], @@ -536,7 +456,7 @@ alwaysRun=True, description="killall")) - +# icedtea6-natty-armv7l-quick-jamvm f3anj = factory.BuildFactory() f3anj.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) f3anj.addStep(ShellCommand(command=["./autogen.sh"], @@ -567,7 +487,7 @@ alwaysRun=True, description="killall")) - +# icedtea6-natty-armv7l-quick-shark f3ans = factory.BuildFactory() f3ans.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) f3ans.addStep(ShellCommand(command=["./autogen.sh"], @@ -598,39 +518,6 @@ alwaysRun=True, description="killall")) -#icedtea6-lucid-ia32-quick-zero -f3lz = factory.BuildFactory() -f3lz.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) -f3lz.addStep(ShellCommand(command=["./autogen.sh"], - workdir="src", - description="autogen")) -f3lz.addStep(ShellCommand(command=["rm", "-rf", "build"], - workdir=".", - description="clean build dir")) -f3lz.addStep(Configure(command=["../src/configure", - "--disable-bootstrap", - "--with-parallel-jobs=5", - "--disable-system-lcms", - "--disable-docs", - "--with-hotspot-build", - "--enable-zero"], - workdir="build")) -f3lz.addStep(Compile(workdir="build")) -f3lz.addStep(JTRegCheck(command=["make", "check-hotspot"], - description="check-hotspot", - workdir="build")) -f3lz.addStep(JTRegCheck(command=["make", "check-langtools"], - description="check-langtools", - workdir="build", timeout=2400)) -f3lz.addStep(JTRegCheck(command=["make", "check-jdk"], - description="check-jdk", - workdir="build", timeout=7500)) -f3lz.addStep(ShellCommand(command=["killall", "-q", "-v", "-s", "KILL", "java"], - workdir=".", - flunkOnFailure=False, - alwaysRun=True, - description="killall")) - #icedtea6-lucid-ia32-quick-shark f3ls = factory.BuildFactory() f3ls.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) @@ -729,39 +616,39 @@ alwaysRun=True, description="killall")) -f3a5 = factory.BuildFactory() -f3a5.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) -f3a5.addStep(ShellCommand(command=["./autogen.sh"], +#icedtea6-lucid-ia32-quick-zero +f3lz = factory.BuildFactory() +f3lz.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) +f3lz.addStep(ShellCommand(command=["./autogen.sh"], workdir="src", description="autogen")) -f3a5.addStep(ShellCommand(command=["rm", "-rf", "build"], +f3lz.addStep(ShellCommand(command=["rm", "-rf", "build"], From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:17:08 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:17:08 +0000 Subject: [Bug 1282] [TRACKER] IcedTea 3.0.0pre1 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1282 Bug 1282 depends on bug 1359, which changed state. Bug 1359 Summary: [IcedTea8] Check for /usr/lib64 JVMs and generic JPackage alternative http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1359 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:17:07 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:17:07 +0000 Subject: [Bug 1359] [IcedTea8] Check for /usr/lib64 JVMs and generic JPackage alternative In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1359 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:36:22 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:36:22 +0000 Subject: [Bug 1282] [TRACKER] IcedTea 3.0.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1282 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 Summary|[TRACKER] IcedTea 3.0.0pre1 |[TRACKER] IcedTea 3.0.0 |Release |Release --- Comment #1 from Andrew John Hughes --- Make this 3.0.0 itself. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:37:50 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:37:50 +0000 Subject: [Bug 1740] New: [TRACKER] IcedTea 3.1.0 Release Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1740 Bug ID: 1740 Summary: [TRACKER] IcedTea 3.1.0 Release Product: IcedTea Version: 8-hg Hardware: all OS: All Status: NEW Severity: enhancement Priority: P5 Component: IcedTea Assignee: gnu.andrew at redhat.com Reporter: gnu.andrew at redhat.com CC: unassigned at icedtea.classpath.org Targetting 8u40. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew at icedtea.classpath.org Fri Apr 18 19:42:05 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:42:05 +0000 Subject: /hg/icedtea: Cleanup and update NEWS file. Message-ID: changeset 24d0bdd59f32 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=24d0bdd59f32 author: Andrew John Hughes date: Fri Apr 18 20:41:34 2014 +0100 Cleanup and update NEWS file. 2014-04-18 Andrew John Hughes * NEWS: Fix ordering, cleanup formatting and add missing entry for PR1279. Change to 3.0.0 and move into 2014. diffstat: ChangeLog | 7 +++++++ NEWS | 19 +++++++++---------- 2 files changed, 16 insertions(+), 10 deletions(-) diffs (57 lines): diff -r 87d03fbc8737 -r 24d0bdd59f32 ChangeLog --- a/ChangeLog Fri Apr 18 17:42:12 2014 +0100 +++ b/ChangeLog Fri Apr 18 20:41:34 2014 +0100 @@ -1,3 +1,10 @@ +2014-04-18 Andrew John Hughes + + * NEWS: + Fix ordering, cleanup formatting and add + missing entry for PR1279. Change to 3.0.0 + and move into 2014. + 2013-06-06 Andrew John Hughes * INSTALL: diff -r 87d03fbc8737 -r 24d0bdd59f32 NEWS --- a/NEWS Fri Apr 18 17:42:12 2014 +0100 +++ b/NEWS Fri Apr 18 20:41:34 2014 +0100 @@ -10,16 +10,22 @@ CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY -New in release 3.0 beta 1 (2013-XX-XX): +New in release 3.0.0 (2014-XX-XX): +* Bug fixes + - PR1279: Synchronise CACAO versions between IcedTea6/7/8 where possible + - PR1325: Only add classes to rt-source-files.txt if actually needed + - PR1346: Filter out -j option to make + - PR1347: Update list of checked JDKs + - PR1357: Make XRender mandatory + - PR1359: Check for /usr/lib64 JVMs and generic JPackage alternative * JamVM - JSR 292: Invoke Dynamic - JSR 308: Type Annotations - JSR 335: Lambda Expressions - JSR 901: VM support for method parameter reflection - JEP 171: Implement fence methods in sun.misc.Unsafe - - sun.misc.Unsafe: additional methods get/putAddress: - allows JamVM with OpenJDK 7/8 to run recent versions of JEdit. + - sun.misc.Unsafe: additional methods get/putAddress. - FreeClassData: adjust method count for Miranda methods - Fix invokesuper check in invokespecial opcode - Fix non-direct interpreter invokespecial super-class check @@ -39,13 +45,6 @@ - JSR 292: correct intrinsic cache COMPARE function - Race condition in setting up imethod table - GC: Minor performance improvement -* Bug fixes - - PR1346: Filter out -j option to make - - PR1347: Update list of checked JDKs - - PR1357: Make XRender mandatory - - PR1325: Only add classes to rt-source-files.txt if the class (or one or more of its methods/fields) - are actually missing from the boot JDK - - PR1359: Check for /usr/lib64 JVMs and generic JPackage alternative New in release 2.0 (2011-XX-XX): From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:42:14 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:42:14 +0000 Subject: [Bug 1279] [IcedTea8] Synchronise CACAO versions between IcedTea6/7/8 where possible In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1279 --- Comment #2 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea?cmd=changeset;node=24d0bdd59f32 author: Andrew John Hughes date: Fri Apr 18 20:41:34 2014 +0100 Cleanup and update NEWS file. 2014-04-18 Andrew John Hughes * NEWS: Fix ordering, cleanup formatting and add missing entry for PR1279. Change to 3.0.0 and move into 2014. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:42:43 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:42:43 +0000 Subject: [Bug 1279] [IcedTea8] Synchronise CACAO versions between IcedTea6/7/8 where possible In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1279 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:42:44 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:42:44 +0000 Subject: [Bug 1282] [TRACKER] IcedTea 3.0.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1282 Bug 1282 depends on bug 1279, which changed state. Bug 1279 Summary: [IcedTea8] Synchronise CACAO versions between IcedTea6/7/8 where possible http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1279 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:45:28 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:45:28 +0000 Subject: [Bug 1741] New: Break PulseAudio provider out into IcedTea-Sound Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1741 Bug ID: 1741 Summary: Break PulseAudio provider out into IcedTea-Sound Product: IcedTea Version: unspecified Hardware: all OS: All Status: NEW Severity: enhancement Priority: P5 Component: IcedTea Assignee: gnu.andrew at redhat.com Reporter: gnu.andrew at redhat.com CC: unassigned at icedtea.classpath.org -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:46:11 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:46:11 +0000 Subject: [Bug 1282] [TRACKER] IcedTea 3.0.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1282 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |1741 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:46:11 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:46:11 +0000 Subject: [Bug 1284] [TRACKER] IcedTea 2.5.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1284 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |1741 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:46:11 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:46:11 +0000 Subject: [Bug 1741] Break PulseAudio provider out into IcedTea-Sound In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1741 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Blocks| |1282, 1284, 1503 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:46:11 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:46:11 +0000 Subject: [Bug 1503] [TRACKER] IcedTea6 1.14 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1503 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |1741 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:46:55 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:46:55 +0000 Subject: [Bug 1282] [TRACKER] IcedTea 3.0.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1282 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|1345 | -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:46:55 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:46:55 +0000 Subject: [Bug 1345] [IcedTea8] PulseAudio header mismatch In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1345 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|1282 |1741 --- Comment #2 from Andrew John Hughes --- Block on IcedTea-Sound breakout. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:46:55 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:46:55 +0000 Subject: [Bug 1741] Break PulseAudio provider out into IcedTea-Sound In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1741 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |1345 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:49:48 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:49:48 +0000 Subject: [Bug 1547] [METABUG] [IcedTea8] Support /etc/os-release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1547 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:49:54 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:49:54 +0000 Subject: [Bug 1277] [IcedTea8] Synchronise CACAO rules between IcedTea6/7/8 where possible In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1277 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:49:59 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:49:59 +0000 Subject: [Bug 1368] [IcedTea8] Ensure debug data is available for all libraries and binaries without redundant files In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1368 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:50:07 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:50:07 +0000 Subject: [Bug 1348] [IcedTea8] java -version output is broken In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1348 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:51:06 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:51:06 +0000 Subject: [Bug 1282] [TRACKER] IcedTea 3.0.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1282 Bug 1282 depends on bug 1356, which changed state. Bug 1356 Summary: [IcedTea8] Update default project in configure help http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1356 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |INVALID -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:51:05 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:51:05 +0000 Subject: [Bug 1356] [IcedTea8] Update default project in configure help In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1356 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |INVALID Target Milestone|3.0.0pre1 |3.0.0 --- Comment #1 from Andrew John Hughes --- 8 will continue to use IcedTea. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:51:19 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:51:19 +0000 Subject: [Bug 1359] [IcedTea8] Check for /usr/lib64 JVMs and generic JPackage alternative In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1359 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:51:27 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:51:27 +0000 Subject: [Bug 1369] [IcedTea8] Remove outdated bootstrap configure tests or make them fail on error. In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1369 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:52:42 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:52:42 +0000 Subject: [Bug 1273] [IcedTea8] Only add classes to rt-source-files.txt if the class (or one or more of its methods/fields) are actually missing from the boot JDK In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1273 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:52:56 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:52:56 +0000 Subject: [Bug 1287] [IcedTea8] [METABUG] Give top priority to the PKCS11 NSS provider, due to performance advantages In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1287 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:53:02 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:53:02 +0000 Subject: [Bug 1325] [IcedTea8] Only add classes to rt-source-files.txt if the class (or one or more of its methods/fields) are actually missing from the boot JDK In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1325 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:53:08 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:53:08 +0000 Subject: [Bug 1346] [IcedTea8] Filter out -j option to make In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1346 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:53:23 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:53:23 +0000 Subject: [Bug 1347] [IcedTea8] Update list of checked JDKs In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1347 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:53:34 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:53:34 +0000 Subject: [Bug 1357] [IcedTea8] Make XRender mandatory In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1357 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:53:53 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:53:53 +0000 Subject: [Bug 1275] [IcedTea8] Provide option to turn off downloading of tarballs (--disable-downloading) In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1275 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:54:00 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:54:00 +0000 Subject: [Bug 1281] [IcedTea8] Shared class data archive should be generated post-build on architectures with the client VM In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1281 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:54:03 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:54:03 +0000 Subject: [Bug 1283] [IcedTea8] Use XML for AUTHORS/NEWS to ensure reliable formatting for producing e.g. release notes. In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1283 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:54:58 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:54:58 +0000 Subject: [Bug 1740] [TRACKER] IcedTea 3.1.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1740 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Target Milestone|--- |3.1.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:55:21 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:55:21 +0000 Subject: [Bug 1283] [IcedTea8] Use XML for AUTHORS/NEWS to ensure reliable formatting for producing e.g. release notes. In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1283 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|1282 |1740 Target Milestone|3.0.0 |3.1.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:55:21 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:55:21 +0000 Subject: [Bug 1282] [TRACKER] IcedTea 3.0.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1282 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|1283 | -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:55:21 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:55:21 +0000 Subject: [Bug 1740] [TRACKER] IcedTea 3.1.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1740 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |1283 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:55:47 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:55:47 +0000 Subject: [Bug 1289] [IcedTea8] Allow JARs to optionally be compressed by setting COMPRESS_JARS In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1289 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:56:33 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:56:33 +0000 Subject: [Bug 1291] [IcedTea8] Ensure unlimited crypto policy or crypto removal patch is in place. In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1291 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:56:38 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:56:38 +0000 Subject: [Bug 1341] [IcedTea8] Simplify the rhino class rewriter to avoid use of concurrency In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1341 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:56:41 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:56:41 +0000 Subject: [Bug 1345] [IcedTea8] PulseAudio header mismatch In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1345 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:56:45 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:56:45 +0000 Subject: [Bug 1364] [IcedTea8] Replace hgforest support In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1364 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:57:43 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:57:43 +0000 Subject: [Bug 1300] Support for X32 ABI x86_64-linux-gnux32 In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1300 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|other |x86_64-x32 Target Milestone|2.5.0 |2.6.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:58:23 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:58:23 +0000 Subject: [Bug 1367] [IcedTea8] Add Omair's forwardports of the system library patches to 8 In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1367 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:58:26 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:58:26 +0000 Subject: [Bug 1377] [IcedTea8] Forwardport javac detection / usability test from IcedTea 2.x In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1377 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:58:30 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:58:30 +0000 Subject: [Bug 1379] [IcedTea8] Add AArch64 support to Zero In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1379 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:58:33 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:58:33 +0000 Subject: [Bug 1537] [IcedTea8] Allow use of system Kerberos to obtain cache location In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1537 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:58:37 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:58:37 +0000 Subject: [Bug 1548] [IcedTea8] autoconf checks should use /etc/os-release in preference to lsb_release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1548 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:58:41 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:58:41 +0000 Subject: [Bug 1549] [IcedTea8] Font configuration should check /etc/os-release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1549 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 19:58:45 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 19:58:45 +0000 Subject: [Bug 1550] [IcedTea8] Sanity check should read /etc/os-release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1550 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0pre1 |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 20:01:16 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 20:01:16 +0000 Subject: [Bug 1375] [IcedTea8] Provide option to strip and link debugging info after build In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1375 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.0 |3.1.0 --- Comment #1 from Andrew John Hughes --- Delay to 3.1.0. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 22:18:43 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 22:18:43 +0000 Subject: [Bug 1742] New: [IcedTea7] Allow SunEC provider to be built with changes in NSS >= 3.16.1 Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1742 Bug ID: 1742 Summary: [IcedTea7] Allow SunEC provider to be built with changes in NSS >= 3.16.1 Product: IcedTea Version: 7-hg Hardware: all OS: Linux Status: NEW Severity: normal Priority: P5 Component: IcedTea Assignee: gnu.andrew at redhat.com Reporter: gnu.andrew at redhat.com CC: unassigned at icedtea.classpath.org https://bugzilla.redhat.com/show_bug.cgi?id=1075702 moved the required functions for the SunEC provider into blapi.h so they will be available via the installed headers (softoken.h is not one of these). The OpenJDK side should be adapted to work with this change. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 22:19:13 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 22:19:13 +0000 Subject: [Bug 1742] [IcedTea7] Allow SunEC provider to be built with changes in NSS >= 3.16.1 In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1742 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Blocks| |1284 Target Milestone|--- |2.5.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 22:19:13 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 22:19:13 +0000 Subject: [Bug 1284] [TRACKER] IcedTea 2.5.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1284 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |1742 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 22:39:37 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 22:39:37 +0000 Subject: [Bug 1742] [IcedTea7] Allow SunEC provider to be built with changes in NSS >= 3.16.1 In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1742 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=6f559527c035 author: andrew date: Fri Apr 18 23:39:11 2014 +0100 PR1742: Allow SunEC provider to be built with changes in NSS >= 3.16.1 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Fri Apr 18 22:40:25 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 18 Apr 2014 22:40:25 +0000 Subject: [Bug 1742] [IcedTea7] Allow SunEC provider to be built with changes in NSS >= 3.16.1 In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1742 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://bugzilla.redhat.com | |/show_bug.cgi?id=1075702 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at icedtea.classpath.org Sat Apr 19 09:26:07 2014 From: mark at icedtea.classpath.org (mark at icedtea.classpath.org) Date: Sat, 19 Apr 2014 09:26:07 +0000 Subject: /hg/buildbot: name icedtea6-wheezy-x86_64-quick-shark use icedte... Message-ID: changeset 9470f0df7040 in /hg/buildbot details: http://icedtea.classpath.org/hg/buildbot?cmd=changeset;node=9470f0df7040 author: Mark Wielaard date: Sat Apr 19 11:25:41 2014 +0200 name icedtea6-wheezy-x86_64-quick-shark use icedtea8 specific builddirs. diffstat: icedtea/master.cfg | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diffs (27 lines): diff -r 5e60264eb933 -r 9470f0df7040 icedtea/master.cfg --- a/icedtea/master.cfg Fri Apr 18 18:42:40 2014 +0100 +++ b/icedtea/master.cfg Sat Apr 19 11:25:41 2014 +0200 @@ -914,7 +914,7 @@ 'builddir': "icedtea6-quick", 'factory': f3q6 } icedtea6_builder_shark = { - 'name': "icedtea6-wheezy-x86_64-shark", + 'name': "icedtea6-wheezy-x86_64-quick-shark", 'slavenames': ["squeeze-x86_64"], 'builddir': "icedtea6-shark", 'factory': f3s6 } @@ -1007,12 +1007,12 @@ # IcedTea8 icedtea8_builder_quick = { 'name': "icedtea8-wheezy-x86_64-quick", 'slavenames': ["squeeze-x86_64"], - 'builddir': "icedtea7-quick", + 'builddir': "icedtea8-quick", 'factory': f3q8 } icedtea8_builder_shark = { 'name': "icedtea8-wheezy-x86_64-shark", 'slavenames': ["squeeze-x86_64"], - 'builddir': "icedtea7-shark", + 'builddir': "icedtea8-shark", 'factory': f3s8 } icedtea8_builder_f16_x86 = { 'name': "icedtea8-f16-x86", 'slavenames': ["fedora16-x86"], From andrew at icedtea.classpath.org Sat Apr 19 17:33:20 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Sat, 19 Apr 2014 17:33:20 +0000 Subject: /hg/buildbot: Fix naming; should be -shark not quick-shark Message-ID: changeset 53aff698b341 in /hg/buildbot details: http://icedtea.classpath.org/hg/buildbot?cmd=changeset;node=53aff698b341 author: Andrew John Hughes date: Sat Apr 19 18:33:11 2014 +0100 Fix naming; should be -shark not quick-shark diffstat: icedtea/master.cfg | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diffs (30 lines): diff -r 9470f0df7040 -r 53aff698b341 icedtea/master.cfg --- a/icedtea/master.cfg Sat Apr 19 11:25:41 2014 +0200 +++ b/icedtea/master.cfg Sat Apr 19 18:33:11 2014 +0100 @@ -69,7 +69,7 @@ c['schedulers'].append(Scheduler(name="icedtea6-quick", branch="icedtea6", treeStableTimer=5*60, builderNames=["icedtea6-wheezy-x86_64-quick", - "icedtea6-wheezy-x86_64-quick-shark", + "icedtea6-wheezy-x86_64-shark", "icedtea6-f16-x86", "icedtea6-natty-armv7l-quick", "icedtea6-natty-armv7l-quick-cacao", @@ -373,7 +373,7 @@ description="check-langtools", workdir="build")) -#icedtea6-squeeze-x86_64-quick-shark +#icedtea6-squeeze-x86_64-shark f3s6 = factory.BuildFactory() f3s6.addStep(Mercurial(baseURL=hgrepo, workdir="src", mode="update")) f3s6.addStep(ShellCommand(command=["./autogen.sh"], @@ -914,7 +914,7 @@ 'builddir': "icedtea6-quick", 'factory': f3q6 } icedtea6_builder_shark = { - 'name': "icedtea6-wheezy-x86_64-quick-shark", + 'name': "icedtea6-wheezy-x86_64-shark", 'slavenames': ["squeeze-x86_64"], 'builddir': "icedtea6-shark", 'factory': f3s6 } From bugzilla-daemon at icedtea.classpath.org Mon Apr 21 23:23:44 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 21 Apr 2014 23:23:44 +0000 Subject: [Bug 1743] New: Intermittant deadlock in PluginRequestProcessor Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1743 Bug ID: 1743 Summary: Intermittant deadlock in PluginRequestProcessor Product: IcedTea-Web Version: 1.4 Hardware: x86_64 OS: OpenBSD Status: NEW Severity: critical Priority: P5 Component: Plugin Assignee: dbhole at redhat.com Reporter: kurt at intricatesoftware.com CC: unassigned at icedtea.classpath.org Created attachment 1073 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1073&action=edit Deadlock and global variable fix -version 1 icedtea-web deadlocks intermittantly on OpenBSD. This problem has been debugged and a patch created to resolve the problem. The deadlock stems from an improper use of a condition variable broadcast and wait managing the message queue. Message queing looks like this: // Update queue synchronously pthread_mutex_lock(&message_queue_mutex); message_queue->push_back(message_parts); pthread_mutex_unlock(&message_queue_mutex); // Broadcast that a message is now available pthread_cond_broadcast(&cond_message_available); Message dequeing looks like this: pthread_mutex_lock(&message_queue_mutex); if (message_queue->size() > 0) { message_parts = message_queue->front(); message_queue->erase(message_queue->begin()); } pthread_mutex_unlock(&message_queue_mutex); if (message_parts) { } else { pthread_mutex_lock(&wait_mutex); pthread_cond_wait(&cond_message_available, &wait_mutex); pthread_mutex_unlock(&wait_mutex); } When the message queue goes to zero, the dequeing threads can enter the cond_wait state but the queing thread race in and add a message to the queue which the dequing thread misses. In this case there will be a message on the queue but the dequing threads are blocked waiting for another message. If another message doesn't appear, the dequing threads will remain blocked forever. Note that condition variable wait uses a completely unrealated mutex for its wait and it doesn't check that the queue is realy at zero length prior to going into wait. In order to avoid missed wakeups, or waiting when there is realy something on the queue, the following changes are needed: 1) the condition variable must use the same mutex that is used to queue messages to the queue 2) while holding the message_queue_mutex, check that the queue is indeed empty prior to calling pthread_cond_wait() 3) When the producer queues an item to the queue, while holding the message_queue_mutex locked, call pthread_cond_broadcast(&cond_message_available) or even better pthread_cond_signal(&cond_message_available) to avoid the thundering herd problem. The minimal fix for the deadlocks should look like this: Message queueing: // Update queue synchronously pthread_mutex_lock(&message_queue_mutex); message_queue->push_back(message_parts); pthread_cond_signal(&cond_message_available); pthread_mutex_unlock(&message_queue_mutex); Message dequeing: if (message_parts) { } else { pthread_mutex_lock(&message_queue_mutex); if (message_queue->size() == 0) { pthread_cleanup_push(queue_wait_cleanup, &processor->message_queue_mutex); pthread_cond_wait(&cond_message_available, &processor->message_queue_mutex); pthread_cleanup_pop(0); } pthread_mutex_unlock(&message_queue_mutex); } Plus an additional static function: static void queue_wait_cleanup(void* data) { pthread_mutex_unlock((pthread_mutex_t*) data); } There are some other related issues with the PluginRequestProcessor and queue_processor(); it mixes global locks and condition variables with a single instance PluginRequestProcessor. That is not a great design choice and would be more robust if the PluginRequestProcessor class contanined the mutexes and condition variables that it requires. For example, the current design could never allow for a second instance of PluginRequestProcessor to exist as it would reinit and destroy the global mutexes and condition variables the first instance created. Even though two instances will never be created, trying to understand this code required more work to confirm this. I have created a patch which incorprorates both the minimal deadlock fix and the elminiation of the global variables used by the PluginRequestProcessor. This patch is attached. It could be improved somewhat by making message_queue_mutex, cond_message_available, message_queue, and syn_write_mutex private and adjusting queue_processor() to call a new public function queueProcessor() that accesses the private variables. I would be happy to submit another version that performs that cleanup as well. Please let me know. Regards, -Kurt -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ptisnovs at icedtea.classpath.org Tue Apr 22 08:53:24 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Tue, 22 Apr 2014 08:53:24 +0000 Subject: /hg/gfx-test: Another ten new tests added into BitBltUsingBgColo... Message-ID: changeset 7b2d8eaf6827 in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=7b2d8eaf6827 author: Pavel Tisnovsky date: Tue Apr 22 10:54:07 2014 +0200 Another ten new tests added into BitBltUsingBgColor test suite. diffstat: ChangeLog | 5 + src/org/gfxtest/testsuites/BitBltUsingBgColor.java | 150 +++++++++++++++++++++ 2 files changed, 155 insertions(+), 0 deletions(-) diffs (172 lines): diff -r 2426f771f3f3 -r 7b2d8eaf6827 ChangeLog --- a/ChangeLog Fri Apr 18 11:13:55 2014 +0200 +++ b/ChangeLog Tue Apr 22 10:54:07 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-22 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/BitBltUsingBgColor.java: + Another ten new tests added into BitBltUsingBgColor test suite. + 2014-04-18 Pavel Tisnovsky * src/org/gfxtest/testsuites/BitBltBufferedImageOp.java: diff -r 2426f771f3f3 -r 7b2d8eaf6827 src/org/gfxtest/testsuites/BitBltUsingBgColor.java --- a/src/org/gfxtest/testsuites/BitBltUsingBgColor.java Fri Apr 18 11:13:55 2014 +0200 +++ b/src/org/gfxtest/testsuites/BitBltUsingBgColor.java Tue Apr 22 10:54:07 2014 +0200 @@ -6122,6 +6122,156 @@ } /** + * Test basic BitBlt operation for grid buffered image with type TYPE_4BYTE_ABGR_Pre. + * Background color is set to Color.blue. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltGridBufferedImageType4ByteABGR_Pre_backgroundBlue(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGRPre(image, graphics2d, Color.blue); + } + + /** + * Test basic BitBlt operation for grid buffered image with type TYPE_4BYTE_ABGR_Pre. + * Background color is set to Color.green. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltGridBufferedImageType4ByteABGR_Pre_backgroundGreen(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGRPre(image, graphics2d, Color.green); + } + + /** + * Test basic BitBlt operation for grid buffered image with type TYPE_4BYTE_ABGR_Pre. + * Background color is set to Color.cyan. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltGridBufferedImageType4ByteABGR_Pre_backgroundCyan(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGRPre(image, graphics2d, Color.cyan); + } + + /** + * Test basic BitBlt operation for grid buffered image with type TYPE_4BYTE_ABGR_Pre. + * Background color is set to Color.red. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltGridBufferedImageType4ByteABGR_Pre_backgroundRed(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGRPre(image, graphics2d, Color.red); + } + + /** + * Test basic BitBlt operation for grid buffered image with type TYPE_4BYTE_ABGR_Pre. + * Background color is set to Color.magenta. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltGridBufferedImageType4ByteABGR_Pre_backgroundMagenta(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGRPre(image, graphics2d, Color.magenta); + } + + /** + * Test basic BitBlt operation for grid buffered image with type TYPE_4BYTE_ABGR_Pre. + * Background color is set to Color.yellow. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltGridBufferedImageType4ByteABGR_Pre_backgroundYellow(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGRPre(image, graphics2d, Color.yellow); + } + + /** + * Test basic BitBlt operation for grid buffered image with type TYPE_4BYTE_ABGR_Pre. + * Background color is set to Color.white. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltGridBufferedImageType4ByteABGR_Pre_backgroundWhite(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageType4ByteABGRPre(image, graphics2d, Color.white); + } + + /** + * Test basic BitBlt operation for grid buffered image with type TYPE_INT_BGR. + * Background color is set to Color.black. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltGridBufferedImageTypeIntBGRbackgroundBlack(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageTypeIntBGR(image, graphics2d, Color.black); + } + + /** + * Test basic BitBlt operation for grid buffered image with type TYPE_INT_BGR. + * Background color is set to Color.blue. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltGridBufferedImageTypeIntBGRbackgroundBlue(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageTypeIntBGR(image, graphics2d, Color.blue); + } + + /** + * Test basic BitBlt operation for grid buffered image with type TYPE_INT_BGR. + * Background color is set to Color.green. + * + * @param image + * image to be used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testBitBltGridBufferedImageTypeIntBGRbackgroundGreen(TestImage image, Graphics2D graphics2d) + { + return doBitBltGridBufferedImageTypeIntBGR(image, graphics2d, Color.green); + } + + /** * Entry point to the test suite. * * @param args not used in this case From ptisnovs at icedtea.classpath.org Wed Apr 23 09:33:20 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Wed, 23 Apr 2014 09:33:20 +0000 Subject: /hg/gfx-test: More tests added into CAGOperationsOnTwoConcentric... Message-ID: changeset e73acc266f26 in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=e73acc266f26 author: Pavel Tisnovsky date: Wed Apr 23 11:33:57 2014 +0200 More tests added into CAGOperationsOnTwoConcentricCircles. diffstat: ChangeLog | 5 + src/org/gfxtest/testsuites/CAGOperationsOnTwoConcentricCircles.java | 250 ++++++++++ 2 files changed, 255 insertions(+), 0 deletions(-) diffs (279 lines): diff -r 7b2d8eaf6827 -r e73acc266f26 ChangeLog --- a/ChangeLog Tue Apr 22 10:54:07 2014 +0200 +++ b/ChangeLog Wed Apr 23 11:33:57 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-23 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/CAGOperationsOnTwoConcentricCircles.java: + More tests added into CAGOperationsOnTwoConcentricCircles. + 2014-04-22 Pavel Tisnovsky * src/org/gfxtest/testsuites/BitBltUsingBgColor.java: diff -r 7b2d8eaf6827 -r e73acc266f26 src/org/gfxtest/testsuites/CAGOperationsOnTwoConcentricCircles.java --- a/src/org/gfxtest/testsuites/CAGOperationsOnTwoConcentricCircles.java Tue Apr 22 10:54:07 2014 +0200 +++ b/src/org/gfxtest/testsuites/CAGOperationsOnTwoConcentricCircles.java Wed Apr 23 11:33:57 2014 +0200 @@ -1260,6 +1260,56 @@ /** * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using intersect operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testIntersectTextureFillUsingCheckerTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingCheckerTexture(image, graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingIntersectOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using Xor operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testXorTextureFillUsingCheckerTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingCheckerTexture(image, graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingXorOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape * constructed from two concentric circles using union operator. The shape is rendered * using texture paint (fill). * @@ -1409,6 +1459,206 @@ } /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSubtractTextureFillUsingGridTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingGridTexture(image, graphics2d); + // create area using subtract operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using inverse subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testInverseSubtractTextureFillUsingGridTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingGridTexture(image, graphics2d); + // create area using inverse subtract operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingInverseSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using intersect operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testIntersectTextureFillUsingGridTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingGridTexture(image, graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingIntersectOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using Xor operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testXorTextureFillUsingGridTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingGridTexture(image, graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingXorOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using union operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testUnionTextureFillUsingDiagonalGridTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingDiagonalGridTexture(image, graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingUnionOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSubtractTextureFillUsingDiagonalGridTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingDiagonalGridTexture(image, graphics2d); + // create area using subtract operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using inverse subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testInverseSubtractTextureFillUsingDiagonalGridTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingDiagonalGridTexture(image, graphics2d); + // create area using inverse subtract operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingInverseSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using Intersect operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testIntersectTextureFillUsingDiagonalGridTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingDiagonalGridTexture(image, graphics2d); + // create area using Intersect operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingIntersectOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** * Entry point to the test suite. * * @param args not used in this case From bugzilla-daemon at icedtea.classpath.org Wed Apr 23 12:06:48 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 23 Apr 2014 12:06:48 +0000 Subject: [Bug 1747] New: A fatal error caused during using eclipse Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1747 Bug ID: 1747 Summary: A fatal error caused during using eclipse Product: IcedTea Version: unspecified Hardware: x86_64 OS: Linux Status: NEW Severity: critical Priority: P5 Component: IcedTea Assignee: gnu.andrew at redhat.com Reporter: john.demetriou at gmail.com CC: unassigned at icedtea.classpath.org Created attachment 1074 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1074&action=edit generated while using eclipse -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From omajid at redhat.com Wed Apr 23 14:53:44 2014 From: omajid at redhat.com (Omair Majid) Date: Wed, 23 Apr 2014 10:53:44 -0400 Subject: JDK-8036003: Add variable not to separate debug information. In-Reply-To: <533EC7FA.9030700@gmail.com> References: <20140228091835.58EB8C21F24@msgw007-05.ocn.ad.jp> <53144E4D.8080606@redhat.com> <20140303190102.GE2045@redhat.com> <533EC7FA.9030700@gmail.com> Message-ID: <20140423145343.GA24358@redhat.com> Hi, * Yasumasa Suenaga [2014-04-04 10:56]: > I've succeeded to make binaries which are contained debuginfo as following: > > http://mail.openjdk.java.net/pipermail/build-dev/2014-March/012037.html > $ make images STRIP_POLICY=no_strip POST_STRIP_CMD="" > > I guess that we should run "make" above options to avoid this issue > in currently. Thanks. I have verified that this works. Sorry about the delay in getting it pushed; I haven't had the time due to the security update and now rawhide being broken due to a GCC 4.9 bump. Thanks, Omair -- PGP Key: 66484681 (http://pgp.mit.edu/) Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681 From bugzilla-daemon at icedtea.classpath.org Wed Apr 23 20:11:49 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 23 Apr 2014 20:11:49 +0000 Subject: [Bug 1748] New: [IcedTea8] Allow clang to be used to build Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1748 Bug ID: 1748 Summary: [IcedTea8] Allow clang to be used to build Product: IcedTea Version: 8-hg Hardware: all OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: IcedTea Assignee: gnu.andrew at redhat.com Reporter: gnu.andrew at redhat.com CC: unassigned at icedtea.classpath.org Support was added for clang by 8015252, but this was HotSpot only and configure blocks changing CXX and CC. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 23 20:22:42 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 23 Apr 2014 20:22:42 +0000 Subject: [Bug 1748] [IcedTea8] Allow clang to be used to build In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1748 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Target Milestone|--- |3.0.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 23 20:25:17 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 23 Apr 2014 20:25:17 +0000 Subject: [Bug 1743] Intermittant deadlock in PluginRequestProcessor In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1743 Deepak Bhole changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|dbhole at redhat.com |aazores at redhat.com -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Thu Apr 24 03:29:14 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 24 Apr 2014 03:29:14 +0000 Subject: [Bug 1748] [IcedTea8] Allow clang to be used to build In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1748 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8-forest?cmd=changeset;node=a041db5b9c18 author: andrew date: Wed Apr 23 21:12:11 2014 +0100 PR1748: Allow clang to be used to build -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew at icedtea.classpath.org Thu Apr 24 03:29:49 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 24 Apr 2014 03:29:49 +0000 Subject: /hg/release/icedtea7-forest-2.5/hotspot: 8041658: Use of -fdevir... Message-ID: changeset e85f87518eb4 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=e85f87518eb4 author: andrew date: Wed Apr 23 22:06:29 2014 +0100 8041658: Use of -fdevirtualize on macroAssembler_x86.o (via -O2) with gcc 4.9.0 creates broken VM Summary: -fno-devirtualize should be passed when compiling this file. diffstat: make/linux/makefiles/gcc.make | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diffs (13 lines): diff -r 98c1afebeab8 -r e85f87518eb4 make/linux/makefiles/gcc.make --- a/make/linux/makefiles/gcc.make Fri Apr 18 06:41:02 2014 +0100 +++ b/make/linux/makefiles/gcc.make Wed Apr 23 22:06:29 2014 +0100 @@ -265,6 +265,9 @@ OPT_CFLAGS += -gstabs endif endif + ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 9), 1) + OPT_CFLAGS/macroAssembler_x86.o += -fno-devirtualize + endif endif # If we are building HEADLESS, pass on to VM From bugzilla-daemon at icedtea.classpath.org Thu Apr 24 03:30:02 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 24 Apr 2014 03:30:02 +0000 Subject: [Bug 1748] [IcedTea8] Allow clang to be used to build In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1748 --- Comment #2 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8-forest/hotspot?cmd=changeset;node=a8b6c290873c author: andrew date: Wed Apr 23 21:15:09 2014 +0100 PR1748: Allow clang to be used to build -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Thu Apr 24 03:30:36 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 24 Apr 2014 03:30:36 +0000 Subject: [Bug 1748] [IcedTea8] Allow clang to be used to build In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1748 --- Comment #3 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8-forest/jdk?cmd=changeset;node=df6fea3f944d author: andrew date: Wed Apr 23 21:14:53 2014 +0100 PR1748: Allow clang to be used to build -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ptisnovs at icedtea.classpath.org Thu Apr 24 07:37:54 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Thu, 24 Apr 2014 07:37:54 +0000 Subject: /hg/gfx-test: Ten new common test methods added into BitBltBuffe... Message-ID: changeset a3c91a837484 in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=a3c91a837484 author: Pavel Tisnovsky date: Thu Apr 24 09:38:34 2014 +0200 Ten new common test methods added into BitBltBufferedImageOp. diffstat: ChangeLog | 5 + src/org/gfxtest/testsuites/BitBltBufferedImageOp.java | 160 ++++++++++++++++++ 2 files changed, 165 insertions(+), 0 deletions(-) diffs (182 lines): diff -r e73acc266f26 -r a3c91a837484 ChangeLog --- a/ChangeLog Wed Apr 23 11:33:57 2014 +0200 +++ b/ChangeLog Thu Apr 24 09:38:34 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-24 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/BitBltBufferedImageOp.java: + Ten new common test methods added into BitBltBufferedImageOp. + 2014-04-23 Pavel Tisnovsky * src/org/gfxtest/testsuites/CAGOperationsOnTwoConcentricCircles.java: diff -r e73acc266f26 -r a3c91a837484 src/org/gfxtest/testsuites/BitBltBufferedImageOp.java --- a/src/org/gfxtest/testsuites/BitBltBufferedImageOp.java Wed Apr 23 11:33:57 2014 +0200 +++ b/src/org/gfxtest/testsuites/BitBltBufferedImageOp.java Thu Apr 24 09:38:34 2014 +0200 @@ -1761,6 +1761,166 @@ } /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_BYTE_INDEXED}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltDiagonalStripesTypeByteIndexed(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithDiagonalStripesImage(image, graphics2d, BufferedImage.TYPE_BYTE_INDEXED, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_BYTE_GRAY}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltDiagonalStripesTypeByteGray(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithDiagonalStripesImage(image, graphics2d, BufferedImage.TYPE_BYTE_GRAY, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_INT_BGR}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltDiagonalStripesTypeIntBGR(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithDiagonalStripesImage(image, graphics2d, BufferedImage.TYPE_INT_BGR, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_INT_RGB}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltDiagonalStripesTypeIntRGB(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithDiagonalStripesImage(image, graphics2d, BufferedImage.TYPE_INT_RGB, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_INT_ARGB}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltDiagonalStripesTypeIntARGB(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithDiagonalStripesImage(image, graphics2d, BufferedImage.TYPE_INT_ARGB, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_INT_ARGB_PRE}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltDiagonalStripesTypeIntARGB_Pre(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithDiagonalStripesImage(image, graphics2d, BufferedImage.TYPE_INT_ARGB_PRE, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_USHORT_555_RGB}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltDiagonalStripesTypeUshort555RGB(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithDiagonalStripesImage(image, graphics2d, BufferedImage.TYPE_USHORT_555_RGB, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_USHORT_565_RGB}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltDiagonalStripesTypeUshort565RGB(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithDiagonalStripesImage(image, graphics2d, BufferedImage.TYPE_USHORT_565_RGB, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_USHORT_GRAY}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltDiagonalStripesTypeUshortGray(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithDiagonalStripesImage(image, graphics2d, BufferedImage.TYPE_USHORT_GRAY, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_3BYTE_BGR}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltHorizontalColorStripesType3ByteBGR(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithHorizontalColorStripesImage(image, graphics2d, BufferedImage.TYPE_3BYTE_BGR, rasterOp); + } + + /** * Entry point to the test suite. * * @param args not used in this case From ptisnovs at icedtea.classpath.org Thu Apr 24 08:00:41 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Thu, 24 Apr 2014 08:00:41 +0000 Subject: /hg/rhino-tests: Several new tests added into InvocableTest. Message-ID: changeset 6fcf6a73fde4 in /hg/rhino-tests details: http://icedtea.classpath.org/hg/rhino-tests?cmd=changeset;node=6fcf6a73fde4 author: Pavel Tisnovsky date: Thu Apr 24 10:01:24 2014 +0200 Several new tests added into InvocableTest. diffstat: ChangeLog | 5 ++ src/org/RhinoTests/InvocableTest.java | 64 ++++++++++++++++++++++++++++++++++- 2 files changed, 68 insertions(+), 1 deletions(-) diffs (107 lines): diff -r 6cb1ff232c39 -r 6fcf6a73fde4 ChangeLog --- a/ChangeLog Tue Apr 15 13:19:41 2014 +0200 +++ b/ChangeLog Thu Apr 24 10:01:24 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-24 Pavel Tisnovsky + + * src/org/RhinoTests/InvocableTest.java: + Several new tests added into InvocableTest. + 2014-04-15 Pavel Tisnovsky * src/org/RhinoTests/BindingsTest.java: diff -r 6cb1ff232c39 -r 6fcf6a73fde4 src/org/RhinoTests/InvocableTest.java --- a/src/org/RhinoTests/InvocableTest.java Tue Apr 15 13:19:41 2014 +0200 +++ b/src/org/RhinoTests/InvocableTest.java Thu Apr 24 10:01:24 2014 +0200 @@ -1,7 +1,7 @@ /* Rhino test framework - Copyright (C) 2011 Red Hat + Copyright (C) 2011, 2012, 2013, 2014 Red Hat This file is part of IcedTea. @@ -83,6 +83,36 @@ protected void testInvokeFunction() throws ScriptException, NoSuchMethodException { final String script = "function foo() {" + + "}"; + this.scriptEngine.eval(script); + this.invocableEngine.invokeFunction("foo"); + } + + /** + * Test the JavaScript method invocation. + * + * @throws ScriptException in case there's something wrong in JS engine. + * @throws NoSuchMethodException if wrong method is called. + */ + protected void testInvokeFunction2() throws ScriptException, NoSuchMethodException { + final String script = + "function foo() {" + + " println('\tHello, world!');" + + "}"; + this.scriptEngine.eval(script); + this.invocableEngine.invokeFunction("foo"); + } + + /** + * Test the JavaScript method invocation. + * + * @throws ScriptException in case there's something wrong in JS engine. + * @throws NoSuchMethodException if wrong method is called. + */ + protected void testInvokeFunction3() throws ScriptException, NoSuchMethodException { + final String script = + "function foo() {" + + " println('\tHello, world!');" + " println('\tHello, world!');" + "}"; this.scriptEngine.eval(script); @@ -126,6 +156,36 @@ } /** + * Test invocation of method containing parameters. + * + * @throws ScriptException in case there's something wrong in JS engine. + * @throws NoSuchMethodException if wrong method is called. + */ + protected void testInvokeFunctionWithParameters2() throws ScriptException, NoSuchMethodException { + final String script = + "function printHello(str1, val2) {" + + " println('\t' + str1 + ' ' + val2);" + + "}"; + this.scriptEngine.eval(script); + this.invocableEngine.invokeFunction("printHello", "hello", 42); + } + + /** + * Test invocation of method containing parameters. + * + * @throws ScriptException in case there's something wrong in JS engine. + * @throws NoSuchMethodException if wrong method is called. + */ + protected void testInvokeFunctionWithParameters3() throws ScriptException, NoSuchMethodException { + final String script = + "function printHello(val1, str2) {" + + " println('\t' + val1 + ' ' + str2);" + + "}"; + this.scriptEngine.eval(script); + this.invocableEngine.invokeFunction("printHello", 42, "world!"); + } + + /** * Prints all properties of Java object. * * @throws ScriptException in case there's something wrong in JS engine. @@ -234,6 +294,8 @@ assertTrue(result.doubleValue() == 4.6, "function returns incorrect value " + result); result = (Double)this.invocableEngine.invokeFunction("plus", Double.valueOf(0), Double.valueOf(1.1)); assertTrue(result.doubleValue() == 1.1, "function returns incorrect value " + result); + result = (Double)this.invocableEngine.invokeFunction("plus", Double.valueOf(1.1), Double.valueOf(0)); + assertTrue(result.doubleValue() == 1.1, "function returns incorrect value " + result); result = (Double)this.invocableEngine.invokeFunction("plus", Double.valueOf(-1.234), Double.valueOf(1.234)); assertTrue(result.doubleValue() == 0, "function returns incorrect value " + result); } From jvanek at redhat.com Thu Apr 24 08:36:39 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Thu, 24 Apr 2014 10:36:39 +0200 Subject: [rfc][icedtea-web] multiple remember actions Message-ID: <5358CD17.6090501@redhat.com> Hi! Based on previous two enhancements - [rfc][icedtea-web] replace jlabel by jeditorpane and Re: [rfc][icedtea-web] conditional disabling of manifes tattributes this is enabling to save matching alaca action - benefits: one file, one lock , one id, one table, one metadata and unlimited number of actions - drawbacks - suspiciously simply, maybe not so transparent, once more columns will be added, new editing The patch grown due to changed signatures of methods. I will try to summarize: * netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletActionTableModel.java" - original columnrnemaed to "Unsigned applet action" added "Library action" column - the value of those two columns is get from source.getAppletSecurityActions().* methods * netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java - adapted "toString" method - added unset to list of combobox values for first two columns cell editors - filter of "byValue" are now selecting via *or* - if any of action have the desired value, then it is true * netx/net/sourceforge/jnlp/resources/Messages.properties" - enabled date in SUnsignedAllowedBefore and SUnsignedRejectedBefore - thsi was actualy doone in ocde. I do not know why this was forgotten) - removed SAppletTitle - it was nasty :) - added nnew name of column 1 and new name fornew column 2 * netx/net/sourceforge/jnlp/resources/Messages_cs.properties also removed SAppletTitle * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java - added stup for return of international date (jnlpruntime is holding the locales, thats why it its here) * netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java - showMatchingALACAttributePanel is receiving whole file (for purposes of reuse in reusable dialogue)) instead of just file.title * netx/net/sourceforge/jnlp/security/SecurityDialogs.java few minor warning-clean up which I could not look onto. - showMatchingALACAttributePanel - to get file instead file.title and adapted to new dialogue - checking action for always/never - using text for yes/no - getting response - storing response * netx/net/sourceforge/jnlp/security/appletextendedsecurity/AppletSecurityActions.java - allowed public access via set(int id) and get(int id) - needed for generalization * netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionEntry.java - changed signatures of : ExecuteAppletAction getUnsignedAppletAction() -> AppletSecurityActions getAppletSecurityActions() - and setUnsignedAppletAction(ExecuteAppletAction unsignedAppletAction) -> etAppletSecurityActions(AppletSecurityActions actions) * netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionStorage.java - added ID parameter to getMatchingItem getMatchingItemByDocumentBase getMatchingItemByCodeBase getMatchingItemByBases - this is a bit unhappy. But th e mechanism needs to find strong value first. So it mus know whichone it is looking fr :( so we cannot jsut return Actions and select later ) * netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java - get and forward the ID parameter - separated get action and get entry logic - one bug fix - when somebody have visited applet, and have not clicked remember, and later he selected remember for codebase, then the "codebase" change never propagated. Now it does. - forwarding correct id into depth * netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageExtendedImpl.java - used the *or* action as in table - made aware of columns abstraction * netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java - again propagated ID * netx/net/sourceforge/jnlp/security/dialogs/MatchingALACAttributePanel.java - moved to new impl into apptrustwarningpanel with other similar panels * netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningDialog.java: - added shower for MatchingAlaca * netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningPanel.java - added pluginbridge back - maybe best to o here is to abstract getTitle() into jnlpfile. But as naother work... * netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/MatchingALACAttributePanel.java: - actual extension of AppTrustWarningPanel for matching alaca - getAppletTitle is emty, as it is handle in plain text * netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/PartiallySignedAppTrustWarningPanel.java - removed duplicate code of getAppletTitle - shown the date of action * netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/UnsignedAppletTrustWarningDialog.java - removed - this is actually bug. It should be removed when generalized "remember" dialogue came in * netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/UnsignedAppletTrustWarningPanel.java - shown the date of action * tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImplTest.java - tests adapted to new ID style - well righ now I realised the high-level of tests of new logic are missing (I added the test datat but forgot to add also testcases ) - well wil be added in next round Thanx! J. -------------- next part -------------- diff -r 951e9f8919fd netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletActionTableModel.java --- a/netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletActionTableModel.java Thu Apr 17 14:53:10 2014 +0200 +++ b/netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletActionTableModel.java Tue Apr 22 15:34:41 2014 +0200 @@ -48,7 +48,8 @@ public class UnsignedAppletActionTableModel extends AbstractTableModel { final UnsignedAppletActionStorageExtendedImpl back; - private final String[] columns = new String[]{Translator.R("APPEXTSECguiTableModelTableColumnAction"), + private final String[] columns = new String[]{Translator.R("APPEXTSECguiTableModelTableColumnActionUB"), + Translator.R("APPEXTSECguiTableModelTableColumnActionMatchALACA"), Translator.R("APPEXTSECguiTableModelTableColumnDateOfAction"), Translator.R("APPEXTSECguiTableModelTableColumnDocumentBase"), Translator.R("APPEXTSECguiTableModelTableColumnCodeBase"), @@ -79,21 +80,21 @@ return AppletSecurityActions.class; } if (columnIndex == 1) { - return Date.class; + return AppletSecurityActions.class; } if (columnIndex == 2) { - return UrlRegEx.class; + return Date.class; } if (columnIndex == 3) { return UrlRegEx.class; } if (columnIndex == 4) { - return String.class; + return UrlRegEx.class; } if (columnIndex == 5) { return String.class; } - return Object.class; + return Object.class; } @Override @@ -101,7 +102,7 @@ if (back.isReadOnly()) { return false; } - if (columnIndex == 1) { + if (columnIndex == 2) { return false; } if (columnIndex == 0) { @@ -118,18 +119,22 @@ UnsignedAppletActionEntry source = back.toArray()[rowIndex]; if (columnIndex == 0) { - return source.getUnsignedAppletAction(); + return source.getAppletSecurityActions().getUnsignedAppletAction(); } if (columnIndex == 1) { + return source.getAppletSecurityActions().getMatchingAlacaAction(); + } + + if (columnIndex == 2) { return source.getTimeStamp(); } - if (columnIndex == 2) { + if (columnIndex == 3) { return source.getDocumentBase(); } - if (columnIndex == 3) { + if (columnIndex == 4) { return source.getCodeBase(); } - if (columnIndex == 4) { + if (columnIndex == 5) { return UnsignedAppletActionEntry.createArchivesString(source.getArchives()); } return null; @@ -146,7 +151,7 @@ int i = getRowCount()-1; String s = "\\Qhttp://localhost:80/\\E.*"; back.add(new UnsignedAppletActionEntry( - AppletSecurityActions.fromAction(ExecuteAppletAction.NEVER), + AppletSecurityActions.createDefault(), new Date(), new UrlRegEx(s), new UrlRegEx(s), diff -r 951e9f8919fd netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java --- a/netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java Thu Apr 17 14:53:10 2014 +0200 +++ b/netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java Tue Apr 22 15:34:41 2014 +0200 @@ -76,6 +76,7 @@ import net.sourceforge.jnlp.config.DeploymentConfiguration; import net.sourceforge.jnlp.runtime.Translator; +import net.sourceforge.jnlp.security.appletextendedsecurity.AppletSecurityActions; import net.sourceforge.jnlp.security.appletextendedsecurity.AppletSecurityLevel; import net.sourceforge.jnlp.security.appletextendedsecurity.ExecuteAppletAction; import net.sourceforge.jnlp.security.appletextendedsecurity.ExtendedAppletSecurityHelp; @@ -187,7 +188,7 @@ public static String appletItemToCaption(UnsignedAppletActionEntry i, String caption) { return Translator.R("APPEXTSECguiPanelAppletInfoHederPart1", caption, i.getDocumentBase().getFilteredRegEx()) - + "\n (" + Translator.R("APPEXTSECguiPanelAppletInfoHederPart2", i.getUnsignedAppletAction(), DateFormat.getInstance().format(i.getTimeStamp())) + + "\n (" + Translator.R("APPEXTSECguiPanelAppletInfoHederPart2", i.getAppletSecurityActions().toString(), DateFormat.getInstance().format(i.getTimeStamp())) + "\n " + Translator.R("APPEXTSECguiTableModelTableColumnDocumentBase") + ": " + i.getDocumentBase().getFilteredRegEx() + "\n " + Translator.R("APPEXTSECguiTableModelTableColumnCodeBase") + ": " + i.getCodeBase().getFilteredRegEx() + "\n " + Translator.R("APPEXTSECguiTableModelTableColumnArchives") + ": " + UnsignedAppletActionEntry.createArchivesString(i.getArchives()); @@ -702,19 +703,20 @@ @Override public TableCellEditor getCellEditor(int row, int column) { int columnx = convertColumnIndexToModel(column); - if (columnx == 0) { + if (columnx == 0 || columnx == 1) { return new DefaultCellEditor(new JComboBox<>(new ExecuteAppletAction[] { ExecuteAppletAction.ALWAYS, ExecuteAppletAction.NEVER, ExecuteAppletAction.YES, - ExecuteAppletAction.NO })); + ExecuteAppletAction.NO, + ExecuteAppletAction.UNSET })); } - if (columnx == 2) { + if (columnx == 3) { column = convertColumnIndexToModel(column); row = convertRowIndexToModel(row); return new DefaultCellEditor(new MyTextField((UrlRegEx) (model.getValueAt(row, column)))); } - if (columnx == 3) { + if (columnx == 4) { column = convertColumnIndexToModel(column); row = convertRowIndexToModel(row); return new DefaultCellEditor(new MyTextField((UrlRegEx) (model.getValueAt(row, column)))); @@ -725,19 +727,19 @@ @Override public TableCellRenderer getCellRenderer(int row, int column) { int columnx = convertColumnIndexToModel(column); - if (columnx == 1) { + if (columnx == 2) { column = convertColumnIndexToModel(column); row = convertRowIndexToModel(row); return new UrlRegexCellRenderer.MyDateCellRenderer((Date) (model.getValueAt(row, column))); } - if (columnx == 2) { + if (columnx == 3) { if (!filterRegexesCheckBox.isSelected()) { column = convertColumnIndexToModel(column); row = convertRowIndexToModel(row); return new UrlRegexCellRenderer((UrlRegEx) (model.getValueAt(row, column))); } } - if (columnx == 3) { + if (columnx == 4) { if (!filterRegexesCheckBox.isSelected()) { column = convertColumnIndexToModel(column); row = convertRowIndexToModel(row); @@ -768,16 +770,18 @@ UnsignedAppletActionEntry[] items = currentModel.back.toArray(); if (askBeforeActionCheckBox.isSelected()) { List toBeDeleted = new ArrayList<>(); - for (int i = 0; i < items.length; i++) { - UnsignedAppletActionEntry unsignedAppletActionEntry = items[i]; - if (unsignedAppletActionEntry.getUnsignedAppletAction() == unsignedAppletAction) { - toBeDeleted.add(unsignedAppletActionEntry); + for (UnsignedAppletActionEntry unsignedAppletActionEntry : items) { + AppletSecurityActions actions = unsignedAppletActionEntry.getAppletSecurityActions(); + for (int j = 0; j < actions.getRealCount(); j++) { + ExecuteAppletAction action = actions.getAction(j); + if (action == unsignedAppletAction) { + toBeDeleted.add(unsignedAppletActionEntry); + } } - } String s = Translator.R("APPEXTSECguiPanelConfirmDeletionOf", toBeDeleted.size()) + ": \n"; - for (int i = 0; i < toBeDeleted.size(); i++) { - s += appletItemToCaption(toBeDeleted.get(i), " ") + "\n"; + for (UnsignedAppletActionEntry toBeDeleted1 : toBeDeleted) { + s += appletItemToCaption(toBeDeleted1, " ") + "\n"; } int a = JOptionPane.showConfirmDialog(this, s); if (a != JOptionPane.OK_OPTION) { @@ -910,56 +914,81 @@ @Override public boolean include(Entry entry) { - ExecuteAppletAction o = (ExecuteAppletAction) entry.getModel().getValueAt(entry.getIdentifier(), 0); - return (o.equals(ExecuteAppletAction.ALWAYS) || o.equals(ExecuteAppletAction.NEVER)); + boolean r = false; + for (int i = 0; i < AppletSecurityActions.REMEBER_COLUMNS_COUNT; i++) { + ExecuteAppletAction o = (ExecuteAppletAction) entry.getModel().getValueAt(entry.getIdentifier(), i); + r = r || (o.equals(ExecuteAppletAction.ALWAYS) || o.equals(ExecuteAppletAction.NEVER)); + } + return r; } } private static final class ShowPermanentA extends MyCommonSorter { + @Override public boolean include(Entry entry) { - ExecuteAppletAction o = (ExecuteAppletAction) entry.getModel().getValueAt(entry.getIdentifier(), 0); - return (o.equals(ExecuteAppletAction.ALWAYS)); + boolean r = false; + for (int i = 0; i < AppletSecurityActions.REMEBER_COLUMNS_COUNT; i++) { + ExecuteAppletAction o = (ExecuteAppletAction) entry.getModel().getValueAt(entry.getIdentifier(), i); + r = r || (o.equals(ExecuteAppletAction.ALWAYS)); + } + return r; + } + + } + + private static final class ShowPermanentN extends MyCommonSorter { + + @Override + public boolean include(Entry entry) { + boolean r = false; + for (int i = 0; i < AppletSecurityActions.REMEBER_COLUMNS_COUNT; i++) { + ExecuteAppletAction o = (ExecuteAppletAction) entry.getModel().getValueAt(entry.getIdentifier(), i); + r = r || (o.equals(ExecuteAppletAction.NEVER)); + } + return r; } } - private static final class ShowPermanentN extends MyCommonSorter { + private static final class ShowTemporarilyDecisions extends MyCommonSorter { @Override public boolean include(Entry entry) { - ExecuteAppletAction o = (ExecuteAppletAction) entry.getModel().getValueAt(entry.getIdentifier(), 0); - return (o.equals(ExecuteAppletAction.NEVER)); + boolean r = false; + for (int i = 0; i < AppletSecurityActions.REMEBER_COLUMNS_COUNT; i++) { + ExecuteAppletAction o = (ExecuteAppletAction) entry.getModel().getValueAt(entry.getIdentifier(), i); + r = r || (o.equals(ExecuteAppletAction.YES) || o.equals(ExecuteAppletAction.NO)); + } + return r; } } - private static final class ShowTemporarilyDecisions extends MyCommonSorter { + private static final class ShowHasChosenYes extends MyCommonSorter { @Override public boolean include(Entry entry) { - ExecuteAppletAction o = (ExecuteAppletAction) entry.getModel().getValueAt(entry.getIdentifier(), 0); - return (o.equals(ExecuteAppletAction.YES) || o.equals(ExecuteAppletAction.NO)); + boolean r = false; + for (int i = 0; i < AppletSecurityActions.REMEBER_COLUMNS_COUNT; i++) { + ExecuteAppletAction o = (ExecuteAppletAction) entry.getModel().getValueAt(entry.getIdentifier(), i); + r = r || (o.equals(ExecuteAppletAction.YES)); + } + return r; } + } - private static final class ShowHasChosenYes extends MyCommonSorter { + private static final class ShowHasChosenNo extends MyCommonSorter { @Override public boolean include(Entry entry) { - ExecuteAppletAction o = (ExecuteAppletAction) entry.getModel().getValueAt(entry.getIdentifier(), 0); - return (o.equals(ExecuteAppletAction.YES)); + boolean r = false; + for (int i = 0; i < AppletSecurityActions.REMEBER_COLUMNS_COUNT; i++) { + ExecuteAppletAction o = (ExecuteAppletAction) entry.getModel().getValueAt(entry.getIdentifier(), i); + r = r || (o.equals(ExecuteAppletAction.NO)); + } + return r; } - - - } - private static final class ShowHasChosenNo extends MyCommonSorter { - - @Override - public boolean include(Entry entry) { - ExecuteAppletAction o = (ExecuteAppletAction) entry.getModel().getValueAt(entry.getIdentifier(), 0); - return (o.equals(ExecuteAppletAction.NO)); - } - } public static final ShowAll showAll = new ShowAll(); public static final ShowPermanents showPermanents = new ShowPermanents(); diff -r 951e9f8919fd netx/net/sourceforge/jnlp/resources/Messages.properties --- a/netx/net/sourceforge/jnlp/resources/Messages.properties Thu Apr 17 14:53:10 2014 +0200 +++ b/netx/net/sourceforge/jnlp/resources/Messages.properties Tue Apr 22 15:34:41 2014 +0200 @@ -293,15 +293,14 @@ SRememberCodebase=For site {0} SUnsignedSummary=An unsigned Java application wants to run SUnsignedDetail=An unsigned application from the following location wants to run:
  {0}
The page which made the request was:
  {1}

It is recommended you only run applications from sites you trust. -SUnsignedAllowedBefore=You have accepted this applet previously. -SUnsignedRejectedBefore=You have rejected this applet previously. +SUnsignedAllowedBefore=You have accepted this applet previously - ({0}). +SUnsignedRejectedBefore=You have rejected this applet previously - ({0}). SUnsignedQuestion=Allow the applet to run? SPartiallySignedSummary=Only parts of this application code are signed. SPartiallySignedDetail=This application contains both signed and unsigned code. While signed code is safe if you trust the provider, unsigned code may imply code outside of the trusted provider's control. SPartiallySignedQuestion=Do you wish to proceed and run this application anyway? SAuthenticationPrompt=The {0} server at {1} is requesting authentication. It says "{2}" SJNLPFileIsNotSigned=This application contains a digital signature in which the launching JNLP file is not signed. -SAppletTitle=Applet title: {0} STrustedOnlyAttributeFailure=This application specifies Trusted-only as True in its Manifest. {0} and requests permission level: {1}. This is not allowed. STOAsignedMsgFully = The applet is fully signed STOAsignedMsgAndSandbox = The applet is fully signed and sandboxed @@ -820,7 +819,8 @@ APPEXTSECunsignedAppletActionNo=This applet was visited and denied APPEXTSECunsetAppletActionNo=This applet have not yet asked for this action APPEXTSECControlPanelExtendedAppletSecurityTitle=Extended applet security -APPEXTSECguiTableModelTableColumnAction=Action +APPEXTSECguiTableModelTableColumnActionUA=Unsigned applet Action +APPEXTSECguiTableModelTableColumnActionMatchALACA=Library Action APPEXTSECguiTableModelTableColumnDateOfAction=Date of action APPEXTSECguiTableModelTableColumnDocumentBase=Document-base APPEXTSECguiTableModelTableColumnCodeBase=Code-base diff -r 951e9f8919fd netx/net/sourceforge/jnlp/resources/Messages_cs.properties --- a/netx/net/sourceforge/jnlp/resources/Messages_cs.properties Thu Apr 17 14:53:10 2014 +0200 +++ b/netx/net/sourceforge/jnlp/resources/Messages_cs.properties Tue Apr 22 15:34:41 2014 +0200 @@ -297,7 +297,6 @@ SPartiallySignedQuestion=Chcete p\u0159esto pokra\u010dovat a spustit aplikaci? SAuthenticationPrompt=Server {0} na adrese {1} vy\u017eaduje ov\u011b\u0159en\u00ed. Zpr\u00e1va: \u201e{2}\u201c SJNLPFileIsNotSigned=Tato aplikace obsahuje digit\u00e1ln\u00ed podpis, v r\u00e1mci kter\u00e9ho v\u0161ak nen\u00ed podeps\u00e1n spou\u0161t\u011bn\u00fd soubor JNLP. -SAppletTitle=N\u00e1zev apletu: {0} STrustedOnlyAttributeFailure=Element \u201etrusted-only\u201c v manifestu aplikace m\u00e1 hodnotu true. {0} a po\u017eaduje n\u00e1sleduj\u00edc\u00ed \u00farove\u0148 opr\u00e1vn\u011bn\u00ed: {1}. To nen\u00ed dovoleno. STOAsignedMsgFully= Aplet je kompletn\u011b podeps\u00e1n. STOAsignedMsgAndSandbox= Aplet je kompletn\u011b podeps\u00e1n a b\u011b\u017e\u00ed v izolovan\u00e9m prostoru (sandbox). diff -r 951e9f8919fd netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java --- a/netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java Thu Apr 17 14:53:10 2014 +0200 +++ b/netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java Tue Apr 22 15:34:41 2014 +0200 @@ -31,7 +31,9 @@ import java.security.KeyStore; import java.security.Policy; import java.security.Security; +import java.text.DateFormat; import java.text.MessageFormat; +import java.util.Date; import java.util.List; import java.util.ResourceBundle; @@ -638,6 +640,10 @@ return "Missing resource: " + key; } } + + public static String getLocalisedTimeStamp(Date timestamp) { + return DateFormat.getInstance().format(timestamp); + }; /** * Returns the localized resource string using the specified arguments. diff -r 951e9f8919fd netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java --- a/netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java Thu Apr 17 14:53:10 2014 +0200 +++ b/netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java Tue Apr 22 15:34:41 2014 +0200 @@ -325,7 +325,7 @@ } } } - boolean a = SecurityDialogs.showMatchingALACAttributePanel(file.getTitle(), documentBase, usedUrls); + boolean a = SecurityDialogs.showMatchingALACAttributePanel(file, documentBase, usedUrls); if (!a) { throw new LaunchException("The application uses non-codebase resources, which do match its Application-Library-Allowable-Codebase Attribute, but was blocked from running by the user."); } else { diff -r 951e9f8919fd netx/net/sourceforge/jnlp/security/SecurityDialog.java --- a/netx/net/sourceforge/jnlp/security/SecurityDialog.java Thu Apr 17 14:53:10 2014 +0200 +++ b/netx/net/sourceforge/jnlp/security/SecurityDialog.java Tue Apr 22 15:34:41 2014 +0200 @@ -55,7 +55,7 @@ import net.sourceforge.jnlp.security.dialogs.AppletWarningPane; import net.sourceforge.jnlp.security.dialogs.CertWarningPane; import net.sourceforge.jnlp.security.dialogs.CertsInfoPane; -import net.sourceforge.jnlp.security.dialogs.MatchingALACAttributePanel; +import net.sourceforge.jnlp.security.dialogs.apptrustwarningpanel.MatchingALACAttributePanel; import net.sourceforge.jnlp.security.dialogs.MissingALACAttributePanel; import net.sourceforge.jnlp.security.dialogs.MissingPermissionsAttributePanel; import net.sourceforge.jnlp.security.dialogs.MoreInfoPane; @@ -63,6 +63,7 @@ import net.sourceforge.jnlp.security.dialogs.SecurityDialogPanel; import net.sourceforge.jnlp.security.dialogs.SingleCertInfoPane; import net.sourceforge.jnlp.security.dialogs.apptrustwarningpanel.AppTrustWarningDialog; +import net.sourceforge.jnlp.security.dialogs.apptrustwarningpanel.AppTrustWarningPanel; import net.sourceforge.jnlp.util.ImageResources; import net.sourceforge.jnlp.util.ScreenFinder; import net.sourceforge.jnlp.util.logging.OutputController; @@ -325,7 +326,7 @@ else if (dialogType == DialogType.MISSING_ALACA) panel = new MissingALACAttributePanel(this, (String) extras[0], (String) extras[1], (String) extras[2]); else if (dialogType == DialogType.MATCHING_ALACA) - panel = new MatchingALACAttributePanel(this, (String) extras[0], (String) extras[1], (String) extras[2]); + panel = AppTrustWarningDialog.matchingAlaca(this, (JNLPFile) extras[0], (String) extras[1], (String) extras[2]); add(panel, BorderLayout.CENTER); } diff -r 951e9f8919fd netx/net/sourceforge/jnlp/security/SecurityDialogs.java --- a/netx/net/sourceforge/jnlp/security/SecurityDialogs.java Thu Apr 17 14:53:10 2014 +0200 +++ b/netx/net/sourceforge/jnlp/security/SecurityDialogs.java Tue Apr 22 15:34:41 2014 +0200 @@ -54,9 +54,13 @@ import net.sourceforge.jnlp.config.DeploymentConfiguration; import net.sourceforge.jnlp.runtime.JNLPClassLoader.SecurityDelegate; import net.sourceforge.jnlp.runtime.JNLPRuntime; +import net.sourceforge.jnlp.security.appletextendedsecurity.AppletSecurityActions; import net.sourceforge.jnlp.security.appletextendedsecurity.ExecuteAppletAction; +import net.sourceforge.jnlp.security.appletextendedsecurity.UnsignedAppletTrustConfirmation; +import static net.sourceforge.jnlp.security.appletextendedsecurity.UnsignedAppletTrustConfirmation.getStoredAction; import net.sourceforge.jnlp.security.dialogs.apptrustwarningpanel.AppTrustWarningPanel.AppSigningWarningAction; import net.sourceforge.jnlp.util.UrlUtils; +import net.sourceforge.jnlp.util.logging.OutputController; /** *

@@ -167,6 +171,7 @@ * Shows a warning dialog for when a plugin applet is unsigned. * This is used with 'high-security' setting. * + * @param file * @return true if permission was granted by the user, false otherwise. */ public static AppSigningWarningAction showUnsignedWarningDialog(JNLPFile file) { @@ -192,6 +197,7 @@ * @param accessType the type of warning dialog to show * @param file the JNLPFile associated with this warning * @param certVerifier the JarCertVerifier used to verify this application + * @param securityDelegate * * @return RUN if the user accepted the certificate, SANDBOX if the user * wants the applet to run with only sandbox permissions, or CANCEL if the @@ -219,6 +225,9 @@ /** * Shows a warning dialog for when an applet or application is partially signed. * + * @param file + * @param certVerifier + * @param securityDelegate * @return true if permission was granted by the user, false otherwise. */ public static AppSigningWarningAction showPartiallySignedWarningDialog(JNLPFile file, CertVerifier certVerifier, @@ -281,18 +290,40 @@ return getIntegerResponseAsBoolean(selectedValue); } - public static boolean showMatchingALACAttributePanel(String title, URL codeBase, Set remoteUrls) { + public static boolean showMatchingALACAttributePanel(JNLPFile file, URL codeBase, Set remoteUrls) { + + ExecuteAppletAction storedAction = getStoredAction(file, AppletSecurityActions.MATCHING_ALACA_ACTION); + OutputController.getLogger().log(OutputController.Level.ERROR_DEBUG, "Stored action for matching alaca at " + file.getCodeBase() +" was " + storedAction); + + if (storedAction != null){ + if (storedAction == ExecuteAppletAction.ALWAYS){ + return true; + } + if (storedAction == ExecuteAppletAction.NEVER){ + return false; + } + } + if (!shouldPromptUser()) { return false; } - SecurityDialogMessage message = new SecurityDialogMessage(); - message.dialogType = DialogType.MATCHING_ALACA; - message.extras = new Object[]{title, codeBase.toString(), UrlUtils.setOfUrlsToHtmlList(remoteUrls)}; - Object selectedValue = getUserResponse(message); - return getIntegerResponseAsBoolean(selectedValue); - } + SecurityDialogMessage message = new SecurityDialogMessage(); + message.dialogType = DialogType.MATCHING_ALACA; + message.extras = new Object[]{file, codeBase.toString(), UrlUtils.setOfUrlsToHtmlList(remoteUrls)}; + AppSigningWarningAction selectedValue = (AppSigningWarningAction) getUserResponse(message); + + if (selectedValue != null) { + OutputController.getLogger().log(OutputController.Level.ERROR_DEBUG, "Decided action for matching alaca at " + file.getCodeBase() + " was " + selectedValue.getAction()); + UnsignedAppletTrustConfirmation.updateAppletAction(file, selectedValue.getAction(), selectedValue.rememberForCodeBase(), AppletSecurityActions.MATCHING_ALACA_ACTION); + return selectedValue.getAction() == ExecuteAppletAction.ALWAYS || selectedValue.getAction() == ExecuteAppletAction.YES; + } + + OutputController.getLogger().log(OutputController.Level.ERROR_DEBUG, "Decided action for matching alaca at " + file.getCodeBase() + " was " + null); + return false; + + } /** * FIXME This is unused. Remove it? diff -r 951e9f8919fd netx/net/sourceforge/jnlp/security/appletextendedsecurity/AppletSecurityActions.java --- a/netx/net/sourceforge/jnlp/security/appletextendedsecurity/AppletSecurityActions.java Thu Apr 17 14:53:10 2014 +0200 +++ b/netx/net/sourceforge/jnlp/security/appletextendedsecurity/AppletSecurityActions.java Tue Apr 22 15:34:41 2014 +0200 @@ -40,19 +40,30 @@ public class AppletSecurityActions { private final List actions = new ArrayList<>(); + public static final int UNSIGNED_APPLET_ACTION = 0; + public static final int MATCHING_ALACA_ACTION = 1; + public static final int REMEBER_COLUMNS_COUNT = 2; + public static AppletSecurityActions createDefault() { + AppletSecurityActions asas = new AppletSecurityActions(); + asas.setUnsignedAppletAction(ExecuteAppletAction.UNSET); + asas.setMatchingAlacaAction(ExecuteAppletAction.UNSET); + return asas; + } /* - * backward compatibility method for base, UnsignedAppletTrustConfirmation usage - * FIXME - remove + * quick setup method when new item , with one action, is added */ - public static AppletSecurityActions fromAction(ExecuteAppletAction s) { + public static AppletSecurityActions fromAction(int id, ExecuteAppletAction s) { if (s == null){ s = ExecuteAppletAction.UNSET; } - return fromString(s.toChar()); + AppletSecurityActions asas = new AppletSecurityActions(); + asas.setAction(id, s); + return asas; } + static AppletSecurityActions fromString(String s) { if (s == null) { s = ""; @@ -67,14 +78,14 @@ return asas; } - ExecuteAppletAction getAction(int i) { + public ExecuteAppletAction getAction(int i) { if (i>= actions.size()){ return ExecuteAppletAction.UNSET; } return actions.get(i); } - void setAction(int i, ExecuteAppletAction a) { + public void setAction(int i, ExecuteAppletAction a) { while (actions.size() <= i){ actions.add(ExecuteAppletAction.UNSET); } @@ -83,21 +94,47 @@ public ExecuteAppletAction getUnsignedAppletAction() { - return getAction(0); + return getAction(UNSIGNED_APPLET_ACTION); } public void setUnsignedAppletAction(ExecuteAppletAction a) { - actions.set(0,a); + setAction(UNSIGNED_APPLET_ACTION,a); + } + + + public ExecuteAppletAction getMatchingAlacaAction() { + return getAction(MATCHING_ALACA_ACTION); + } + + public void setMatchingAlacaAction(ExecuteAppletAction a) { + setAction(MATCHING_ALACA_ACTION, a); } @Override public String toString() { + return toShortString(); + } + + public String toLongString() { + StringBuilder sb = new StringBuilder(); + for (ExecuteAppletAction executeAppletAction : actions) { + sb.append(executeAppletAction.toString()).append("; "); + } + return sb.toString(); + } + + + public String toShortString() { StringBuilder sb = new StringBuilder(); for (ExecuteAppletAction executeAppletAction : actions) { sb.append(executeAppletAction.toChar()); } return sb.toString(); } + + public int getRealCount() { + return actions.size(); + } /** diff -r 951e9f8919fd netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionEntry.java --- a/netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionEntry.java Thu Apr 17 14:53:10 2014 +0200 +++ b/netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionEntry.java Tue Apr 22 15:34:41 2014 +0200 @@ -37,13 +37,23 @@ import java.io.IOException; import java.io.Writer; +import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; +import java.util.Locale; +import net.sourceforge.jnlp.runtime.JNLPRuntime; +import net.sourceforge.jnlp.runtime.Translator; +/** + * + * The name of this class is legacy. + * Now it is used to keep state of all remembered security decisions + * + */ public class UnsignedAppletActionEntry { - private AppletSecurityActions unsignedAppletAction; + private AppletSecurityActions appletSecurityActions; private Date timeStamp; private UrlRegEx documentBase; private UrlRegEx codeBase; @@ -67,7 +77,7 @@ } public UnsignedAppletActionEntry(AppletSecurityActions unsignedAppletAction, Date timeStamp, UrlRegEx documentBase, UrlRegEx codeBase, List archives) { - this.unsignedAppletAction = unsignedAppletAction; + this.appletSecurityActions = unsignedAppletAction; this.timeStamp = timeStamp; this.documentBase = documentBase; this.codeBase = codeBase; @@ -86,7 +96,7 @@ } private String serializeToReadableAndParseableString() { - return unsignedAppletAction.toString() + return appletSecurityActions.toString() + " " + ((timeStamp == null) ? "1" : timeStamp.getTime()) + " " + ((documentBase == null) ? "" : documentBase.getRegEx()) + " " + ((codeBase == null) ? "" : codeBase.getRegEx()) @@ -96,6 +106,10 @@ public Date getTimeStamp() { return timeStamp; } + + public String getLocalisedTimeStamp() { + return JNLPRuntime.getLocalisedTimeStamp(timeStamp); + } public UrlRegEx getDocumentBase() { return documentBase; @@ -109,12 +123,12 @@ this.documentBase = documentBase; } - public ExecuteAppletAction getUnsignedAppletAction() { - return unsignedAppletAction.getUnsignedAppletAction(); + public AppletSecurityActions getAppletSecurityActions() { + return appletSecurityActions; } - public void setUnsignedAppletAction(ExecuteAppletAction unsignedAppletAction) { - this.unsignedAppletAction.setUnsignedAppletAction(unsignedAppletAction); + public void setAppletSecurityActions(AppletSecurityActions actions) { + this.appletSecurityActions = actions; } public UrlRegEx getCodeBase() { diff -r 951e9f8919fd netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionStorage.java --- a/netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionStorage.java Thu Apr 17 14:53:10 2014 +0200 +++ b/netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionStorage.java Tue Apr 22 15:34:41 2014 +0200 @@ -66,34 +66,38 @@ * @param documentBase * @param codeBase * @param archives + * @param id of AppletSecurityAction's ExecuteAppletAction to be used for "strong" search * @return a matching unsigned applet action entry */ - public UnsignedAppletActionEntry getMatchingItem(String documentBase, String codeBase, List archives); + public UnsignedAppletActionEntry getMatchingItem(String documentBase, String codeBase, List archives, Integer id); /** * Shortcut {@code getMatchingItem(documentBase, null, null, null)} * * @param documentBase + * @param id of AppletSecurityAction's ExecuteAppletAction to be used for "strong" search * @return a matching unsigned applet action entry */ - public UnsignedAppletActionEntry getMatchingItemByDocumentBase(String documentBase); + public UnsignedAppletActionEntry getMatchingItemByDocumentBase(String documentBase, Integer id); /** * Shortcut {@code getMatchingItem(null, codeBase, null, null)} * * @param codeBase + * @param id of AppletSecurityAction's ExecuteAppletAction to be used for "strong" search * @return a matching unsigned applet action entry */ - public UnsignedAppletActionEntry getMatchingItemByCodeBase(String codeBase); + public UnsignedAppletActionEntry getMatchingItemByCodeBase(String codeBase, Integer id); /** * Shortcut {@code getMatchingItem(documentBase, codeBase, null, null)} * * @param documentBase * @param codeBase + * @param id of AppletSecurityAction's ExecuteAppletAction to be used for "strong" search * @return a matching unsigned applet action entry */ - public UnsignedAppletActionEntry getMatchingItemByBases(String documentBase, String codeBase); + public UnsignedAppletActionEntry getMatchingItemByBases(String documentBase, String codeBase, Integer id); /** * Will add new record. Note that regexes are stored for bases matching. diff -r 951e9f8919fd netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java --- a/netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java Thu Apr 17 14:53:10 2014 +0200 +++ b/netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java Tue Apr 22 15:34:41 2014 +0200 @@ -78,37 +78,45 @@ * and then the global policy. * * @param file the plugin file + * @param id of wonted action * @return the remembered decision */ - public static ExecuteAppletAction getStoredAction(JNLPFile file) { + public static UnsignedAppletActionEntry getStoredEntry(JNLPFile file, int id) { UnsignedAppletActionStorage userActionStorage = securitySettings.getUnsignedAppletActionCustomStorage(); UnsignedAppletActionStorage globalActionStorage = securitySettings.getUnsignedAppletActionGlobalStorage(); - UnsignedAppletActionEntry globalEntry = getMatchingItem(globalActionStorage, file); - UnsignedAppletActionEntry userEntry = getMatchingItem(userActionStorage, file); + UnsignedAppletActionEntry globalEntry = getMatchingItem(globalActionStorage, file, id); + UnsignedAppletActionEntry userEntry = getMatchingItem(userActionStorage, file, id); - ExecuteAppletAction globalAction = globalEntry == null ? null : globalEntry.getUnsignedAppletAction(); - ExecuteAppletAction userAction = userEntry == null ? null : userEntry.getUnsignedAppletAction(); + ExecuteAppletAction globalAction = globalEntry == null ? null : globalEntry.getAppletSecurityActions().getAction(id); + ExecuteAppletAction userAction = userEntry == null ? null : userEntry.getAppletSecurityActions().getAction(id); if (userAction == ExecuteAppletAction.ALWAYS || userAction == ExecuteAppletAction.NEVER) { - return userAction; + return userEntry; } else if (globalAction == ExecuteAppletAction.ALWAYS || globalAction == ExecuteAppletAction.NEVER) { - return globalAction; + return globalEntry; } else { - return userAction; + return userEntry; } } + public static ExecuteAppletAction getStoredAction(JNLPFile file, int id) { + UnsignedAppletActionEntry x = getStoredEntry(file, id); + if (x != null) { + return x.getAppletSecurityActions().getAction(id); + } + return null; + } - private static UnsignedAppletActionEntry getMatchingItem(UnsignedAppletActionStorage actionStorage, JNLPFile file) { + private static UnsignedAppletActionEntry getMatchingItem(UnsignedAppletActionStorage actionStorage, JNLPFile file, int id) { return actionStorage.getMatchingItem( UrlUtils.normalizeUrlAndStripParams(file.getSourceLocation(), true /* encode local files */).toString(), UrlUtils.normalizeUrlAndStripParams(file.getCodeBase(), true /* encode local files */).toString(), - toRelativePaths(getJars(file), file.getCodeBase().toString())); + toRelativePaths(getJars(file), file.getCodeBase().toString()), id); } /* Extract the archives as relative paths */ static List toRelativePaths(List paths, String rootPath) { - List fileNames = new ArrayList(); + List fileNames = new ArrayList<>(); for (String path : paths) { if (path.startsWith(rootPath)) { fileNames.add(path.substring(rootPath.length())); @@ -119,20 +127,12 @@ return fileNames; } - private static void updateAppletAction(JNLPFile file, ExecuteAppletAction behaviour, boolean rememberForCodeBase) { + public static void updateAppletAction(JNLPFile file, ExecuteAppletAction behaviour, boolean rememberForCodeBase, int id) { UnsignedAppletActionStorage userActionStorage = securitySettings.getUnsignedAppletActionCustomStorage(); userActionStorage.lock(); // We should ensure this operation is atomic try { - UnsignedAppletActionEntry oldEntry = getMatchingItem(userActionStorage, file); - - /* Update, if entry exists */ - if (oldEntry != null) { - oldEntry.setUnsignedAppletAction(behaviour); - oldEntry.setTimeStamp(new Date()); - userActionStorage.update(oldEntry); - return; - } + UnsignedAppletActionEntry oldEntry = getMatchingItem(userActionStorage, file, id); URL codebase = UrlUtils.normalizeUrlAndStripParams(file.getCodeBase(), true /* encode local files */); URL documentbase = UrlUtils.normalizeUrlAndStripParams(file.getSourceLocation(), true /* encode local files */); @@ -146,9 +146,20 @@ documentbaseRegex = new UrlRegEx("\\Q" + documentbase + "\\E"); // Match only this applet archiveMatches = toRelativePaths(getJars(file), file.getCodeBase().toString()); // Match only this applet } + + /* Update, if entry exists */ + if (oldEntry != null) { + oldEntry.getAppletSecurityActions().setAction(id, behaviour); + oldEntry.setTimeStamp(new Date()); + oldEntry.setDocumentBase(documentbaseRegex); + oldEntry.setCodeBase(codebaseRegex); + oldEntry.setArchives(archiveMatches); + userActionStorage.update(oldEntry); + return; + } UnsignedAppletActionEntry entry = new UnsignedAppletActionEntry( - AppletSecurityActions.fromAction(behaviour), + AppletSecurityActions.fromAction(id, behaviour), new Date(), documentbaseRegex, codebaseRegex, @@ -185,7 +196,7 @@ return; } - ExecuteAppletAction storedAction = getStoredAction(file); + ExecuteAppletAction storedAction = getStoredAction(file, AppletSecurityActions.UNSIGNED_APPLET_ACTION); OutputController.getLogger().log(OutputController.Level.ERROR_DEBUG, "Stored action for unsigned applet at " + file.getCodeBase() +" was " + storedAction); boolean appletOK; @@ -202,7 +213,7 @@ appletOK = (executeAction == ExecuteAppletAction.YES || executeAction == ExecuteAppletAction.ALWAYS); if (executeAction != null) { - updateAppletAction(file, executeAction, warningResponse.rememberForCodeBase()); + updateAppletAction(file, executeAction, warningResponse.rememberForCodeBase(), AppletSecurityActions.UNSIGNED_APPLET_ACTION); } OutputController.getLogger().log(OutputController.Level.ERROR_DEBUG, "Decided action for unsigned applet at " + file.getCodeBase() +" was " + executeAction); @@ -228,7 +239,7 @@ return; } - ExecuteAppletAction storedAction = getStoredAction(file); + ExecuteAppletAction storedAction = getStoredAction(file, AppletSecurityActions.UNSIGNED_APPLET_ACTION); OutputController.getLogger().log(OutputController.Level.ERROR_DEBUG, "Stored action for partially signed applet at " + file.getCodeBase() + " was " + storedAction); boolean appletOK; @@ -250,7 +261,7 @@ || executeAction == ExecuteAppletAction.SANDBOX); if (executeAction != null) { - updateAppletAction(file, executeAction, warningResponse.rememberForCodeBase()); + updateAppletAction(file, executeAction, warningResponse.rememberForCodeBase(),AppletSecurityActions.UNSIGNED_APPLET_ACTION); } OutputController.getLogger().log(OutputController.Level.ERROR_DEBUG, "Decided action for unsigned applet at " + file.getCodeBase() + " was " + executeAction); diff -r 951e9f8919fd netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageExtendedImpl.java --- a/netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageExtendedImpl.java Thu Apr 17 14:53:10 2014 +0200 +++ b/netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageExtendedImpl.java Tue Apr 22 15:34:41 2014 +0200 @@ -38,6 +38,7 @@ import java.io.File; import java.io.IOException; import java.util.Date; +import net.sourceforge.jnlp.security.appletextendedsecurity.AppletSecurityActions; import net.sourceforge.jnlp.security.appletextendedsecurity.ExecuteAppletAction; import net.sourceforge.jnlp.security.appletextendedsecurity.UnsignedAppletActionEntry; import net.sourceforge.jnlp.security.appletextendedsecurity.UrlRegEx; @@ -85,11 +86,15 @@ readContents(); for (int i = 0; i < items.size(); i++) { UnsignedAppletActionEntry unsignedAppletActionEntry = items.get(i); - if (unsignedAppletActionEntry.getUnsignedAppletAction() == unsignedAppletAction) { - items.remove(i); - i--; + AppletSecurityActions actions = unsignedAppletActionEntry.getAppletSecurityActions(); + for (int j = 0; j < actions.getRealCount(); j++) { + ExecuteAppletAction action = actions.getAction(j); + if (action == unsignedAppletAction) { + items.remove(i); + i--; + break; //actions loop + } } - } writeContents(); } catch (IOException e) { @@ -156,18 +161,21 @@ } if (columnIndex == 0) { - source.setUnsignedAppletAction((ExecuteAppletAction) aValue); + source.getAppletSecurityActions().setUnsignedAppletAction((ExecuteAppletAction) aValue); } if (columnIndex == 1) { + source.getAppletSecurityActions().setMatchingAlacaAction((ExecuteAppletAction) aValue); + } + if (columnIndex == 2) { source.setTimeStamp((Date) aValue); } - if (columnIndex == 2) { + if (columnIndex == 3) { source.setDocumentBase(new UrlRegEx((String) aValue)); } - if (columnIndex == 3) { + if (columnIndex == 4) { source.setCodeBase(new UrlRegEx((String) aValue)); } - if (columnIndex == 4) { + if (columnIndex == 5) { source.setArchives(UnsignedAppletActionEntry.createArchivesList((String) aValue)); } diff -r 951e9f8919fd netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java --- a/netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java Thu Apr 17 14:53:10 2014 +0200 +++ b/netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java Tue Apr 22 15:34:41 2014 +0200 @@ -131,17 +131,21 @@ } @Override - public UnsignedAppletActionEntry getMatchingItem(String documentBase, String codeBase, List archives) { + public UnsignedAppletActionEntry getMatchingItem(String documentBase, String codeBase, List archives, Integer id) { List results = getMatchingItems(documentBase, codeBase, archives); if (results == null || results.isEmpty()) { return null; } + //no comaprsion id provided + if (id == null){ + return results.get(0); + } // Chose the first result, unless we find a 'stronger' result // Actions such as 'always accept' or 'always reject' are 'stronger' than // the hints 'was accepted' or 'was rejected'. for (UnsignedAppletActionEntry candidate : results) { - if (candidate.getUnsignedAppletAction() == ExecuteAppletAction.ALWAYS - || candidate.getUnsignedAppletAction() == ExecuteAppletAction.NEVER) { + if (candidate.getAppletSecurityActions().getAction(id) == ExecuteAppletAction.ALWAYS + || candidate.getAppletSecurityActions().getAction(id) == ExecuteAppletAction.NEVER) { //return first found strong return candidate; } @@ -228,17 +232,17 @@ } @Override - public UnsignedAppletActionEntry getMatchingItemByDocumentBase(String documentBase) { - return getMatchingItem(documentBase, null, null); + public UnsignedAppletActionEntry getMatchingItemByDocumentBase(String documentBase, Integer id) { + return getMatchingItem(documentBase, null, null, id); } @Override - public UnsignedAppletActionEntry getMatchingItemByCodeBase(String codeBase) { - return getMatchingItem(null, codeBase, null); + public UnsignedAppletActionEntry getMatchingItemByCodeBase(String codeBase, Integer id) { + return getMatchingItem(null, codeBase, null, id); } @Override - public UnsignedAppletActionEntry getMatchingItemByBases(String documentBase, String codeBase) { - return getMatchingItem(documentBase, codeBase, null); + public UnsignedAppletActionEntry getMatchingItemByBases(String documentBase, String codeBase, Integer id) { + return getMatchingItem(documentBase, codeBase, null, id); } } diff -r 951e9f8919fd netx/net/sourceforge/jnlp/security/dialogs/MatchingALACAttributePanel.java --- a/netx/net/sourceforge/jnlp/security/dialogs/MatchingALACAttributePanel.java Thu Apr 17 14:53:10 2014 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,165 +0,0 @@ -/* - Copyright (C) 2008 Red Hat, Inc. - - This file is part of IcedTea. - - IcedTea is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as published by - the Free Software Foundation, version 2. - - IcedTea is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU General Public License - along with IcedTea; see the file COPYING. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301 USA. - - Linking this library statically or dynamically with other modules is - making a combined work based on this library. Thus, the terms and - conditions of the GNU General Public License cover the whole - combination. - - As a special exception, the copyright holders of this library give you - permission to link this library with independent modules to produce an - executable, regardless of the license terms of these independent - modules, and to copy and distribute the resulting executable under - terms of your choice, provided that you also meet, for each linked - independent module, the terms and conditions of the license of that - module. An independent module is a module which is not derived from - or based on this library. If you modify this library, you may extend - this exception to your version of the library, but you are not - obligated to do so. If you do not wish to do so, delete this - exception statement from your version. - */ -package net.sourceforge.jnlp.security.dialogs; - -import java.awt.BorderLayout; -import java.awt.Color; -import java.awt.Desktop; -import java.awt.Dimension; -import java.awt.FlowLayout; -import java.awt.Font; -import java.awt.Image; -import java.io.IOException; -import java.net.MalformedURLException; -import java.net.URISyntaxException; -import java.net.URL; -import java.util.HashSet; -import java.util.Set; -import javax.imageio.ImageIO; - -import javax.swing.BorderFactory; -import javax.swing.BoxLayout; -import javax.swing.ImageIcon; -import javax.swing.JButton; -import javax.swing.JCheckBox; -import javax.swing.JEditorPane; -import javax.swing.JFrame; -import javax.swing.JLabel; -import javax.swing.JPanel; -import javax.swing.SwingConstants; -import javax.swing.event.HyperlinkEvent; -import javax.swing.event.HyperlinkListener; -import net.sourceforge.jnlp.runtime.Translator; -import net.sourceforge.jnlp.security.SecurityDialog; -import net.sourceforge.jnlp.util.UrlUtils; -import net.sourceforge.jnlp.util.logging.OutputController; - -/** - * http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#app_library - */ -public class MatchingALACAttributePanel extends SecurityDialogPanel { - - public MatchingALACAttributePanel(SecurityDialog x, String title, String codebase, String remoteUrls) { - super(x); - try { - addComponents(title, codebase, remoteUrls); - } catch (Exception ex) { - throw new RuntimeException(ex); - } - if (x != null) { - x.setMinimumSize(new Dimension(600, 400)); - } - } - - protected final void addComponents(String title, String codebase, String remoteUrls) throws IOException { - - URL imgUrl = this.getClass().getResource("/net/sourceforge/jnlp/resources/question.png"); - ImageIcon icon; - Image img = ImageIO.read(imgUrl); - icon = new ImageIcon(img); - String topLabelText = Translator.R("ALACAMatchingMainTitle", title, codebase, remoteUrls); - String bottomLabelText = Translator.R("ALACAMatchingInfo"); - - JLabel topLabel = new JLabel(htmlWrap(topLabelText), icon, SwingConstants.CENTER); - topLabel.setFont(new Font(topLabel.getFont().toString(), - Font.BOLD, 12)); - JPanel topPanel = new JPanel(new BorderLayout()); - topPanel.setBackground(Color.WHITE); - topPanel.add(topLabel, BorderLayout.CENTER); - topPanel.setPreferredSize(new Dimension(400, 80)); - topPanel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); - - JEditorPane bottomLabel = new JEditorPane("text/html", htmlWrap(bottomLabelText)); - bottomLabel.setEditable(false); - bottomLabel.addHyperlinkListener(new HyperlinkListener() { - @Override - public void hyperlinkUpdate(HyperlinkEvent e) { - try { - if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) { - Desktop.getDesktop().browse(e.getURL().toURI()); - } - } catch (IOException ex) { - OutputController.getLogger().log(ex); - } catch (URISyntaxException ex) { - OutputController.getLogger().log(ex); - } - } - }); - JPanel infoPanel = new JPanel(new BorderLayout()); - infoPanel.add(bottomLabel, BorderLayout.CENTER); - infoPanel.setPreferredSize(new Dimension(400, 80)); - infoPanel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); - bottomLabel.setBackground(infoPanel.getBackground()); - - //run and cancel buttons - JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.RIGHT)); - - JButton yes = new JButton(Translator.R("ButYes")); - JButton no = new JButton(Translator.R("ButNo")); - JCheckBox remeber = new JCheckBox(htmlWrap(Translator.R("SRememberOption"))); - int buttonWidth = yes.getMinimumSize().width; - int buttonHeight = yes.getMinimumSize().height; - Dimension d = new Dimension(buttonWidth, buttonHeight); - yes.setPreferredSize(d); - no.setPreferredSize(d); - yes.addActionListener(createSetValueListener(parent, 0)); - no.addActionListener(createSetValueListener(parent, 1)); - initialFocusComponent = no; - buttonPanel.add(remeber); - buttonPanel.add(yes); - buttonPanel.add(no); - buttonPanel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); - //all of the above - setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); - add(topPanel); - add(infoPanel); - add(buttonPanel); - - } - - public static void main(String[] args) throws MalformedURLException { - Set s = new HashSet(); - s.add(new URL("http:/blah.com/blah")); - s.add(new URL("http:/blah.com/blah/blah")); - MatchingALACAttributePanel w = new MatchingALACAttributePanel(null, "HelloWorld", "http://nbblah.url", UrlUtils.setOfUrlsToHtmlList(s)); - JFrame f = new JFrame(); - f.setSize(600, 400); - f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); - f.add(w, BorderLayout.CENTER); - f.setVisible(true); - } -} diff -r 951e9f8919fd netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningDialog.java --- a/netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningDialog.java Thu Apr 17 14:53:10 2014 +0200 +++ b/netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningDialog.java Tue Apr 22 15:34:41 2014 +0200 @@ -47,6 +47,7 @@ * A panel that confirms that the user is OK with unsigned code running. */ public class AppTrustWarningDialog extends SecurityDialogPanel { + private ActionChoiceListener listener; private AppTrustWarningDialog(final SecurityDialog dialog) { super(dialog); @@ -63,8 +64,21 @@ warningDialog.add(new PartiallySignedAppTrustWarningPanel(file, warningDialog.getActionChoiceListener(), dialog, securityDelegate)); return warningDialog; } + + public static AppTrustWarningDialog matchingAlaca(SecurityDialog x, JNLPFile file, String codebase, String remoteUrls) { + final AppTrustWarningDialog warningDialog = new AppTrustWarningDialog(x); + warningDialog.add(new MatchingALACAttributePanel(x, file, codebase, remoteUrls, warningDialog.getActionChoiceListener())); + return warningDialog; + } private ActionChoiceListener getActionChoiceListener() { + if (listener == null) { + listener = createActionChoiceListener(); + } + return listener; + } + + private ActionChoiceListener createActionChoiceListener() { return new ActionChoiceListener() { @Override public void actionChosen(final AppSigningWarningAction action) { diff -r 951e9f8919fd netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningPanel.java --- a/netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningPanel.java Thu Apr 17 14:53:10 2014 +0200 +++ b/netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningPanel.java Tue Apr 22 15:34:41 2014 +0200 @@ -68,6 +68,8 @@ import javax.swing.event.HyperlinkListener; import net.sourceforge.jnlp.JNLPFile; +import net.sourceforge.jnlp.PluginBridge; +import static net.sourceforge.jnlp.runtime.Translator.R; import net.sourceforge.jnlp.security.appletextendedsecurity.ExecuteAppletAction; import net.sourceforge.jnlp.security.appletextendedsecurity.ExtendedAppletSecurityHelp; import net.sourceforge.jnlp.util.ScreenFinder; @@ -215,7 +217,17 @@ } protected String getAppletTitle() { - return R("SAppletTitle", file.getTitle()); + String title; + try { + if (file instanceof PluginBridge) { + title = file.getTitle(); + } else { + title = file.getInformation().getTitle(); + } + } catch (Exception e) { + title = ""; + } + return title; } private void setupInfoPanel() { diff -r 951e9f8919fd netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/MatchingALACAttributePanel.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/MatchingALACAttributePanel.java Tue Apr 22 15:34:41 2014 +0200 @@ -0,0 +1,133 @@ +/* + Copyright (C) 2008 Red Hat, Inc. + + This file is part of IcedTea. + + IcedTea is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as published by + the Free Software Foundation, version 2. + + IcedTea is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with IcedTea; see the file COPYING. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301 USA. + + Linking this library statically or dynamically with other modules is + making a combined work based on this library. Thus, the terms and + conditions of the GNU General Public License cover the whole + combination. + + As a special exception, the copyright holders of this library give you + permission to link this library with independent modules to produce an + executable, regardless of the license terms of these independent + modules, and to copy and distribute the resulting executable under + terms of your choice, provided that you also meet, for each linked + independent module, the terms and conditions of the license of that + module. An independent module is a module which is not derived from + or based on this library. If you modify this library, you may extend + this exception to your version of the library, but you are not + obligated to do so. If you do not wish to do so, delete this + exception statement from your version. + */ +package net.sourceforge.jnlp.security.dialogs.apptrustwarningpanel; + +import java.awt.BorderLayout; +import java.awt.Dimension; +import java.io.IOException; +import java.net.MalformedURLException; +import java.net.URL; +import java.util.HashSet; +import java.util.Set; +import javax.swing.ImageIcon; +import javax.swing.JFrame; +import net.sourceforge.jnlp.JNLPFile; +import net.sourceforge.jnlp.ParseException; +import net.sourceforge.jnlp.runtime.Translator; +import static net.sourceforge.jnlp.runtime.Translator.R; +import net.sourceforge.jnlp.security.SecurityDialog; +import net.sourceforge.jnlp.security.appletextendedsecurity.AppletSecurityActions; +import net.sourceforge.jnlp.security.appletextendedsecurity.ExecuteAppletAction; +import net.sourceforge.jnlp.security.appletextendedsecurity.UnsignedAppletActionEntry; +import net.sourceforge.jnlp.security.appletextendedsecurity.UnsignedAppletTrustConfirmation; +import net.sourceforge.jnlp.util.UrlUtils; + +/** + * http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#app_library + */ +public class MatchingALACAttributePanel extends AppTrustWarningPanel { + private final String title; + private final String codebase; + private final String remoteUrls; + + public MatchingALACAttributePanel(SecurityDialog x, JNLPFile file, String codebase, String remoteUrls, ActionChoiceListener actionChoiceListener) { + super(file, actionChoiceListener); + this.title = super.getAppletTitle(); + this.codebase = codebase; + this.remoteUrls = remoteUrls; + TOP_PANEL_HEIGHT = 250; + addComponents(); + if (x != null) { + x.setMinimumSize(new Dimension(600, 400)); + } + } + + @Override + protected ImageIcon getInfoImage() { + final String location = "net/sourceforge/jnlp/resources/question.png"; + return new ImageIcon(ClassLoader.getSystemClassLoader().getResource(location)); + } + + @Override + protected String getTopPanelText() { + return htmlWrap(Translator.R("ALACAMatchingMainTitle", title, codebase, remoteUrls)); + } + + @Override + protected String getInfoPanelText() { + String r = Translator.R("ALACAMatchingInfo"); + UnsignedAppletActionEntry rememberedEntry = UnsignedAppletTrustConfirmation.getStoredEntry(file, AppletSecurityActions.MATCHING_ALACA_ACTION); + if (rememberedEntry != null) { + ExecuteAppletAction rememberedAction = rememberedEntry.getAppletSecurityActions().getMatchingAlacaAction(); + if (rememberedAction == ExecuteAppletAction.YES) { + r += "
" + R("SUnsignedAllowedBefore", rememberedEntry.getLocalisedTimeStamp()); + } else if (rememberedAction == ExecuteAppletAction.NO) { + r += "
" + R("SUnsignedRejectedBefore", rememberedEntry.getLocalisedTimeStamp()); + } + } + return r; + } + + @Override + protected String getQuestionPanelText() { + return "";//htmlWrap(Translator.R("SRememberOption")); + } + + @Override + public String getAppletTitle(){ + return ""; + } + + + public static void main(String[] args) throws MalformedURLException, IOException, ParseException { + Set s = new HashSet(); + s.add(new URL("http:/blah.com/blah")); + s.add(new URL("http:/blah.com/blah/blah")); + MatchingALACAttributePanel w = new MatchingALACAttributePanel(null, new JNLPFile(new URL("http://www.geogebra.org/webstart/geogebra.jnlp")), "http://nbblah.url", UrlUtils.setOfUrlsToHtmlList(s), new ActionChoiceListener() { + + @Override + public void actionChosen(AppSigningWarningAction action) { + + } + }); + JFrame f = new JFrame(); + f.setSize(600, 400); + f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); + f.add(w, BorderLayout.CENTER); + f.setVisible(true); + } +} diff -r 951e9f8919fd netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/PartiallySignedAppTrustWarningPanel.java --- a/netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/PartiallySignedAppTrustWarningPanel.java Thu Apr 17 14:53:10 2014 +0200 +++ b/netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/PartiallySignedAppTrustWarningPanel.java Tue Apr 22 15:34:41 2014 +0200 @@ -49,7 +49,9 @@ import net.sourceforge.jnlp.runtime.JNLPClassLoader.SecurityDelegate; import net.sourceforge.jnlp.security.SecurityDialog; import net.sourceforge.jnlp.security.SecurityUtil; +import net.sourceforge.jnlp.security.appletextendedsecurity.AppletSecurityActions; import net.sourceforge.jnlp.security.appletextendedsecurity.ExecuteAppletAction; +import net.sourceforge.jnlp.security.appletextendedsecurity.UnsignedAppletActionEntry; import net.sourceforge.jnlp.security.appletextendedsecurity.UnsignedAppletTrustConfirmation; import net.sourceforge.jnlp.security.dialogs.TemporaryPermissionsButton; import net.sourceforge.jnlp.tools.CertInformation; @@ -79,21 +81,6 @@ addComponents(); } - @Override - protected String getAppletTitle() { - String title; - try { - if (file instanceof PluginBridge) { - title = file.getTitle(); - } else { - title = file.getInformation().getTitle(); - } - } catch (Exception e) { - title = ""; - } - return R("SAppletTitle", title); - } - private String getAppletInfo() { Certificate c = jcv.getPublisher(null); @@ -159,11 +146,14 @@ String text = getAppletInfo(); text += "

" + R(getInfoPanelTextKey(), file.getCodeBase(), file.getSourceLocation()); text += "

" + getSigningInfo(); - ExecuteAppletAction rememberedAction = UnsignedAppletTrustConfirmation.getStoredAction(file); - if (rememberedAction == ExecuteAppletAction.YES) { - text += "
" + R("SUnsignedAllowedBefore"); - } else if (rememberedAction == ExecuteAppletAction.NO) { - text += "
" + R("SUnsignedRejectedBefore"); + UnsignedAppletActionEntry rememberedEntry = UnsignedAppletTrustConfirmation.getStoredEntry(file, AppletSecurityActions.UNSIGNED_APPLET_ACTION); + if (rememberedEntry != null) { + ExecuteAppletAction rememberedAction = rememberedEntry.getAppletSecurityActions().getUnsignedAppletAction(); + if (rememberedAction == ExecuteAppletAction.YES) { + text += "
" + R("SUnsignedAllowedBefore", rememberedEntry.getLocalisedTimeStamp()); + } else if (rememberedAction == ExecuteAppletAction.NO) { + text += "
" + R("SUnsignedRejectedBefore", rememberedEntry.getLocalisedTimeStamp()); + } } return htmlWrap(text); } diff -r 951e9f8919fd netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/UnsignedAppletTrustWarningDialog.java --- a/netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/UnsignedAppletTrustWarningDialog.java Thu Apr 17 14:53:10 2014 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,65 +0,0 @@ -/* Copyright (C) 2013 Red Hat, Inc. - -This file is part of IcedTea. - -IcedTea is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License as published by -the Free Software Foundation, version 2. - -IcedTea is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with IcedTea; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. - */ - -package net.sourceforge.jnlp.security.dialogs.apptrustwarningpanel; - -import net.sourceforge.jnlp.JNLPFile; -import net.sourceforge.jnlp.security.dialogs.apptrustwarningpanel.AppTrustWarningPanel.ActionChoiceListener; -import net.sourceforge.jnlp.security.dialogs.apptrustwarningpanel.AppTrustWarningPanel.AppSigningWarningAction; -import net.sourceforge.jnlp.security.SecurityDialog; -import net.sourceforge.jnlp.security.dialogs.SecurityDialogPanel; - -/** - * A panel that confirms that the user is OK with unsigned code running. - * - */ -public class UnsignedAppletTrustWarningDialog extends SecurityDialogPanel { - - public UnsignedAppletTrustWarningDialog(SecurityDialog x, JNLPFile file) { - super(x); - - add(new UnsignedAppletTrustWarningPanel(file, - new ActionChoiceListener() { - @Override - public void actionChosen(AppSigningWarningAction action) { - parent.setValue(action); - parent.dispose(); - } - }) - ); - } - -} diff -r 951e9f8919fd netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/UnsignedAppletTrustWarningPanel.java --- a/netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/UnsignedAppletTrustWarningPanel.java Thu Apr 17 14:53:10 2014 +0200 +++ b/netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/UnsignedAppletTrustWarningPanel.java Tue Apr 22 15:34:41 2014 +0200 @@ -43,7 +43,9 @@ import javax.swing.ImageIcon; import javax.swing.JFrame; import net.sourceforge.jnlp.JNLPFile; +import net.sourceforge.jnlp.security.appletextendedsecurity.AppletSecurityActions; import net.sourceforge.jnlp.security.appletextendedsecurity.ExecuteAppletAction; +import net.sourceforge.jnlp.security.appletextendedsecurity.UnsignedAppletActionEntry; import net.sourceforge.jnlp.security.appletextendedsecurity.UnsignedAppletTrustConfirmation; @@ -80,11 +82,14 @@ @Override protected String getInfoPanelText() { String text = R(getInfoPanelTextKey(), file.getCodeBase(), file.getSourceLocation()); - ExecuteAppletAction rememberedAction = UnsignedAppletTrustConfirmation.getStoredAction(file); - if (rememberedAction == ExecuteAppletAction.YES) { - text += "
" + R("SUnsignedAllowedBefore"); - } else if (rememberedAction == ExecuteAppletAction.NO) { - text += "
" + R("SUnsignedRejectedBefore"); + UnsignedAppletActionEntry rememberedEntry = UnsignedAppletTrustConfirmation.getStoredEntry(file, AppletSecurityActions.UNSIGNED_APPLET_ACTION); + if (rememberedEntry != null) { + ExecuteAppletAction rememberedAction = rememberedEntry.getAppletSecurityActions().getUnsignedAppletAction(); + if (rememberedAction == ExecuteAppletAction.YES) { + text += "
" + R("SUnsignedAllowedBefore", rememberedEntry.getLocalisedTimeStamp()); + } else if (rememberedAction == ExecuteAppletAction.NO) { + text += "
" + R("SUnsignedRejectedBefore", rememberedEntry.getLocalisedTimeStamp()); + } } return htmlWrap(text); } diff -r 951e9f8919fd tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImplTest.java --- a/tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImplTest.java Thu Apr 17 14:53:10 2014 +0200 +++ b/tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImplTest.java Tue Apr 22 15:34:41 2014 +0200 @@ -41,6 +41,7 @@ import java.io.IOException; import java.util.Arrays; import net.sourceforge.jnlp.ServerAccess; +import net.sourceforge.jnlp.security.appletextendedsecurity.AppletSecurityActions; import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; @@ -52,6 +53,9 @@ private static File f2; private static File f3; private static File f4; + + public static final int ZERO = AppletSecurityActions.UNSIGNED_APPLET_ACTION; + public static final int ONE = AppletSecurityActions.MATCHING_ALACA_ACTION; @BeforeClass public static void preapreTestFiles() throws IOException { @@ -65,6 +69,9 @@ + "A 1 \\Qhttp://jmol.sourceforge.net/demo/atoms/\\E \\Qhttp://jmol.sourceforge.net/jmol/\\E JmolApplet0.jar\n" + "A 1363278653454 \\Qhttp://www.walter-fendt.de/ph14e\\E.* \\Qhttp://www.walter-fendt.de\\E.*\n" + "n 1363281783104 \\Qhttp://www.walter-fendt.de/ph14e/inclplane.htm\\E \\Qhttp://www.walter-fendt.de/ph14_jar/\\E Ph14English.jar,SchiefeEbene.jar" + + "yA 1 \\Qhttp://jmol.sourceforge.net/demo/atoms/\\E \\Qhttp://jmol.sourceforge.net/jmol/\\E JmolApplet0.jar\n" + + "Ay 1363278653454 \\Qhttp://www.walter-fendt.de/ph14e\\E.* \\Qhttp://www.walter-fendt.de\\E.*\n" + + "nn 1363281783104 \\Qhttp://www.walter-fendt.de/ph14e/inclplane.htm\\E \\Qhttp://www.walter-fendt.de/ph14_jar/\\E Ph14English.jar,SchiefeEbene.jar" + "", f3); } @@ -79,19 +86,19 @@ @Test public void wildcards1() { UnsignedAppletActionStorageImpl i1 = new UnsignedAppletActionStorageImpl(f3); - UnsignedAppletActionEntry r1 = i1.getMatchingItem("http://www.walter-fendt.de/ph14e/inclplane.htm", "http://www.walter-fendt.de/ph14_jar/", Arrays.asList(new String[]{"Ph14English.jar","SchiefeEbene.jar"})); + UnsignedAppletActionEntry r1 = i1.getMatchingItem("http://www.walter-fendt.de/ph14e/inclplane.htm", "http://www.walter-fendt.de/ph14_jar/", Arrays.asList(new String[]{"Ph14English.jar","SchiefeEbene.jar"}), ZERO); ServerAccess.logOutputReprint(r1.toString()); } @Test public void allMatchingDocAndCode() { UnsignedAppletActionStorageImpl i1 = new UnsignedAppletActionStorageImpl(f1); - UnsignedAppletActionEntry r1 = i1.getMatchingItem("bla", "blaBla", Arrays.asList(new String[]{"jar1", "jar2"})); + UnsignedAppletActionEntry r1 = i1.getMatchingItem("bla", "blaBla", Arrays.asList(new String[]{"jar1", "jar2"}), ZERO); Assert.assertNotNull("r1 should be found", r1); - UnsignedAppletActionEntry r3 = i1.getMatchingItem("blah", "blaBla", Arrays.asList(new String[]{"jar2", "jar1"})); + UnsignedAppletActionEntry r3 = i1.getMatchingItem("blah", "blaBla", Arrays.asList(new String[]{"jar2", "jar1"}), ZERO); Assert.assertNotNull("r3 should be found", r3); - UnsignedAppletActionEntry r4 = i1.getMatchingItem("blha", "blaBlam", Arrays.asList(new String[]{"jar2", "wrong_jar"})); + UnsignedAppletActionEntry r4 = i1.getMatchingItem("blha", "blaBlam", Arrays.asList(new String[]{"jar2", "wrong_jar"}), ZERO); Assert.assertNull("r4 should NOT be found", r4); - UnsignedAppletActionEntry r5 = i1.getMatchingItem("blaBla", "blaBlaBla", Arrays.asList(new String[]{"jar2"})); + UnsignedAppletActionEntry r5 = i1.getMatchingItem("blaBla", "blaBlaBla", Arrays.asList(new String[]{"jar2"}), ZERO); Assert.assertNull("r5 should NOT be found", r5); } @@ -99,13 +106,13 @@ @Test public void allMatchingDocAndStrictCode() { UnsignedAppletActionStorageImpl i1 = new UnsignedAppletActionStorageImpl(f2); - UnsignedAppletActionEntry r1 = i1.getMatchingItem("whatever", "bla", Arrays.asList(new String[]{"jar1", "jar2"})); + UnsignedAppletActionEntry r1 = i1.getMatchingItem("whatever", "bla", Arrays.asList(new String[]{"jar1", "jar2"}), ZERO); Assert.assertNotNull("r1 should be found", r1); - UnsignedAppletActionEntry r3 = i1.getMatchingItem("whatever", null, Arrays.asList(new String[]{"jar2", "jar1"})); + UnsignedAppletActionEntry r3 = i1.getMatchingItem("whatever", null, Arrays.asList(new String[]{"jar2", "jar1"}), ZERO); Assert.assertNotNull("r3 should be found", r3); - UnsignedAppletActionEntry r2 = i1.getMatchingItem("bla", "blaBlam", Arrays.asList(new String[]{"jar1", "jar2"})); + UnsignedAppletActionEntry r2 = i1.getMatchingItem("bla", "blaBlam", Arrays.asList(new String[]{"jar1", "jar2"}), ZERO); Assert.assertNull("r2 should NOT be found", r2); - UnsignedAppletActionEntry r4 = i1.getMatchingItem(null, "blaBlam", null); + UnsignedAppletActionEntry r4 = i1.getMatchingItem(null, "blaBlam", null, ZERO); Assert.assertNull("r4 should NOT be found", r4); } @@ -113,19 +120,19 @@ @Test public void allMatchingDocAndCodeWithNulls() { UnsignedAppletActionStorageImpl i1 = new UnsignedAppletActionStorageImpl(f1); - UnsignedAppletActionEntry r1 = i1.getMatchingItem("bla", "blaBla", null); + UnsignedAppletActionEntry r1 = i1.getMatchingItem("bla", "blaBla", null, ZERO); Assert.assertNotNull("r1 should be found", r1); - UnsignedAppletActionEntry r3 = i1.getMatchingItem("bla", "whatever", null); + UnsignedAppletActionEntry r3 = i1.getMatchingItem("bla", "whatever", null, ZERO); Assert.assertNotNull("r3 should be found", r3); - UnsignedAppletActionEntry r2 = i1.getMatchingItem("bla", "blaBla", Arrays.asList(new String[]{"jar2", "jar1"})); + UnsignedAppletActionEntry r2 = i1.getMatchingItem("bla", "blaBla", Arrays.asList(new String[]{"jar2", "jar1"}), ZERO); Assert.assertNotNull("r2 should be found", r2); - UnsignedAppletActionEntry r4 = i1.getMatchingItem("bla", "blaBla", null); + UnsignedAppletActionEntry r4 = i1.getMatchingItem("bla", "blaBla", null, ZERO); Assert.assertNotNull("r4 should be found", r4); - UnsignedAppletActionEntry r5 = i1.getMatchingItem("", "blaBla", Arrays.asList(new String[]{"jar2", "jar1"})); + UnsignedAppletActionEntry r5 = i1.getMatchingItem("", "blaBla", Arrays.asList(new String[]{"jar2", "jar1"}), ZERO); Assert.assertNotNull("r5 should be found", r5); - UnsignedAppletActionEntry r6 = i1.getMatchingItem(null, null, Arrays.asList(new String[]{"jar2", "jar1"})); + UnsignedAppletActionEntry r6 = i1.getMatchingItem(null, null, Arrays.asList(new String[]{"jar2", "jar1"}), ZERO); Assert.assertNotNull("r6 should be found", r6); - UnsignedAppletActionEntry r7 = i1.getMatchingItem(null, null, Arrays.asList(new String[]{"jar2", "jar11"})); + UnsignedAppletActionEntry r7 = i1.getMatchingItem(null, null, Arrays.asList(new String[]{"jar2", "jar11"}), ZERO); Assert.assertNull("r7 should NOT be found", r7); From andrew at icedtea.classpath.org Thu Apr 24 15:21:33 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 24 Apr 2014 15:21:33 +0000 Subject: /hg/release/icedtea7-forest-2.5/hotspot: Extend 8041658 to all f... Message-ID: changeset df3f0e040c01 in /hg/release/icedtea7-forest-2.5/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot?cmd=changeset;node=df3f0e040c01 author: andrew date: Thu Apr 24 16:21:06 2014 +0100 Extend 8041658 to all files in the HotSpot build. diffstat: make/linux/makefiles/gcc.make | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r e85f87518eb4 -r df3f0e040c01 make/linux/makefiles/gcc.make --- a/make/linux/makefiles/gcc.make Wed Apr 23 22:06:29 2014 +0100 +++ b/make/linux/makefiles/gcc.make Thu Apr 24 16:21:06 2014 +0100 @@ -266,7 +266,7 @@ endif endif ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 9), 1) - OPT_CFLAGS/macroAssembler_x86.o += -fno-devirtualize + OPT_CFLAGS += -fno-devirtualize endif endif From andrew at icedtea.classpath.org Thu Apr 24 16:46:34 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 24 Apr 2014 16:46:34 +0000 Subject: /hg/release/icedtea7-2.5: S8041658: Use of -fdevirtualize on mac... Message-ID: changeset 72d6be4fa2c2 in /hg/release/icedtea7-2.5 details: http://icedtea.classpath.org/hg/release/icedtea7-2.5?cmd=changeset;node=72d6be4fa2c2 author: Andrew John Hughes date: Thu Apr 24 17:32:06 2014 +0100 S8041658: Use of -fdevirtualize on macroAssembler_x86.o (via -O2) with gcc 4.9.0 creates broken VM 2014-04-24 Andrew John Hughes Use of -fdevirtualize on macroAssembler_x86.o (via -O2) with gcc 4.9.0 creates broken VM * Makefile.am, (CORBA_CHANGESET): Update to icedtea-2.5pre05 tag. (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. * NEWS: Updated with S8041658 and extension. * configure.ac: Bump to pre05. * hotspot.map: Update to icedtea-2.5pre05 tag. diffstat: ChangeLog | 21 +++++++++++++++++++++ Makefile.am | 24 ++++++++++++------------ NEWS | 2 ++ configure.ac | 2 +- hotspot.map | 2 +- 5 files changed, 37 insertions(+), 14 deletions(-) diffs (92 lines): diff -r 579668bd82f7 -r 72d6be4fa2c2 ChangeLog --- a/ChangeLog Fri Apr 18 06:46:03 2014 +0100 +++ b/ChangeLog Thu Apr 24 17:32:06 2014 +0100 @@ -1,3 +1,24 @@ +2014-04-24 Andrew John Hughes + + Use of -fdevirtualize on macroAssembler_x86.o (via -O2) + with gcc 4.9.0 creates broken VM + * Makefile.am, + (CORBA_CHANGESET): Update to icedtea-2.5pre05 tag. + (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. + * NEWS: Updated with S8041658 and extension. + * configure.ac: Bump to pre05. + * hotspot.map: Update to icedtea-2.5pre05 tag. + 2014-04-18 Andrew John Hughes * Makefile.am: diff -r 579668bd82f7 -r 72d6be4fa2c2 Makefile.am --- a/Makefile.am Fri Apr 18 06:46:03 2014 +0100 +++ b/Makefile.am Thu Apr 24 17:32:06 2014 +0100 @@ -4,19 +4,19 @@ BUILD_VERSION = b15 COMBINED_VERSION = $(JDK_UPDATE_VERSION)-$(BUILD_VERSION) -CORBA_CHANGESET = e120608ed399 -JAXP_CHANGESET = 611fdb7bcd4f -JAXWS_CHANGESET = 8c3ac91d06c0 -JDK_CHANGESET = 2cef4a93bcb8 -LANGTOOLS_CHANGESET = 2f5810fa2937 -OPENJDK_CHANGESET = c6d37b19485e +CORBA_CHANGESET = fc55c94710a4 +JAXP_CHANGESET = 89656c61a515 +JAXWS_CHANGESET = 9639895f6950 +JDK_CHANGESET = 6cb22bfdd98b +LANGTOOLS_CHANGESET = 1b5335c79bc1 +OPENJDK_CHANGESET = 716796f6c6f0 -CORBA_SHA256SUM = 16d1f4117a86bbc0ce29fc2ef7797fba9e9a9977b6dae49dcf606592d37a03fc -JAXP_SHA256SUM = 6781b72fbe79b396262f942b6deaa2151deacf1a20b88d55145aa06cfa14e6e2 -JAXWS_SHA256SUM = a2c63277208f45addc51bbd5e40bf7dc7b0261fa9154cd4df7e0a5bfbf414440 -JDK_SHA256SUM = f3fea92a9caf00a5b3dbceb6fbe16d45ffb43be05371f15325d3246269a502f0 -LANGTOOLS_SHA256SUM = c19e847a613e2126ce91bfe4fdab8484356b1fb98d5754d85ca231145c02d002 -OPENJDK_SHA256SUM = ede5c64b02378d59e7ea96c9bab6c7c43d8095ddb576dc0159f68f658112b46d +CORBA_SHA256SUM = aad1eca7c95e30d21f9831af74c4dc9695c40e93974f69bb9b66b7dcc44adffc +JAXP_SHA256SUM = 6f5fa329d5c0e00d567ac0b4e3c65bb2902f0d4c9a680deba1f13d8fa0678b59 +JAXWS_SHA256SUM = f88276b593562b2b2e6c45cc6d682617e765e13a6a817b25662e8a08e1b5c998 +JDK_SHA256SUM = 180ec5ef8e0df9459412cf42eeecaa7eeb53e792035ce6ad4ddaada1c9f3084f +LANGTOOLS_SHA256SUM = 7413148a6d6f77c1d6f99cee61240995035263f953ee1ce1aef4d3c461b83e4b +OPENJDK_SHA256SUM = 7c8142b0981d4f47818754a1e1d15d9a99c351eadd173c8af7248f5163413dc7 CACAO_VERSION = e215e36be9fc CACAO_SHA256SUM = 4966514c72ee7ed108b882d9b6e65c3adf8a8f9c2dccb029f971b3c8cb4870ab diff -r 579668bd82f7 -r 72d6be4fa2c2 NEWS --- a/NEWS Fri Apr 18 06:46:03 2014 +0100 +++ b/NEWS Thu Apr 24 17:32:06 2014 +0100 @@ -257,6 +257,8 @@ - PR1699: Support building the SunEC provider with system NSS - PR1393: JPEG support in build is broken on non-system-libjpeg builds - Fix merge duplication in com.sun.script.javascript.RhinoTopLevel + - S8041658: Use of -fdevirtualize on macroAssembler_x86.o (via -O2) with gcc 4.9.0 creates broken VM + - Extend 8041658 to all files in the HotSpot build. * PPC & AIX port - Add AIX-specific build instructions to README-ppc.html - Added AIX as testing platform for more jtreg tests written in shell-script diff -r 579668bd82f7 -r 72d6be4fa2c2 configure.ac --- a/configure.ac Fri Apr 18 06:46:03 2014 +0100 +++ b/configure.ac Thu Apr 24 17:32:06 2014 +0100 @@ -1,4 +1,4 @@ -AC_INIT([icedtea], [2.5pre04], [distro-pkg-dev at openjdk.java.net]) +AC_INIT([icedtea], [2.5pre05], [distro-pkg-dev at openjdk.java.net]) AM_INIT_AUTOMAKE([1.9 tar-pax foreign]) AC_CONFIG_FILES([Makefile]) diff -r 579668bd82f7 -r 72d6be4fa2c2 hotspot.map --- a/hotspot.map Fri Apr 18 06:46:03 2014 +0100 +++ b/hotspot.map Thu Apr 24 17:32:06 2014 +0100 @@ -1,3 +1,3 @@ # version url changeset sha256sum -default http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot 6dfe2b3e243c 8f3c77d483989dbf06771df0c0575ce38700018865234c96bc8a8237548c18c0 +default http://icedtea.classpath.org/hg/release/icedtea7-forest-2.5/hotspot df3f0e040c01 69aa69e5417933a62052389c2daf00a02224de719b2c69f0309cfcd4a8679797 aarch64 http://hg.openjdk.java.net/aarch64-port/jdk7u/hotspot f50993b6c38d 64c2d0bfa71d6eecf18ab28fd64d5bd79af096f77548d80de7953c306fd9c22c From bugzilla-daemon at icedtea.classpath.org Fri Apr 25 08:35:24 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 25 Apr 2014 08:35:24 +0000 Subject: [Bug 1749] New: IcedTeaNPPlugin.cc:2030: bad printf specifier Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1749 Bug ID: 1749 Summary: IcedTeaNPPlugin.cc:2030: bad printf specifier Product: IcedTea-Web Version: unspecified Hardware: all OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: Plugin Assignee: dbhole at redhat.com Reporter: dcb314 at hotmail.com CC: unassigned at icedtea.classpath.org icedtea-web-1.5/plugin/icedteanp/IcedTeaNPPlugin.cc:2030]: (error) snprintf format string requires 1 parameter but only 0 are given. Source code is PLUGIN_ERROR("Unable create data directory %s\n"); -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ptisnovs at icedtea.classpath.org Fri Apr 25 10:09:43 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Fri, 25 Apr 2014 10:09:43 +0000 Subject: /hg/gfx-test: Eight more tests added into CAGOperationsOnTwoConc... Message-ID: changeset ab8dd223de3b in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=ab8dd223de3b author: Pavel Tisnovsky date: Fri Apr 25 12:10:25 2014 +0200 Eight more tests added into CAGOperationsOnTwoConcentricCircles. diffstat: ChangeLog | 5 + src/org/gfxtest/testsuites/CAGOperationsOnTwoConcentricCircles.java | 200 ++++++++++ 2 files changed, 205 insertions(+), 0 deletions(-) diffs (222 lines): diff -r a3c91a837484 -r ab8dd223de3b ChangeLog --- a/ChangeLog Thu Apr 24 09:38:34 2014 +0200 +++ b/ChangeLog Fri Apr 25 12:10:25 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-25 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/CAGOperationsOnTwoConcentricCircles.java: + Eight more tests added into CAGOperationsOnTwoConcentricCircles. + 2014-04-24 Pavel Tisnovsky * src/org/gfxtest/testsuites/BitBltBufferedImageOp.java: diff -r a3c91a837484 -r ab8dd223de3b src/org/gfxtest/testsuites/CAGOperationsOnTwoConcentricCircles.java --- a/src/org/gfxtest/testsuites/CAGOperationsOnTwoConcentricCircles.java Thu Apr 24 09:38:34 2014 +0200 +++ b/src/org/gfxtest/testsuites/CAGOperationsOnTwoConcentricCircles.java Fri Apr 25 12:10:25 2014 +0200 @@ -1659,6 +1659,206 @@ } /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using Xor operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testXorTextureFillUsingDiagonalGridTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingDiagonalGridTexture(image, graphics2d); + // create area using Xor operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingXorOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using union operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testUnionTextureFillUsingHorizontalStripesTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingHorizontalStripesTexture(image, graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingUnionOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSubtractTextureFillUsingHorizontalStripesTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingHorizontalStripesTexture(image, graphics2d); + // create area using subtract operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using inverse subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testInverseSubtractTextureFillUsingHorizontalStripesTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingHorizontalStripesTexture(image, graphics2d); + // create area using inverse subtract operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingInverseSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using Intersect operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testIntersectTextureFillUsingHorizontalStripesTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingHorizontalStripesTexture(image, graphics2d); + // create area using Intersect operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingIntersectOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using Xor operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testXorTextureFillUsingHorizontalStripesTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingHorizontalStripesTexture(image, graphics2d); + // create area using Xor operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingXorOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using union operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testUnionTextureFillUsingVerticalStripesTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingVerticalStripesTexture(image, graphics2d); + // create area using union operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingUnionOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** + * Checks the process of creating and rendering new geometric shape + * constructed from two concentric circles using subtract operator. The shape is rendered + * using texture paint (fill). + * + * @param image + * image to which area is to be drawn + * @param graphics2d + * graphics canvas + * @return test result status - PASSED, FAILED or ERROR + */ + public TestResult testSubtractTextureFillUsingVerticalStripesTexture(TestImage image, Graphics2D graphics2d) + { + // set stroke color + CommonRenderingStyles.setStrokeColor(graphics2d); + // set fill color + CommonRenderingStyles.setTextureFillUsingVerticalStripesTexture(image, graphics2d); + // create area using subtract operator + Area area = CommonCAGOperations.createAreaFromTwoConcentricCirclesUsingSubtractOperator(image); + // draw the area + graphics2d.fill(area); + // test result + return TestResult.PASSED; + } + + /** * Entry point to the test suite. * * @param args not used in this case From bugzilla-daemon at icedtea.classpath.org Fri Apr 25 17:34:43 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 25 Apr 2014 17:34:43 +0000 Subject: [Bug 1749] IcedTeaNPPlugin.cc:2030: bad printf specifier In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1749 Deepak Bhole changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|dbhole at redhat.com |jvanek at redhat.com -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From omajid at redhat.com Fri Apr 25 17:47:10 2014 From: omajid at redhat.com (Omair Majid) Date: Fri, 25 Apr 2014 13:47:10 -0400 Subject: [rfc][icedtea-web] Java 7 bump In-Reply-To: <767703801.6467128.1397746075681.JavaMail.zimbra@redhat.com> References: <53431771.2000300@redhat.com> <20140407213922.GM2293@redhat.com> <5343FF24.4010406@redhat.com> <874751430.4760647.1397509845682.JavaMail.zimbra@redhat.com> <20140414211739.GE2093@redhat.com> <767703801.6467128.1397746075681.JavaMail.zimbra@redhat.com> Message-ID: <20140425174710.GB30803@redhat.com> * Andrew Hughes [2014-04-17 10:47]: > My question was about 8 i.e. if I replaced a 7 installation with an 8 one, > after installing IcedTea-Web, would it still work? Or does IcedTea-Web need > to be recompiled? With 6 and 7, the situation was: If you built with 6, it would only work with 6. If you replaced the installation with 7, it would not work. I assume the same is still the case: if you build with 7 and then replace the installation with 8, it will not work. Thanks, Omair -- PGP Key: 66484681 (http://pgp.mit.edu/) Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681 From bugzilla-daemon at icedtea.classpath.org Fri Apr 25 18:26:26 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 25 Apr 2014 18:26:26 +0000 Subject: [Bug 1750] New: Arduino-ide crashes with SIGSEGV in libpthread.so Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1750 Bug ID: 1750 Summary: Arduino-ide crashes with SIGSEGV in libpthread.so Product: IcedTea Version: unspecified Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: IcedTea Assignee: gnu.andrew at redhat.com Reporter: andreas.angerer at hotmail.com CC: unassigned at icedtea.classpath.org Created attachment 1075 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1075&action=edit log file When running the arduino-ide and I want to open a file, or try to save a file, the ide crashes with following error (full log is attached): Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007fec22d4a414, pid=10732, tid=140650803918592 # # JRE version: OpenJDK Runtime Environment (7.0_51-b31) (build 1.7.0_51-b31) # Java VM: OpenJDK 64-Bit Server VM (24.51-b03 mixed mode linux-amd64 compressed oops) # Problematic frame: # C [libpthread.so.0+0xa414] pthread_mutex_lock+0x4 # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # An error report file with more information is saved as: # /tmp/hs_err_pid10732.log # # If you would like to submit a bug report, please include # instructions on how to reproduce the bug and visit: # http://icedtea.classpath.org/bugzilla # /usr/bin/arduino: Zeile 37: 10732 Abgebrochen java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel processing.app.Base "$@" -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Sat Apr 26 10:53:36 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Sat, 26 Apr 2014 10:53:36 +0000 Subject: [Bug 1751] New: eclipse closed when when suggestion box opened Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1751 Bug ID: 1751 Summary: eclipse closed when when suggestion box opened Product: IcedTea Version: unspecified Hardware: x86_64 OS: Linux Status: NEW Severity: major Priority: P5 Component: JamVM Assignee: xerxes at zafena.se Reporter: vvishnu.e at gmail.com CC: unassigned at icedtea.classpath.org Created attachment 1076 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1076&action=edit Log file Eclipse crashed when the suggestion box opened for auto complete # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007ff8dd428ed1, pid=561, tid=140708486600448 # # JRE version: OpenJDK Runtime Environment (7.0_51-b31) (build 1.7.0_51-b31) # Java VM: OpenJDK 64-Bit Server VM (24.51-b03 mixed mode linux-amd64 compressed oops) # Problematic frame: # C [libsoup-2.4.so.1+0x6eed1] soup_session_feature_detach+0x11 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ptisnovs at icedtea.classpath.org Mon Apr 28 08:17:52 2014 From: ptisnovs at icedtea.classpath.org (ptisnovs at icedtea.classpath.org) Date: Mon, 28 Apr 2014 08:17:52 +0000 Subject: /hg/gfx-test: Another ten new common test methods added into Bit... Message-ID: changeset 83144bf7e807 in /hg/gfx-test details: http://icedtea.classpath.org/hg/gfx-test?cmd=changeset;node=83144bf7e807 author: Pavel Tisnovsky date: Mon Apr 28 10:01:11 2014 +0200 Another ten new common test methods added into BitBltBufferedImageOp. diffstat: ChangeLog | 5 + src/org/gfxtest/testsuites/BitBltBufferedImageOp.java | 160 ++++++++++++++++++ 2 files changed, 165 insertions(+), 0 deletions(-) diffs (182 lines): diff -r ab8dd223de3b -r 83144bf7e807 ChangeLog --- a/ChangeLog Fri Apr 25 12:10:25 2014 +0200 +++ b/ChangeLog Mon Apr 28 10:01:11 2014 +0200 @@ -1,3 +1,8 @@ +2014-04-28 Pavel Tisnovsky + + * src/org/gfxtest/testsuites/BitBltBufferedImageOp.java: + Another ten new common test methods added into BitBltBufferedImageOp. + 2014-04-25 Pavel Tisnovsky * src/org/gfxtest/testsuites/CAGOperationsOnTwoConcentricCircles.java: diff -r ab8dd223de3b -r 83144bf7e807 src/org/gfxtest/testsuites/BitBltBufferedImageOp.java --- a/src/org/gfxtest/testsuites/BitBltBufferedImageOp.java Fri Apr 25 12:10:25 2014 +0200 +++ b/src/org/gfxtest/testsuites/BitBltBufferedImageOp.java Mon Apr 28 10:01:11 2014 +0200 @@ -1921,6 +1921,166 @@ } /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_4BYTE_ABGR}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltHorizontalColorStripesType4ByteABGR(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithHorizontalColorStripesImage(image, graphics2d, BufferedImage.TYPE_4BYTE_ABGR, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_4BYTE_ABGR_PRE}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltHorizontalColorStripesType4ByteABGR_Pre(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithHorizontalColorStripesImage(image, graphics2d, BufferedImage.TYPE_4BYTE_ABGR_PRE, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_BYTE_BINARY}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltHorizontalColorStripesTypeByteBinary(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithHorizontalColorStripesImage(image, graphics2d, BufferedImage.TYPE_BYTE_BINARY, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_BYTE_INDEXED}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltHorizontalColorStripesTypeByteIndexed(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithHorizontalColorStripesImage(image, graphics2d, BufferedImage.TYPE_BYTE_INDEXED, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_BYTE_GRAY}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltHorizontalColorStripesTypeByteGray(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithHorizontalColorStripesImage(image, graphics2d, BufferedImage.TYPE_BYTE_GRAY, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_INT_BGR}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltHorizontalColorStripesTypeIntBGR(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithHorizontalColorStripesImage(image, graphics2d, BufferedImage.TYPE_INT_BGR, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_INT_RGB}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltHorizontalColorStripesTypeIntRGB(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithHorizontalColorStripesImage(image, graphics2d, BufferedImage.TYPE_INT_RGB, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_INT_ARGB}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltHorizontalColorStripesTypeIntARGB(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithHorizontalColorStripesImage(image, graphics2d, BufferedImage.TYPE_INT_ARGB, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_INT_ARGB_PRE}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltHorizontalColorStripesTypeIntARGB_Pre(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithHorizontalColorStripesImage(image, graphics2d, BufferedImage.TYPE_INT_ARGB_PRE, rasterOp); + } + + /** + * Test basic BitBlt operation for buffered image with type {@link BufferedImage#TYPE_USHORT_555_RGB}. + * + * @param image + * image used as a destination for BitBlt-type operations + * @param graphics2d + * graphics canvas + * @param rasterOp + * selected raster operation + * @return test result status - PASSED, FAILED or ERROR + */ + protected TestResult doBitBltHorizontalColorStripesTypeUshort555RGB(TestImage image, Graphics2D graphics2d, BufferedImageOp rasterOp) + { + return CommonBitmapOperations.doBitBltTestWithHorizontalColorStripesImage(image, graphics2d, BufferedImage.TYPE_USHORT_555_RGB, rasterOp); + } + + /** * Entry point to the test suite. * * @param args not used in this case From aazores at redhat.com Mon Apr 28 19:38:29 2014 From: aazores at redhat.com (Andrew Azores) Date: Mon, 28 Apr 2014 15:38:29 -0400 Subject: [rfc][icedtea-web] replace jlabel by jeditorpane In-Reply-To: <534E98C7.7050106@redhat.com> References: <534E98C7.7050106@redhat.com> Message-ID: <535EAE35.1000007@redhat.com> On 04/16/2014 10:50 AM, Jiri Vanek wrote: > This small patch is replacing label - in our favorite Extendable > AppTrustWarningPanel by Jeditor pane. There is only reason for this. > To have The links clickable. Which would be necessary for case if > alaca or similar being rememberable and to moved forward to > AppTrustWarningPanel. > > Thoughts? I like the idea and I don't know of any better way to do it (which might just be because I don't know a lot about Swing still), and it looks fine as is, so okay by me. Thanks, -- Andrew A From aazores at redhat.com Mon Apr 28 19:47:19 2014 From: aazores at redhat.com (Andrew Azores) Date: Mon, 28 Apr 2014 15:47:19 -0400 Subject: [rfc][icedtea-web] conditional disabling of manifes tattributes In-Reply-To: <534FE270.3080402@redhat.com> References: <534691EA.8030606@redhat.com> <5346AE4A.9030106@redhat.com> <5347E911.8040707@redhat.com> <53481D05.3000802@redhat.com> <534D54E2.20500@redhat.com> <534E2C8A.5080009@redhat.com> <534E8D2C.3000204@redhat.com> <534E904B.3030004@redhat.com> <534EC1E6.8020804@redhat.com> <534FC129.8070301@redhat.com> <534FE270.3080402@redhat.com> Message-ID: <535EB047.9090909@redhat.com> On 04/17/2014 10:17 AM, Andrew Azores wrote: > On 04/17/2014 07:55 AM, Jiri Vanek wrote: >> On 04/16/2014 07:46 PM, Andrew Azores wrote: >>> On 04/16/2014 10:14 AM, Jiri Vanek wrote: >>>> On 04/16/2014 04:01 PM, Andrew Azores wrote: >>>>> On 04/16/2014 03:08 AM, Jiri Vanek wrote: >>>>>> On 04/15/2014 05:48 PM, Jiri Vanek wrote: >>>>>>> On 04/11/2014 06:49 PM, Andrew Azores wrote: >>>>>>>> On 04/11/2014 09:07 AM, Jiri Vanek wrote: >>>>>>>>> On 04/10/2014 04:44 PM, Andrew Azores wrote: >>>>>>>>>> On 04/10/2014 08:43 AM, Jiri Vanek wrote: >>>>>>>>>>> Hi! >>>>>>>>>>> >>>>>>>>>>> This patch can disable the check for new manifest attributes. >>>>>>>>>>> sevral motivations >>>>>>>>>>> - I hate this feature >>>>>>>>>>> - the remembering of this actions may take time to implement >>>>>>>>>>> - and the most important - the testsuite... >>>>>>>>>> >>>>>>>>>> Most important indeed. >>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> will go both head and 1.5. >>>>>>>>>>> >>>>>>>>>>> I'm hesitating whether to make this property public via >>>>>>>>>>> itw-settings... Well if so, then as >>>>>>>>>>> another changeset. Any opinion about publish it in >>>>>>>>>>> itw-settings? >>>>>>>>>>> >>>>>>>>>>> J >>>>>>>>>> >>>>>>>>>> Ok to push, so that we can clean up some of the noise in the >>>>>>>>>> test suite. >>>>>>>>>> >>>>>>>>>> RE putting it in itweb-settings - I think the cleanest way to >>>>>>>>>> do this, if it's to be done at >>>>>>>>>> all, is >>>>>>>>>> probably to add another security level. 'Minimal' or >>>>>>>>>> something perhaps? Because I don't >>>>>>>>>> think it >>>>>>>>>> makes sense to add it in as a checkbox, for example, and have >>>>>>>>>> it possible to set security to >>>>>>>>>> High, >>>>>>>>>> but disable manifest checks. I'm not sure if we really want >>>>>>>>>> to allow this, though. I can >>>>>>>>>> imagine >>>>>>>>>> most users leaving the security level at Minimal once they >>>>>>>>>> discover that this gives them the >>>>>>>>>> least >>>>>>>>>> amount of clicking to do before getting their applets to run :) >>>>>>>>> >>>>>>>>> >>>>>>>>> Oh yes, that can be correct thing to do. But looking to the >>>>>>>>> issue from this perspective, it is >>>>>>>>> NO-GO argument for it as it is done. Well all correct >>>>>>>>> applications should be updated to support >>>>>>>>> new attributes.. but the legaxy, and still used ones? >>>>>>> >>>>>>> I have pushed at the end. This shortcut for testsuite is needed. >>>>>>>>> >>>>>>>>> So I have another idea here - really extend >>>>>>>>> ExtendedAppletsSecurity, and to allow "do not check >>>>>>>>> manifest attributes" on the application/codebase - So all >>>>>>>>> those dialogs will be moreover >>>>>>>>> based on >>>>>>>>> your abstraction of Extended Applets security. Also remember >>>>>>>>> alaca checkbox issue will be solved >>>>>>>>> by this. >>>>>>>>> >>>>>>>>> Bu the extension of ExtendedAppletsSecurity will needed to be >>>>>>>>> done really carefully - and >>>>>>>>> prepared >>>>>>>>> before implementation. >>>>>>>>> >>>>>>>>> What do you think? >>>>>>>> >>>>>>>> Sounds like it could be a lot of work, but should be worthwhile >>>>>>>> in the end. I think it will be >>>>>>>> very >>>>>>>> nice if we can unify all of our dialogs like this so that they >>>>>>>> can all make use of the same >>>>>>>> remembered action storage. Or at least, the ones that need to >>>>>>>> be able to remember actions. I'm >>>>>>>> not >>>>>>>> sure about having the manifest attribute check be an option to >>>>>>>> be selected on the dialog though, >>>>>>>> even with an option to remember it... but maybe it's the right >>>>>>>> thing to do. It just seems like >>>>>>>> the >>>>>>>> dialogs are getting busier and busier and more confusing >>>>>>>> looking, but you're right that this >>>>>>>> option >>>>>>>> will (hopefully) be used mostly for allowing some old applets >>>>>>>> which haven't been updated to be >>>>>>>> used >>>>>>>> still. In that kind of situation, which I think is the target, >>>>>>>> then applying the setting to all >>>>>>>> applets/globally maybe isn't the right choice. So as ugly and >>>>>>>> cluttered as the UI might become, I >>>>>>>> suppose this really should be done on a per-applet basis (maybe >>>>>>>> in addition to having it >>>>>>>> configurable globally?). >>>>>>>> >>>>>>> >>>>>>> Hi attached patch is adding the basic support for multiple types >>>>>>> of actions. Well it apeared that >>>>>>> the implementation itself will be quit easy (if this approach >>>>>>> will be used) but most troubles will >>>>>>> be in itw-settings. The table will requires serious revork on >>>>>>> level of filtering, sorting, delting >>>>>>> and especially editing of first - action - column. >>>>>>> >>>>>>> General idea is - instead of one ExecuteAppletAction >>>>>>> unsignedAppletAction will be list of them, >>>>>>> encapsualted in AppletSecurityActions unsignedAppletAction; >>>>>>> In file it will be encoded instead of current one char, as >>>>>>> one-word string - see the tests. >>>>>>> To read/write the correct action for given type, there will be >>>>>>> set of getters/setters - tight now >>>>>>> there is >>>>>>> public ExecuteAppletAction getUnsignedAppletAction() { >>>>>>> + return getAction(0); >>>>>>> + } >>>>>>> + >>>>>>> + public void setUnsignedAppletAction(ExecuteAppletAction a) { >>>>>>> + actions.set(0,a); >>>>>>> + } >>>>>>> >>>>>>> And they will encapsulate the order in list. >>>>>>> >>>>>>> >>>>>>> If nothing else...This is nicely backward compatible, and >>>>>>> scaleable for growth of "remember me" >>>>>>> dialogs :) >>>>>>> >>>>>>> Once this is aproved -if ever - I will add few more "on top of >>>>>>> it" work like -table or rember for >>>>>>> ALACAto se hw it works - before push itself. >>>>>>> J. >>>>>>> >>>>>>> >>>>>> >>>>>> This is a bit better - get rid of paranoid constant of MAX_LENGTH. >>>>>> >>>>>> J. >>>>>> >>>>> >>>>> Just a few nits: >>>>> >>>>> - APPEXTSECunsetAppletActionNo should probably be renamed, why is >>>>> the 'No' there? >>>>> -- Should also be reworded, maybe "This applet has not been >>>>> visited before" >>>>> - AppletSecurityActions.fromString() - why 'break' on whitespace? >>>>> I can understand if it was only >>>>> internal whitespace, but even leading whitespace? eg the string " >>>>> A" means UNSET? Maybe do a >>>>> String#trim() first. >>>>> -- Please move the private empty constructor to the top of the >>>>> class as well >>>>> - ExecuteAppletAction.fromString() - the RuntimeException message >>>>> here should be reworded. >>>>> "Undefined zero-length ExecuteAppletAction String representation" ? >>>>> - ExecuteAppletAction should be refactored now that it has both a >>>>> toChar and fromChar. I would >>>>> suggest retaining the corresponding char as a field (so make a >>>>> one-arg constructor), then toChar >>>>> simply returns this and fromChar iterates over the enum values. If >>>>> there is a matching enum value's >>>>> char, return that enum value, otherwise return UNSET >>>>> - Rather than doing 'for (int i = 0; i < str.length(); i++)' and >>>>> 's.charAt(i)', how about for (char >>>>> ch : s.toCharArray())? >>>>> >>>>> Thanks, >>>>> >>>> >>>> And general approach? >>>> >>> >>> It seems okay, although I'm not sure I completely understand the >>> motivation behind it. Can you >>> explain more why we need to have this multiple-action structure? >> >> >> The main motivation is "rember checboxx" fro alaca - it is now not >> working, and It have to be working:) .Maybe more attributes-check >> deserve remember button. In all cases, the table would have same >> structure as have current ExtendedApplets security. So motivation is >> - instead of maintaining several tables, only one will be maintained, >> and will have several actions. >> >> Another approach may be to have really more columns ( I think I will >> handle it in this way in EAS itw-settings table) or to have really >> more tbales. >> >> Well more tbales is probably most readable for user. But it will be >> full of duplicitous! And also all the overhead, inter-processes >> locking, and whatever. I don't like this. >> >> >> Another is to have more columns. But we may face some problems in >> case of adding more even endless number of columns... >> >> So I chose this - change string in first column to keep more vlaues. >> And to dispaly it as several columns in itw-setting (but this may >> change, it if there will be tomuch of those small sub columns) >> >> >> J. > > Thanks for the clarification! Yes, I think this is a good enough > approach then. I don't like the sound of more tables either, and > although more columns might be more technically correct sounding, it > also means the table will become dominated by yes/no/always/never > columns, over and over again. Being able to mark them as present/not > present is nice. This way also seems easier for backward compatibility > than adding new columns, and easier as well if anyone ever wants to > edit the trust settings by hand (directly with a text editor) for some > reason. > > Thanks, > Is another version of this patch coming? Thanks, -- Andrew A From bugzilla-daemon at icedtea.classpath.org Tue Apr 29 08:38:05 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 29 Apr 2014 08:38:05 +0000 Subject: [Bug 1752] New: Eclipse crashed after system upgrade, and upgrade JVM. Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1752 Bug ID: 1752 Summary: Eclipse crashed after system upgrade, and upgrade JVM. Product: IcedTea Version: unspecified Hardware: x86 OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: IcedTea Assignee: gnu.andrew at redhat.com Reporter: dig271090 at gmail.com CC: unassigned at icedtea.classpath.org {{{ Linux damian-ubuntu 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:08:14 UTC 2014 i686 i686 i686 GNU/Linux Ubuntu 14.04 update from 13.10 }}} {{{ Eclipse Kepler, Eclipse sdk 4.4.2, PyDEV for Eclipse 3.4.1.201403181715, }}} {{{ [ damian: ~ ]$ eclipse Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar No bp log location saved, using default. [000:000] Cpu: 6.23.10, x2, 2000Mhz, 1946MB [000:002] Computer model: Not available [000:002] Browser XEmbed support present: 1 [000:002] Browser toolkit is Gtk2. [000:002] Using Gtk2 toolkit No bp log location saved, using default. [000:000] Cpu: 6.23.10, x2, 2000Mhz, 1946MB [000:000] Computer model: Not available [000:013] Warning(optionsfile.cc:47): Load: Could not open file, err=2 [000:028] No bp log location saved, using default. [000:029] Cpu: 6.23.10, x2, 2000Mhz, 1946MB [000:029] Computer model: Not available [000:029] Browser XEmbed support present: 1 [000:029] Browser toolkit is Gtk2. [000:029] Using Gtk2 toolkit [000:063] Warning(optionsfile.cc:47): Load: Could not open file, err=2 [000:064] No bp log location saved, using default. [000:065] Cpu: 6.23.10, x2, 2000Mhz, 1946MB [000:068] Computer model: Not available # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0xa801086d, pid=13190, tid=3075499776 # # JRE version: OpenJDK Runtime Environment (7.0_51-b31) (build 1.7.0_51-b31) # Java VM: OpenJDK Client VM (24.51-b03 mixed mode, sharing linux-x86 ) # Problematic frame: # C [libsoup-2.4.so.1+0x5486d] soup_session_feature_detach+0x1d # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # An error report file with more information is saved as: # /home/damian/hs_err_pid13190.log # # If you would like to submit a bug report, please include # instructions on how to reproduce the bug and visit: # http://icedtea.classpath.org/bugzilla # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # Przerwane (core dumped) }}} -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jvanek at redhat.com Tue Apr 29 12:29:09 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 29 Apr 2014 14:29:09 +0200 Subject: [rfc][icedtea-web] conditional disabling of manifes tattributes In-Reply-To: <535EB047.9090909@redhat.com> References: <534691EA.8030606@redhat.com> <5346AE4A.9030106@redhat.com> <5347E911.8040707@redhat.com> <53481D05.3000802@redhat.com> <534D54E2.20500@redhat.com> <534E2C8A.5080009@redhat.com> <534E8D2C.3000204@redhat.com> <534E904B.3030004@redhat.com> <534EC1E6.8020804@redhat.com> <534FC129.8070301@redhat.com> <534FE270.3080402@redhat.com> <535EB047.9090909@redhat.com> Message-ID: <535F9B15.1080300@redhat.com> On 04/28/2014 09:47 PM, Andrew Azores wrote: > On 04/17/2014 10:17 AM, Andrew Azores wrote: >> On 04/17/2014 07:55 AM, Jiri Vanek wrote: >>> On 04/16/2014 07:46 PM, Andrew Azores wrote: >>>> On 04/16/2014 10:14 AM, Jiri Vanek wrote: >>>>> On 04/16/2014 04:01 PM, Andrew Azores wrote: >>>>>> On 04/16/2014 03:08 AM, Jiri Vanek wrote: >>>>>>> On 04/15/2014 05:48 PM, Jiri Vanek wrote: >>>>>>>> On 04/11/2014 06:49 PM, Andrew Azores wrote: >>>>>>>>> On 04/11/2014 09:07 AM, Jiri Vanek wrote: >>>>>>>>>> On 04/10/2014 04:44 PM, Andrew Azores wrote: >>>>>>>>>>> On 04/10/2014 08:43 AM, Jiri Vanek wrote: >>>>>>>>>>>> Hi! >>>>>>>>>>>> >>>>>>>>>>>> This patch can disable the check for new manifest attributes. >>>>>>>>>>>> sevral motivations >>>>>>>>>>>> - I hate this feature >>>>>>>>>>>> - the remembering of this actions may take time to implement >>>>>>>>>>>> - and the most important - the testsuite... >>>>>>>>>>> >>>>>>>>>>> Most important indeed. >>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> will go both head and 1.5. >>>>>>>>>>>> >>>>>>>>>>>> I'm hesitating whether to make this property public via itw-settings... Well if so, then as >>>>>>>>>>>> another changeset. Any opinion about publish it in itw-settings? >>>>>>>>>>>> >>>>>>>>>>>> J >>>>>>>>>>> >>>>>>>>>>> Ok to push, so that we can clean up some of the noise in the test suite. >>>>>>>>>>> >>>>>>>>>>> RE putting it in itweb-settings - I think the cleanest way to do this, if it's to be done at >>>>>>>>>>> all, is >>>>>>>>>>> probably to add another security level. 'Minimal' or something perhaps? Because I don't >>>>>>>>>>> think it >>>>>>>>>>> makes sense to add it in as a checkbox, for example, and have it possible to set security to >>>>>>>>>>> High, >>>>>>>>>>> but disable manifest checks. I'm not sure if we really want to allow this, though. I can >>>>>>>>>>> imagine >>>>>>>>>>> most users leaving the security level at Minimal once they discover that this gives them the >>>>>>>>>>> least >>>>>>>>>>> amount of clicking to do before getting their applets to run :) >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Oh yes, that can be correct thing to do. But looking to the issue from this perspective, >>>>>>>>>> it is >>>>>>>>>> NO-GO argument for it as it is done. Well all correct applications should be updated to >>>>>>>>>> support >>>>>>>>>> new attributes.. but the legaxy, and still used ones? >>>>>>>> >>>>>>>> I have pushed at the end. This shortcut for testsuite is needed. >>>>>>>>>> >>>>>>>>>> So I have another idea here - really extend ExtendedAppletsSecurity, and to allow "do not >>>>>>>>>> check >>>>>>>>>> manifest attributes" on the application/codebase - So all those dialogs will be moreover >>>>>>>>>> based on >>>>>>>>>> your abstraction of Extended Applets security. Also remember alaca checkbox issue will be >>>>>>>>>> solved >>>>>>>>>> by this. >>>>>>>>>> >>>>>>>>>> Bu the extension of ExtendedAppletsSecurity will needed to be done really carefully - and >>>>>>>>>> prepared >>>>>>>>>> before implementation. >>>>>>>>>> >>>>>>>>>> What do you think? >>>>>>>>> >>>>>>>>> Sounds like it could be a lot of work, but should be worthwhile in the end. I think it will be >>>>>>>>> very >>>>>>>>> nice if we can unify all of our dialogs like this so that they can all make use of the same >>>>>>>>> remembered action storage. Or at least, the ones that need to be able to remember actions. I'm >>>>>>>>> not >>>>>>>>> sure about having the manifest attribute check be an option to be selected on the dialog >>>>>>>>> though, >>>>>>>>> even with an option to remember it... but maybe it's the right thing to do. It just seems like >>>>>>>>> the >>>>>>>>> dialogs are getting busier and busier and more confusing looking, but you're right that this >>>>>>>>> option >>>>>>>>> will (hopefully) be used mostly for allowing some old applets which haven't been updated to be >>>>>>>>> used >>>>>>>>> still. In that kind of situation, which I think is the target, then applying the setting to >>>>>>>>> all >>>>>>>>> applets/globally maybe isn't the right choice. So as ugly and cluttered as the UI might >>>>>>>>> become, I >>>>>>>>> suppose this really should be done on a per-applet basis (maybe in addition to having it >>>>>>>>> configurable globally?). >>>>>>>>> >>>>>>>> >>>>>>>> Hi attached patch is adding the basic support for multiple types of actions. Well it apeared >>>>>>>> that >>>>>>>> the implementation itself will be quit easy (if this approach will be used) but most >>>>>>>> troubles will >>>>>>>> be in itw-settings. The table will requires serious revork on level of filtering, sorting, >>>>>>>> delting >>>>>>>> and especially editing of first - action - column. >>>>>>>> >>>>>>>> General idea is - instead of one ExecuteAppletAction unsignedAppletAction will be list of >>>>>>>> them, >>>>>>>> encapsualted in AppletSecurityActions unsignedAppletAction; >>>>>>>> In file it will be encoded instead of current one char, as one-word string - see the tests. >>>>>>>> To read/write the correct action for given type, there will be set of getters/setters - >>>>>>>> tight now >>>>>>>> there is >>>>>>>> public ExecuteAppletAction getUnsignedAppletAction() { >>>>>>>> + return getAction(0); >>>>>>>> + } >>>>>>>> + >>>>>>>> + public void setUnsignedAppletAction(ExecuteAppletAction a) { >>>>>>>> + actions.set(0,a); >>>>>>>> + } >>>>>>>> >>>>>>>> And they will encapsulate the order in list. >>>>>>>> >>>>>>>> >>>>>>>> If nothing else...This is nicely backward compatible, and scaleable for growth of "remember me" >>>>>>>> dialogs :) >>>>>>>> >>>>>>>> Once this is aproved -if ever - I will add few more "on top of it" work like -table or >>>>>>>> rember for >>>>>>>> ALACAto se hw it works - before push itself. >>>>>>>> J. >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> This is a bit better - get rid of paranoid constant of MAX_LENGTH. >>>>>>> >>>>>>> J. >>>>>>> >>>>>> >>>>>> Just a few nits: >>>>>> >>>>>> - APPEXTSECunsetAppletActionNo should probably be renamed, why is the 'No' there? eh. yes the No should not be there. >>>>>> -- Should also be reworded, maybe "This applet has not been visited before" hm... no? This message appears when the action of this appelt was not taken before. Eg you visited it.may times) but suddenly alace attribute is modified - so suddenly new dialogue appears. >>>>>> - AppletSecurityActions.fromString() - why 'break' on whitespace? I can understand if it was only >>>>>> internal whitespace, but even leading whitespace? eg the string " A" means UNSET? Maybe do a oook. >>>>>> String#trim() first. hhmm. Well generally why not... >>>>>> -- Please move the private empty constructor to the top of the class as well ook. >>>>>> - ExecuteAppletAction.fromString() - the RuntimeException message here should be reworded. >>>>>> "Undefined zero-length ExecuteAppletAction String representation" ? ok :) >>>>>> - ExecuteAppletAction should be refactored now that it has both a toChar and fromChar. I would >>>>>> suggest retaining the corresponding char as a field (so make a one-arg constructor), then toChar >>>>>> simply returns this and fromChar iterates over the enum values. If there is a matching enum >>>>>> value's Personnaly I dont like enumerations with constructors. Unless there is reason, I would ratehr stay as it is. >>>>>> char, return that enum value, otherwise return UNSET I would like to throw rather Exception then UNSETon default char. >>>>>> - Rather than doing 'for (int i = 0; i < str.length(); i++)' and 's.charAt(i)', how about for >>>>>> (char >>>>>> ch : s.toCharArray())? >>>>>> generally does not meter, So why not. But t do not see difference. >>>>>> Thanks, >>>>>> >>>>> >>>>> And general approach? >>>>> >>>> >>>> It seems okay, although I'm not sure I completely understand the motivation behind it. Can you >>>> explain more why we need to have this multiple-action structure? >>> >>> >>> The main motivation is "rember checboxx" fro alaca - it is now not working, and It have to be >>> working:) .Maybe more attributes-check deserve remember button. In all cases, the table would >>> have same structure as have current ExtendedApplets security. So motivation is - instead of >>> maintaining several tables, only one will be maintained, and will have several actions. >>> >>> Another approach may be to have really more columns ( I think I will handle it in this way in EAS >>> itw-settings table) or to have really more tbales. >>> >>> Well more tbales is probably most readable for user. But it will be full of duplicitous! And also >>> all the overhead, inter-processes locking, and whatever. I don't like this. >>> >>> >>> Another is to have more columns. But we may face some problems in case of adding more even >>> endless number of columns... >>> >>> So I chose this - change string in first column to keep more vlaues. And to dispaly it as several >>> columns in itw-setting (but this may change, it if there will be tomuch of those small sub columns) >>> >>> >>> J. >> >> Thanks for the clarification! Yes, I think this is a good enough approach then. I don't like the >> sound of more tables either, and although more columns might be more technically correct sounding, >> it also means the table will become dominated by yes/no/always/never columns, over and over again. >> Being able to mark them as present/not present is nice. This way also seems easier for backward >> compatibility than adding new columns, and easier as well if anyone ever wants to edit the trust >> settings by hand (directly with a text editor) for some reason. >> >> Thanks, >> > > Is another version of this patch coming? > Well I had it not in plan, until rest will come. Some of the issues were fixed in next patches (where they gave much more sense), Or n gave sense now. As all except > >>>>>> char, return that enum value, otherwise return UNSET > I would like to throw rather Exception then UNSETon default char. are nits, then I would rather tun one more round before next version. thank you! Bets regards from CZ J. From jvanek at redhat.com Tue Apr 29 12:41:26 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 29 Apr 2014 14:41:26 +0200 Subject: [for-fun][icedtea-web] curl integration Message-ID: <535F9DF6.9030304@redhat.com> I was facing various bugs on https, and I have not seen way out. And I needed to workaround issues after, the jars are done, so this evil was done .. :) This patch is - after pure-java fails to download - trying curl the resource (by forking insecure curl process). Well it is working pretty fine :) (!!the security prompt is missing!!) Now i was enlighten - by Omair - and the workaround with SSLv2 handshake together with "trust all" (after a lot of security confirmations) temporal manager. So I will rather play with those two options. It should work for most cases. Anyway - this curl patch may be safety rope once everything else fails:) J. -------------- next part -------------- A non-text attachment was scrubbed... Name: curlIntegration.patch Type: text/x-patch Size: 21518 bytes Desc: not available URL: From dbhole at redhat.com Tue Apr 29 14:37:14 2014 From: dbhole at redhat.com (Deepak Bhole) Date: Tue, 29 Apr 2014 10:37:14 -0400 Subject: [for-fun][icedtea-web] curl integration In-Reply-To: <535F9DF6.9030304@redhat.com> References: <535F9DF6.9030304@redhat.com> Message-ID: <20140429143713.GH29693@redhat.com> * Jiri Vanek [2014-04-29 08:42]: > I was facing various bugs on https, and I have not seen way out. > > And I needed to workaround issues after, the jars are done, so this evil was done .. :) > > This patch is - after pure-java fails to download - trying curl the > resource (by forking insecure curl process). > > Well it is working pretty fine :) (!!the security prompt is missing!!) > > Now i was enlighten - by Omair - and the workaround with SSLv2 > handshake together with "trust all" (after a lot of security > confirmations) temporal manager. So I will rather play with those > two options. It should work for most cases. Anyway - this curl patch > may be safety rope once everything else fails:) > > > J. I'm not sure if calling external processes from a plugin (other than java :)) is a good idea. . For one, this is a Linux only solution and while we do not support Windows, I would like for us to not go out of our way to break it. . It adds a dependency on curl Is there no way to use a pure Java solution? Deepak > diff -r 3f9913affb06 netx/net/sourceforge/jnlp/cache/CURL.java > --- /dev/null Thu Jan 01 00:00:00 1970 +0000 > +++ b/netx/net/sourceforge/jnlp/cache/CURL.java Tue Apr 29 13:48:19 2014 +0200 > @@ -0,0 +1,43 @@ > +package net.sourceforge.jnlp.cache; > + > +import java.io.IOException; > +import java.net.URL; > +import java.net.URLConnection; > + > + > +public class CURL { > + > + public final URL url; > + public final boolean curl; > + private CURLConnection fakeConnection; > + > + public CURL(URL u, boolean c) { > + url = u; > + curl = c; > + } > + > + public CURL(URL u) { > + url = u; > + curl = false; > + } > + > + public URL getUrl() { > + return url; > + } > + > + public boolean isCurl() { > + return curl; > + } > + > + URLConnection openConnection() throws IOException { > + if (isCurl()){ > + if (fakeConnection == null){ > + fakeConnection = new CURLConnection(url); > + } > + return fakeConnection; > + } else { > + return url.openConnection(); > + } > + } > + > +} > diff -r 3f9913affb06 netx/net/sourceforge/jnlp/cache/CURLConnection.java > --- /dev/null Thu Jan 01 00:00:00 1970 +0000 > +++ b/netx/net/sourceforge/jnlp/cache/CURLConnection.java Tue Apr 29 13:48:19 2014 +0200 > @@ -0,0 +1,136 @@ > +package net.sourceforge.jnlp.cache; > + > +import java.io.BufferedInputStream; > +import java.io.BufferedReader; > +import java.io.FileOutputStream; > +import java.io.IOException; > +import java.io.InputStream; > +import java.io.InputStreamReader; > +import java.io.OutputStream; > +import java.net.URL; > +import java.net.URLConnection; > +import java.text.SimpleDateFormat; > +import java.util.ArrayList; > +import java.util.Date; > +import java.util.List; > + > + > +public class CURLConnection extends URLConnection{ > + > + private final URL setUrl; > + private List header; > + private Integer length; > + private SimpleDateFormat format = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss zzz"); > + private Date date ; > + > + public CURLConnection(URL u) { > + super(u); > + this.setUrl = u; > + } > + > + public List getHeader() throws IOException { > + if (header == null) { > + ProcessBuilder pb = new ProcessBuilder("curl", "-Ik", setUrl.toExternalForm()); > + Process p = pb.start(); > + BufferedReader r = new BufferedReader(new InputStreamReader(p.getInputStream())); > + header = new ArrayList<>(); > + while (true) { > + String s = r.readLine(); > + if (s == null) { > + break; > + } > + header.add(s.trim()); > + } > + } > + return header; > + } > + > + public int getLength() { > + if (length != null) { > + return length; > + } > + try { > + List l = getHeader(); > + for (String s : l) { > + if (s.toLowerCase().startsWith("content-length:")) { > + String sl = s.split(":\\s*")[1]; > + length = new Integer(sl); > + return length; > + } > + } > + return 0; > + } catch (Exception ex) { > + return 0; > + } > + > + } > + > + @Override > + public long getLastModified() { > + return getLastModifiedDate().getTime(); > + } > + > + > + private static final String lastModified="Last-Modified:".toLowerCase(); > + public Date getLastModifiedDate() { > + if (date != null) { > + return date; > + } > + try { > + List l = getHeader(); > + for (String s : l) { > + if (s.toLowerCase().startsWith(lastModified)) { > + String sl = s.substring(lastModified.length()).trim(); > + date = date = format.parse(sl); > + return date; > + } > + } > + return new Date(); > + } catch (Exception ex) { > + return new Date(); > + } > + > + } > + > + > + public InputStream read() throws IOException { > + ProcessBuilder pb = new ProcessBuilder("curl", "-k", setUrl.toExternalForm()); > + Process p = pb.start(); > + BufferedInputStream r = new BufferedInputStream(p.getInputStream()); > + return r; > + > + } > + > + @Override > + public InputStream getInputStream() throws IOException { > + return read(); > + } > + > + > + public static void main(String[] args) throws IOException { > + CURLConnection crl = new CURLConnection(new URL("https://rholm.corp.redhat.com:4443/contentstorage/Adapter/browserTest.jar")); > + System.out.println(crl.getLength()); > + System.out.println(crl.getLastModified()); > + InputStream input = crl.read(); > + OutputStream output = new FileOutputStream("/home/jvanek/Desktop/jar.jar"); > + byte[] buffer = new byte[256]; > + int bytesRead = 0; > + while ((bytesRead = input.read(buffer)) != -1) { > + output.write(buffer, 0, bytesRead); > + } > + } > + > + @Override > + public void connect() throws IOException { > + > + } > + > + @Override > + public int getContentLength() { > + return getLength(); > + } > + > + > + > + > +} > diff -r 3f9913affb06 netx/net/sourceforge/jnlp/cache/CacheEntry.java > --- a/netx/net/sourceforge/jnlp/cache/CacheEntry.java Tue Apr 15 11:32:02 2014 +0200 > +++ b/netx/net/sourceforge/jnlp/cache/CacheEntry.java Tue Apr 29 13:48:19 2014 +0200 > @@ -64,9 +64,9 @@ > * Initialize the cache entry data from a connection to the > * remote resource (does not store data). > */ > - void initialize(URLConnection connection) { > - long modified = connection.getLastModified(); > - long length = connection.getContentLength(); // an int > + void initialize(long lastModified, int ilength) { > + long modified = lastModified; > + long length = ilength; // an int > > properties.setProperty("content-length", Long.toString(length)); > properties.setProperty("last-modified", Long.toString(modified)); > @@ -107,14 +107,14 @@ > * @param connection a connection to the remote URL > * @return whether the cache contains the version > */ > - public boolean isCurrent(URLConnection connection) { > + public boolean isCurrent(long lastModified) { > boolean cached = isCached(); > > if (!cached) > return false; > > try { > - long remoteModified = connection.getLastModified(); > + long remoteModified = lastModified; > long cachedModified = Long.parseLong(properties.getProperty("last-modified")); > > if (remoteModified > 0 && remoteModified <= cachedModified) > diff -r 3f9913affb06 netx/net/sourceforge/jnlp/cache/CacheUtil.java > --- a/netx/net/sourceforge/jnlp/cache/CacheUtil.java Tue Apr 15 11:32:02 2014 +0200 > +++ b/netx/net/sourceforge/jnlp/cache/CacheUtil.java Tue Apr 29 13:48:19 2014 +0200 > @@ -258,7 +258,7 @@ > connection.connect(); > > CacheEntry entry = new CacheEntry(source, version); // could pool this > - boolean result = entry.isCurrent(connection); > + boolean result = entry.isCurrent(connection.getLastModified()); > > OutputController.getLogger().log("isCurrent: " + source + " = " + result); > > diff -r 3f9913affb06 netx/net/sourceforge/jnlp/cache/Resource.java > --- a/netx/net/sourceforge/jnlp/cache/Resource.java Tue Apr 15 11:32:02 2014 +0200 > +++ b/netx/net/sourceforge/jnlp/cache/Resource.java Tue Apr 29 13:48:19 2014 +0200 > @@ -72,7 +72,7 @@ > URL location; > > /** the location to use when downloading */ > - private URL downloadLocation; > + private CURL downloadLocation; > > /** the local file downloaded to */ > File localFile; > @@ -98,8 +98,8 @@ > /** > * Create a resource. > */ > - private Resource(URL location, Version requestVersion, UpdatePolicy updatePolicy) { > - this.location = location; > + private Resource(CURL location, Version requestVersion, UpdatePolicy updatePolicy) { > + this.location = location.getUrl(); > this.downloadLocation = location; > this.requestVersion = requestVersion; > this.updatePolicy = updatePolicy; > @@ -109,7 +109,7 @@ > * Return a shared Resource object representing the given > * location and version. > */ > - public static Resource getResource(URL location, Version requestVersion, UpdatePolicy updatePolicy) { > + public static Resource getResource(CURL location, Version requestVersion, UpdatePolicy updatePolicy) { > synchronized (resources) { > Resource resource = new Resource(location, requestVersion, updatePolicy); > > @@ -142,7 +142,7 @@ > * file name to support versioning and compression > * @return the url to use when downloading > */ > - public URL getDownloadLocation() { > + public CURL getDownloadLocation() { > return downloadLocation; > } > > @@ -150,7 +150,7 @@ > * Set the url to use for downloading the resource > * @param location > */ > - public void setDownloadLocation(URL location) { > + public void setDownloadLocation(CURL location) { > downloadLocation = location; > } > > diff -r 3f9913affb06 netx/net/sourceforge/jnlp/cache/ResourceTracker.java > --- a/netx/net/sourceforge/jnlp/cache/ResourceTracker.java Tue Apr 15 11:32:02 2014 +0200 > +++ b/netx/net/sourceforge/jnlp/cache/ResourceTracker.java Tue Apr 29 13:48:19 2014 +0200 > @@ -189,7 +189,7 @@ > OutputController.getLogger().log(OutputController.Level.ERROR_ALL, "Normalization of " + location.toString() + " have failed"); > OutputController.getLogger().log(ex); > } > - Resource resource = Resource.getResource(location, version, updatePolicy); > + Resource resource = Resource.getResource(new CURL(location), version, updatePolicy); > boolean downloaded = false; > > synchronized (resources) { > @@ -653,7 +653,7 @@ > > try { > // create out second in case in does not exist > - URL realLocation = resource.getDownloadLocation(); > + CURL realLocation = resource.getDownloadLocation(); > URLConnection con = realLocation.openConnection(); > con.addRequestProperty("Accept-Encoding", "pack200-gzip, gzip"); > > @@ -672,7 +672,7 @@ > realLocation + " (encoding : " + contentEncoding + ")"); > > boolean packgz = "pack200-gzip".equals(contentEncoding) || > - realLocation.getPath().endsWith(".pack.gz"); > + realLocation.getUrl().getPath().endsWith(".pack.gz"); > boolean gzip = "gzip".equals(contentEncoding); > > // It's important to check packgz first. If a stream is both > @@ -689,7 +689,7 @@ > CacheEntry downloadEntry = new CacheEntry(downloadLocation, resource.downloadVersion); > File finalFile = CacheUtil.getCacheFile(resource.location, resource.downloadVersion); // This is where extracted version will be, or downloaded file if not compressed. > > - if (!downloadEntry.isCurrent(con)) { > + if (!downloadEntry.isCurrent(con.getLastModified())) { > // Make sure we don't re-download the file. however it will wait as if it was downloading. > // (This is fine because file is not ready yet anyways) > byte buf[] = new byte[1024]; > @@ -714,7 +714,7 @@ > * If the file was compressed, uncompress it. > */ > if (packgz) { > - downloadEntry.initialize(con); > + downloadEntry.initialize(con.getLastModified(), con.getContentLength()); > GZIPInputStream gzInputStream = new GZIPInputStream(new FileInputStream(CacheUtil > .getCacheFile(downloadLocation, resource.downloadVersion))); > InputStream inputStream = new BufferedInputStream(gzInputStream); > @@ -729,7 +729,7 @@ > inputStream.close(); > gzInputStream.close(); > } else if (gzip) { > - downloadEntry.initialize(con); > + downloadEntry.initialize(con.getLastModified(), con.getContentLength()); > GZIPInputStream gzInputStream = new GZIPInputStream(new FileInputStream(CacheUtil > .getCacheFile(downloadLocation, resource.downloadVersion))); > InputStream inputStream = new BufferedInputStream(gzInputStream); > @@ -785,8 +785,31 @@ > File localFile = CacheUtil.getCacheFile(resource.location, resource.downloadVersion); > > // connect > - URL finalLocation = findBestUrl(resource); > + CURL finalLocation = findBestUrl(resource); > > + > + if (finalLocation == null) { > + DownloadOptions options = downloadOptions.get(resource); > + if (options == null) { > + options = new DownloadOptions(false, false); > + } > + OutputController.getLogger().log(OutputController.Level.ERROR_ALL, "Attempted to download " + resource.location + ", failed, trying curl"); > + List urls = new ResourceUrlCreator(resource, options).getUrls(); > + for (URL url : urls) { > + try { > + CURLConnection c = new CURLConnection(url); > + int l = c.getLength(); > + if (l > 0) { > + finalLocation = new CURL(url, true); > + OutputController.getLogger().log(OutputController.Level.MESSAGE_ALL, "Curl succeeded on " + url.toExternalForm() + ", using"); > + break; > + } > + } catch (Exception ex) { > + OutputController.getLogger().log(OutputController.Level.ERROR_DEBUG, ex); > + } > + } > + } > + > if (finalLocation == null) { > OutputController.getLogger().log(OutputController.Level.ERROR_ALL, "Attempted to download " + resource.location + ", but failed to connect!"); > throw new NullPointerException("finalLocation == null"); // Caught below > @@ -823,8 +846,9 @@ > } > > // update cache entry > - if (!current) > - entry.initialize(connection); > + if (!current) { > + entry.initialize(connection.getLastModified(), connection.getContentLength()); > + } > > entry.setLastUpdated(System.currentTimeMillis()); > entry.store(); > @@ -935,7 +959,7 @@ > * @param resource the resource > * @return the best URL, or null if all failed to resolve > */ > - URL findBestUrl(Resource resource) { > + CURL findBestUrl(Resource resource) { > DownloadOptions options = downloadOptions.get(resource); > if (options == null) { > options = new DownloadOptions(false, false); > @@ -967,9 +991,10 @@ > OutputController.getLogger().log(OutputController.Level.ERROR_DEBUG, "For " + resource.toString() + " the server returned " + response.result + " code for " + requestMethod + " request for " + url.toExternalForm()); > } else { > OutputController.getLogger().log(OutputController.Level.ERROR_DEBUG, "best url for " + resource.toString() + " is " + url.toString() + " by " + requestMethod); > - return url; /* This is the best URL */ > + return new CURL(url); /* This is the best URL */ > } > - } catch (IOException e) { > + //there can be various SSL exceptions which we cna survive > + } catch (Exception e) { > // continue to next candidate > OutputController.getLogger().log(OutputController.Level.ERROR_DEBUG, "While processing " + url.toString() + " by " + requestMethod + " for resource " + resource.toString() + " got " + e + ": "); > OutputController.getLogger().log(e); > diff -r 3f9913affb06 netx/net/sourceforge/jnlp/security/VariableX509TrustManagerJDK7.java > --- a/netx/net/sourceforge/jnlp/security/VariableX509TrustManagerJDK7.java Tue Apr 15 11:32:02 2014 +0200 > +++ b/netx/net/sourceforge/jnlp/security/VariableX509TrustManagerJDK7.java Tue Apr 29 13:48:19 2014 +0200 > @@ -37,14 +37,11 @@ > > package net.sourceforge.jnlp.security; > > -import java.lang.reflect.InvocationTargetException; > -import java.lang.reflect.Method; > import java.net.Socket; > import java.security.cert.CertificateException; > import java.security.cert.X509Certificate; > > import javax.net.ssl.SSLEngine; > -import javax.net.ssl.SSLSession; > import javax.net.ssl.SSLSocket; > import javax.net.ssl.X509ExtendedTrustManager; > > diff -r 3f9913affb06 tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java > --- a/tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java Tue Apr 15 11:32:02 2014 +0200 > +++ b/tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java Tue Apr 29 13:48:19 2014 +0200 > @@ -291,10 +291,10 @@ > versionedFileForServerWithoutHeader.createNewFile(); > > ResourceTracker rt = new ResourceTracker(); > - Resource r1 = Resource.getResource(testServer.getUrl(fileForServerWithHeader.getName()), null, UpdatePolicy.NEVER); > - Resource r2 = Resource.getResource(testServerWithBrokenHead.getUrl(fileForServerWithoutHeader.getName()), null, UpdatePolicy.NEVER); > - Resource r3 = Resource.getResource(testServer.getUrl(versionedFileForServerWithHeader.getName()), new Version("1.0"), UpdatePolicy.NEVER); > - Resource r4 = Resource.getResource(testServerWithBrokenHead.getUrl(versionedFileForServerWithoutHeader.getName()), new Version("1.0"), UpdatePolicy.NEVER); > + Resource r1 = Resource.getResource(new CURL(testServer.getUrl(fileForServerWithHeader.getName())), null, UpdatePolicy.NEVER); > + Resource r2 = Resource.getResource(new CURL(testServerWithBrokenHead.getUrl(fileForServerWithoutHeader.getName())), null, UpdatePolicy.NEVER); > + Resource r3 = Resource.getResource(new CURL(testServer.getUrl(versionedFileForServerWithHeader.getName())), new Version("1.0"), UpdatePolicy.NEVER); > + Resource r4 = Resource.getResource(new CURL(testServerWithBrokenHead.getUrl(versionedFileForServerWithoutHeader.getName())), new Version("1.0"), UpdatePolicy.NEVER); > assertOnServerWithHeader(rt.findBestUrl(r1)); > assertVersionedOneOnServerWithHeader(rt.findBestUrl(r3)); > assertOnServerWithoutHeader(rt.findBestUrl(r2)); > @@ -330,26 +330,26 @@ > > } > > - private void assertOnServerWithHeader(URL u) { > - assertCommonComponentsOfUrl(u); > - assertPort(u, testServer.getPort()); > + private void assertOnServerWithHeader(CURL u) { > + assertCommonComponentsOfUrl(u.getUrl()); > + assertPort(u.getUrl(), testServer.getPort()); > } > > - private void assertVersionedOneOnServerWithHeader(URL u) { > - assertCommonComponentsOfUrl(u); > - assertPort(u, testServer.getPort()); > - assertVersion(u); > + private void assertVersionedOneOnServerWithHeader(CURL u) { > + assertCommonComponentsOfUrl(u.getUrl()); > + assertPort(u.getUrl(), testServer.getPort()); > + assertVersion(u.getUrl()); > } > > - private void assertOnServerWithoutHeader(URL u) { > - assertCommonComponentsOfUrl(u); > - assertPort(u, testServerWithBrokenHead.getPort()); > + private void assertOnServerWithoutHeader(CURL u) { > + assertCommonComponentsOfUrl(u.getUrl()); > + assertPort(u.getUrl(), testServerWithBrokenHead.getPort()); > } > > - private void assertVersionedOneOnServerWithoutHeader(URL u) { > - assertCommonComponentsOfUrl(u); > - assertPort(u, testServerWithBrokenHead.getPort()); > - assertVersion(u); > + private void assertVersionedOneOnServerWithoutHeader(CURL u) { > + assertCommonComponentsOfUrl(u.getUrl()); > + assertPort(u.getUrl(), testServerWithBrokenHead.getPort()); > + assertVersion(u.getUrl()); > } > > private void assertCommonComponentsOfUrl(URL u) { > diff -r 3f9913affb06 tests/netx/unit/net/sourceforge/jnlp/cache/ResourceUrlCreatorTest.java > --- a/tests/netx/unit/net/sourceforge/jnlp/cache/ResourceUrlCreatorTest.java Tue Apr 15 11:32:02 2014 +0200 > +++ b/tests/netx/unit/net/sourceforge/jnlp/cache/ResourceUrlCreatorTest.java Tue Apr 29 13:48:19 2014 +0200 > @@ -22,12 +22,12 @@ > > private URL getResultUrl(String url, Version version, > boolean usePack /*use pack.gz suffix*/, boolean useVersion /*use version suffix*/) throws MalformedURLException { > - Resource resource = Resource.getResource(new URL(url), version, null); > + Resource resource = Resource.getResource(new CURL(new URL(url)), version, null); > return ResourceUrlCreator.getUrl(resource, usePack, useVersion); > } > > private URL getResultUrl(String url, Version version, DownloadOptions downloadOptions) throws MalformedURLException { > - Resource resource = Resource.getResource(new URL(url), version, null); > + Resource resource = Resource.getResource(new CURL(new URL(url)), version, null); > ResourceUrlCreator ruc = new ResourceUrlCreator(resource, downloadOptions); > return ruc.getVersionedUrl(); > } From omajid at redhat.com Tue Apr 29 15:25:10 2014 From: omajid at redhat.com (Omair Majid) Date: Tue, 29 Apr 2014 11:25:10 -0400 Subject: [for-fun][icedtea-web] curl integration In-Reply-To: <20140429143713.GH29693@redhat.com> References: <535F9DF6.9030304@redhat.com> <20140429143713.GH29693@redhat.com> Message-ID: <20140429152510.GE2297@redhat.com> * Deepak Bhole [2014-04-29 10:38]: > Is there no way to use a pure Java solution? The impression I got from the patch ("for-fun") is that it is a hacky temporary fix posted here just for completeness (and if someone needs this fixed urgently). It is not meant to be added to icedtea-web. The correct fix would be to handle all this through Java. It should be possible to; I pointed Jiri to the right bits yesterday. Anyway, please consider this another -1 for the patch in it's current form. Thanks, Omair -- PGP Key: 66484681 (http://pgp.mit.edu/) Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681 From jvanek at redhat.com Tue Apr 29 15:43:44 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 29 Apr 2014 17:43:44 +0200 Subject: [for-fun][icedtea-web] curl integration In-Reply-To: <20140429152510.GE2297@redhat.com> References: <535F9DF6.9030304@redhat.com> <20140429143713.GH29693@redhat.com> <20140429152510.GE2297@redhat.com> Message-ID: <535FC8B0.2000404@redhat.com> On 04/29/2014 05:25 PM, Omair Majid wrote: > * Deepak Bhole [2014-04-29 10:38]: >> Is there no way to use a pure Java solution? > cleaning the mist: this is not going to be pushed anywhere! > The impression I got from the patch ("for-fun") is that it is a hacky > temporary fix posted here just for completeness (and if someone needs > this fixed urgently). It is not meant to be added to icedtea-web. correct > > The correct fix would be to handle all this through Java. It should be > possible to; I pointed Jiri to the right bits yesterday. > double correct > Anyway, please consider this another -1 for the patch in it's current > form. And oook :) J. From dbhole at redhat.com Tue Apr 29 16:03:24 2014 From: dbhole at redhat.com (Deepak Bhole) Date: Tue, 29 Apr 2014 12:03:24 -0400 Subject: [for-fun][icedtea-web] curl integration In-Reply-To: <20140429152510.GE2297@redhat.com> References: <535F9DF6.9030304@redhat.com> <20140429143713.GH29693@redhat.com> <20140429152510.GE2297@redhat.com> Message-ID: <20140429160323.GJ29693@redhat.com> * Omair Majid [2014-04-29 11:25]: > * Deepak Bhole [2014-04-29 10:38]: > > Is there no way to use a pure Java solution? > > The impression I got from the patch ("for-fun") is that it is a hacky > temporary fix posted here just for completeness (and if someone needs > this fixed urgently). It is not meant to be added to icedtea-web. > > The correct fix would be to handle all this through Java. It should be > possible to; I pointed Jiri to the right bits yesterday. > Ah okay, sorry for the noise then :) Deepak > Anyway, please consider this another -1 for the patch in it's current > form. > > Thanks, > Omair > > -- > PGP Key: 66484681 (http://pgp.mit.edu/) > Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681 From aazores at redhat.com Tue Apr 29 19:15:33 2014 From: aazores at redhat.com (Andrew Azores) Date: Tue, 29 Apr 2014 15:15:33 -0400 Subject: [rfc][icedtea-web] multiple remember actions In-Reply-To: <5358CD17.6090501@redhat.com> References: <5358CD17.6090501@redhat.com> Message-ID: <535FFA55.8030107@redhat.com> On 04/24/2014 04:36 AM, Jiri Vanek wrote: > Hi! > > Based on previous two enhancements - [rfc][icedtea-web] replace jlabel > by jeditorpane and Re: [rfc][icedtea-web] conditional disabling of > manifes tattributes > > this is enabling to save matching alaca action > - benefits: one file, one lock , one id, one table, one metadata and > unlimited number of actions > - drawbacks - suspiciously simply, maybe not so transparent, once > more columns will be added, new editing > > The patch grown due to changed signatures of methods. I will try to > summarize: > > > * > netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletActionTableModel.java" > - original columnrnemaed to "Unsigned applet action" added "Library > action" column > - the value of those two columns is get from > source.getAppletSecurityActions().* methods > > * > netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java > - adapted "toString" method > - added unset to list of combobox values for first two columns cell > editors > - filter of "byValue" are now selecting via *or* - if any of action > have the desired value, then it is true See AppletSecurityActions comment about Iterable - if that advice is taken then it can be used here already. Rather than: + boolean r = false; + for (int i = 0; i < AppletSecurityActions.REMEBER_COLUMNS_COUNT; i++) { + ExecuteAppletAction o = (ExecuteAppletAction) entry.getModel().getValueAt(entry.getIdentifier(), i); + r = r || (o.equals(ExecuteAppletAction.ALWAYS) || o.equals(ExecuteAppletAction.NEVER)); + } + return r; perhaps: + for (int i = 0; i < AppletSecurityActions.REMEBER_COLUMNS_COUNT; i++) { + ExecuteAppletAction o = (ExecuteAppletAction) entry.getModel().getValueAt(entry.getIdentifier(), i); + if (o.equals(ExecuteAppletAction.ALWAYS) || o.equals(ExecuteAppletAction.NEVER)) { + return true; + } + } + return false; but this is mostly just stylistic. In the first case the parens around the second disjunction are also not really needed :) > > > * netx/net/sourceforge/jnlp/resources/Messages.properties" > - enabled date in SUnsignedAllowedBefore and SUnsignedRejectedBefore > - thsi was actualy doone in ocde. I do not know why this was forgotten) > - removed SAppletTitle - it was nasty :) > - added nnew name of column 1 and new name fornew column 2 "Missing Resource: APPEXTSECguiTableModelTableColumnActionUB" ? > > * netx/net/sourceforge/jnlp/resources/Messages_cs.properties > also removed SAppletTitle > > * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java > - added stup for return of international date (jnlpruntime is holding > the locales, thats why it its here) There is a trailing semicolon after the closing brace on this new function > > > * netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java > - showMatchingALACAttributePanel is receiving whole file (for > purposes of reuse in reusable dialogue)) instead of just file.title > > * netx/net/sourceforge/jnlp/security/SecurityDialogs.java few minor > warning-clean up which I could not look onto. > - showMatchingALACAttributePanel - to get file instead file.title and > adapted to new dialogue > - checking action for always/never > - using text for yes/no > - getting response > - storing response > > * > netx/net/sourceforge/jnlp/security/appletextendedsecurity/AppletSecurityActions.java > - allowed public access via set(int id) and get(int id) - needed for > generalization "Remember" misspelled as "Remeber" in constant name. Can this class be made to implement Iterable so getRealCount() + getAction(int) isn't the only way? > > * > netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionEntry.java > - changed signatures of : > ExecuteAppletAction getUnsignedAppletAction() -> > AppletSecurityActions getAppletSecurityActions() > - and > setUnsignedAppletAction(ExecuteAppletAction unsignedAppletAction) -> > etAppletSecurityActions(AppletSecurityActions actions) > > > * > netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionStorage.java > - added ID parameter to > getMatchingItem > getMatchingItemByDocumentBase > getMatchingItemByCodeBase > getMatchingItemByBases > - this is a bit unhappy. But th e mechanism needs to find strong > value first. So it mus know whichone it is looking fr :( so we cannot > jsut return Actions and select later ) > > * > netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java > - get and forward the ID parameter > - separated get action and get entry logic > - one bug fix - when somebody have visited applet, and have not > clicked remember, and later he selected remember for codebase, then > the "codebase" change never propagated. Now it does. > - forwarding correct id into depth > > > * > netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageExtendedImpl.java > - used the *or* action as in table > - made aware of columns abstraction > > * > netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java > - again propagated ID What is the use case for a null ID? IOW why Integer and not just int? It seems to me that in other places, the ID really just is an int as well... > > * > netx/net/sourceforge/jnlp/security/dialogs/MatchingALACAttributePanel.java > - moved to new impl into apptrustwarningpanel with other similar panels > > * > netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningDialog.java: > - added shower for MatchingAlaca > > * > netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningPanel.java > - added pluginbridge back - maybe best to o here is to abstract > getTitle() into jnlpfile. But as naother work... > > * > netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/MatchingALACAttributePanel.java: > - actual extension of AppTrustWarningPanel for matching alaca > - getAppletTitle is emty, as it is handle in plain text > > * > netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/PartiallySignedAppTrustWarningPanel.java > - removed duplicate code of getAppletTitle > - shown the date of action With the changed main text, the window is no longer tall enough on my setup. The last line of text has the bottom of it clipped off because it's too tall. I guess this is actually a problem with the parent class not setting its window size correctly. > > * > netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/UnsignedAppletTrustWarningDialog.java > - removed - this is actually bug. It should be removed when > generalized "remember" dialogue came in > > > * > netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/UnsignedAppletTrustWarningPanel.java > - shown the date of action > > > * > tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImplTest.java > - tests adapted to new ID style > - well righ now I realised the high-level of tests of new logic are > missing (I added the test datat but forgot to add also testcases ) - > well wil be added in next round > > > Thanx! > > J. There are a few spots with bad formatting eg one too many or one too few spaces of indent: - UnsignedAppletActionTableModel - AppletSecurityActions - MatchingALACAttributePanel please just "Fix Formatting" on at least these files before push. The "Unsigned action" classes should really be renamed now, and you even have a comment to this effect in UnsignedAppletActionEntry. Can this also be done? Maybe just as a separate changeset, but I do think it should be done. Overall okay I think, I can't find much to actually complain about in this one other than style nitpicks :D Thanks, -- Andrew A From bugzilla-daemon at icedtea.classpath.org Tue Apr 29 20:53:22 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 29 Apr 2014 20:53:22 +0000 Subject: [Bug 1753] New: [IcedTea7] Ant does not respect JAVA_HOME/jdk.home setting Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1753 Bug ID: 1753 Summary: [IcedTea7] Ant does not respect JAVA_HOME/jdk.home setting Product: IcedTea Version: 7-hg Hardware: all OS: All Status: NEW Severity: normal Priority: P5 Component: IcedTea Assignee: gnu.andrew at redhat.com Reporter: gnu.andrew at redhat.com CC: unassigned at icedtea.classpath.org cd .. && JAVA_HOME=/usr/lib/jvm/icedtea-6 /usr/bin/ant -Djavac.target=7 -Djavac.source=7 -Ddrops.dir=/java/devtools/share/jdk7-drops -Doutput.dir=/home/andrew/builder/icedtea7-2.5/jaxp -Djdk.home=/usr/lib/jvm/icedtea-6 -Dbootstrap.dir=/home/andrew/builder/icedtea7-2.5/langtools/dist/bootstrap all [echo] java.home=/usr/lib64/icedtea6/jre [echo] java.version=1.6.0_31 We need to set -Djava.home as well. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Tue Apr 29 20:53:57 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 29 Apr 2014 20:53:57 +0000 Subject: [Bug 1753] [IcedTea7] Ant does not respect JAVA_HOME/jdk.home setting In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1753 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Target Milestone|--- |2.5.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Tue Apr 29 20:59:50 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 29 Apr 2014 20:59:50 +0000 Subject: [Bug 1753] [IcedTea7] Ant does not respect JAVA_HOME/jdk.home setting In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1753 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jaxp?cmd=changeset;node=33912ce9492d author: andrew date: Tue Apr 29 21:54:36 2014 +0100 PR1753: Ant does not respect JAVA_HOME/jdk.home setting -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Tue Apr 29 21:00:07 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 29 Apr 2014 21:00:07 +0000 Subject: [Bug 1753] [IcedTea7] Ant does not respect JAVA_HOME/jdk.home setting In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1753 --- Comment #2 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jaxws?cmd=changeset;node=ef698865ff56 author: andrew date: Tue Apr 29 21:54:42 2014 +0100 PR1753: Ant does not respect JAVA_HOME/jdk.home setting -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 30 08:13:17 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 30 Apr 2014 08:13:17 +0000 Subject: [Bug 1729] Launch failure -- can't load jar file via https In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1729 JiriVanek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jvanek at redhat.com --- Comment #3 from JiriVanek --- hi! Can you try the solutions in https://bugzilla.redhat.com/show_bug.cgi?id=1089130 ? -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jvanek at redhat.com Wed Apr 30 12:47:13 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Wed, 30 Apr 2014 14:47:13 +0200 Subject: [rfc][icedtea-web] disconnecting httpurlconnections Message-ID: <5360F0D1.7060003@redhat.com> Hi! I started to tweek https, and I found,that no urlconnection (which is in 99% httpurlconnection) do not disconnect after calling url.openConnection(). Although after calling openConnection, the connection do not need to be in "open" state, nor individual operations needs to call manually connect() it should be disconnected (as the operations mostly call connect). Although it do not mind for http (to much), it meters for https connection a lot. I have tested this patch a lot, including manual testaces (and so eluminate and webex) and it seems to be not breaking anything. Thoughts? 1.5? J. -------------- next part -------------- A non-text attachment was scrubbed... Name: closinigConnections.patch Type: text/x-patch Size: 18750 bytes Desc: not available URL: From aazores at redhat.com Wed Apr 30 15:26:41 2014 From: aazores at redhat.com (Andrew Azores) Date: Wed, 30 Apr 2014 11:26:41 -0400 Subject: [rfc][icedtea-web] disconnecting httpurlconnections In-Reply-To: <5360F0D1.7060003@redhat.com> References: <5360F0D1.7060003@redhat.com> Message-ID: <53611631.3000701@redhat.com> On 04/30/2014 08:47 AM, Jiri Vanek wrote: > Hi! > > I started to tweek https, and I found,that no urlconnection (which is > in 99% httpurlconnection) do not disconnect after calling > url.openConnection(). > Although after calling openConnection, the connection do not need to > be in "open" state, nor individual operations needs to call manually > connect() it should be disconnected (as the operations mostly call > connect). > Although it do not mind for http (to much), it meters for https > connection a lot. > > I have tested this patch a lot, including manual testaces (and so > eluminate and webex) and it seems to be not breaking anything. > > > Thoughts? 1.5? > > > J. Seems to work for me too and I don't see any problems with the patch, so okay. I'm for backporting as well. As a side note, I had to use 'patch -p1' rather than 'hg import' due to trailing CR... are you using a different editor or diff tool now or something? Thanks, -- Andrew A From omajid at redhat.com Wed Apr 30 15:28:10 2014 From: omajid at redhat.com (Omair Majid) Date: Wed, 30 Apr 2014 11:28:10 -0400 Subject: [rfc][icedtea-web] disconnecting httpurlconnections In-Reply-To: <5360F0D1.7060003@redhat.com> References: <5360F0D1.7060003@redhat.com> Message-ID: <20140430152809.GE2047@redhat.com> * Jiri Vanek [2014-04-30 08:58]: > I started to tweek https, and I found,that no urlconnection (which > is in 99% httpurlconnection) do not disconnect after calling > url.openConnection(). That's intentional. Please see this old thread: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-February/021847.html Thanks, Omair -- PGP Key: 66484681 (http://pgp.mit.edu/) Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681 From jvanek at redhat.com Wed Apr 30 15:49:55 2014 From: jvanek at redhat.com (Jiri Vanek) Date: Wed, 30 Apr 2014 17:49:55 +0200 Subject: [rfc][icedtea-web] disconnecting httpurlconnections In-Reply-To: <20140430152809.GE2047@redhat.com> References: <5360F0D1.7060003@redhat.com> <20140430152809.GE2047@redhat.com> Message-ID: <53611BA3.5070505@redhat.com> On 04/30/2014 05:28 PM, Omair Majid wrote: > * Jiri Vanek [2014-04-30 08:58]: >> I started to tweek https, and I found,that no urlconnection (which >> is in 99% httpurlconnection) do not disconnect after calling >> url.openConnection(). > > That's intentional. Please see this old thread: > http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-February/021847.html > > Thanks, > Omair > Hmm. I was afraid of something like this. However. When the https connection is not closed, then the approach you suggested on java-project (nor my trust all certificates manager) do not work, when mixed with "correct" conenctions. J. From andrew at icedtea.classpath.org Wed Apr 30 17:07:29 2014 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 30 Apr 2014 17:07:29 +0000 Subject: /hg/visualvm: 3 new changesets Message-ID: changeset 0c205b349623 in /hg/visualvm details: http://icedtea.classpath.org/hg/visualvm?cmd=changeset;node=0c205b349623 author: Emmanuel Bourg date: Wed Apr 30 16:34:11 2014 +0200 Support VisualVM 1.3.6 and 1.3.7 changeset ecf252ba3462 in /hg/visualvm details: http://icedtea.classpath.org/hg/visualvm?cmd=changeset;node=ecf252ba3462 author: Emmanuel Bourg date: Wed Apr 30 17:06:27 2014 +0200 Updated Changelog, NEWS and INSTALL changeset 953bbe4db278 in /hg/visualvm details: http://icedtea.classpath.org/hg/visualvm?cmd=changeset;node=953bbe4db278 author: Andrew John Hughes date: Wed Apr 30 18:07:15 2014 +0100 Fix up NEWS and ChangeLog, add AUTHORS file and add missing versions to INSTALL. 2011-04-30 Andrew John Hughes * AUTHORS: Added. * ChangeLog: Fixed. * INSTALL: Add missing versions. * NEWS: Fixed. diffstat: AUTHORS | 9 ++++++++ ChangeLog | 43 ++++++++++++++++++++++++++++++++++++++++ INSTALL | 8 +++++- Makefile.am | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NEWS | 7 +++++- acinclude.m4 | 16 +++++++++++++- 6 files changed, 142 insertions(+), 5 deletions(-) diffs (263 lines): diff -r 15c584d48dc0 -r 953bbe4db278 AUTHORS --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/AUTHORS Wed Apr 30 18:07:15 2014 +0100 @@ -0,0 +1,9 @@ +The following people have made contibutions to this project. +Please keep this list in alphabetical order by surname. + +Emmanuel Bourg +Andrew John Hughes +Tomas Hurka +Matthias Klose +Omair Majid +Jiri Vanek diff -r 15c584d48dc0 -r 953bbe4db278 ChangeLog --- a/ChangeLog Wed Dec 14 11:10:15 2011 +0100 +++ b/ChangeLog Wed Apr 30 18:07:15 2014 +0100 @@ -1,3 +1,46 @@ +2011-04-30 Andrew John Hughes + + * AUTHORS: Added. + * ChangeLog: Fixed. + * INSTALL: Add missing versions. + * NEWS: Fixed. + +2014-04-30 Emmanuel Bourg + + * INSTALL: Update default version + and list new versions. + * NEWS: Updated. + +2014-04-30 Emmanuel Bourg + + * Makefile.am: + Handle VVVERSION_137, VVVERSION_136 and VVERSION_134. + (BASE_UPSTREAM_URL): Added. + (NETBEANS_711_PROFILER_URL): Likewise. + (NETBEANS_711_PROFILER_SRC_ZIP): Likewise. + (NETBEANS_711_PROFILER_SHA256SUM): Likewise. + (NETBEANS_731_PROFILER_URL): Likewise. + (NETBEANS_731_PROFILER_SRC_ZIP): Likewise. + (NETBEANS_731_PROFILER_SHA256SUM): Likewise. + (NETBEANS_741_PROFILER_URL): Likewise. + (NETBEANS_741_PROFILER_SRC_ZIP): Likewise. + (NETBEANS_741_PROFILER_SHA256SUM): Likewise. + (VISUALVM_134_URL): Likewise. + (VISUALVM_134_SRC_ZIP): Likewise. + (VISUALVM_134_SHA256SUM): Likewise. + (VISUALVM_136_URL): Likewise. + (VISUALVM_136_SRC_ZIP): Likewise. + (VISUALVM_136_SHA256SUM): Likewise. + (VISUALVM_137_URL): Likewise. + (VISUALVM_137_SRC_ZIP): Likewise. + (VISUALVM_137_SHA256SUM): Likewise. + * acinclude.m4: + (VV_CHECK_WITH_VISUALVM_VERSION): + Set DEFAULT_VERSION to 1.3.7. Add + conditionals for new versions. + (VV_CHECK_FOR_NETBEANS): Set + NB_PLATFORM for new versions. + 2011-12-14 Jiri Vanek * configure.ac: Bump to 1.4pre diff -r 15c584d48dc0 -r 953bbe4db278 INSTALL --- a/INSTALL Wed Dec 14 11:10:15 2011 +0100 +++ b/INSTALL Wed Apr 30 18:07:15 2014 +0100 @@ -15,13 +15,17 @@ $ make $ make install -The default version is currently 1.2.2. Supported versions +The default version is currently 1.3.7. Supported versions are: * 1.2.2 with NetBeans 6.8 * 1.3 with NetBeans 6.9 * 1.3.1 with NetBeans Platform 6.9.1 * 1.3.2 with NetBeans Platform 6.9.1 +* 1.3.3 with NetBeans Platform 7.0.1 +* 1.3.4 with NetBeans Platform 7.1.1 +* 1.3.6 with NetBeans Platform 7.3.1 +* 1.3.7 with NetBeans Platform 7.4.1 To build with a version other than the default, specify --with-visualvm-version=x where x is the version. @@ -53,4 +57,4 @@ * --with-visualvm-zip: The path to the appropriate VisualVM zip file to avoid downloading it. * --with-visualvm-version: Specify the version of VisualVM to build - from those supported. The default is 1.2.2. + from those supported. The default is 1.3.7. diff -r 15c584d48dc0 -r 953bbe4db278 Makefile.am --- a/Makefile.am Wed Dec 14 11:10:15 2011 +0100 +++ b/Makefile.am Wed Apr 30 18:07:15 2014 +0100 @@ -1,4 +1,5 @@ BASE_CLASSPATH_URL=http://icedtea.classpath.org/download/visualvm/ +BASE_UPSTREAM_URL=https://java.net/downloads/visualvm NETBEANS_68_PROFILER_URL = $(BASE_CLASSPATH_URL) NETBEANS_68_PROFILER_SRC_ZIP = netbeans-profiler-visualvm_release68.tar.gz @@ -20,6 +21,18 @@ NETBEANS_701_PROFILER_SRC_ZIP = netbeans-profiler-visualvm_release701.tar.gz NETBEANS_701_PROFILER_SHA256SUM = 0056c6b7da3fa9499b87319caa6b431b935b48f9579f7c94ec169777ecd2c238 +NETBEANS_711_PROFILER_URL = $(BASE_UPSTREAM_URL)/release134/ +NETBEANS_711_PROFILER_SRC_ZIP = netbeans-profiler-visualvm_release711.tar.gz +NETBEANS_711_PROFILER_SHA256SUM = ddca17aa2fc8350aff79c2f0561f204f3e58ef29ac693a25609ee485afbc8e69 + +NETBEANS_731_PROFILER_URL = $(BASE_UPSTREAM_URL)/release136/ +NETBEANS_731_PROFILER_SRC_ZIP = netbeans-profiler-visualvm_release731.tar.gz +NETBEANS_731_PROFILER_SHA256SUM = 3e2674de14a9104725e75db102a49684aa36b094bd61e1575502a0292f4c3802 + +NETBEANS_741_PROFILER_URL = $(BASE_UPSTREAM_URL)/release137/ +NETBEANS_741_PROFILER_SRC_ZIP = netbeans-profiler-visualvm_release741.tar.gz +NETBEANS_741_PROFILER_SHA256SUM = c3f2812c9d0ce2a1a3732f67a9104afcce62848bd990d5e75b1a4da7e883dabf + VISUALVM_122_URL = $(BASE_CLASSPATH_URL) VISUALVM_122_SRC_ZIP = visualvm_122-src.tar.gz VISUALVM_122_SHA256SUM = 1b1cd77354757d64ca902722bb9481e1292a88c4884ffea8af7bb47f8ae24af5 @@ -40,6 +53,54 @@ VISUALVM_133_SRC_ZIP = visualvm_133-src.tar.gz VISUALVM_133_SHA256SUM = 43f4d5c892d3654ada9d07f2a8dc1c1b98db671f558a5c7fa7e9db7e86b7ca81 +VISUALVM_134_URL = $(BASE_UPSTREAM_URL)/release134/ +VISUALVM_134_SRC_ZIP = visualvm_134-src.tar.gz +VISUALVM_134_SHA256SUM = 9c9d950338e0029484577edd255140f0dd28d33ebec7d20f953ad3e16f68ac61 + +VISUALVM_136_URL = $(BASE_UPSTREAM_URL)/release136/ +VISUALVM_136_SRC_ZIP = visualvm_136-src.tar.gz +VISUALVM_136_SHA256SUM = f7939435b9edf410ca1cbd6630945ef5753edfa58538a8c7d3ed11020dd44f42 + +VISUALVM_137_URL = $(BASE_UPSTREAM_URL)/release137/ +VISUALVM_137_SRC_ZIP = visualvm_137-src.tar.gz +VISUALVM_137_SHA256SUM = be68844bf107235414c758dae9748235e8a89c9cc0ddad924736f27769c050e3 + +if VVVERSION_137 + NETBEANS_PROFILER_URL=$(NETBEANS_741_PROFILER_URL) + NETBEANS_PROFILER_SRC_ZIP=$(NETBEANS_741_PROFILER_SRC_ZIP) + NETBEANS_PROFILER_SHA256SUM=$(NETBEANS_741_PROFILER_SHA256SUM) + VISUALVM_URL=$(VISUALVM_137_URL) + VISUALVM_SRC_ZIP=$(VISUALVM_137_SRC_ZIP) + VISUALVM_SHA256SUM=$(VISUALVM_137_SHA256SUM) + NBPLATFORM_DIR=netbeans/nbbuild/netbeans_visualvm/platform + NBBUILD_PROPERTIES=-Dpermit.jdk6.builds=true -Dpermit.jdk7.builds=true + ADDITIONAL_DIRS=profiler.oql profiler.snaptracer profiler.heapwalker + PROFILER=profiler +else +if VVVERSION_136 + NETBEANS_PROFILER_URL=$(NETBEANS_731_PROFILER_URL) + NETBEANS_PROFILER_SRC_ZIP=$(NETBEANS_731_PROFILER_SRC_ZIP) + NETBEANS_PROFILER_SHA256SUM=$(NETBEANS_731_PROFILER_SHA256SUM) + VISUALVM_URL=$(VISUALVM_136_URL) + VISUALVM_SRC_ZIP=$(VISUALVM_136_SRC_ZIP) + VISUALVM_SHA256SUM=$(VISUALVM_136_SHA256SUM) + NBPLATFORM_DIR=netbeans/nbbuild/netbeans_visualvm/platform + NBBUILD_PROPERTIES=-Dpermit.jdk6.builds=true -Dpermit.jdk7.builds=true + ADDITIONAL_DIRS=profiler.oql profiler.snaptracer profiler.heapwalker + PROFILER=profiler +else +if VVVERSION_134 + NETBEANS_PROFILER_URL=$(NETBEANS_711_PROFILER_URL) + NETBEANS_PROFILER_SRC_ZIP=$(NETBEANS_711_PROFILER_SRC_ZIP) + NETBEANS_PROFILER_SHA256SUM=$(NETBEANS_711_PROFILER_SHA256SUM) + VISUALVM_URL=$(VISUALVM_134_URL) + VISUALVM_SRC_ZIP=$(VISUALVM_134_SRC_ZIP) + VISUALVM_SHA256SUM=$(VISUALVM_134_SHA256SUM) + NBPLATFORM_DIR=netbeans/nbbuild/netbeans_visualvm/platform + NBBUILD_PROPERTIES=-Dpermit.jdk6.builds=true -Dpermit.jdk7.builds=true + ADDITIONAL_DIRS=profiler.oql + PROFILER=profiler +else if VVVERSION_133 NETBEANS_PROFILER_URL=$(NETBEANS_701_PROFILER_URL) NETBEANS_PROFILER_SRC_ZIP=$(NETBEANS_701_PROFILER_SRC_ZIP) @@ -98,6 +159,9 @@ endif endif endif +endif +endif +endif all: visualvm diff -r 15c584d48dc0 -r 953bbe4db278 NEWS --- a/NEWS Wed Dec 14 11:10:15 2011 +0100 +++ b/NEWS Wed Apr 30 18:07:15 2014 +0100 @@ -8,7 +8,12 @@ CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY +New in release 1.4 (2014-XX-XX): + +* Support for VisualVM 1.3.6 and 1.3.7 + New in release 1.3 (2011-12-14): + * Support for VisualVM 1.3.3 New in release 1.2 (2011-03-09): @@ -17,7 +22,6 @@ * All sources are now mirrored in classpath.org server * Make download only mirrored sources - New in release 1.1 (2011-01-11): * Support for VisualVM 1.3.1. @@ -27,6 +31,7 @@ * Add debugging information to the native shared libraries. * Provide uninstallation support. + New in release 1.0 (2010-09-08): * Separation of VisualVM build harness from IcedTea6. diff -r 15c584d48dc0 -r 953bbe4db278 acinclude.m4 --- a/acinclude.m4 Wed Dec 14 11:10:15 2011 +0100 +++ b/acinclude.m4 Wed Apr 30 18:07:15 2014 +0100 @@ -110,7 +110,7 @@ AC_DEFUN_ONCE([VV_CHECK_WITH_VISUALVM_VERSION], [ - DEFAULT_VERSION="1.2.2" + DEFAULT_VERSION="1.3.7" AC_MSG_CHECKING([which VisualVM version to build]) AC_ARG_WITH([visualvm-version], [AS_HELP_STRING(--with-visualvm-version,the VisualVM version to build (see Makefile.am))], @@ -130,6 +130,9 @@ AM_CONDITIONAL([VVVERSION_131], [test "$VVVERSION" = "1.3.1"]) AM_CONDITIONAL([VVVERSION_132], [test "$VVVERSION" = "1.3.2"]) AM_CONDITIONAL([VVVERSION_133], [test "$VVVERSION" = "1.3.3"]) + AM_CONDITIONAL([VVVERSION_134], [test "$VVVERSION" = "1.3.4"]) + AM_CONDITIONAL([VVVERSION_136], [test "$VVVERSION" = "1.3.6"]) + AM_CONDITIONAL([VVVERSION_137], [test "$VVVERSION" = "1.3.7"]) ]) AC_DEFUN_ONCE([VV_CHECK_FOR_NETBEANS], @@ -152,7 +155,13 @@ ]) AC_MSG_RESULT([${SYSTEM_NETBEANS_DIR}]) AC_SUBST(SYSTEM_NETBEANS_DIR) -if test "$VVVERSION" = "1.3.3"; then +if test "$VVVERSION" = "1.3.7"; then + NB_PLATFORM=platform18; +else if test "$VVVERSION" = "1.3.6"; then + NB_PLATFORM=platform18; +else if test "$VVVERSION" = "1.3.4"; then + NB_PLATFORM=platform14; +else if test "$VVVERSION" = "1.3.3"; then NB_PLATFORM=platform13; else if test "$VVVERSION" = "1.3.2"; then NB_PLATFORM=platform12; @@ -166,6 +175,9 @@ fi fi fi +fi +fi +fi if ! test -d ${SYSTEM_NETBEANS_DIR}/${NB_PLATFORM} ; then AC_MSG_ERROR([Couldn't find NetBeans platform directory: ${SYSTEM_NETBEANS_DIR}/${NB_PLATFORM}]) fi From bugzilla-daemon at icedtea.classpath.org Wed Apr 30 18:43:30 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 30 Apr 2014 18:43:30 +0000 Subject: [Bug 1729] Launch failure -- can't load jar file via https In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1729 --- Comment #4 from Jonathan Kamens --- Created attachment 1077 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1077&action=edit Java Console contents I tried clearing my IcedTea-Web cache as suggested in https://bugzilla.redhat.com/show_bug.cgi?id=1089130#c10 and it did not help. Log attached. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Apr 30 18:47:03 2014 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 30 Apr 2014 18:47:03 +0000 Subject: [Bug 1729] Launch failure -- can't load jar file via https In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1729 --- Comment #5 from Jonathan Kamens --- I also tried installing the new icedtea-web RPM there and clearing my icedtea-web cache again. That didn't help either. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: