From bugzilla-daemon at icedtea.classpath.org Wed Oct 5 20:51:11 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Oct 2016 20:51:11 +0000 Subject: [Bug 3190] New: JSObject.getWindow(null) NullPointerException Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3190 Bug ID: 3190 Summary: JSObject.getWindow(null) NullPointerException Product: IcedTea-Web Version: 1.6.2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: Plugin Assignee: jvanek at redhat.com Reporter: pdewacht at gmail.com CC: unassigned at icedtea.classpath.org A JSObject.getWindow(null) call results in a NullPointerException: Exception in thread "Processor" java.lang.NullPointerException at netscape.javascript.JSObject.getWindow(JSObject.java:278) at keytradebank.eidapplet.ReaderContext$Processor.run(ReaderContext.java:101) (This is an applet "in the wild", not my own code.) I'm not sure if there's a specification for this API, but this usage is shown in Oracle's documentation, e.g. in http://docs.oracle.com/javase/8/docs/technotes/guides/deploy/customized_loading.html JSObject window = JSObject.getWindow(null); window.call("someJavaScriptFunction", args); as well as in other documentation (e.g. http://webswing.org/2.4/app/jslink/), so I assume it works on other platforms. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aph at icedtea.classpath.org Thu Oct 6 15:14:41 2016 From: aph at icedtea.classpath.org (aph at icedtea.classpath.org) Date: Thu, 06 Oct 2016 15:14:41 +0000 Subject: /hg/icedtea7-forest/hotspot: 8167200: AArch64: Broken stack poin... Message-ID: changeset c7d4a58dc3b6 in /hg/icedtea7-forest/hotspot details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=c7d4a58dc3b6 author: aph date: Thu Oct 06 15:11:35 2016 +0000 8167200: AArch64: Broken stack pointer adjustment in interpreter Summary: Always adjust SP unconditionally Reviewed-by: dlong, kbarrett diffstat: src/cpu/aarch64/vm/templateTable_aarch64.cpp | 10 +++------- 1 files changed, 3 insertions(+), 7 deletions(-) diffs (26 lines): diff -r 8d4e845ef74b -r c7d4a58dc3b6 src/cpu/aarch64/vm/templateTable_aarch64.cpp --- a/src/cpu/aarch64/vm/templateTable_aarch64.cpp Wed Sep 28 07:45:01 2016 +0100 +++ b/src/cpu/aarch64/vm/templateTable_aarch64.cpp Thu Oct 06 15:11:35 2016 +0000 @@ -3779,19 +3779,15 @@ // allocate one if there's no free slot { - Label entry, loop, no_adjust; + Label entry, loop; // 1. compute new pointers // rsp: old expression stack top __ ldr(c_rarg1, monitor_block_bot); // c_rarg1: old expression stack bottom - __ sub(esp, esp, entry_size); // move expression stack top + __ sub(esp, esp, entry_size); // move expression stack top __ sub(c_rarg1, c_rarg1, entry_size); // move expression stack bottom __ mov(c_rarg3, esp); // set start value for copy loop __ str(c_rarg1, monitor_block_bot); // set new monitor block bottom - __ cmp(sp, c_rarg3); // Check if we need to move sp - __ br(Assembler::LO, no_adjust); // to allow more stack space - // for our new esp - __ sub(sp, sp, 2 * wordSize); - __ bind(no_adjust); + __ sub(sp, sp, entry_size); // make room for the monitor __ b(entry); // 2. move expression stack contents From bugzilla-daemon at icedtea.classpath.org Thu Oct 6 21:32:40 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 06 Oct 2016 21:32:40 +0000 Subject: [Bug 3193] New: [TRACKER] IcedTea 3.3.0 Release Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3193 Bug ID: 3193 Summary: [TRACKER] IcedTea 3.3.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 -- 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 Oct 6 21:32:53 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 06 Oct 2016 21:32:53 +0000 Subject: [Bug 3193] [TRACKER] IcedTea 3.3.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3193 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Target Milestone|--- |3.3.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 Oct 7 03:18:03 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 07 Oct 2016 03:18: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 ---------------------------------------------------------------------------- Blocks|2965 |3193 Target Milestone|3.2.0 |3.3.0 --- Comment #3 from Andrew John Hughes --- Delay to 3.3.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 Oct 7 03:18:03 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 07 Oct 2016 03:18:03 +0000 Subject: [Bug 2965] [TRACKER] IcedTea 3.2.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2965 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 Oct 7 03:18:03 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 07 Oct 2016 03:18:03 +0000 Subject: [Bug 3193] [TRACKER] IcedTea 3.3.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3193 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 Oct 7 03:18:48 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 07 Oct 2016 03:18:48 +0000 Subject: [Bug 2965] [TRACKER] IcedTea 3.2.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2965 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|1547 | -- 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 Oct 7 03:18:48 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 07 Oct 2016 03:18:48 +0000 Subject: [Bug 3193] [TRACKER] IcedTea 3.3.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3193 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |1547 -- 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 Oct 7 03:18:48 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 07 Oct 2016 03:18: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 ---------------------------------------------------------------------------- Blocks|2965 |3193 Target Milestone|3.2.0 |3.3.0 --- Comment #3 from Andrew John Hughes --- Moved to 3.3.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 Oct 7 03:20:12 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 07 Oct 2016 03:20:12 +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 ---------------------------------------------------------------------------- Blocks|1547 |3193 Target Milestone|3.2.0 |3.3.0 --- Comment #1 from Andrew John Hughes --- Move back to 3.3.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 Oct 7 03:20:12 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 07 Oct 2016 03:20:12 +0000 Subject: [Bug 3193] [TRACKER] IcedTea 3.3.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3193 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |1548 -- 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 Oct 7 03:20:12 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 07 Oct 2016 03:20:12 +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 ---------------------------------------------------------------------------- Depends on|1548 | -- 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 Oct 7 03:20:36 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 07 Oct 2016 03:20:36 +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.2.0 |3.3.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 Oct 7 03:20:47 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 07 Oct 2016 03:20:47 +0000 Subject: [Bug 3193] [TRACKER] IcedTea 3.3.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3193 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |1549 -- 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 Oct 7 03:20:47 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 07 Oct 2016 03:20:47 +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 ---------------------------------------------------------------------------- Blocks| |3193 -- 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 Oct 7 03:21:49 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 07 Oct 2016 03:21:49 +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 ---------------------------------------------------------------------------- Blocks| |1547 -- 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 Oct 7 03:21:49 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 07 Oct 2016 03:21:49 +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 ---------------------------------------------------------------------------- Depends on| |1548 -- 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 Oct 7 03:22:28 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 07 Oct 2016 03:22:28 +0000 Subject: [Bug 3188] spam In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3188 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |unassigned at icedtea.classpat | |h.org Component|Fields & Values |IcedTea Product|Bug Database |IcedTea Summary|Quickbooks Error Support |spam |Number(1.888)4*3*6*4111)) | |Quickbooks ERRor support | |Phone Number USA Quickbooks | |Pro Tech Support Phone | |Number Quickbooks technical | |Support Number | -- 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 Oct 7 03:22:42 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 07 Oct 2016 03:22:42 +0000 Subject: [Bug 3188] spam In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3188 --- Comment #1 from Andrew John Hughes --- spam -- 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 Oct 8 15:14:53 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Sat, 08 Oct 2016 15:14:53 +0000 Subject: [Bug 2942] 2.6.6 fails to build on arm with duplicate case value errors In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2942 Jacco Ligthart changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jacco at redsleeve.org --- Comment #4 from Jacco Ligthart --- Any updates on this? any hint on how to disable ARM32 JIT on openjdk-6 ? 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 bugzilla-daemon at icedtea.classpath.org Mon Oct 10 05:05:25 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 10 Oct 2016 05:05:25 +0000 Subject: [Bug 2942] 2.6.6 fails to build on arm with duplicate case value errors In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2942 --- Comment #5 from Andrew John Hughes --- Still waiting for Chris to post this patch... If it doesn't happen before the upcoming 2.6.7 release, I'll disable it by default. This bug is about IcedTea 2.x with OpenJDK 7. Are you experiencing the same issue with IcedTea 1.x & OpenJDK 6? -- 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 Oct 10 20:17:29 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 10 Oct 2016 20:17:29 +0000 Subject: [Bug 2942] 2.6.6 fails to build on arm with duplicate case value errors In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2942 --- Comment #6 from Jacco Ligthart --- I am rebuilding CentOS7 for the ARMv5 CPU. Their pre 8032051 SRPM (java-1.6.0-openjdk-1.6.0.38-1.13.10.0.el7_2.src.rpm) builded normal (after a small patch), the next update (java-1.6.0-openjdk-1.6.0.39-1.13.11.0.el7_2.src.rpm) results in: /builddir/build/BUILD/icedtea6-1.13.11/openjdk/hotspot/src/cpu/zero/vm/thumb2.cpp: In function 'void Thumb2_codegen(Thumb2_Info*, unsigned int)': /builddir/build/BUILD/icedtea6-1.13.11/openjdk/hotspot/src/cpu/zero/vm/thumb2.cpp:5123:7: error: duplicate case value case opc_fast_aldc_w: ^ /builddir/build/BUILD/icedtea6-1.13.11/openjdk/hotspot/src/cpu/zero/vm/thumb2.cpp:5122:7: error: previously used here case opc_return_register_finalizer: ^ /builddir/build/BUILD/icedtea6-1.13.11/openjdk/hotspot/src/cpu/zero/vm/thumb2.cpp:6397:7: error: duplicate case value case opc_return_register_finalizer: { ^ /builddir/build/BUILD/icedtea6-1.13.11/openjdk/hotspot/src/cpu/zero/vm/thumb2.cpp:6289:5: error: previously used here case opc_fast_aldc_w: ^ make[7]: Leaving directory `/builddir/build/BUILD/icedtea6-1.13.11/openjdk.build/hotspot/outputdir/linux_arm_zero/product' make[6]: Leaving directory `/builddir/build/BUILD/icedtea6-1.13.11/openjdk.build/hotspot/outputdir/linux_arm_zero/product' make[5]: Leaving directory `/builddir/build/BUILD/icedtea6-1.13.11/openjdk.build/hotspot/outputdir' make[4]: Leaving directory `/builddir/build/BUILD/icedtea6-1.13.11/openjdk/hotspot/make' make[7]: *** [thumb2.o] Error 1 make[6]: *** [the_vm] Error 2 make[5]: *** [productzero] Error 2 make[4]: *** [generic_buildzero] Error 2 make[3]: *** [productzero] Error 2 make[3]: Leaving directory `/builddir/build/BUILD/icedtea6-1.13.11/openjdk/hotspot/make' make[2]: *** [hotspot-build] Error 2 make[2]: Leaving directory `/builddir/build/BUILD/icedtea6-1.13.11/openjdk' make[1]: *** [build_product_image] Error 2 make[1]: Leaving directory `/builddir/build/BUILD/icedtea6-1.13.11/openjdk' make: *** [stamps/icedtea.stamp] Error 2 To me this looks so much alike the error reported by James, that I always assumed that this is the same issue. (and that you would be aware ...) -- 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 Oct 11 23:22:16 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 11 Oct 2016 23:22:16 +0000 Subject: [Bug 3196] New: [IcedTea6] ARM fails with duplicate case value errors Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3196 Bug ID: 3196 Summary: [IcedTea6] ARM fails with duplicate case value errors Product: IcedTea Version: 6-hg Hardware: arm 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 Clone of bug 2942 for IcedTea 1.x. -- 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 Oct 11 23:22:35 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 11 Oct 2016 23:22:35 +0000 Subject: [Bug 3196] [IcedTea6] ARM fails with duplicate case value errors In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3196 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Component|IcedTea |ARM Thumb2 JIT Assignee|gnu.andrew at redhat.com |chphilli 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 Tue Oct 11 23:23:40 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 11 Oct 2016 23:23:40 +0000 Subject: [Bug 2942] [IcedTea7] 2.6.6 fails to build on arm with duplicate case value errors In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2942 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|2.6.6 fails to build on arm |[IcedTea7] 2.6.6 fails to |with duplicate case value |build on arm with duplicate |errors |case value errors --- Comment #7 from Andrew John Hughes --- I have no means to build on ARM for IcedTea 1.x & 2.x, so those who do need to report it if something is broken. I've filed bug 3196 for this issue on IcedTea 1.x. -- 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 Oct 13 10:05:33 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 13 Oct 2016 10:05:33 +0000 Subject: [Bug 2088] ADOM II doesn't work In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2088 --- Comment #2 from JiriVanek --- Hello! I had digged in this a bit more and mst agree that it is bug deep in ITW. Adom is correctly requesting al permissions, all jars seems ot be correctly signed by same authority, all permissions are granted, but still at the end java.util throws that it do not have permissions. Also whan I extended set of sandbox permissions of ITW with logging permissions (and all other 50 adom needs) adom started. So obviously java itself is run in sandbox. On one side I'm afraid to touch those parts of ITW on second it is weird how the permissions ended. -- 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 Oct 13 10:17:32 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 13 Oct 2016 10:17:32 +0000 Subject: [Bug 2088] ADOM II doesn't work In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2088 --- Comment #3 from JiriVanek --- Hm. ANother strange thing. ITW is considering all jars - even the main jar of adom as unsigned. mAybe the signing period expired? -- 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 Oct 13 10:21:26 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 13 Oct 2016 10:21:26 +0000 Subject: [Bug 2088] ADOM II doesn't work In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2088 JiriVanek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |WONTFIX --- Comment #4 from JiriVanek --- jsut fyi - signature is from 2013 jar verified. Warning: This jar contains entries whose signer certificate has expired. This jar contains entries whose certificate chain is not validated. This jar contains signatures that does not include a timestamp. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2013-03-24) or after any future revocation date. I agree that ITW may at least produce better error messgae. Anyway for ths best fix is -nosecurit as in my first comment. Closing for now. -- 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 Oct 13 10:29:06 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 13 Oct 2016 10:29:06 +0000 Subject: [Bug 2088] ADOM II doesn't work In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2088 --- Comment #5 from JiriVanek --- The expiration message is hidden in certificate details. -- 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 icedtea.classpath.org Thu Oct 13 14:32:31 2016 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Thu, 13 Oct 2016 14:32:31 +0000 Subject: /hg/icedtea-web: Finished implementation of editor of state of r... Message-ID: changeset a566ba109c79 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=a566ba109c79 author: Jiri Vanek date: Thu Oct 13 16:36:55 2016 +0200 Finished implementation of editor of state of remembered dialogues * netx/net/sourceforge/jnlp/SecurityDesc.java: small fix - not enforcing array on input of method expecting ... type * netx/net/sourceforge/jnlp/controlpanel/ClassFinder.java: do not count interfaces as valid members * netx/net/sourceforge/jnlp/controlpanel/RemmeberableDialogueEditor.java: implemented missing code for Expert edit button and for combobox selection. Implemented save and close and close and cancel buttons. * netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletActionTableModel.java: highlighted some copying whew one would expect instance * netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java: gui creation moved to separate method, implemented reactions on RemmeberableDialogueEditor * netx/net/sourceforge/jnlp/resources/Messages.properties: added EPE group for RemmeberableDialogueEditor * netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageExtendedImpl.java: highlighted some copying whew one would expect instance * plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java: made deamon * tests/netx/unit/net/sourceforge/jnlp/controlpanel/ClassFinderTest.java: adapted to ignorance of interface diffstat: ChangeLog | 23 + netx/net/sourceforge/jnlp/SecurityDesc.java | 8 +- netx/net/sourceforge/jnlp/controlpanel/ClassFinder.java | 11 +- netx/net/sourceforge/jnlp/controlpanel/RemmeberableDialogueEditor.java | 95 +++- netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletActionTableModel.java | 4 +- netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java | 247 +++++---- netx/net/sourceforge/jnlp/resources/Messages.properties | 12 + netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java | 7 +- netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageExtendedImpl.java | 4 + plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java | 1 + tests/netx/unit/net/sourceforge/jnlp/controlpanel/ClassFinderTest.java | 5 +- 11 files changed, 277 insertions(+), 140 deletions(-) diffs (truncated from 752 to 500 lines): diff -r 34b7911de6aa -r a566ba109c79 ChangeLog --- a/ChangeLog Tue Mar 15 10:56:52 2016 +0100 +++ b/ChangeLog Thu Oct 13 16:36:55 2016 +0200 @@ -1,3 +1,26 @@ +2016-10-13 Jiri Vanek + + Finished implementation of editor of state of remembered dialogues + * netx/net/sourceforge/jnlp/SecurityDesc.java: small fix - not enforcing + array on input of method expecting ... type + * netx/net/sourceforge/jnlp/controlpanel/ClassFinder.java: + do not count interfaces as valid members + * netx/net/sourceforge/jnlp/controlpanel/RemmeberableDialogueEditor.java: + implemented missing code for Expert edit button and for combobox selection. + Implemented save and close and close and cancel buttons. + * netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletActionTableModel.java: + highlighted some copying whew one would expect instance + * netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java: + gui creation moved to separate method, implemented reactions on RemmeberableDialogueEditor + * netx/net/sourceforge/jnlp/resources/Messages.properties: + added EPE group for RemmeberableDialogueEditor + * netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageExtendedImpl.java: + highlighted some copying whew one would expect instance + * plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java: made deamon + * tests/netx/unit/net/sourceforge/jnlp/controlpanel/ClassFinderTest.java: + adapted to ignorance of interface + + 2016-03-15 Jiri Vanek * NEWS: mentioned PR2855 diff -r 34b7911de6aa -r a566ba109c79 netx/net/sourceforge/jnlp/SecurityDesc.java --- a/netx/net/sourceforge/jnlp/SecurityDesc.java Tue Mar 15 10:56:52 2016 +0100 +++ b/netx/net/sourceforge/jnlp/SecurityDesc.java Thu Oct 13 16:36:55 2016 +0200 @@ -155,11 +155,11 @@ */ private static Class urlPermissionClass = null; private static Constructor urlPermissionConstructor = null; - + static { try { urlPermissionClass = (Class) Class.forName("java.net.URLPermission"); - urlPermissionConstructor = urlPermissionClass.getDeclaredConstructor(new Class[] { String.class }); + urlPermissionConstructor = urlPermissionClass.getDeclaredConstructor(String.class); } catch (final ReflectiveOperationException | SecurityException e) { OutputController.getLogger().log(OutputController.Level.WARNING_DEBUG, "Exception while reflectively finding URLPermission - host is probably not running Java 8+"); OutputController.getLogger().log(OutputController.Level.WARNING_DEBUG, e); @@ -249,7 +249,7 @@ new PropertyPermission("swing.noxp", "read,write"), new PropertyPermission("swing.useSystemFontSettings", "read,write"), }; - + /** * Create a security descriptor. * @@ -386,7 +386,7 @@ for (final Permission permission : urlPermissions) { permissions.add(permission); } - + return permissions; } diff -r 34b7911de6aa -r a566ba109c79 netx/net/sourceforge/jnlp/controlpanel/ClassFinder.java --- a/netx/net/sourceforge/jnlp/controlpanel/ClassFinder.java Tue Mar 15 10:56:52 2016 +0100 +++ b/netx/net/sourceforge/jnlp/controlpanel/ClassFinder.java Thu Oct 13 16:36:55 2016 +0200 @@ -57,12 +57,13 @@ public static final String CUSTOM_CLASS_PATH_PROPERTY = "custom.class.path"; public static final String BOOT_CLASS_PATH_PROPERTY = "sun.boot.class.path"; - static public List> findAllMatchingTypes(Class toFind) { List> returnedClasses = new ArrayList<>(); Set foundClasses = walkClassPath(toFind); for (Class clazz : foundClasses) { - returnedClasses.add((Class) clazz); + if (!clazz.isInterface()) { + returnedClasses.add((Class) clazz); + } } return returnedClasses; } @@ -121,9 +122,9 @@ } static private Class determine(String name, Class toFind) { - if (name.contains("$")) { - return null; - } + if (name.contains("$")) { + return null; + } try { if (name.endsWith(".class")) { name = name.replace(".class", ""); diff -r 34b7911de6aa -r a566ba109c79 netx/net/sourceforge/jnlp/controlpanel/RemmeberableDialogueEditor.java --- a/netx/net/sourceforge/jnlp/controlpanel/RemmeberableDialogueEditor.java Tue Mar 15 10:56:52 2016 +0100 +++ b/netx/net/sourceforge/jnlp/controlpanel/RemmeberableDialogueEditor.java Thu Oct 13 16:36:55 2016 +0200 @@ -35,6 +35,7 @@ */ package net.sourceforge.jnlp.controlpanel; +import java.awt.Button; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; @@ -48,7 +49,9 @@ import javax.swing.JDialog; import javax.swing.JFrame; import javax.swing.JLabel; +import javax.swing.JOptionPane; import javax.swing.event.ListDataListener; +import net.sourceforge.jnlp.runtime.Translator; import net.sourceforge.jnlp.security.dialogs.remember.AppletSecurityActions; import net.sourceforge.jnlp.security.dialogs.remember.ExecuteAppletAction; import net.sourceforge.jnlp.security.dialogs.remember.RememberableDialog; @@ -64,11 +67,19 @@ private final List> allClasses; private final AppletSecurityActions actions; + private AppletSecurityActions result; + private final RemmeberableDialogueEditor self; + private final JFrame frame; + RemmeberableDialogueEditor(JFrame jFrame, boolean modal, Object dialogs) { super(jFrame, modal); + frame=jFrame; + this.setDefaultCloseOperation(JDialog.DO_NOTHING_ON_CLOSE); + self = this; actions = (AppletSecurityActions) dialogs; allClasses = ClassFinder.findAllMatchingTypes(RememberableDialog.class); recreateGui(); + this.setLocationRelativeTo(jFrame); } private void recreateGui() { @@ -76,13 +87,12 @@ final JDialog d = this; getContentPane().removeAll(); d.setLayout(new GridLayout(0, 4)); - - final List> addedBleClasses = new ArrayList<>(allClasses); - for (Map.Entry entry : entries) { - String dialog = entry.getKey(); - for (int i = 0; i < addedBleClasses.size(); i++) { - final Class get = addedBleClasses.get(i); + final List> addedableClasses = new ArrayList<>(allClasses); + for (final Map.Entry entry : entries) { + final String dialog = entry.getKey(); + for (int i = 0; i < addedableClasses.size(); i++) { + final Class get = addedableClasses.get(i); String s = get.getSimpleName(); if (s.equals(dialog)) { JButton bb = new JButton("-"); @@ -96,11 +106,38 @@ }); d.add(bb); d.add(new JLabel(entry.getKey())); - JComboBox cbb = new JComboBox(ExecuteAppletAction.values()); + final JComboBox cbb = new JComboBox(ExecuteAppletAction.values()); cbb.setSelectedItem(entry.getValue().getAction()); + cbb.addActionListener(new ActionListener() { + @Override + public void actionPerformed(ActionEvent e) { + actions.setAction(entry.getKey(), createRember((ExecuteAppletAction) cbb.getSelectedItem(), entry)); + } + + private SavedRememberAction createRember(ExecuteAppletAction nwValue, Map.Entry entry) { + return new SavedRememberAction(nwValue, entry.getValue().getSavedValue()); + } + }); d.add(cbb); - d.add(new JButton("Expert edit")); - addedBleClasses.remove(i); + JButton expertButton = new JButton(Translator.R("EPEexpert")); + expertButton.setToolTipText(Translator.R("EPEexpertHelp")); + expertButton.addActionListener(new ActionListener() { + @Override + public void actionPerformed(ActionEvent e) { + Object result = JOptionPane.showInputDialog(self.frame, entry.getValue().getSavedValue(), Translator.R("EPEexpertHint"), JOptionPane.YES_NO_OPTION, null, null, entry.getValue().getSavedValue()); + if (result != null) { + String s = result.toString(); + if (!s.trim().isEmpty()){ + actions.setAction(entry.getKey(), createRember(entry.getValue().getAction(), s)); + } + } + } + private SavedRememberAction createRember(ExecuteAppletAction action, String newValue) { + return new SavedRememberAction(action, newValue); + } + }); + d.add(expertButton); + addedableClasses.remove(i); i--; } } @@ -113,8 +150,8 @@ @Override public void setSelectedItem(Object anItem) { - for (int i = 0; i < addedBleClasses.size(); i++) { - Class get = addedBleClasses.get(i); + for (int i = 0; i < addedableClasses.size(); i++) { + Class get = addedableClasses.get(i); if (get.getSimpleName().equals(anItem)) { selected = get.getSimpleName(); } @@ -129,12 +166,12 @@ @Override public int getSize() { - return addedBleClasses.size(); + return addedableClasses.size(); } @Override public String getElementAt(int index) { - return addedBleClasses.get(index).getSimpleName(); + return addedableClasses.get(index).getSimpleName(); } @Override @@ -147,20 +184,50 @@ } }; + for (int x = 0; x < 4; x++) { + Button b = new Button(Translator.R("EPEhelp" + (x + 1))); + b.setEnabled(false); + d.add(b); + } final JComboBox cb = new JComboBox<>(model); JButton b = new JButton("+"); b.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { - actions.setAction(addedBleClasses.get(cb.getSelectedIndex()), new SavedRememberAction(ExecuteAppletAction.NEVER, ExecuteAppletAction.NEVER.toChar())); + if (cb.getSelectedIndex() < 0) { + return; + } + actions.setAction(addedableClasses.get(cb.getSelectedIndex()), new SavedRememberAction(ExecuteAppletAction.NEVER, ExecuteAppletAction.NEVER.toChar())); recreateGui(); } }); d.add(b); d.add(cb); + JButton save = new JButton(Translator.R("EPEsave")); + save.addActionListener(new ActionListener() { + @Override + public void actionPerformed(ActionEvent e) { + result = actions; + self.setVisible(false); + } + }); + d.add(save); + JButton cancel = new JButton(Translator.R("EPEcancel")); + cancel.addActionListener(new ActionListener() { + @Override + public void actionPerformed(ActionEvent e) { + result = null; + self.setVisible(false); + } + }); + d.add(cancel); d.pack(); } + public AppletSecurityActions getResult() { + return result; + } + } diff -r 34b7911de6aa -r a566ba109c79 netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletActionTableModel.java --- a/netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletActionTableModel.java Tue Mar 15 10:56:52 2016 +0100 +++ b/netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletActionTableModel.java Thu Oct 13 16:36:55 2016 +0200 @@ -113,7 +113,7 @@ @Override public Object getValueAt(int rowIndex, int columnIndex) { - + //tis returns copy, so we can save/cancel UnsignedAppletActionEntry source = back.toArray()[rowIndex]; if (columnIndex == 0) { return source.getAppletSecurityActions(); @@ -136,7 +136,7 @@ @Override public void setValueAt(final Object aValue, final int rowIndex, final int columnIndex) { final UnsignedAppletActionEntry source = back.toArray()[rowIndex]; - back.modify(source, columnIndex, aValue); + back.modify(source, columnIndex, aValue.toString()); } diff -r 34b7911de6aa -r a566ba109c79 netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java --- a/netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java Tue Mar 15 10:56:52 2016 +0100 +++ b/netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java Thu Oct 13 16:36:55 2016 +0200 @@ -37,12 +37,14 @@ import java.awt.BorderLayout; import java.awt.Component; +import java.awt.Container; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; +import java.awt.event.WindowEvent; import java.io.BufferedWriter; import java.io.File; import java.io.FileOutputStream; @@ -71,7 +73,6 @@ import javax.swing.JScrollPane; import javax.swing.JTabbedPane; import javax.swing.JTable; -import javax.swing.JTextArea; import javax.swing.JTextField; import javax.swing.LayoutStyle; import javax.swing.ListCellRenderer; @@ -165,6 +166,7 @@ } }); } + private final UnsignedAppletsTrustingListPanel self; public UnsignedAppletsTrustingListPanel(File globalSettings, File customSettings, DeploymentConfiguration conf) { customBackEnd = new UnsignedAppletActionStorageExtendedImpl(customSettings); @@ -173,24 +175,9 @@ globalModel = new UnsignedAppletActionTableModel(globalBackEnd); customFilter = new ByPermanencyFilter(customModel); globalFilter = new ByPermanencyFilter(globalModel); - initComponents(); - userTable.setRowSorter(customFilter); - globalTable.setRowSorter(globalFilter); + self=this; this.conf = conf; - AppletSecurityLevel gs = AppletSecurityLevel.getDefault(); - String s = conf.getProperty(DeploymentConfiguration.KEY_SECURITY_LEVEL); - if (s != null) { - gs = AppletSecurityLevel.fromString(s); - } - mainPolicyComboBox.setSelectedItem(gs); - userTable.getSelectionModel().addListSelectionListener(new SingleSelectionListenerImpl(userTable)); - globalTable.getSelectionModel().addListSelectionListener(new SingleSelectionListenerImpl(globalTable)); - - userTable.addKeyListener(new DeleteAdapter(userTable)); - globalTable.addKeyListener(new DeleteAdapter(globalTable)); - currentTable = userTable; - currentModel = customModel; - setButtons((!currentModel.back.isReadOnly())); + reloadGui(); } public static String appletItemsToCaption(List ii, String caption) { @@ -266,9 +253,9 @@ public final Component getListCellRendererComponent(final JList list, final Object value, final int index, final boolean isSelected, final boolean cellHasFocus) { - if (value != null) { - setToolTipText(value.toString()); - } + if (value != null) { + setToolTipText(value.toString()); + } return super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus); } @@ -282,15 +269,15 @@ userTable = createTable(customModel); globalTable = createTable(globalModel); helpButton = new JButton(); - mainPolicyComboBox = new JComboBox<>(new AppletSecurityLevel[] { - AppletSecurityLevel.DENY_ALL, - AppletSecurityLevel.DENY_UNSIGNED, - AppletSecurityLevel.ASK_UNSIGNED, - AppletSecurityLevel.ALLOW_UNSIGNED - }); + mainPolicyComboBox = new JComboBox<>(new AppletSecurityLevel[]{ + AppletSecurityLevel.DENY_ALL, + AppletSecurityLevel.DENY_UNSIGNED, + AppletSecurityLevel.ASK_UNSIGNED, + AppletSecurityLevel.ALLOW_UNSIGNED + }); mainPolicyComboBox.setSelectedItem(AppletSecurityLevel.getDefault()); mainPolicyComboBox.setRenderer(comboRendererWithToolTips); - + securityLevelLabel = new JLabel(); globalBehaviourLabel = new JLabel(); deleteTypeComboBox = new JComboBox<>(); @@ -365,27 +352,26 @@ } }); - securityLevelLabel.setText(Translator.R("APPEXTSECguiPanelSecurityLevel")); globalBehaviourLabel.setText(Translator.R("APPEXTSECguiPanelGlobalBehaviourCaption")); - deleteTypeComboBox.setModel(new DefaultComboBoxModel<>(new String[] { - Translator.R("APPEXTSECguiPanelDeleteMenuSelected"), - Translator.R("APPEXTSECguiPanelDeleteMenuAllA"), - Translator.R("APPEXTSECguiPanelDeleteMenuAllN"), - Translator.R("APPEXTSECguiPanelDeleteMenuAlly"), - Translator.R("APPEXTSECguiPanelDeleteMenuAlln"), - Translator.R("APPEXTSECguiPanelDeleteMenuAllAll")})); + deleteTypeComboBox.setModel(new DefaultComboBoxModel<>(new String[]{ + Translator.R("APPEXTSECguiPanelDeleteMenuSelected"), + Translator.R("APPEXTSECguiPanelDeleteMenuAllA"), + Translator.R("APPEXTSECguiPanelDeleteMenuAllN"), + Translator.R("APPEXTSECguiPanelDeleteMenuAlly"), + Translator.R("APPEXTSECguiPanelDeleteMenuAlln"), + Translator.R("APPEXTSECguiPanelDeleteMenuAllAll")})); deleteTypeComboBox.setRenderer(comboRendererWithToolTips); - viewFilter.setModel(new DefaultComboBoxModel<>(new String[] { - Translator.R("APPEXTSECguiPanelShowOnlyPermanent"), - Translator.R("APPEXTSECguiPanelShowOnlyTemporal"), - Translator.R("APPEXTSECguiPanelShowAll"), - Translator.R("APPEXTSECguiPanelShowOnlyPermanentA"), - Translator.R("APPEXTSECguiPanelShowOnlyPermanentN"), - Translator.R("APPEXTSECguiPanelShowOnlyTemporalY"), - Translator.R("APPEXTSECguiPanelShowOnlyTemporalN")})); + viewFilter.setModel(new DefaultComboBoxModel<>(new String[]{ + Translator.R("APPEXTSECguiPanelShowOnlyPermanent"), + Translator.R("APPEXTSECguiPanelShowOnlyTemporal"), + Translator.R("APPEXTSECguiPanelShowAll"), + Translator.R("APPEXTSECguiPanelShowOnlyPermanentA"), + Translator.R("APPEXTSECguiPanelShowOnlyPermanentN"), + Translator.R("APPEXTSECguiPanelShowOnlyTemporalY"), + Translator.R("APPEXTSECguiPanelShowOnlyTemporalN")})); viewFilter.setRenderer(comboRendererWithToolTips); deleteButton.setText(Translator.R("APPEXTSECguiPanelDeleteButton")); deleteButton.setToolTipText(Translator.R("APPEXTSECguiPanelDeleteButtonToolTip")); @@ -462,54 +448,54 @@ layout.setHorizontalGroup( layout.createParallelGroup(GroupLayout.Alignment.LEADING) .addGroup(GroupLayout.Alignment.TRAILING, layout.createSequentialGroup().addContainerGap() - .addGroup(layout.createParallelGroup(GroupLayout.Alignment.TRAILING) - .addComponent(mainTabPanel, GroupLayout.Alignment.LEADING, 0, 583, Short.MAX_VALUE) - .addComponent(globalBehaviourLabel, GroupLayout.Alignment.LEADING, 0, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) - .addGroup(GroupLayout.Alignment.LEADING, layout.createSequentialGroup() - .addComponent(securityLevelLabel, 0, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) - .addComponent(mainPolicyComboBox, 0, 474, Short.MAX_VALUE)) - .addGroup(GroupLayout.Alignment.LEADING, layout.createSequentialGroup() - .addComponent(addRowButton, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED) - .addComponent(validateTableButton, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED) - .addComponent(testUrlButton, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 94, Short.MAX_VALUE) - .addComponent(moveRowDownButton, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) - .addComponent(moveRowUpButton, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) - .addGroup(layout.createSequentialGroup() - .addGroup(layout.createParallelGroup(GroupLayout.Alignment.LEADING) - .addGroup(layout.createSequentialGroup() - .addComponent(deleteButton, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) - .addComponent(deleteTypeComboBox, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) - .addComponent(invertSelectionButton, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) - .addGroup(layout.createSequentialGroup() - .addComponent(askBeforeActionCheckBox, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) - .addComponent(filterRegexesCheckBox, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 93, Short.MAX_VALUE) - .addComponent(viewFilter, 0, GroupLayout.PREFERRED_SIZE, Short.MAX_VALUE))).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) - .addComponent(helpButton, GroupLayout.PREFERRED_SIZE, 108, GroupLayout.PREFERRED_SIZE))).addContainerGap())); + .addGroup(layout.createParallelGroup(GroupLayout.Alignment.TRAILING) + .addComponent(mainTabPanel, GroupLayout.Alignment.LEADING, 0, 583, Short.MAX_VALUE) + .addComponent(globalBehaviourLabel, GroupLayout.Alignment.LEADING, 0, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addGroup(GroupLayout.Alignment.LEADING, layout.createSequentialGroup() + .addComponent(securityLevelLabel, 0, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) + .addComponent(mainPolicyComboBox, 0, 474, Short.MAX_VALUE)) + .addGroup(GroupLayout.Alignment.LEADING, layout.createSequentialGroup() + .addComponent(addRowButton, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED) + .addComponent(validateTableButton, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED) + .addComponent(testUrlButton, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 94, Short.MAX_VALUE) + .addComponent(moveRowDownButton, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) + .addComponent(moveRowUpButton, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addGroup(layout.createSequentialGroup() + .addGroup(layout.createParallelGroup(GroupLayout.Alignment.LEADING) + .addGroup(layout.createSequentialGroup() + .addComponent(deleteButton, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) + .addComponent(deleteTypeComboBox, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) + .addComponent(invertSelectionButton, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addGroup(layout.createSequentialGroup() + .addComponent(askBeforeActionCheckBox, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) + .addComponent(filterRegexesCheckBox, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 93, Short.MAX_VALUE) + .addComponent(viewFilter, 0, GroupLayout.PREFERRED_SIZE, Short.MAX_VALUE))).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) + .addComponent(helpButton, GroupLayout.PREFERRED_SIZE, 108, GroupLayout.PREFERRED_SIZE))).addContainerGap())); layout.setVerticalGroup( layout.createParallelGroup(GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup().addContainerGap() - .addComponent(globalBehaviourLabel).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) - .addGroup(layout.createParallelGroup(GroupLayout.Alignment.LEADING) - .addComponent(securityLevelLabel) - .addComponent(mainPolicyComboBox, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)).addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) - .addGroup(layout.createParallelGroup(GroupLayout.Alignment.TRAILING) - .addGroup(layout.createSequentialGroup() - .addGroup(layout.createParallelGroup(GroupLayout.Alignment.LEADING, false) - .addComponent(deleteButton) - .addComponent(deleteTypeComboBox) From jvanek at icedtea.classpath.org Fri Oct 14 13:47:07 2016 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Fri, 14 Oct 2016 13:47:07 +0000 Subject: /hg/icedtea-web: 3 new changesets Message-ID: changeset e2b90cd3896f in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=e2b90cd3896f author: Jiri Vanek date: Fri Oct 14 14:10:48 2016 +0200 JVM recognition enhanced to find jdk9 and warn if jdk7 or older is found. RT jar checked only for jdk8 and lower changeset dcf563eb8da6 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=dcf563eb8da6 author: Jiri Vanek date: Fri Oct 14 15:24:18 2016 +0200 Enforced JDK8 or better for runtime and compile * Makefile.am: IT_LANGUAGE_SOURCE_VERSION, IT_CLASS_TARGET_VERSION) bumped to 8 * acinclude.m4: (IT_CHECK_JAVA_VERSION) modified to accept jdk9. Simplified. (IT_CHECK_FOR_JDK) changed directories to search for JDK, notably adding alternatives-defined JDK9 locations. * plugin/icedteanp/IcedTeaNPPlugin.cc: added records for version=8 * netx/net/sourceforge/jnlp/controlpanel/JVMPanel.java: jvm recognition made java9 aware * netx/net/sourceforge/jnlp/resources/Messages.properties: added corresponding messages changeset 806cd2465db5 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=806cd2465db5 author: Jiri Vanek date: Fri Oct 14 15:51:34 2016 +0200 Updated news for jdk8 and rememberable dialogues editor diffstat: ChangeLog | 15 ++ Makefile.am | 4 +- NEWS | 3 + acinclude.m4 | 24 ++-- netx/net/sourceforge/jnlp/controlpanel/JVMPanel.java | 90 ++++++++++++---- netx/net/sourceforge/jnlp/resources/Messages.properties | 6 + plugin/icedteanp/IcedTeaNPPlugin.cc | 2 + 7 files changed, 106 insertions(+), 38 deletions(-) diffs (380 lines): diff -r a566ba109c79 -r 806cd2465db5 ChangeLog --- a/ChangeLog Thu Oct 13 16:36:55 2016 +0200 +++ b/ChangeLog Fri Oct 14 15:51:34 2016 +0200 @@ -1,3 +1,18 @@ +2016-10-14 Jiri Vanek + + * NEWS: mentioned rememberable dialogues editor and jdk8 + +2016-10-14 Jiri Vanek + + Enforced JDK8 or better for runtime and compile + * Makefile.am: IT_LANGUAGE_SOURCE_VERSION, IT_CLASS_TARGET_VERSION) bumped to 8 + * acinclude.m4: (IT_CHECK_JAVA_VERSION) modified to accept jdk9. Simplified. + (IT_CHECK_FOR_JDK) changed directories to search for JDK, notably adding + alternatives-defined JDK9 locations. + * plugin/icedteanp/IcedTeaNPPlugin.cc: added records for version=1.8 + * netx/net/sourceforge/jnlp/controlpanel/JVMPanel.java: jvm recognition made java9 aware + * netx/net/sourceforge/jnlp/resources/Messages.properties: added corresponding messages + 2016-10-13 Jiri Vanek Finished implementation of editor of state of remembered dialogues diff -r a566ba109c79 -r 806cd2465db5 Makefile.am --- a/Makefile.am Thu Oct 13 16:36:55 2016 +0200 +++ b/Makefile.am Fri Oct 14 15:51:34 2016 +0200 @@ -125,8 +125,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=7 -export IT_CLASS_TARGET_VERSION=7 +export IT_LANGUAGE_SOURCE_VERSION=8 +export IT_CLASS_TARGET_VERSION=8 export IT_JAVACFLAGS=$(IT_JAVAC_SETTINGS) -source $(IT_LANGUAGE_SOURCE_VERSION) -target $(IT_CLASS_TARGET_VERSION) # diff -r a566ba109c79 -r 806cd2465db5 NEWS --- a/NEWS Thu Oct 13 16:36:55 2016 +0200 +++ b/NEWS Fri Oct 14 15:51:34 2016 +0200 @@ -9,6 +9,7 @@ CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY New in release 1.7 (2015-XX-XX): +* restricted to JDK8 and higher * all connection restrictions now consider also port * Enabled Entry-Point attribute check * permissions sandbox and signed app and unsigned app with permissions all-permissions now run in sandbox instead of not at all. @@ -37,6 +38,8 @@ - MatchingALACAttributePanel - UnsignedAppletTrustWarningPanel - PartiallySignedAppTrustWarningPanel +* Itw-settings + - All rememberable dialogues can have saved value modified * NetX - fixed issues with -html shortcuts - fixed issue with -html receiving garbage in width and height diff -r a566ba109c79 -r 806cd2465db5 acinclude.m4 --- a/acinclude.m4 Thu Oct 13 16:36:55 2016 +0200 +++ b/acinclude.m4 Fri Oct 14 15:51:34 2016 +0200 @@ -48,9 +48,9 @@ ]) if test -z "${SYSTEM_JDK_DIR}"; then 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.9.0-openjdk \ + /usr/lib/jvm/icedtea9 \ + /usr/lib/jvm/java-9-openjdk \ /usr/lib/jvm/java-1.8.0-openjdk \ /usr/lib/jvm/icedtea8 \ /usr/lib/jvm/java-8-openjdk \ @@ -98,7 +98,7 @@ # still not found? if test -z "${SYSTEM_JRE_DIR}" ; then # try modular, jdk9 or higher compliant - if test -d "${SYSTEM_JRE_DIR_MODULAR}" -a -f "${SYSTEM_JRE_DIR_MODULAR}/bin/java" -a -d "${SYSTEM_JRE_DIR_MODULAR}/lib/modules" ; then + if test -d "${SYSTEM_JRE_DIR_MODULAR}" -a -f "${SYSTEM_JRE_DIR_MODULAR}/bin/java" -a -e "${SYSTEM_JRE_DIR_MODULAR}/lib/modules" ; then SYSTEM_JRE_DIR="${SYSTEM_JRE_DIR_MODULAR}" fi fi @@ -775,7 +775,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 Java 1.7 VM)], + [AS_HELP_STRING(--with-java, specify location of the Java 1.8 or better VM)], [ JAVA="${withval}" ], @@ -789,7 +789,7 @@ AC_PATH_PROG(JAVA, "java") fi if test -z "${JAVA}"; then - AC_MSG_ERROR("A 1.7+-compatible Java VM is required.") + AC_MSG_ERROR("A 1.8+-compatible Java VM is required.") fi AC_MSG_RESULT(${JAVA}) AC_SUBST(JAVA) @@ -799,13 +799,12 @@ [ AC_REQUIRE([IT_FIND_JAVA]) AC_MSG_CHECKING([JDK version]) - JAVA_VERSION=`$JAVA -version 2>&1 | sed -n '1s/@<:@^"@:>@*"\(.*\)"$/\1/p'` + JAVA_VERSION=`$JAVA -version 2>&1` AC_MSG_RESULT($JAVA_VERSION) - HAVE_JAVA7=`echo $JAVA_VERSION | awk '{if ($(0) >= 1.7) print "yes"}'` - HAVE_JAVA8=`echo $JAVA_VERSION | awk '{if ($(0) >= 1.8) print "yes"}'` - HAVE_JAVA9=`echo $JAVA_VERSION | awk '{if ($(0) >= 1.9) print "yes"}'` - if test -z "$HAVE_JAVA7"; then - AC_MSG_ERROR([JDK7 or newer is required, detected was: $JAVA_VERSION]) + HAVE_JAVA8=`if echo $JAVA_VERSION | grep -q -e 1.8.0 ; then echo yes ; fi` + HAVE_JAVA9=`if echo $JAVA_VERSION | grep -q -e 1.9.0 -e \"9 -e "build 9" ; then echo yes ; fi ` + if test -z "$HAVE_JAVA8" -a -z "$HAVE_JAVA9"; then + AC_MSG_ERROR([JDK8 or newer is required, detected was: $JAVA_VERSION]) fi if ! test -z "$HAVE_JAVA8"; then VERSION_DEFS="-DHAVE_JAVA8" @@ -814,7 +813,6 @@ VERSION_DEFS="-DHAVE_JAVA9" fi AC_SUBST(VERSION_DEFS) - AM_CONDITIONAL([HAVE_JAVA7], test x"${HAVE_JAVA7}" = "xyes") AM_CONDITIONAL([HAVE_JAVA8], test x"${HAVE_JAVA8}" = "xyes") AM_CONDITIONAL([HAVE_JAVA9], test x"${HAVE_JAVA9}" = "xyes") ]) diff -r a566ba109c79 -r 806cd2465db5 netx/net/sourceforge/jnlp/controlpanel/JVMPanel.java --- a/netx/net/sourceforge/jnlp/controlpanel/JVMPanel.java Thu Oct 13 16:36:55 2016 +0200 +++ b/netx/net/sourceforge/jnlp/controlpanel/JVMPanel.java Fri Oct 14 15:51:34 2016 +0200 @@ -33,7 +33,7 @@ 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.controlpanel; import java.awt.Component; @@ -69,10 +69,12 @@ } public final String formattedText; public final STATE id; + private final String stds; - public JvmValidationResult(String formattedText, STATE id) { + public JvmValidationResult(String formattedText, STATE id, String stdouts) { this.id = id; this.formattedText = formattedText; + this.stds = stdouts; } } private final DeploymentConfiguration config; @@ -85,10 +87,10 @@ addComponents(); } - - void resetTestFieldArgumentsExec(){ + void resetTestFieldArgumentsExec() { testFieldArgumentsExec.setText(""); } + private void addComponents() { final JLabel description = new JLabel("" + Translator.R("CPJVMPluginArguments") + "
"); final JTextField testFieldArguments = new JTextField(25); @@ -96,15 +98,16 @@ testFieldArguments.getDocument().addDocumentListener(new DocumentAdapter(config, DeploymentConfiguration.KEY_PLUGIN_JVM_ARGUMENTS)); testFieldArguments.setText(config.getProperty(DeploymentConfiguration.KEY_PLUGIN_JVM_ARGUMENTS)); - final JLabel descriptionExec = new JLabel("" + Translator.R("CPJVMitwExec") + "
"); testFieldArgumentsExec = new JTextField(100); final JLabel validationResult = new JLabel(resetValidationResult(testFieldArgumentsExec.getText(), "", "CPJVMnone")); + validationResult.setToolTipText(""); final JCheckBox allowTypoTimeValidation = new JCheckBox(Translator.R("CPJVMPluginAllowTTValidation"), true); allowTypoTimeValidation.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { validationResult.setText(resetValidationResult(testFieldArgumentsExec.getText(), "", "CPJVMnone")); + validationResult.setToolTipText(""); } }); testFieldArgumentsExec.getDocument().addDocumentListener(new DocumentListener() { @@ -114,6 +117,7 @@ if (allowTypoTimeValidation.isSelected()) { JvmValidationResult s = validateJvm(testFieldArgumentsExec.getText()); validationResult.setText(resetValidationResult(testFieldArgumentsExec.getText(), s.formattedText, "CPJVMvalidated")); + validationResult.setToolTipText(s.stds); } } @@ -122,6 +126,7 @@ if (allowTypoTimeValidation.isSelected()) { JvmValidationResult s = validateJvm(testFieldArgumentsExec.getText()); validationResult.setText(resetValidationResult(testFieldArgumentsExec.getText(), s.formattedText, "CPJVMvalidated")); + validationResult.setToolTipText(s.stds); } } @@ -130,6 +135,7 @@ if (allowTypoTimeValidation.isSelected()) { JvmValidationResult s = validateJvm(testFieldArgumentsExec.getText()); validationResult.setText(resetValidationResult(testFieldArgumentsExec.getText(), s.formattedText, "CPJVMvalidated")); + validationResult.setToolTipText(s.stds); } } }); @@ -155,6 +161,7 @@ String olds = testFieldArgumentsExec.getText(); if (!nws.equals(olds)) { validationResult.setText(resetValidationResult(testFieldArgumentsExec.getText(), "", "CPJVMnone")); + validationResult.setToolTipText(""); } testFieldArgumentsExec.setText(nws); } @@ -167,6 +174,7 @@ public void actionPerformed(ActionEvent e) { JvmValidationResult s = validateJvm(testFieldArgumentsExec.getText()); validationResult.setText(resetValidationResult(testFieldArgumentsExec.getText(), s.formattedText, "CPJVMvalidated")); + validationResult.setToolTipText(s.stds); } }); @@ -215,7 +223,7 @@ public static JvmValidationResult validateJvm(String cmd) { if (cmd == null || cmd.trim().equals("")) { return new JvmValidationResult("" + Translator.R("CPJVMvalueNotSet") + "", - JvmValidationResult.STATE.EMPTY); + JvmValidationResult.STATE.EMPTY, ""); } String validationResult = ""; File jreDirFile = new File(cmd); @@ -235,15 +243,6 @@ latestOne = JvmValidationResult.STATE.NOT_VALID_JDK; } } - File rtFile = new File(cmd + File.separator + "lib" + File.separator + "rt.jar"); - if (rtFile.isFile()) { - validationResult += "" + Translator.R("CPJVMrtJar") + "
"; - } else { - validationResult += "" + Translator.R("CPJVMnoRtJar") + "
"; - if (latestOne != JvmValidationResult.STATE.NOT_DIR) { - latestOne = JvmValidationResult.STATE.NOT_VALID_JDK; - } - } ProcessBuilder sb = new ProcessBuilder(javaFile.getAbsolutePath(), "-version"); Process p = null; String processErrorStream = ""; @@ -268,32 +267,77 @@ if (latestOne != JvmValidationResult.STATE.NOT_DIR) { latestOne = JvmValidationResult.STATE.NOT_VALID_JDK; } - return new JvmValidationResult(validationResult, latestOne); + return new JvmValidationResult(validationResult, latestOne, ""); } - if (r.intValue() != 0) { + + String reportableOutputs = processErrorStream + "\n" + processStdOutStream; + + if (r != 0) { validationResult += "" + Translator.R("CPJVMnoSuccess") + ""; if (latestOne != JvmValidationResult.STATE.NOT_DIR) { latestOne = JvmValidationResult.STATE.NOT_VALID_JDK; } - return new JvmValidationResult(validationResult, latestOne); + return new JvmValidationResult(validationResult, latestOne, reportableOutputs); } + + boolean findRT = false; + + if (processErrorStream.contains("\"9") || processStdOutStream.contains("\"9") || processErrorStream.contains("build 9") || processStdOutStream.contains("build 9")) { + validationResult += "" + Translator.R("CPJVMjdk9") + "
"; + findRT = false; + } else if (processErrorStream.contains("1.8.0") || processStdOutStream.contains("1.8.0")) { + validationResult += "" + Translator.R("CPJVMjdk8") + "
"; + findRT = true; + } else if (processErrorStream.contains("1.7.0") || processStdOutStream.contains("1.7.0")) { + validationResult += "" + Translator.R("CPJVMjdk7") + "
"; + if (latestOne != JvmValidationResult.STATE.NOT_DIR) { + latestOne = JvmValidationResult.STATE.NOT_VALID_JDK; + findRT = true; + + } + } else if (processErrorStream.contains("1.6.0") || processStdOutStream.contains("1.6.0")) { + validationResult += "" + Translator.R("CPJVMjdk6") + "
"; + if (latestOne != JvmValidationResult.STATE.NOT_DIR) { + latestOne = JvmValidationResult.STATE.NOT_VALID_JDK; + findRT = true; + } + } else { + validationResult += "" + Translator.R("CPJVMjdk") + "
"; + if (latestOne != JvmValidationResult.STATE.NOT_DIR) { + latestOne = JvmValidationResult.STATE.NOT_VALID_JDK; + findRT = false; + } + } + + if (findRT) { + File rtFile = new File(cmd + File.separator + "lib" + File.separator + "rt.jar"); + if (rtFile.isFile()) { + validationResult += "" + Translator.R("CPJVMrtJar") + "
"; + } else { + validationResult += "" + Translator.R("CPJVMnoRtJar") + "
"; + if (latestOne != JvmValidationResult.STATE.NOT_DIR) { + latestOne = JvmValidationResult.STATE.NOT_VALID_JDK; + } + } + } + if (processErrorStream.contains("openjdk") || processStdOutStream.contains("openjdk")) { validationResult += "" + Translator.R("CPJVMopenJdkFound") + ""; - return new JvmValidationResult(validationResult, JvmValidationResult.STATE.VALID_JDK); + return new JvmValidationResult(validationResult, JvmValidationResult.STATE.VALID_JDK, reportableOutputs); } if (processErrorStream.contains("ibm") || processStdOutStream.contains("ibm")) { validationResult += "" + Translator.R("CPJVMibmFound") + ""; if (latestOne != JvmValidationResult.STATE.NOT_DIR) { latestOne = JvmValidationResult.STATE.NOT_VALID_JDK; } - return new JvmValidationResult(validationResult, latestOne); + return new JvmValidationResult(validationResult, latestOne, reportableOutputs); } if (processErrorStream.contains("gij") || processStdOutStream.contains("gij")) { validationResult += "" + Translator.R("CPJVMgijFound") + ""; if (latestOne != JvmValidationResult.STATE.NOT_DIR) { latestOne = JvmValidationResult.STATE.NOT_VALID_JDK; } - return new JvmValidationResult(validationResult, latestOne); + return new JvmValidationResult(validationResult, latestOne, reportableOutputs); } if (processErrorStream.contains("oracle") || processStdOutStream.contains("oracle") || processErrorStream.contains("java(tm)") || processStdOutStream.contains("java(tm)")) { @@ -301,10 +345,10 @@ if (latestOne != JvmValidationResult.STATE.NOT_DIR) { latestOne = JvmValidationResult.STATE.NOT_VALID_JDK; } - return new JvmValidationResult(validationResult, latestOne); + return new JvmValidationResult(validationResult, latestOne, reportableOutputs); } validationResult += "" + Translator.R("CPJVMstrangeProcess") + ""; - return new JvmValidationResult(validationResult, JvmValidationResult.STATE.NOT_VALID_JDK); + return new JvmValidationResult(validationResult, JvmValidationResult.STATE.NOT_VALID_JDK, reportableOutputs); } diff -r a566ba109c79 -r 806cd2465db5 netx/net/sourceforge/jnlp/resources/Messages.properties --- a/netx/net/sourceforge/jnlp/resources/Messages.properties Thu Oct 13 16:36:55 2016 +0200 +++ b/netx/net/sourceforge/jnlp/resources/Messages.properties Fri Oct 14 15:51:34 2016 +0200 @@ -605,6 +605,12 @@ CPJVMnotLaunched=Error, process was not launched, see console output for more info. CPJVMnoSuccess=Error, process have not ended successfully, see output for details, but your java is not set correctly. CPJVMopenJdkFound=Excellent, OpenJDK detected +CPJVMjdk5=JDK5 recognized. JDK7 and older are longer supported. +CPJVMjdk6=JDK6 recognized. JDK7 and older are longer supported. +CPJVMjdk7=JDK7 recognized. JDK7 and older are longer supported. +CPJVMjdk8=JDK8 recognized. Jdk8 and higher are supported +CPJVMjdk9=JDK9 recognized. Jdk8 and higher are supported +CPJVMjdk=Unknown version. Hard to judge support. See tooltip or console/standard output (depends on verbosity)for real version. CPJVMoracleFound=Great, Oracle java detected CPJVMibmFound=Good, IBM java detected CPJVMgijFound=Warning, gij detected diff -r a566ba109c79 -r 806cd2465db5 plugin/icedteanp/IcedTeaNPPlugin.cc --- a/plugin/icedteanp/IcedTeaNPPlugin.cc Thu Oct 13 16:36:55 2016 +0200 +++ b/plugin/icedteanp/IcedTeaNPPlugin.cc Fri Oct 14 15:51:34 2016 +0200 @@ -102,6 +102,7 @@ "application/x-java-applet;version=1.5:class,jar:IcedTea;" \ "application/x-java-applet;version=1.6:class,jar:IcedTea;" \ "application/x-java-applet;version=1.7:class,jar:IcedTea;" \ + "application/x-java-applet;version=1.8: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;" \ @@ -120,6 +121,7 @@ "application/x-java-bean;version=1.5:class,jar:IcedTea;" \ "application/x-java-bean;version=1.6:class,jar:IcedTea;" \ "application/x-java-bean;version=1.7:class,jar:IcedTea;" \ + "application/x-java-bean;version=1.8: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 bugzilla-daemon at icedtea.classpath.org Tue Oct 18 21:40:48 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 18 Oct 2016 21:40:48 +0000 Subject: [Bug 3193] [TRACKER] IcedTea 3.3.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3193 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |1748 -- 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 Oct 18 21:40:48 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 18 Oct 2016 21:40:48 +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 ---------------------------------------------------------------------------- Blocks|2965 |3193 Target Milestone|3.2.0 |3.3.0 --- Comment #7 from Andrew John Hughes --- Delay to at least 3.3.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 Oct 18 21:40:48 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 18 Oct 2016 21:40:48 +0000 Subject: [Bug 2965] [TRACKER] IcedTea 3.2.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2965 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|1748 | -- 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 redhat.com Tue Oct 18 21:58:45 2016 From: gnu.andrew at redhat.com (Andrew Hughes) Date: Tue, 18 Oct 2016 17:58:45 -0400 (EDT) Subject: Discontinuation of Support for IcedTea 1.x In-Reply-To: <1709822944.380348.1476827557599.JavaMail.zimbra@redhat.com> Message-ID: <957241673.380746.1476827925663.JavaMail.zimbra@redhat.com> Following the proposed end-of-life of OpenJDK upstream [0], we will be concluding support for the IcedTea 1.x series with the following upcoming releases: * 1.13.13, containing the October 2016 security updates in the upcoming OpenJDK 6 b41 release. * 1.14.0, based on the same b41 release but containing the changes from IcedTea 1.x HEAD which were thought too disruptive for the stable branch release. The remaining proposed changes for 1.14.0 will be reviewed and the more extensive tasks dropped, given the upcoming discontinuation of this major release series. Both releases are expected to happen before the end of the year (2016). There are no plans to produce backports of the security updates for January 2017 and beyond, either upstream in OpenJDK 6 or in IcedTea 1.x. Others are, of course, welcome to take over maintainership of IcedTea 1.x if they wish to do so. [0] http://mail.openjdk.java.net/pipermail/jdk6-dev/2016-October/003606.html Many thanks for your support over the years, -- Andrew :) Senior Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net) Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222 From bugzilla-daemon at icedtea.classpath.org Wed Oct 19 01:35:59 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 01:35:59 +0000 Subject: [Bug 3193] [TRACKER] IcedTea 3.3.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3193 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |1976 Depends on| |1982 -- 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 Oct 19 01:35:59 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 01:35:59 +0000 Subject: [Bug 1982] [IcedTea8] Support using the system installation of Gtk+ In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1982 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|2965 |3193 Target Milestone|3.2.0 |3.3.0 --- Comment #3 from Andrew John Hughes --- Delay to 3.3.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 Oct 19 01:35:58 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 01:35:58 +0000 Subject: [Bug 1976] [IcedTea8] Support using the system installation of Glib/GIO In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1976 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|2965 |3193 Target Milestone|3.2.0 |3.3.0 --- Comment #3 from Andrew John Hughes --- Delay to 3.3.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 Oct 19 01:35:58 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 01:35:58 +0000 Subject: [Bug 2965] [TRACKER] IcedTea 3.2.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2965 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|1976 | -- 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 Oct 19 01:43:51 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 01:43:51 +0000 Subject: [Bug 3193] [TRACKER] IcedTea 3.3.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3193 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |1778 -- 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 Oct 19 01:43:51 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 01:43:51 +0000 Subject: [Bug 2965] [TRACKER] IcedTea 3.2.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2965 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|1778 | -- 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 Oct 19 01:43:51 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 01:43:51 +0000 Subject: [Bug 1778] [IcedTea8] Allow an alternate JAR program to be used In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1778 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|2965 |3193 Target Milestone|3.2.0 |3.3.0 --- Comment #4 from Andrew John Hughes --- Delay to 3.3.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 Oct 19 01:44:31 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 01:44:31 +0000 Subject: [Bug 3193] [TRACKER] IcedTea 3.3.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3193 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |1993 -- 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 Oct 19 01:44:31 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 01:44:31 +0000 Subject: [Bug 2965] [TRACKER] IcedTea 3.2.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2965 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|1993 | -- 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 Oct 19 01:44:31 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 01:44:31 +0000 Subject: [Bug 1993] [IcedTea8] Support retrieving proxy settings on GNOME 3 In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1993 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|2965 |3193 Target Milestone|3.2.0 |3.3.0 --- Comment #3 from Andrew John Hughes --- Move to 3.3.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 Oct 19 01:46:00 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 01:46:00 +0000 Subject: [Bug 3193] [TRACKER] IcedTea 3.3.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3193 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |2290 -- 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 Oct 19 01:46:00 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 01:46:00 +0000 Subject: [Bug 2965] [TRACKER] IcedTea 3.2.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2965 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|2290 | -- 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 Oct 19 01:46:00 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 01:46:00 +0000 Subject: [Bug 2290] [IcedTea8] 6730740 is incorrect In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2290 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|2965 |3193 --- Comment #2 from Andrew John Hughes --- Delay to 3.3.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 Oct 19 01:46:17 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 01:46:17 +0000 Subject: [Bug 3193] [TRACKER] IcedTea 3.3.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3193 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |2928 -- 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 Oct 19 01:46:17 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 01:46:17 +0000 Subject: [Bug 2928] [IcedTea8] Remove libXt dependency if possible In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2928 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|2965 |3193 Target Milestone|3.2.0 |3.3.0 --- Comment #2 from Andrew John Hughes --- Delay to 3.3.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 Oct 19 01:46:17 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 01:46:17 +0000 Subject: [Bug 2965] [TRACKER] IcedTea 3.2.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2965 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|2928 | -- 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 Oct 19 01:46:27 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 01:46:27 +0000 Subject: [Bug 2290] [IcedTea8] 6730740 is incorrect In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2290 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.2.0 |3.3.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 Oct 19 01:47:11 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 01:47:11 +0000 Subject: [Bug 1978] [IcedTea8] Support using the system installation of libpcsclite In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1978 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |enhancement -- 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 icedtea.classpath.org Wed Oct 19 11:36:07 2016 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Wed, 19 Oct 2016 11:36:07 +0000 Subject: /hg/icedtea-web: 2 new changesets Message-ID: changeset bb6ee4995f1e in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=bb6ee4995f1e author: Jiri Vanek date: Mon Oct 17 11:46:38 2016 +0200 Workarounded to pass configure checks on jdk9 to debug build failures themselves * acinclude.m4: (IT_CHECK_FOR_CLASS) changed to accept third parameter - package where to make check in, as not all checks needs to be doen in sun.applet. (IT_CHECK_FOR_HEXDUMPENCODER) test moved out of sun.applet too. * configure.ac: IT_CHECK_FOR_CLASS adapted to third parameter, various classes which are private in jdk9 moved out from configure check. This s not permanent solution, those classes will be deal with. changeset bf5ff6cf2dac in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=bf5ff6cf2dac author: Jiri Vanek date: Wed Oct 19 13:40:39 2016 +0200 Removed jdk9 unfriendly check for rt.jar diffstat: ChangeLog | 11 +++++++++++ acinclude.m4 | 11 +++++++---- configure.ac | 39 ++++++++++++++++++++++----------------- launcher/launchers.in | 2 +- 4 files changed, 41 insertions(+), 22 deletions(-) diffs (117 lines): diff -r 806cd2465db5 -r bf5ff6cf2dac ChangeLog --- a/ChangeLog Fri Oct 14 15:51:34 2016 +0200 +++ b/ChangeLog Wed Oct 19 13:40:39 2016 +0200 @@ -1,3 +1,14 @@ +2016-10-17 Jiri Vanek + + Workarounded to pass configure checks on jdk9 to debug build failures themselves + * acinclude.m4: (IT_CHECK_FOR_CLASS) changed to accept third parameter - + package where to make check in, as not all checks needs to be doen in sun.applet. + (IT_CHECK_FOR_HEXDUMPENCODER) test moved out of sun.applet too. + * configure.ac: IT_CHECK_FOR_CLASS adapted to third parameter, + various classes which are private in jdk9 moved out from configure check. + This s not permanent solution, those classes will be deal with. + + 2016-10-14 Jiri Vanek * NEWS: mentioned rememberable dialogues editor and jdk8 diff -r 806cd2465db5 -r bf5ff6cf2dac acinclude.m4 --- a/acinclude.m4 Fri Oct 14 15:51:34 2016 +0200 +++ b/acinclude.m4 Wed Oct 19 13:40:39 2016 +0200 @@ -466,13 +466,16 @@ AC_REQUIRE([IT_FIND_JAVAC]) AC_REQUIRE([IT_FIND_JAVA]) AC_CACHE_CHECK([if $2 is available], it_cv_$1, [ -CLASS=sun/applet/Test.java +# first param is name of class to find, second is name of package to make check in. +# mostly some.pkg is ok, but some tests must bedone in sun.applet or other special directory +PKGPATH=`echo $3 | sed "s;\\.;/;g" ` +CLASS=$PKGPATH/Test.java BYTECODE=$(echo $CLASS|sed 's#\.java##') mkdir -p tmp.$$/$(dirname $CLASS) cd tmp.$$ cat << \EOF > $CLASS [/* [#]line __oline__ "configure" */ -package sun.applet; +package $3; import $2; @@ -511,13 +514,13 @@ AC_REQUIRE([IT_FIND_JAVAC]) AC_REQUIRE([IT_FIND_JAVA]) AC_CACHE_CHECK([if HexDumpEncoder is available], it_cv_HEXDUMPENCODER, [ -CLASS=sun/applet/Test.java +CLASS=ssun/aapplet/Test.java BYTECODE=$(echo $CLASS|sed 's#\.java##') mkdir -p tmp.$$/$(dirname $CLASS) cd tmp.$$ cat << \EOF > $CLASS [/* [#]line __oline__ "configure" */ -package sun.applet; +package ssun.aapplet; import sun.misc.*; import sun.security.util.*; diff -r 806cd2465db5 -r bf5ff6cf2dac configure.ac --- a/configure.ac Fri Oct 14 15:51:34 2016 +0200 +++ b/configure.ac Wed Oct 19 13:40:39 2016 +0200 @@ -64,23 +64,28 @@ dnl IT575 - Plugin depends on com.sun/jndi.toolkit.url.UrlUtil dnl IT576 - Plugin depends on sun.applet.AppletImageRef dnl IT578 - Remove need for patching AppletPanel for Plugin/Webstart -IT_CHECK_FOR_CLASS(JAVA_UTIL_JAR_PACK200, [java.util.jar.Pack200]) -IT_CHECK_FOR_CLASS(JAVA_NET_COOKIEMANAGER, [java.net.CookieManager]) -IT_CHECK_FOR_CLASS(JAVA_NET_HTTPCOOKIE, [java.net.HttpCookie]) -IT_CHECK_FOR_CLASS(JAVA_NET_COOKIEHANDLER, [java.net.CookieHandler]) -IT_CHECK_FOR_CLASS(SUN_SECURITY_PROVIDER_X509FACTORY, [sun.security.provider.X509Factory]) -IT_CHECK_FOR_CLASS(SUN_SECURITY_UTIL_SECURITYCONSTANTS, [sun.security.util.SecurityConstants]) -IT_CHECK_FOR_CLASS(SUN_SECURITY_UTIL_HOSTNAMECHECKER, [sun.security.util.HostnameChecker]) -IT_CHECK_FOR_CLASS(SUN_SECURITY_X509_X500NAME, [sun.security.x509.X500Name]) -IT_CHECK_FOR_HEXDUMPENCODER -IT_CHECK_FOR_CLASS(SUN_SECURITY_VALIDATOR_VALIDATOREXCEPTION, [sun.security.validator.ValidatorException]) -IT_CHECK_FOR_CLASS(COM_SUN_NET_SSL_INTERNAL_SSL_X509EXTENDEDTRUSTMANAGER, - [com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager]) -IT_CHECK_FOR_CLASS(SUN_NET_WWW_PROTOCOL_JAR_URLJARFILE, [sun.net.www.protocol.jar.URLJarFile]) -IT_CHECK_FOR_CLASS(SUN_NET_WWW_PROTOCOL_JAR_URLJARFILECALLBACK, [sun.net.www.protocol.jar.URLJarFileCallBack]) -IT_CHECK_FOR_CLASS(SUN_AWT_X11_XEMBEDDEDFRAME, [sun.awt.X11.XEmbeddedFrame]) -IT_CHECK_FOR_CLASS(COM_SUN_JNDI_TOOLKIT_URL_URLUTIL, [com.sun.jndi.toolkit.url.UrlUtil]) -IT_CHECK_FOR_CLASS(SUN_APPLET_APPLETIMAGEREF, [sun.applet.AppletImageRef]) +IT_CHECK_FOR_CLASS(JAVA_UTIL_JAR_PACK200, [java.util.jar.Pack200], [some.pkg]) +IT_CHECK_FOR_CLASS(JAVA_NET_COOKIEMANAGER, [java.net.CookieManager], [some.pkg]) +IT_CHECK_FOR_CLASS(JAVA_NET_HTTPCOOKIE, [java.net.HttpCookie], [some.pkg]) +IT_CHECK_FOR_CLASS(JAVA_NET_COOKIEHANDLER, [java.net.CookieHandler], [some.pkg]) +if test x"$HAVE_JAVA9" = xyes ; then + echo "skipping x509,SecurityConstants, sun.net ... checks" + echo "The skip is wrong. Thy must be handled for jdk9 anyway!" +# TODO! +else + IT_CHECK_FOR_CLASS(SUN_SECURITY_PROVIDER_X509FACTORY, [sun.security.provider.X509Factory], [some.pkg]) + IT_CHECK_FOR_CLASS(SUN_SECURITY_UTIL_SECURITYCONSTANTS, [sun.security.util.SecurityConstants], [some.pkg]) + IT_CHECK_FOR_CLASS(SUN_SECURITY_UTIL_HOSTNAMECHECKER, [sun.security.util.HostnameChecker], [some.pkg]) + IT_CHECK_FOR_CLASS(SUN_SECURITY_X509_X500NAME, [sun.security.x509.X500Name], [some.pkg]) + IT_CHECK_FOR_HEXDUMPENCODER + IT_CHECK_FOR_CLASS(SUN_SECURITY_VALIDATOR_VALIDATOREXCEPTION, [sun.security.validator.ValidatorException], [some.pkg]) + IT_CHECK_FOR_CLASS(COM_SUN_NET_SSL_INTERNAL_SSL_X509EXTENDEDTRUSTMANAGER, [com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager], [some.pkg]) + IT_CHECK_FOR_CLASS(SUN_NET_WWW_PROTOCOL_JAR_URLJARFILE, [sun.net.www.protocol.jar.URLJarFile], [some.pkg]) + IT_CHECK_FOR_CLASS(SUN_NET_WWW_PROTOCOL_JAR_URLJARFILECALLBACK, [sun.net.www.protocol.jar.URLJarFileCallBack], [some.pkg]) + IT_CHECK_FOR_CLASS(SUN_AWT_X11_XEMBEDDEDFRAME, [sun.awt.X11.XEmbeddedFrame], [some.pkg]) + IT_CHECK_FOR_CLASS(COM_SUN_JNDI_TOOLKIT_URL_URLUTIL, [com.sun.jndi.toolkit.url.UrlUtil], [some.pkg]) + IT_CHECK_FOR_CLASS(SUN_APPLET_APPLETIMAGEREF, [sun.applet.AppletImageRef], [sun.applet], [sun.applet]) +fi IT_CHECK_FOR_SUN_APPLET_ACCESSIBILITY IT_CHECK_GLIB_VERSION IT_CHECK_XULRUNNER_MIMEDESCRIPTION_CONSTCHAR diff -r 806cd2465db5 -r bf5ff6cf2dac launcher/launchers.in --- a/launcher/launchers.in Fri Oct 14 15:51:34 2016 +0200 +++ b/launcher/launchers.in Wed Oct 19 13:40:39 2016 +0200 @@ -25,7 +25,7 @@ CUSTOM_JRE=`grep "$CUSTOM_JRE_REGEX" /etc/.java/.deploy/deployment.properties 2>/dev/null | sed "s/$CUSTOM_JRE_REGEX//g"` fi; if [ "x$CUSTOM_JRE" != "x" ] ; then - if [ -e "$CUSTOM_JRE" -a -e "$CUSTOM_JRE/bin/java" -a -e "$CUSTOM_JRE/lib/rt.jar" ] ; then + if [ -e "$CUSTOM_JRE" -a -e "$CUSTOM_JRE/bin/java" ] ; then JAVA=$CUSTOM_JRE/bin/java CP=$CUSTOM_JRE/lib/rt.jar:$CUSTOM_JRE/lib/jfxrt.jar else From bugzilla-daemon at icedtea.classpath.org Wed Oct 19 17:17:12 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 17:17:12 +0000 Subject: [Bug 3198] New: Error in webmin Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3198 Bug ID: 3198 Summary: Error in webmin Product: IcedTea Version: unspecified Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: IcedTea Assignee: gnu.andrew at redhat.com Reporter: df403205 at mail.com CC: unassigned at icedtea.classpath.org When running Webmin and selecting ssh login, Icedtea window appears with error, saying "exception has occurred". -- 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 Oct 19 17:18:53 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 17:18:53 +0000 Subject: [Bug 3198] Error in webmin In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3198 --- Comment #1 from df403205 at mail.com --- Created attachment 1565 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1565&action=edit Stack trace -- 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 Oct 19 17:21:42 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 17:21:42 +0000 Subject: [Bug 3198] Error in webmin In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3198 JiriVanek changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |P3 CC| |jvanek at redhat.com Component|IcedTea |NetX (javaws) Hardware|x86_64 |all Assignee|gnu.andrew at redhat.com |jvanek at redhat.com Product|IcedTea |IcedTea-Web Severity|enhancement |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 Oct 19 17:22:54 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 17:22:54 +0000 Subject: [Bug 3198] Error in webmin In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3198 --- Comment #2 from JiriVanek --- Where I can reprodcue? Some url or web page please. -- 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 Oct 19 17:24:02 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 17:24:02 +0000 Subject: [Bug 2968] IcedTea-Web crashes on Dell EqualLogic SAN In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2968 --- Comment #4 from JiriVanek --- Is it possible to try the app somewhere? I would need to debug the issue. -- 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 Oct 19 18:25:36 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 18:25:36 +0000 Subject: [Bug 3199] New: Invalid nashorn URL Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3199 Bug ID: 3199 Summary: Invalid nashorn URL Product: IcedTea Version: 8-hg Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P5 Component: IcedTea Assignee: gnu.andrew at redhat.com Reporter: mitza at ociweb.com CC: unassigned at icedtea.classpath.org Makefile.am: NASHORN_SRC_ZIP = nashorn.tar.$(TAR_SUFFIX) ".tar" should not appear here -- 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 Oct 19 21:33:32 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Oct 2016 21:33:32 +0000 Subject: [Bug 3198] Error in webmin In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3198 df403205 at mail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Component|NetX (javaws) |Plugin --- Comment #3 from df403205 at mail.com --- Start webmin. Opening an Ubuntu headless server from a Linux Mint 17.3 Rosa 64-bit desktop with Kernel Linux 3.19.0-32-generic x86_64 and MATE 1.12.0. On main page open 'Others' then 'ssh login'. IcedTea panel comes up with 'ERROR'. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From soho123.2012 at gmail.com Thu Oct 20 05:58:16 2016 From: soho123.2012 at gmail.com (Diaz Soho) Date: Thu, 20 Oct 2016 13:58:16 +0800 Subject: using openjdk for JamVM how to Message-ID: Hi all, Originally , I use GNU Classpath for JamVM when I run my Java application. But my Java application need new classpath like Java(TM) SE Runtime Environment (build 1.8.0_91-b14). My java application maynot workable with GNU Classpath. I would like to use openjdk for that. I use the command to run my java application on my embedded platform: jamvm -verbose -Xbootclasspath:/usr/share/jamvm/classes:/usr/share/classpath -jar ./my_java_app.jar Does anyone have idea: if I would like to use openjdk to do the same thing above, is it possible? then how to get workable if possible? Thanks! Best Regards, DiazSoho From soho123.2012 at gmail.com Thu Oct 20 07:18:06 2016 From: soho123.2012 at gmail.com (Diaz Soho) Date: Thu, 20 Oct 2016 15:18:06 +0800 Subject: how to checkout openjdk/icetea Message-ID: hi , when I would like to check jdk8, I use the command : hg clone http://hg.openjdk.java.net/jdk8/jdk8, but if I would like to check icetea, how about the name of tag for checkout? From kubota.yuji at gmail.com Thu Oct 20 07:30:52 2016 From: kubota.yuji at gmail.com (KUBOTA Yuji) Date: Thu, 20 Oct 2016 16:30:52 +0900 Subject: how to checkout openjdk/icetea In-Reply-To: References: Message-ID: 2016-10-20 16:18 GMT+09:00 Diaz Soho : > hi , > > when I would like to check jdk8, I use the command : > hg clone http://hg.openjdk.java.net/jdk8/jdk8, > > but if I would like to check icetea, > how about the name of tag for checkout? icedtea8's repository is here: http://icedtea.classpath.org/hg/icedtea8/ See also for details: http://icedtea.classpath.org/wiki cheers, Yuji From bugzilla-daemon at icedtea.classpath.org Thu Oct 20 07:42:28 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 20 Oct 2016 07:42:28 +0000 Subject: [Bug 3198] Error in webmin In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3198 --- Comment #4 from JiriVanek --- I dont know what is webmin. I found http://www.webmin.com/ but there is nothing javaws or plugin related. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From soho123.2012 at gmail.com Thu Oct 20 08:33:28 2016 From: soho123.2012 at gmail.com (Diaz Soho) Date: Thu, 20 Oct 2016 16:33:28 +0800 Subject: how I can configure openjdk/Icedtea with HEADLESS enable Message-ID: Hi all, I would like to use openjdk/Icedtea with JamVM for my embedded platform. My embedded platform does not include graphic function. I would like to build a HEADLESS version. I can set the option(--disable-headful) while configuring jdk8u. But I can not the option (--disable-headful) when I try to configuring IcedTea. how to disable X11 related in Icedtea? Any ideas? Best Regards, DiazSoho From bugzilla-daemon at icedtea.classpath.org Thu Oct 20 11:28:43 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 20 Oct 2016 11:28:43 +0000 Subject: [Bug 3198] Error in webmin In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3198 --- Comment #5 from df403205 at mail.com --- I'm not an expert in this area, which is why I've reported the bug. Maybe one of your colleages has a linux rig which they can simulate this on. -- 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 Oct 20 11:32:33 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 20 Oct 2016 11:32:33 +0000 Subject: [Bug 3198] Error in webmin In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3198 --- Comment #6 from JiriVanek --- Unluckily I'm last developer of ICed tea web. The project is going down. I will be really happy to debug it, but you must say me steps how to reproduce. Really detailed steps. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From soho123.2012 at gmail.com Thu Oct 20 13:36:35 2016 From: soho123.2012 at gmail.com (Diaz Soho) Date: Thu, 20 Oct 2016 21:36:35 +0800 Subject: Fwd: the Minimum set when install jdk8u In-Reply-To: References: Message-ID: Hi all, when I finish build openjdk, and try to install to a local directory, I find the folder /usr/local/jvm/ include a lots of files , the size is very large. is there any minimun set that I can select to install to my embedded platform? for example: if I would like to run "java -jar " on my embedded platform, then how to figure out the minimum set that should be installed ? Thanks! Best Regards, DiazSoho From bugzilla-daemon at icedtea.classpath.org Thu Oct 20 15:06:22 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 20 Oct 2016 15:06:22 +0000 Subject: [Bug 3198] Error in webmin In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3198 Andrew Azores changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aazores at redhat.com --- Comment #7 from Andrew Azores --- Jiri, I think webmin.com is actually the right place. There are no applets directly on that site, but from there you can download the webmin software, which is some kind of server administration web interface. Luckily it appears to be free and under active development. Perhaps if you install this administration web interface into a VM you will be able to find the applet that the reporter is talking about. Looking at this screenshot of what seems to be the same webmin: https://en.wikipedia.org/wiki/Webmin#/media/File:Webmin1420.png there is indeed an "Others" heading on the left side, so perhaps clicking and expanding that will reveal the "ssh login" that is described, which is apparently implemented with an applet (?). -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From soho123.2012 at gmail.com Fri Oct 21 02:18:41 2016 From: soho123.2012 at gmail.com (Diaz Soho) Date: Fri, 21 Oct 2016 10:18:41 +0800 Subject: how to build HEADLEDD when using Icedtea Message-ID: Hi All, is there any way to build icedtea with "--disable-headful"? because I would like to build icedtea for my embedded platform using jamvm VM. best Regards, DiazSoho From gnu.andrew at redhat.com Fri Oct 21 04:31:14 2016 From: gnu.andrew at redhat.com (Andrew Hughes) Date: Fri, 21 Oct 2016 00:31:14 -0400 (EDT) Subject: how to checkout openjdk/icetea In-Reply-To: References: Message-ID: <1915210773.1308710.1477024274589.JavaMail.zimbra@redhat.com> ----- Original Message ----- > 2016-10-20 16:18 GMT+09:00 Diaz Soho : > > hi , > > > > when I would like to check jdk8, I use the command : > > hg clone http://hg.openjdk.java.net/jdk8/jdk8, > > > > but if I would like to check icetea, > > how about the name of tag for checkout? > > icedtea8's repository is here: > http://icedtea.classpath.org/hg/icedtea8/ > > See also for details: http://icedtea.classpath.org/wiki > > cheers, > Yuji > Unless you plan to do development work on IcedTea itself, there is no need to check anything out. Just download the latest release tarball as documented in the release announcement: http://blog.fuseyism.com/index.php/2016/07/27/security-icedtea-3-1-0-for-openjdk-8-released/ -- Andrew :) Senior Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net) Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222 From gnu.andrew at redhat.com Fri Oct 21 04:31:53 2016 From: gnu.andrew at redhat.com (Andrew Hughes) Date: Fri, 21 Oct 2016 00:31:53 -0400 (EDT) Subject: how to build HEADLEDD when using Icedtea In-Reply-To: References: Message-ID: <558704070.1308722.1477024313073.JavaMail.zimbra@redhat.com> ----- Original Message ----- > Hi All, > > > is there any way to build icedtea with "--disable-headful"? > because I would like to build icedtea for my embedded platform using jamvm > VM. > > > best Regards, > DiazSoho > Options are documented in the INSTALL file: * --enable-headless: Build OpenJDK without graphical UI support -- Andrew :) Senior Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net) Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222 From bugzilla-daemon at icedtea.classpath.org Fri Oct 21 04:28:55 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 21 Oct 2016 04:28:55 +0000 Subject: [Bug 2965] [TRACKER] IcedTea 3.2.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2965 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |3199 -- 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 Oct 21 04:28:55 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 21 Oct 2016 04:28:55 +0000 Subject: [Bug 3199] Invalid nashorn URL In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3199 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Blocks| |2965 Target Milestone|--- |3.2.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 soho123.2012 at gmail.com Fri Oct 21 04:37:02 2016 From: soho123.2012 at gmail.com (Diaz Soho) Date: Fri, 21 Oct 2016 12:37:02 +0800 Subject: how to build HEADLEDD when using Icedtea In-Reply-To: <558704070.1308722.1477024313073.JavaMail.zimbra@redhat.com> References: <558704070.1308722.1477024313073.JavaMail.zimbra@redhat.com> Message-ID: yes, it can build openjdk8u with --disable-headful, but when I try to build icedtea, I do not find where I can apply the option --disable-headful any ideas? 2016-10-21 12:31 GMT+08:00 Andrew Hughes : > > > ----- Original Message ----- >> Hi All, >> >> >> is there any way to build icedtea with "--disable-headful"? >> because I would like to build icedtea for my embedded platform using jamvm >> VM. >> >> >> best Regards, >> DiazSoho >> > > Options are documented in the INSTALL file: > > * --enable-headless: Build OpenJDK without graphical UI support > -- > Andrew :) > > Senior Free Java Software Engineer > Red Hat, Inc. (http://www.redhat.com) > > PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net) > Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222 > > From soho123.2012 at gmail.com Fri Oct 21 12:53:22 2016 From: soho123.2012 at gmail.com (Diaz Soho) Date: Fri, 21 Oct 2016 20:53:22 +0800 Subject: how to build HEADLESS when using Icedtea Message-ID: Hi All, is there any way to build icedtea with "--disable-headful"? I can build jdk8u with the option. when I try to do configure IcedTea, I do not find that option. how to apply the option? best Regards, DiazSoho From gnu.andrew at redhat.com Fri Oct 21 14:55:16 2016 From: gnu.andrew at redhat.com (Andrew Hughes) Date: Fri, 21 Oct 2016 10:55:16 -0400 (EDT) Subject: how to build HEADLEDD when using Icedtea In-Reply-To: References: <558704070.1308722.1477024313073.JavaMail.zimbra@redhat.com> Message-ID: <179196183.1425960.1477061716637.JavaMail.zimbra@redhat.com> ----- Original Message ----- > yes, it can build openjdk8u with --disable-headful, > but when I try to build icedtea, I do not find where I can apply the > option --disable-headful > > any ideas? > > 2016-10-21 12:31 GMT+08:00 Andrew Hughes : > > > > > > ----- Original Message ----- > >> Hi All, > >> > >> > >> is there any way to build icedtea with "--disable-headful"? > >> because I would like to build icedtea for my embedded platform using jamvm > >> VM. > >> > >> > >> best Regards, > >> DiazSoho > >> > > > > Options are documented in the INSTALL file: > > > > * --enable-headless: Build OpenJDK without graphical UI support > > -- > > Andrew :) > > > > Senior Free Java Software Engineer > > Red Hat, Inc. (http://www.redhat.com) > > > > PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net) > > Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222 > > > > > I've just told you: Pass --enable-headless. -- Andrew :) Senior Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net) Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222 From bugzilla-daemon at icedtea.classpath.org Sat Oct 22 22:16:00 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Sat, 22 Oct 2016 22:16:00 +0000 Subject: [Bug 3199] Invalid nashorn URL In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3199 --- Comment #1 from Andrew John Hughes --- Good catch. -- 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 Oct 24 02:11:42 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 02:11:42 +0000 Subject: [Bug 2939] [IcedTea7] Remove rogue ReleaseStringUTFChars line remaining from merge of 7u101 b00 In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2939 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Andrew John Hughes --- Fixed in 2.6.6. No such merge issue occurred when merging on HEAD. -- 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 Oct 24 02:25:08 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 02:25:08 +0000 Subject: [Bug 3201] New: [IcedTea8] Update infinality configure test Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3201 Bug ID: 3201 Summary: [IcedTea8] Update infinality configure test Product: IcedTea Version: 8-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 In FreeType 2.7, Infinality support is now handled by TT_CONFIG_OPTION_SUBPIXEL_HINTING: /* Define TT_CONFIG_OPTION_SUBPIXEL_HINTING if you want to compile */ /* subpixel hinting support into the TrueType driver. This modifies the */ /* TrueType hinting mechanism when anything but FT_RENDER_MODE_MONO is */ /* requested. */ /* */ /* In particular, it modifies the bytecode interpreter to interpret (or */ /* not) instructions in a certain way so that all TrueType fonts look */ /* like they do in a Windows ClearType (DirectWrite) environment. See */ /* [1] for a technical overview on what this means. See `ttinterp.h' */ /* for more details on the LEAN option. */ /* */ /* There are three options. */ /* */ /* 1. This option is associated with the `Infinality' moniker. */ /* Contributed by an individual nicknamed Infinality with the goal of */ /* making TrueType fonts render better than on Windows. A high */ /* amount of configurability and flexibility, down to rules for */ /* single glyphs in fonts, but also very slow. Its experimental and */ /* slow nature and the original developer losing interest meant that */ /* this option was never enabled in default builds. */ /* */ /* 2. The new default mode for the TrueType driver. The Infinality code */ /* base was stripped to the bare minimum and all configurability */ /* removed in the name of speed and simplicity. The configurability */ /* was mainly aimed at legacy fonts like Arial, Times New Roman, or */ /* Courier. Legacy fonts are fonts that modify vertical stems to */ /* achieve clean black-and-white bitmaps. The new mode focuses on */ /* applying a minimal set of rules to all fonts indiscriminately so */ /* that modern and web fonts render well while legacy fonts render */ /* okay. */ /* */ /* 3. Compile both. */ -- 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 Oct 24 02:25:39 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 02:25:39 +0000 Subject: [Bug 3201] [IcedTea8] Update infinality configure test In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3201 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Blocks| |2965 Target Milestone|--- |3.2.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 Mon Oct 24 02:25:39 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 02:25:39 +0000 Subject: [Bug 2965] [TRACKER] IcedTea 3.2.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2965 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |3201 -- 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 Oct 24 02:25:52 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 02:25:52 +0000 Subject: [Bug 3199] [IcedTea8] Invalid nashorn URL In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3199 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Invalid nashorn URL |[IcedTea8] Invalid nashorn | |URL -- 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 Oct 24 02:37:49 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 02:37:49 +0000 Subject: [Bug 3200] Love Laws & Outlaws: Indoo Seth In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3200 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |unassigned at icedtea.classpat | |h.org Component|Fields & Values |IcedTea Resolution|--- |INVALID Product|Bug Database |IcedTea --- Comment #1 from Andrew John Hughes --- spam -- 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 Oct 24 02:38:03 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 02:38:03 +0000 Subject: [Bug 3200] spam In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3200 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Love Laws & Outlaws: Indoo |spam |Seth | -- 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 Oct 24 03:19:40 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 03:19:40 +0000 Subject: [Bug 3202] New: [IcedTea7] Update infinality configure test Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3202 Bug ID: 3202 Summary: [IcedTea7] Update infinality configure test Product: IcedTea Version: 7-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 Clone of bug 3201 for IcedTea 2.x. -- 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 Oct 24 03:20:29 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 03:20:29 +0000 Subject: [Bug 3202] [IcedTea7] Update infinality configure test In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3202 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Target Milestone|--- |2.6.8 -- 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 Oct 24 04:35:47 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 04:35:47 +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 --- Comment #4 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8-forest?cmd=changeset;node=bf896f540cce author: andrew date: Mon Oct 24 05:19:34 2016 +0100 PR1537: Do not hardcode the krb5 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 andrew at icedtea.classpath.org Mon Oct 24 04:36:15 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Mon, 24 Oct 2016 04:36:15 +0000 Subject: /hg/icedtea8-forest/jdk: 3 new changesets Message-ID: changeset 82c774b19fb1 in /hg/icedtea8-forest/jdk details: http://icedtea.classpath.org/hg/icedtea8-forest/jdk?cmd=changeset;node=82c774b19fb1 author: ebaron date: Mon Oct 24 04:22:57 2016 +0100 PR1537: Handle alternative Kerberos credential cache locations changeset 8456f8cc2bcc in /hg/icedtea8-forest/jdk details: http://icedtea.classpath.org/hg/icedtea8-forest/jdk?cmd=changeset;node=8456f8cc2bcc author: andrew date: Tue Sep 03 15:19:59 2013 +0100 PR1537: Only define _GNU_SOURCE if not already defined. changeset 9185a15650c3 in /hg/icedtea8-forest/jdk details: http://icedtea.classpath.org/hg/icedtea8-forest/jdk?cmd=changeset;node=9185a15650c3 author: andrew date: Mon Oct 24 05:20:00 2016 +0100 PR1537: Fix Kerberos cache support to check for null, fallback on old path support and not hardcode the krb5 library. diffstat: make/lib/SecurityLibraries.gmk | 6 +- src/share/classes/sun/security/krb5/internal/ccache/FileCredentialsCache.java | 96 ++++++- src/solaris/native/sun/security/krb5/krb5ccache.c | 113 ++++++++++ 3 files changed, 194 insertions(+), 21 deletions(-) diffs (288 lines): diff -r 5f55ff33a471 -r 9185a15650c3 make/lib/SecurityLibraries.gmk --- a/make/lib/SecurityLibraries.gmk Mon Aug 08 15:51:30 2016 +0100 +++ b/make/lib/SecurityLibraries.gmk Mon Oct 24 05:20:00 2016 +0100 @@ -130,6 +130,10 @@ BUILD_LIBKRB5_NAME := osxkrb5 BUILD_LIBKRB5_SRC := $(JDK_TOPDIR)/src/share/native/sun/security/krb5 BUILD_LIBKRB5_LIBS := -framework Kerberos + else ifeq ($(USE_EXTERNAL_KRB5), true) + BUILD_LIBKRB5_NAME := j2krb5 + BUILD_LIBKRB5_SRC := $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/security/krb5 + BUILD_LIBKRB5_LIBS := $(KRB5_LIBS) endif ifneq ($(BUILD_LIBKRB5_NAME), ) @@ -139,7 +143,7 @@ SRC := $(BUILD_LIBKRB5_SRC), \ LANG := C, \ OPTIMIZATION := LOW, \ - CFLAGS := $(CFLAGS_JDKLIB) \ + CFLAGS := $(CFLAGS_JDKLIB) $(KRB5_CFLAGS) \ -I$(JDK_TOPDIR)/src/share/native/sun/security/krb5 \ -I$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/security/krb5, \ LDFLAGS := $(LDFLAGS_JDKLIB) \ diff -r 5f55ff33a471 -r 9185a15650c3 src/share/classes/sun/security/krb5/internal/ccache/FileCredentialsCache.java --- a/src/share/classes/sun/security/krb5/internal/ccache/FileCredentialsCache.java Mon Aug 08 15:51:30 2016 +0100 +++ b/src/share/classes/sun/security/krb5/internal/ccache/FileCredentialsCache.java Mon Oct 24 05:20:00 2016 +0100 @@ -1,5 +1,6 @@ /* * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013 Red Hat, Inc. and/or its affiliates. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -43,7 +44,9 @@ import java.io.FileOutputStream; import java.io.BufferedReader; import java.io.InputStreamReader; -import java.lang.reflect.*; + +import java.lang.reflect.Constructor; +import java.lang.reflect.Method; /** * CredentialsCache stores credentials(tickets, session keys, etc) in a @@ -62,6 +65,8 @@ private Vector credentialsList; private static String dir; private static boolean DEBUG = Krb5.DEBUG; + private static boolean alreadyLoaded = false; + private static boolean alreadyTried = false; public static synchronized FileCredentialsCache acquireInstance( PrincipalName principal, String cache) { @@ -349,9 +354,10 @@ * The path name is searched in the following order: * * 1. KRB5CCNAME (bare file name without FILE:) - * 2. /tmp/krb5cc_ on unix systems - * 3. /krb5cc_ - * 4. /krb5cc (if can't get ) + * 2. location specified by Kerberos API on unix systems + * 3. /tmp/krb5cc_ on unix systems + * 4. /krb5cc_ + * 5. /krb5cc (if can't get ) */ public static String getDefaultCacheName() { @@ -398,25 +404,61 @@ */ if (osname != null) { - String cmd = null; - String uidStr = null; - long uid = 0; - if (!osname.startsWith("Windows")) { try { - Class c = Class.forName - ("com.sun.security.auth.module.UnixSystem"); - Constructor constructor = c.getConstructor(); - Object obj = constructor.newInstance(); - Method method = c.getMethod("getUid"); - uid = ((Long)method.invoke(obj)).longValue(); - name = File.separator + "tmp" + - File.separator + stdCacheNameComponent + "_" + uid; - if (DEBUG) { - System.out.println(">>>KinitOptions cache name is " + - name); + // Load the native code if necessary + if (!alreadyTried) { + // See if there's any native code to load + try { + ensureLoaded(); + } catch (Exception e) { + if (DEBUG) { + System.out.println("Could not load native Kerberos bridge"); + e.printStackTrace(); + } + alreadyTried = true; + } } - return name; + if (alreadyLoaded) { + // There is some native code + if (DEBUG) { + System.out.println(">> Look up native default credential cache"); + } + // Query the native Kerberos API for the cache location + name = nativeGetDefaultCacheName(); + } + + /* + * We require the default cache location to be a file name. + * DIR: can point to a cache collection, while DIR:: points + * to a specific cache file. + * + * http://k5wiki.kerberos.org/wiki?title=Projects/Client_principal_selection&oldid=4118 + */ + if (name != null && (name.startsWith("FILE:") || name.startsWith("DIR::"))) { + name = name.substring(5); + if (DEBUG) { + System.out.println(">>>KinitOptions cache name is " + + name); + } + return name; + } else { + long uid = 0; + + Class c = Class.forName + ("com.sun.security.auth.module.UnixSystem"); + Constructor constructor = c.getConstructor(); + Object obj = constructor.newInstance(); + Method method = c.getMethod("getUid"); + uid = ((Long)method.invoke(obj)).longValue(); + name = File.separator + "tmp" + + File.separator + stdCacheNameComponent + "_" + uid; + if (DEBUG) { + System.out.println(">>>KinitOptions cache name is " + + name); + } + return name; + } } catch (Exception e) { if (DEBUG) { System.out.println("Exception in obtaining uid " + @@ -461,6 +503,8 @@ return name; } + private native static String nativeGetDefaultCacheName() throws Exception; + public static String checkValidation(String name) { String fullname = null; if (name == null) { @@ -541,4 +585,16 @@ } return null; } + + private static void ensureLoaded() { + java.security.AccessController.doPrivileged( + new java.security.PrivilegedAction () { + public Void run() { + System.loadLibrary("j2krb5"); + return null; + } + }); + alreadyLoaded = true; + } + } diff -r 5f55ff33a471 -r 9185a15650c3 src/solaris/native/sun/security/krb5/krb5ccache.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/solaris/native/sun/security/krb5/krb5ccache.c Mon Oct 24 05:20:00 2016 +0100 @@ -0,0 +1,113 @@ +/* + * Copyright (c) 2013 Red Hat Inc. and/or its affiliates. + * 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. + */ + +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif + +#include +#include +#include + +#include "sun_security_krb5_internal_ccache_FileCredentialsCache.h" + +static void handle_error(JNIEnv *env, krb5_context context, krb5_error_code err, const char *func_name); +static jint throw_Exception(JNIEnv *env, const char *class_name, const char *message); + +/* + * Class: sun_security_krb5_internal_ccache_FileCredentialsCache + * Method: nativeGetDefaultCacheName + * Signature: ()Ljava/lang/String; + */ +JNIEXPORT jstring JNICALL Java_sun_security_krb5_internal_ccache_FileCredentialsCache_nativeGetDefaultCacheName +(JNIEnv *env, jclass krbcredsClass) +{ + krb5_context context; + krb5_error_code err; + krb5_ccache cache; + const char *cc_type, *cc_name; + char *cc_full_name; + jstring result; + + /* Need a krb5_context to proceed further */ + err = krb5_init_context(&context); + if (err) { + handle_error(env, context, err, "krb5_init_context"); + return NULL; + } + + /* Get the default credential cache. + * We intentionally do not use krb5_cc_default_name because when the cache + * is a collection, krb5_cc_default_name returns the collection directory. + * By using krb5_cc_default and then krb5_cc_get_name, we get the primary + * cache file within the collection. */ + err = krb5_cc_default(context, &cache); + if (err) { + handle_error(env, context, err, "krb5_cc_default"); + krb5_free_context(context); + return NULL; + } + + /* Get the type and name of the default cache and construct a string + * of the form 'type:name'. */ + cc_type = krb5_cc_get_type(context, cache); + cc_name = krb5_cc_get_name(context, cache); + if (asprintf(&cc_full_name, "%s:%s", cc_type, cc_name) < 0) { + throw_Exception(env, "java/lang/OutOfMemoryError", "Unable to construct credential cache string"); + krb5_free_context(context); + return NULL; + } + + result = (*env)->NewStringUTF(env, cc_full_name); + + free(cc_full_name); + krb5_free_context(context); + return result; +} + +static void handle_error(JNIEnv *env, krb5_context context, krb5_error_code err, const char *func_name) { + const char *err_msg; + char *result; + + err_msg = krb5_get_error_message(context, err); + if (asprintf(&result, "%s: %s", func_name, err_msg) < 0) { + throw_Exception(env, "java/lang/OutOfMemoryError", "Unable to construct error message"); + return; + } + throw_Exception(env, "java/lang/Exception", result); + + free(result); + krb5_free_error_message(context, err_msg); +} + +static jint throw_Exception(JNIEnv *env, const char *class_name, const char *message) { + jclass class; + + class = (*env)->FindClass(env, class_name); + if (class == NULL) { + return -1; + } + return (*env)->ThrowNew(env, class, message); +} From bugzilla-daemon at icedtea.classpath.org Mon Oct 24 04:36:22 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 04:36:22 +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 --- Comment #5 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8-forest/jdk?cmd=changeset;node=82c774b19fb1 author: ebaron date: Mon Oct 24 04:22:57 2016 +0100 PR1537: Handle alternative Kerberos credential cache locations -- 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 Oct 24 04:36:27 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 04:36:27 +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 --- Comment #6 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8-forest/jdk?cmd=changeset;node=8456f8cc2bcc author: andrew date: Tue Sep 03 15:19:59 2013 +0100 PR1537: Only define _GNU_SOURCE if not already defined. -- 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 Oct 24 04:36:33 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 04:36: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 --- Comment #7 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8-forest/jdk?cmd=changeset;node=9185a15650c3 author: andrew date: Mon Oct 24 05:20:00 2016 +0100 PR1537: Fix Kerberos cache support to check for null, fallback on old path support and not hardcode the krb5 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 Mon Oct 24 04:38:10 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 04:38:10 +0000 Subject: [Bug 3203] New: Jenkins server crashes unexpctedly Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 Bug ID: 3203 Summary: Jenkins server crashes unexpctedly Product: VisualVM Harness Version: unspecified Hardware: x86_64 OS: Linux Status: NEW Severity: critical Priority: P5 Component: VisualVM Assignee: unassigned at icedtea.classpath.org Reporter: shilpy.agrawal0401 at gmail.com Jenkins server crashes unexpctedly with below error : A fatal error has been detected by the Java Runtime Environment: # # SIGBUS (0x7) at pc=0x0000003b8280946b, pid=18403, tid=140150961538816 # # JRE version: 7.0_09 # Java VM: OpenJDK 64-Bit Server VM (23.2-b09 mixed mode linux-amd64 compressed oops) # Problematic frame: # C [ld-linux-x86-64.so.2+0x946b] # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # 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. -- 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 Mon Oct 24 15:25:47 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 15:25:47 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gnu.andrew at redhat.com, | |unassigned at icedtea.classpat | |h.org Component|VisualVM |IcedTea Assignee|unassigned at icedtea.classpat |gnu.andrew at redhat.com |h.org | Product|VisualVM Harness |IcedTea Severity|critical |normal -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Mon Oct 24 15:27:01 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 15:27:01 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #1 from Andrew John Hughes --- This is a very old unsupported version. Please update and see if you can reproduce this with the latest release (2.6.7). If you can, re-open with details of how to reproduce and attach the crash dump (the file beginning with hs_) -- 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 Oct 24 15:36:23 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 15:36:23 +0000 Subject: [Bug 3151] [IcedTea7] build fails with pch disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3151 --- Comment #10 from Andrew John Hughes --- I can't reproduce this on x86_64 (normal build) with either OpenJDK 7 or IcedTea 2.x. The original build snippet seems to be from OpenJDK 6. -- 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 Oct 24 15:52:18 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 15:52:18 +0000 Subject: [Bug 3204] New: [IcedTea7] Backport latest AArch64 fixes to release branch for 2.6.8 Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3204 Bug ID: 3204 Summary: [IcedTea7] Backport latest AArch64 fixes to release branch for 2.6.8 Product: IcedTea Version: 7-hg Hardware: aarch64 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 Equivalent of bug 2852 for IcedTea 2.6.8. -- 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 Oct 24 15:52:33 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 15:52:33 +0000 Subject: [Bug 3204] [IcedTea7] Backport latest AArch64 fixes to release branch for 2.6.8 In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3204 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Target Milestone|--- |2.6.8 -- 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 Oct 24 15:53:53 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 15:53:53 +0000 Subject: [Bug 3151] [IcedTea7] build fails with pch disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3151 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Component|IcedTea |Zero --- Comment #11 from Andrew John Hughes --- There are issues on Zero. Changing this to a 2.x Zero bug and filing additional bugs for other issues. At least the Zero one will need fixing upstream too. I'll add an OpenJDK bug for that. -- 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 Oct 24 15:54:12 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 15:54:12 +0000 Subject: [Bug 3151] [IcedTea7] Zero build fails with pch disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3151 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[IcedTea7] build fails with |[IcedTea7] Zero build fails |pch disabled |with pch disabled -- 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 Oct 24 15:56:17 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 15:56:17 +0000 Subject: [Bug 3205] New: [IcedTea6] Builds fails with pch disabled Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3205 Bug ID: 3205 Summary: [IcedTea6] Builds fails with pch disabled Product: IcedTea Version: 6-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 See bug 3151. Compiling /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/gc_implementation/parallelScavenge/asPSOldGen.cpp rm -f asPSOldGen.o x86_64-linux-gnu-g++-4.8 -DLINUX -D_GNU_SOURCE -DAMD64 -DPRODUCT -I/home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/prims -I/home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm -I/home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/precompiled -I/home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/cpu/x86/vm -I/home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/os_cpu/linux_x86/vm -I/home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/os/linux/vm -I/home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/os/posix/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"23.40-b40\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"tdaitx\"" -DHOTSPOT_LIB_ARCH=\"amd64\" -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DDERIVATIVE_ID="\"IcedTea6 1.13.12\"" -DDISTRIBUTION_ID="\"Ubuntu 14.04.4 LTS, package 6b40-1.13.12-0ubuntu0.14.04.1\"" -DDEB_MULTIARCH="\"x86_64-linux-gnu\"" -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -std=gnu++98 -fpic -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64 -pipe -DDONT_USE_PRECOMPILED_HEADER -g -O3 -fno-strict-aliasing -DVM_LITTLE_ENDIAN -D_LP64=1 -fno-omit-frame-pointer -DINCLUDE_TRACE -Wpointer-arith -Wsign-compare -c -MMD -MP -MF ../generated/dependencies/asPSOldGen.o.d -o asPSOldGen.o /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/gc_implementation/parallelScavenge/asPSOldGen.cpp In file included from /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/oops/arrayKlassKlass.cpp:33:0: /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.inline.hpp: In member function 'oopDesc* PSPromotionManager::copy_to_survivor_space(oop)': /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.inline.hpp:131:37: error: invalid use of incomplete type 'class PSOldGen' new_obj = (oop)old_gen()->cas_allocate(new_obj_size); ^ In file included from /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.hpp:30:0, from /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/gc_implementation/shared/markSweep.inline.hpp:32, from /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/oops/oop.inline.hpp:29, from /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/classfile/classFileParser.hpp:30, from /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/classfile/classLoader.hpp:28, from /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/classfile/systemDictionary.hpp:29, from /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/classfile/javaClasses.hpp:28, from /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/oops/arrayKlassKlass.cpp:26: /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.hpp:38:7: error: forward declaration of 'class PSOldGen' class PSOldGen; ^ In file included from /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/oops/arrayKlassKlass.cpp:33:0: /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.inline.hpp:136:43: error: invalid use of incomplete type 'class PSOldGen' HeapWord* lab_base = old_gen()->cas_allocate(OldPLABSize); ^ In file included from /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.hpp:30:0, from /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/gc_implementation/shared/markSweep.inline.hpp:32, from /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/oops/oop.inline.hpp:29, from /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/classfile/classFileParser.hpp:30, from /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/classfile/classLoader.hpp:28, from /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/classfile/systemDictionary.hpp:29, from /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/classfile/javaClasses.hpp:28, from /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/oops/arrayKlassKlass.cpp:26: /home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.hpp:38:7: error: forward declaration of 'class PSOldGen' class PSOldGen; ^ make[8]: *** [arrayKlassKlass.o] Error 1 make[8]: *** Waiting for unfinished jobs.... make[8]: Leaving directory `/home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk.build-ecj/hotspot/outputdir/linux_amd64_compiler2/product' make[7]: *** [the_vm] Error 2 make[7]: Leaving directory `/home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk.build-ecj/hotspot/outputdir/linux_amd64_compiler2/product' make[6]: *** [product] Error 2 make[6]: Leaving directory `/home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk.build-ecj/hotspot/outputdir' make[5]: *** [generic_build2] Error 2 make[5]: Leaving directory `/home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/make' make[4]: *** [product] Error 2 make[4]: Leaving directory `/home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj/hotspot/make' make[3]: *** [hotspot-build] Error 2 make[3]: Leaving directory `/home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj' make[2]: *** [build_product_image] Error 2 make[2]: Leaving directory `/home/tdaitx/openjdk-6-6b40-1.13.12/build/openjdk-ecj' make[1]: *** [stamps/icedtea-ecj.stamp] Error 2 make[1]: Leaving directory `/home/tdaitx/openjdk-6-6b40-1.13.12/build' make: *** [stamps/build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 -- 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 Oct 24 15:56:35 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 15:56:35 +0000 Subject: [Bug 3205] [IcedTea6] Builds fails with pch disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3205 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Target Milestone|--- |6-1.13.13 -- 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 Oct 24 15:56:58 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 15:56:58 +0000 Subject: [Bug 3151] [IcedTea7] Zero build fails with pch disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3151 --- Comment #12 from Andrew John Hughes --- Bug 3205 failed for OpenJDK 6 x86_64 normal build failure. -- 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 Oct 24 15:57:35 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 15:57:35 +0000 Subject: [Bug 3151] [IcedTea7] Zero build fails with pch disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3151 --- Comment #13 from Andrew John Hughes --- *filed. -- 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 Oct 24 16:00:10 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 16:00:10 +0000 Subject: [Bug 3151] [IcedTea7] Zero build fails with pch disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3151 --- Comment #14 from Andrew John Hughes --- /usr/bin/g++ -DLINUX -D_GNU_SOURCE -DCC_INTERP -DZERO -DAMD64 -DZERO_LIBARCH=\"amd64\" -DPRODUCT -I/home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/share/vm/prims -I/home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/share/vm -I/home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/share/vm/precompiled -I/home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/cpu/zero/vm -I/home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/os_cpu/linux_zero/vm -I/home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/os/linux/vm -I/home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/os/posix/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"24.95-b00-rc7d4a58dc3b6\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"andrew\"" -DHOTSPOT_LIB_ARCH=\"amd64\" -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DDERIVATIVE_ID="\"IcedTea 2.7.0pre07\"" -DDISTRIBUTION_ID="\"Built on Gentoo Base System release 2.3 (Mon Oct 24 16:48:23 BST 2016)\"" -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_zero -DTARGET_ARCH_MODEL_zero -DTARGET_OS_ARCH_linux_zero -DTARGET_OS_ARCH_MODEL_linux_zero -DTARGET_COMPILER_gcc -I/usr/lib64/libffi-3.2.1/include -std=gnu++98 -fpic -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -fno-delete-null-pointer-checks -fno-lifetime-dse -m64 -pipe -DDONT_USE_PRECOMPILED_HEADER -g -O3 -fno-strict-aliasing -DVM_LITTLE_ENDIAN -D_LP64=1 -DINCLUDE_TRACE=1 -Wpointer-arith -Wsign-compare -O2 -pipe -march=core2 -DDTRACE_ENABLED -c -fpch-deps -MMD -MP -MF ../generated/dependencies/nativeInst_zero.o.d -o nativeInst_zero.o /home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/cpu/zero/vm/nativeInst_zero.cpp In file included from /home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/share/vm/interpreter/interpreter.hpp:158:0, from /home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/cpu/zero/vm/methodHandles_zero.cpp:28: /home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/cpu/zero/vm/interpreter_zero.hpp: In static member function 'static void Interpreter::invoke_method(methodOop, address, Thread*)': /home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/cpu/zero/vm/interpreter_zero.hpp:31:7: error: 'ZeroEntry' was not declared in this scope ((ZeroEntry *) entry_point)->invoke(method, THREAD); ^~~~~~~~~ /home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/cpu/zero/vm/interpreter_zero.hpp:31:18: error: expected primary-expression before ')' token ((ZeroEntry *) entry_point)->invoke(method, THREAD); ^ /home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/cpu/zero/vm/interpreter_zero.hpp:31:20: error: expected ')' before 'entry_point' ((ZeroEntry *) entry_point)->invoke(method, THREAD); ^~~~~~~~~~~ /home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/cpu/zero/vm/interpreter_zero.hpp: In static member function 'static void Interpreter::invoke_osr(methodOop, address, address, Thread*)': /home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/cpu/zero/vm/interpreter_zero.hpp:37:7: error: 'ZeroEntry' was not declared in this scope ((ZeroEntry *) entry_point)->invoke_osr(method, osr_buf, THREAD); ^~~~~~~~~ /home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/cpu/zero/vm/interpreter_zero.hpp:37:18: error: expected primary-expression before ')' token ((ZeroEntry *) entry_point)->invoke_osr(method, osr_buf, THREAD); ^ /home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/cpu/zero/vm/interpreter_zero.hpp:37:20: error: expected ')' before 'entry_point' ((ZeroEntry *) entry_point)->invoke_osr(method, osr_buf, THREAD); ^~~~~~~~~~~ /home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/cpu/zero/vm/nativeInst_zero.cpp: In static member function 'static void NativeJump::patch_verified_entry(address, address, address)': /home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/cpu/zero/vm/nativeInst_zero.cpp:55:5: error: 'ZeroEntry' was not declared in this scope ((ZeroEntry*) verified_entry)->set_entry_point( ^~~~~~~~~ /home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/cpu/zero/vm/nativeInst_zero.cpp:55:15: error: expected primary-expression before ')' token ((ZeroEntry*) verified_entry)->set_entry_point( ^ /home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/cpu/zero/vm/nativeInst_zero.cpp:55:17: error: expected ')' before 'verified_entry' ((ZeroEntry*) verified_entry)->set_entry_point( ^~~~~~~~~~~~~~ In file included from /home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/share/vm/prims/methodHandles.hpp:192:0, from /home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/cpu/zero/vm/methodHandles_zero.cpp:30: /home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/cpu/zero/vm/methodHandles_zero.hpp: In static member function 'static unsigned int MethodHandles::adapter_code_size()': /home/andrew/projects/openjdk/upstream/icedtea7/hotspot/src/cpu/zero/vm/methodHandles_zero.hpp:29:17: error: 'ZeroEntry' was not declared in this scope return sizeof(ZeroEntry) * (Interpreter::method_handle_invoke_LAST - Interpreter::method_handle_invoke_FIRST + 1); ^~~~~~~~~ /home/andrew/projects/openjdk/upstream/icedtea7/hotspot/make/linux/makefiles/rules.make:150: recipe for target 'nativeInst_zero.o' failed make[6]: *** [nativeInst_zero.o] Error 1 make[6]: *** Waiting for unfinished jobs.... -- 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 Oct 24 16:07:23 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 16:07:23 +0000 Subject: [Bug 3206] New: [IcedTea8] lcms2: Out-of-bounds read in Type_MLU_Read() Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3206 Bug ID: 3206 Summary: [IcedTea8] lcms2: Out-of-bounds read in Type_MLU_Read() Product: IcedTea Version: 8-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 See https://bugzilla.redhat.com/show_bug.cgi?id=1367357 -- 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 Oct 24 16:07:34 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 16:07:34 +0000 Subject: [Bug 3206] [IcedTea8] lcms2: Out-of-bounds read in Type_MLU_Read() In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3206 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- 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 Oct 24 16:07:48 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 16:07:48 +0000 Subject: [Bug 3206] [IcedTea8] lcms2: Out-of-bounds read in Type_MLU_Read() In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3206 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://bugzilla.redhat.com | |/show_bug.cgi?id=1367357 -- 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 Oct 24 16:08:03 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 16:08:03 +0000 Subject: [Bug 3206] [IcedTea8] lcms2: Out-of-bounds read in Type_MLU_Read() In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3206 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |2965 Target Milestone|--- |3.2.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 Mon Oct 24 16:08:03 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 16:08:03 +0000 Subject: [Bug 2965] [TRACKER] IcedTea 3.2.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2965 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |3206 -- 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 Oct 24 16:08:42 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 16:08:42 +0000 Subject: [Bug 3207] New: [IcedTea7] lcms2: Out-of-bounds read in Type_MLU_Read() Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3207 Bug ID: 3207 Summary: [IcedTea7] lcms2: Out-of-bounds read in Type_MLU_Read() 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 Clone of bug 3206 for IcedTea 2.x. -- 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 Oct 24 16:08:57 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 16:08:57 +0000 Subject: [Bug 3207] [IcedTea7] lcms2: Out-of-bounds read in Type_MLU_Read() In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3207 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Target Milestone|--- |2.6.8 -- 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 Oct 24 22:46:46 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 24 Oct 2016 22:46:46 +0000 Subject: [Bug 3151] [IcedTea7] Zero build fails with pch disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3151 --- Comment #15 from Tiago St?rmer Daitx --- I also had an ZeroEntry "not declared" when building it with PCH disabled on amd64, but instead of nativeInst_zero.o my issue triggered when building methodHandles_zero.o: g++-5 -DLINUX -D_GNU_SOURCE -DCC_INTERP -DZERO -DAMD64 -DZERO_LIBARCH=\"amd64\" -DPRODUCT -I/hotspot/src/share/vm/prims -I/hotspot/src/share/vm -I/hotspot/src/share/vm/precompiled -I/hotspot/src/cpu/zero/vm -I/hotspot/src/os_cpu/linux_zero/vm -I/hotspot/src/os/linux/vm -I/hotspot/src/os/posix/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"24.111-b01\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"tdaitx\"" -DHOTSPOT_LIB_ARCH=\"amd64\" -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DDERIVATIVE_ID="\"IcedTea 2.6.7\"" -DDEB_MULTIARCH="\"x86_64-linux-gnu\"" -DDISTRIBUTION_ID="\"Ubuntu 16.10, package 7u111-2.6.7-0ubuntu0.16.10~01\"" -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_zero -DTARGET_ARCH_MODEL_zero -DTARGET_OS_ARCH_linux_zero -DTARGET_OS_ARCH_MODEL_linux_zero -DTARGET_COMPILER_gcc -std=gnu++98 -fpic -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m64 -pipe -DDONT_USE_PRECOMPILED_HEADER -g -O2 -finline-functions -fno-strict-aliasing -DVM_LITTLE_ENDIAN -D_LP64=1 -DINCLUDE_TRACE=1 -Wpointer-arith -Wsign-compare -g -fdebug-prefix-map=/home/tdaitx/openjdk-7-7u111-2.6.7=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -fpch-deps -MMD -MP -MF ../generated/dependencies/methodHandles_zero.o.d -o methodHandles_zero.o /hotspot/src/cpu/zero/vm/methodHandles_zero.cpp [various warnings] In file included from /hotspot/src/share/vm/interpreter/cppInterpreterGenerator.hpp:57:0, from /hotspot/src/share/vm/interpreter/interpreterGenerator.hpp:29, from /hotspot/src/cpu/zero/vm/methodHandles_zero.cpp:28: /hotspot/src/cpu/zero/vm/cppInterpreterGenerator_zero.hpp: In static member function 'static u_char* CppInterpreterGenerator::generate_entry_impl(MacroAssembler*, address)': /hotspot/src/cpu/zero/vm/cppInterpreterGenerator_zero.hpp:36:5: error: 'ZeroEntry' was not declared in this scope ZeroEntry *entry = (ZeroEntry *) masm->pc(); ^ /hotspot/src/cpu/zero/vm/cppInterpreterGenerator_zero.hpp:36:16: error: 'entry' was not declared in this scope ZeroEntry *entry = (ZeroEntry *) masm->pc(); ^ /hotspot/src/cpu/zero/vm/cppInterpreterGenerator_zero.hpp:36:36: error: expected primary-expression before ')' token ZeroEntry *entry = (ZeroEntry *) masm->pc(); I tried a few things and I notice that I could get methodHandles build when share/vm/precompiled/precompiled.hpp contained just a single line: # include "ci/ciConstant.hpp" Note: since it contains just that, -DDONT_USE_PRECOMPILED_HEADER gets ignored as there is no #ifndef. By comparing the the header dependencies generated by the arguments "-MMD -MF ../generated/dependencies/methodHandles_zero.o.d" between the above working build and the non pch failing build I noticed that the actual inclusion of "share/vm/interpreter/interpreterGenerator.hpp" was moved way after "entry_zero.hpp". After realizing that I added a "#include entry_zero.hpp" in cpu/zero/vm/methodHandles_zero.cpp in line 28 (ie. before interpreterGenerator.hpp) and that fixed the problem. So afterall the problem seems to be that some hpp/cpp file is missing the entry_zero.hpp include. I'm not sure methodHandles_zero.cpp is indeed the right file for that, but it worked. ;-) -- 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 Oct 25 03:17:27 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 25 Oct 2016 03:17:27 +0000 Subject: /hg/icedtea7-forest/hotspot: 8078628, PR3151: Zero build fails w... Message-ID: changeset 1d13eeada397 in /hg/icedtea7-forest/hotspot details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=1d13eeada397 author: andrew date: Tue Oct 25 04:22:24 2016 +0100 8078628, PR3151: Zero build fails with pre-compiled headers disabled diffstat: src/cpu/zero/vm/entry_zero.hpp | 4 +++- src/cpu/zero/vm/methodHandles_zero.hpp | 6 +++++- src/cpu/zero/vm/nativeInst_zero.cpp | 3 ++- src/share/vm/interpreter/cppInterpreterGenerator.hpp | 5 +++++ src/share/vm/prims/methodHandles.hpp | 5 +++++ 5 files changed, 20 insertions(+), 3 deletions(-) diffs (107 lines): diff -r c7d4a58dc3b6 -r 1d13eeada397 src/cpu/zero/vm/entry_zero.hpp --- a/src/cpu/zero/vm/entry_zero.hpp Thu Oct 06 15:11:35 2016 +0000 +++ b/src/cpu/zero/vm/entry_zero.hpp Tue Oct 25 04:22:24 2016 +0100 @@ -1,6 +1,6 @@ /* * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. - * Copyright 2008, 2009, 2010 Red Hat, Inc. + * Copyright 2016 Red Hat, Inc. * 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 @@ #ifndef CPU_ZERO_VM_ENTRY_ZERO_HPP #define CPU_ZERO_VM_ENTRY_ZERO_HPP +#include "interpreter/cppInterpreter.hpp" + class ZeroEntry { public: ZeroEntry() { diff -r c7d4a58dc3b6 -r 1d13eeada397 src/cpu/zero/vm/methodHandles_zero.hpp --- a/src/cpu/zero/vm/methodHandles_zero.hpp Thu Oct 06 15:11:35 2016 +0000 +++ b/src/cpu/zero/vm/methodHandles_zero.hpp Tue Oct 25 04:22:24 2016 +0100 @@ -1,6 +1,6 @@ /* * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. - * Copyright (c) 2011, 2013, Red Hat, Inc. + * Copyright (c) 2011, 2016, Red Hat, Inc. * 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,6 +23,8 @@ * */ +#ifndef CPU_ZERO_VM_METHODHANDLES_ZERO_HPP +#define CPU_ZERO_VM_METHODHANDLES_ZERO_HPP // Adapters static unsigned int adapter_code_size() { @@ -39,3 +41,5 @@ static int method_handle_entry_linkToVirtual(methodOop method, intptr_t UNUSED, TRAPS); static int method_handle_entry_linkToInterface(methodOop method, intptr_t UNUSED, TRAPS); static int method_handle_entry_invalid(methodOop method, intptr_t UNUSED, TRAPS); + +#endif // CPU_ZERO_VM_METHODHANDLES_ZERO_HPP diff -r c7d4a58dc3b6 -r 1d13eeada397 src/cpu/zero/vm/nativeInst_zero.cpp --- a/src/cpu/zero/vm/nativeInst_zero.cpp Thu Oct 06 15:11:35 2016 +0000 +++ b/src/cpu/zero/vm/nativeInst_zero.cpp Tue Oct 25 04:22:24 2016 +0100 @@ -1,6 +1,6 @@ /* * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. - * Copyright 2008 Red Hat, Inc. + * Copyright 2016 Red Hat, Inc. * 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,7 @@ #include "precompiled.hpp" #include "assembler_zero.inline.hpp" +#include "entry_zero.hpp" #include "memory/resourceArea.hpp" #include "nativeInst_zero.hpp" #include "oops/oop.inline.hpp" diff -r c7d4a58dc3b6 -r 1d13eeada397 src/share/vm/interpreter/cppInterpreterGenerator.hpp --- a/src/share/vm/interpreter/cppInterpreterGenerator.hpp Thu Oct 06 15:11:35 2016 +0000 +++ b/src/share/vm/interpreter/cppInterpreterGenerator.hpp Tue Oct 25 04:22:24 2016 +0100 @@ -1,5 +1,6 @@ /* * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright 2016 Red Hat, Inc. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -28,6 +29,10 @@ // This file contains the platform-independent parts // of the template interpreter generator. +#ifdef TARGET_ARCH_zero +#include "entry_zero.hpp" +#endif + #ifdef CC_INTERP class CppInterpreterGenerator: public AbstractInterpreterGenerator { diff -r c7d4a58dc3b6 -r 1d13eeada397 src/share/vm/prims/methodHandles.hpp --- a/src/share/vm/prims/methodHandles.hpp Thu Oct 06 15:11:35 2016 +0000 +++ b/src/share/vm/prims/methodHandles.hpp Tue Oct 25 04:22:24 2016 +0100 @@ -1,5 +1,6 @@ /* * Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright 2016 Red Hat, Inc. * 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,6 +32,10 @@ #include "runtime/globals.hpp" #include "runtime/interfaceSupport.hpp" +#ifdef TARGET_ARCH_zero +#include "entry_zero.hpp" +#endif + class MacroAssembler; class Label; From bugzilla-daemon at icedtea.classpath.org Tue Oct 25 03:17:34 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Oct 2016 03:17:34 +0000 Subject: [Bug 3151] [IcedTea7] Zero build fails with pch disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3151 --- Comment #16 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/hotspot?cmd=changeset;node=1d13eeada397 author: andrew date: Tue Oct 25 04:22:24 2016 +0100 8078628, PR3151: Zero build fails with pre-compiled headers disabled -- 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 Oct 25 12:17:09 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Oct 2016 12:17:09 +0000 Subject: [Bug 3151] [IcedTea7] Zero build fails with pch disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3151 --- Comment #17 from Andrew John Hughes --- Yeah, my above results were after some initial fixing. It turns out that some of the header files, like methodHandles_zero.hpp aren't real header files at all, but partial chunks that are incorporated into other header files. As such, you can't fix the need for ZeroEntry in the header file itself, but have to conditionally include entry_zero.hpp in the header file which includes the *_zero.hpp file. On examining the preprocessor output again, I saw that ZeroEntry was there but ending up inside another class. After completing my fix, I went to check if it still failed with OpenJDK 9 before filing a bug. It turned out it didn't because of https://bugs.openjdk.java.net/browse/JDK-8078628 which contains many of the same changes applied there, but never backported :/ -- 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 icedtea.classpath.org Tue Oct 25 12:28:02 2016 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Tue, 25 Oct 2016 12:28:02 +0000 Subject: /hg/icedtea-web: JDialog removed as main keeper of information i... Message-ID: changeset 51d1bce42e06 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=51d1bce42e06 author: Jiri Vanek date: Tue Oct 25 14:31:58 2016 +0200 JDialog removed as main keeper of information in SecurityDialog class diffstat: ChangeLog | 44 ++ netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java | 7 +- netx/net/sourceforge/jnlp/resources/Messages.properties | 2 + netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java | 27 +- netx/net/sourceforge/jnlp/security/SecurityDialog.java | 98 +-- netx/net/sourceforge/jnlp/security/SecurityDialogMessageHandler.java | 6 +- netx/net/sourceforge/jnlp/security/SecurityDialogs.java | 2 - netx/net/sourceforge/jnlp/security/dialogresults/SetValueHandler.java | 2 +- netx/net/sourceforge/jnlp/security/dialogs/AccessWarningPane.java | 8 +- netx/net/sourceforge/jnlp/security/dialogs/InetSecurity511Panel.java | 6 +- netx/net/sourceforge/jnlp/security/dialogs/MissingALACAttributePanel.java | 2 +- netx/net/sourceforge/jnlp/security/dialogs/MissingPermissionsAttributePanel.java | 2 +- netx/net/sourceforge/jnlp/security/dialogs/MoreInfoPane.java | 2 +- netx/net/sourceforge/jnlp/security/dialogs/PasswordAuthenticationPane.java | 6 +- netx/net/sourceforge/jnlp/security/dialogs/ViwableDialog.java | 219 ++++++++++ netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/MatchingALACAttributePanel.java | 3 +- netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/PartiallySignedAppTrustWarningPanel.java | 3 +- netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/UnsignedAppletTrustWarningPanel.java | 3 +- netx/net/sourceforge/jnlp/security/dialogs/remember/RememberDialog.java | 9 +- netx/net/sourceforge/jnlp/util/logging/JavaConsole.java | 85 ++- 20 files changed, 397 insertions(+), 139 deletions(-) diffs (truncated from 1091 to 500 lines): diff -r bf5ff6cf2dac -r 51d1bce42e06 ChangeLog --- a/ChangeLog Wed Oct 19 13:40:39 2016 +0200 +++ b/ChangeLog Tue Oct 25 14:31:58 2016 +0200 @@ -1,3 +1,47 @@ +2016-10-25 Jiri Vanek + + JDialog removed as main keeper of information in SecurityDialog class + * netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java: + If headless, is printing downloading message to console + * netx/net/sourceforge/jnlp/resources/Messages.properties: + Added key HEADLESS_MISSCONFIGURED warning user that he do not have X + * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: + checkHeadless made lazy in first call to isHeadless + * netx/net/sourceforge/jnlp/security/SecurityDialog.java: + no longer Extends JDialog, instead have member ViwableDialog. + All calls to former extensions of JDialog changed to this viwableDialog + * netx/net/sourceforge/jnlp/security/SecurityDialogMessageHandler.java: + All calls to former JDialog changed to viwableDialog + * netx/net/sourceforge/jnlp/security/SecurityDialogs.java: + same + * netx/net/sourceforge/jnlp/security/dialogresults/SetValueHandler.java: + same + * netx/net/sourceforge/jnlp/security/dialogs/AccessWarningPane.java: + same + * netx/net/sourceforge/jnlp/security/dialogs/InetSecurity511Panel.java: + same + * netx/net/sourceforge/jnlp/security/dialogs/MissingALACAttributePanel.java: + same + * netx/net/sourceforge/jnlp/security/dialogs/MissingPermissionsAttributePanel.java: + same + * netx/net/sourceforge/jnlp/security/dialogs/MoreInfoPane.java: + same + * netx/net/sourceforge/jnlp/security/dialogs/PasswordAuthenticationPane.java: + same + * netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/MatchingALACAttributePanel.java: + same + * netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/PartiallySignedAppTrustWarningPanel.java: + same + * netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/UnsignedAppletTrustWarningPanel.java: + same + * netx/net/sourceforge/jnlp/security/dialogs/remember/RememberDialog.java: + Search now contains check for itself, as input is not dialog, but security panel + * netx/net/sourceforge/jnlp/util/logging/JavaConsole.java: + made better accepting headless state + * netx/net/sourceforge/jnlp/security/dialogs/ViwableDialog.java: + New class. Instead of applying all sets to jdialog itself, those are saved, + and applied just before cration of the dialog itself. + 2016-10-17 Jiri Vanek Workarounded to pass configure checks on jdk9 to debug build failures themselves diff -r bf5ff6cf2dac -r 51d1bce42e06 netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java --- a/netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java Wed Oct 19 13:40:39 2016 +0200 +++ b/netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java Tue Oct 25 14:31:58 2016 +0200 @@ -30,6 +30,7 @@ import net.sourceforge.jnlp.runtime.*; import net.sourceforge.jnlp.util.ImageResources; import net.sourceforge.jnlp.util.ScreenFinder; +import net.sourceforge.jnlp.util.logging.OutputController; /** * Show the progress of downloads. @@ -338,7 +339,11 @@ // don't get whole string from resource and sub in // values because it'll be doing a MessageFormat for // each update. - header.setText(downloading + " " + downloadName + ": " + percent + "% " + complete + "."); + String s = downloading + " " + downloadName + ": " + percent + "% " + complete + "."; + if (JNLPRuntime.isHeadless()){ + OutputController.getLogger().log(OutputController.Level.MESSAGE_ALL, s); + } + header.setText(s); Container c = header.getParent(); //we need to adapt both panels and also dialog to new length of header text while (c != null) { diff -r bf5ff6cf2dac -r 51d1bce42e06 netx/net/sourceforge/jnlp/resources/Messages.properties --- a/netx/net/sourceforge/jnlp/resources/Messages.properties Wed Oct 19 13:40:39 2016 +0200 +++ b/netx/net/sourceforge/jnlp/resources/Messages.properties Tue Oct 25 14:31:58 2016 +0200 @@ -31,6 +31,8 @@ BUTforward=Forward BUTreload=Reload +HEADLESS_MISSCONFIGURED=Headless check failed. You are forced to run without any graphics. IcedTea-Web can run like this, but your app probably not. This is likely bug in your system. + CertWarnRunTip=Trust this applet and run with full permissions CertWarnSandboxTip=Do not trust this applet and run with restricted permissions CertWarnCancelTip=Do not run this applet diff -r bf5ff6cf2dac -r 51d1bce42e06 netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java --- a/netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java Wed Oct 19 13:40:39 2016 +0200 +++ b/netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java Tue Oct 25 14:31:58 2016 +0200 @@ -48,6 +48,7 @@ import javax.net.ssl.SSLSocketFactory; import javax.net.ssl.TrustManager; import javax.swing.JOptionPane; +import javax.swing.JWindow; import javax.swing.UIManager; import javax.swing.text.html.parser.ParserDelegator; @@ -126,6 +127,7 @@ /** whether netx is in command-line mode (headless) */ private static boolean headless = false; + private static boolean headlessChecked = false; /** whether we'll be checking for jar signing */ private static boolean verify = true; @@ -241,14 +243,11 @@ System.setProperty("javawebstart.version", "javaws-" + System.getProperty("java.version")); - if (headless == false) - checkHeadless(); - - if (!headless && indicator == null) + if (!isHeadless() && indicator == null) indicator = new DefaultDownloadIndicator(); if (handler == null) { - if (headless) { + if (isHeadless()) { handler = new DefaultLaunchHandler(OutputController.getLogger()); } else { handler = new GuiLaunchHandler(OutputController.getLogger()); @@ -500,6 +499,10 @@ * components. */ public static boolean isHeadless() { + if (!headless && !headlessChecked) { + checkHeadless(); + + } return headless; } @@ -733,9 +736,21 @@ //if (GraphicsEnvironment.isHeadless()) // jdk1.4+ only // headless = true; try { - if ("true".equalsIgnoreCase(System.getProperty("java.awt.headless"))) + if ("true".equalsIgnoreCase(System.getProperty("java.awt.headless"))){ headless = true; + } + if (!headless) { + try { + new JWindow().getOwner(); + } catch (Exception ex) { + headless = true; + OutputController.getLogger().log(ex); + OutputController.getLogger().log(OutputController.Level.MESSAGE_ALL, Translator.R("HEADLESS_MISSCONFIGURED")); + } + } } catch (SecurityException ex) { + } finally { + headlessChecked = true; } } diff -r bf5ff6cf2dac -r 51d1bce42e06 netx/net/sourceforge/jnlp/security/SecurityDialog.java --- a/netx/net/sourceforge/jnlp/security/SecurityDialog.java Wed Oct 19 13:40:39 2016 +0200 +++ b/netx/net/sourceforge/jnlp/security/SecurityDialog.java Tue Oct 25 14:31:58 2016 +0200 @@ -38,13 +38,12 @@ package net.sourceforge.jnlp.security; import java.awt.BorderLayout; -import java.awt.event.ActionListener; +import java.awt.Component; +import java.awt.Dialog.ModalityType; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.net.URL; import java.security.cert.X509Certificate; -import java.util.List; -import java.util.concurrent.CopyOnWriteArrayList; import javax.swing.JDialog; @@ -64,8 +63,8 @@ import net.sourceforge.jnlp.security.dialogs.PasswordAuthenticationPane; import net.sourceforge.jnlp.security.dialogs.SecurityDialogPanel; import net.sourceforge.jnlp.security.dialogs.SingleCertInfoPane; +import net.sourceforge.jnlp.security.dialogs.ViwableDialog; import net.sourceforge.jnlp.security.dialogs.apptrustwarningpanel.AppTrustWarningDialog; -import net.sourceforge.jnlp.util.ImageResources; import net.sourceforge.jnlp.util.ScreenFinder; import net.sourceforge.jnlp.util.logging.OutputController; @@ -77,7 +76,7 @@ * * @author Joshua Sumali */ -public class SecurityDialog extends JDialog { +public class SecurityDialog { /** The type of dialog we want to show */ private final DialogType dialogType; @@ -104,14 +103,15 @@ private boolean initialized = false; private DialogResult value; + + private ViwableDialog viwableDialog; /** Should show signed JNLP file warning */ private boolean requiresSignedJNLPWarning; SecurityDialog(DialogType dialogType, AccessType accessType, JNLPFile file, CertVerifier JarCertVerifier, X509Certificate cert, Object[] extras) { - super(); - setIconImages(ImageResources.INSTANCE.getApplicationImages()); + this.viwableDialog = new ViwableDialog(); this.dialogType = dialogType; this.accessType = accessType; this.file = file; @@ -188,9 +188,9 @@ SecurityDialog dialog = new SecurityDialog(DialogType.MORE_INFO, null, file, certVerifier); - dialog.setModalityType(ModalityType.APPLICATION_MODAL); - dialog.setVisible(true); - dialog.dispose(); + dialog.getViwableDialog().setModalityType(ModalityType.APPLICATION_MODAL); + dialog.getViwableDialog().show(); + dialog.getViwableDialog().dispose(); } /** @@ -200,13 +200,13 @@ * @param parent the parent option pane */ public static void showCertInfoDialog(CertVerifier certVerifier, - SecurityDialog parent) { + Component parent) { SecurityDialog dialog = new SecurityDialog(DialogType.CERT_INFO, null, null, certVerifier); - dialog.setLocationRelativeTo(parent); - dialog.setModalityType(ModalityType.APPLICATION_MODAL); - dialog.setVisible(true); - dialog.dispose(); + dialog.getViwableDialog().setLocationRelativeTo(parent); + dialog.getViwableDialog().setModalityType(ModalityType.APPLICATION_MODAL); + dialog.getViwableDialog().show(); + dialog.getViwableDialog().dispose(); } /** @@ -218,24 +218,24 @@ public static void showSingleCertInfoDialog(X509Certificate c, JDialog parent) { SecurityDialog dialog = new SecurityDialog(DialogType.SINGLE_CERT_INFO, c); - dialog.setLocationRelativeTo(parent); - dialog.setModalityType(ModalityType.APPLICATION_MODAL); - dialog.setVisible(true); - dialog.dispose(); + dialog.getViwableDialog().setLocationRelativeTo(parent); + dialog.getViwableDialog().setModalityType(ModalityType.APPLICATION_MODAL); + dialog.getViwableDialog().show(); + dialog.getViwableDialog().dispose(); } private void initDialog() { String dialogTitle = createTitle(); - setTitle(dialogTitle); - setModalityType(ModalityType.MODELESS); + getViwableDialog().setTitle(dialogTitle); + getViwableDialog().setModalityType(ModalityType.MODELESS); - setDefaultCloseOperation(DISPOSE_ON_CLOSE); + getViwableDialog().setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); installPanel(); - pack(); - centerDialog(this); + getViwableDialog().pack(); + getViwableDialog().centerDialog(); WindowAdapter adapter = new WindowAdapter() { private boolean gotFocus = false; @@ -253,13 +253,13 @@ public void windowOpened(WindowEvent e) { if (e.getSource() instanceof SecurityDialog) { SecurityDialog dialog = (SecurityDialog) e.getSource(); - dialog.setResizable(true); + dialog.getViwableDialog().setResizable(true); dialog.setValue(null); } } }; - addWindowListener(adapter); - addWindowFocusListener(adapter); + getViwableDialog().addWindowListener(adapter); + getViwableDialog().addWindowFocusListener(adapter); } private String createTitle() { @@ -356,11 +356,7 @@ */ private void installPanel() { panel = getPanel(); - add(panel, BorderLayout.CENTER); - } - - private static void centerDialog(JDialog dialog) { - ScreenFinder.centerWindowsToCurrentScreen(dialog); + getViwableDialog().add(panel, BorderLayout.CENTER); } private void selectDefaultButton() { @@ -381,37 +377,6 @@ return value; } - /** - * Called when the SecurityDialog is hidden - either because the user - * made a choice (Ok, Cancel, etc) or closed the window - */ - @Override - public void dispose() { - notifySelectionMade(); - super.dispose(); - } - - private final List listeners = new CopyOnWriteArrayList<>(); - - /** - * Notify all the listeners that the user has made a decision using this - * security dialog. - */ - private void notifySelectionMade() { - for (ActionListener listener : listeners) { - listener.actionPerformed(null); - } - } - - /** - * Adds an {@link ActionListener} which will be notified if the user makes a - * choice using this SecurityDialog. The listener should use {@link #getValue()} - * to actually get the user's response. - * @param listener another action listener to be listen to - */ - public void addActionListener(ActionListener listener) { - listeners.add(listener); - } public boolean requiresSignedJNLPWarning() { @@ -438,4 +403,11 @@ return panel.helpToStdIn(); } + public ViwableDialog getViwableDialog() { + return viwableDialog; + } + + public SecurityDialogPanel getSecurityDialogPanel(){ + return panel; + } } diff -r bf5ff6cf2dac -r 51d1bce42e06 netx/net/sourceforge/jnlp/security/SecurityDialogMessageHandler.java --- a/netx/net/sourceforge/jnlp/security/SecurityDialogMessageHandler.java Wed Oct 19 13:40:39 2016 +0200 +++ b/netx/net/sourceforge/jnlp/security/SecurityDialogMessageHandler.java Tue Oct 25 14:31:58 2016 +0200 @@ -117,7 +117,7 @@ return; } - final RememberableDialog found = RememberDialog.getInstance().findRememberablePanel(dialog); + final RememberableDialog found = RememberDialog.getInstance().findRememberablePanel(dialog.getSecurityDialogPanel()); SavedRememberAction action = null; if (found!=null){ action = RememberDialog.getInstance().getRememberedState(found); @@ -155,7 +155,7 @@ } private void processMessageInGui(final SecurityDialog dialog, final RememberableDialog found, final SecurityDialogMessage message) { - dialog.addActionListener(new ActionListener() { + dialog.getViwableDialog().addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { @@ -169,7 +169,7 @@ } }); - dialog.setVisible(true); + dialog.getViwableDialog().show(); } private void processMessageInHeadless(final SecurityDialog dialog, final SecurityDialogMessage message) { diff -r bf5ff6cf2dac -r 51d1bce42e06 netx/net/sourceforge/jnlp/security/SecurityDialogs.java --- a/netx/net/sourceforge/jnlp/security/SecurityDialogs.java Wed Oct 19 13:40:39 2016 +0200 +++ b/netx/net/sourceforge/jnlp/security/SecurityDialogs.java Tue Oct 25 14:31:58 2016 +0200 @@ -50,7 +50,6 @@ import javax.swing.SwingUtilities; import net.sourceforge.jnlp.JNLPFile; -import net.sourceforge.jnlp.LaunchException; import net.sourceforge.jnlp.cache.Resource; import net.sourceforge.jnlp.runtime.JNLPClassLoader.SecurityDelegate; import net.sourceforge.jnlp.runtime.JNLPRuntime; @@ -60,7 +59,6 @@ import net.sourceforge.jnlp.security.dialogresults.YesCancel; import net.sourceforge.jnlp.security.dialogresults.YesNoSandbox; import net.sourceforge.jnlp.security.dialogresults.YesNoSandboxLimited; -import net.sourceforge.jnlp.security.dialogs.InetSecurity511Panel; import net.sourceforge.jnlp.util.UrlUtils; import net.sourceforge.jnlp.util.logging.OutputController; diff -r bf5ff6cf2dac -r 51d1bce42e06 netx/net/sourceforge/jnlp/security/dialogresults/SetValueHandler.java --- a/netx/net/sourceforge/jnlp/security/dialogresults/SetValueHandler.java Wed Oct 19 13:40:39 2016 +0200 +++ b/netx/net/sourceforge/jnlp/security/dialogresults/SetValueHandler.java Tue Oct 25 14:31:58 2016 +0200 @@ -72,7 +72,7 @@ @Override public void actionPerformed(ActionEvent e) { dialog.setValue(returnValue); - dialog.dispose(); + dialog.getViwableDialog().dispose(); } } diff -r bf5ff6cf2dac -r 51d1bce42e06 netx/net/sourceforge/jnlp/security/dialogs/AccessWarningPane.java --- a/netx/net/sourceforge/jnlp/security/dialogs/AccessWarningPane.java Wed Oct 19 13:40:39 2016 +0200 +++ b/netx/net/sourceforge/jnlp/security/dialogs/AccessWarningPane.java Tue Oct 25 14:31:58 2016 +0200 @@ -289,7 +289,7 @@ negateVisibility(rememberPanel); negateVisibility(htmlPanelDesktop); negateVisibility(htmlPanelMenu); - AccessWarningPane.this.parent.pack(); + AccessWarningPane.this.parent.getViwableDialog().pack(); } @@ -305,7 +305,7 @@ @Override public void actionPerformed(ActionEvent e) { parent.setValue(getModifier(BasicDialogValue.Primitive.YES)); - parent.dispose(); + parent.getViwableDialog().dispose(); } }); cancel.addActionListener(new ActionListener() { @@ -313,7 +313,7 @@ @Override public void actionPerformed(ActionEvent e) { parent.setValue(getModifier(BasicDialogValue.Primitive.NO)); - parent.dispose(); + parent.getViwableDialog().dispose(); } }); initialFocusComponent = cancel; @@ -329,7 +329,7 @@ add(buttonPanel); rememberPanel.setVisible(false); - this.parent.pack(); + this.parent.getViwableDialog().pack(); } diff -r bf5ff6cf2dac -r 51d1bce42e06 netx/net/sourceforge/jnlp/security/dialogs/InetSecurity511Panel.java --- a/netx/net/sourceforge/jnlp/security/dialogs/InetSecurity511Panel.java Wed Oct 19 13:40:39 2016 +0200 +++ b/netx/net/sourceforge/jnlp/security/dialogs/InetSecurity511Panel.java Tue Oct 25 14:31:58 2016 +0200 @@ -92,7 +92,7 @@ public void actionPerformed(ActionEvent e) { if (sd != null) { sd.setValue(YesCancelSkip.yes()); - sd.dispose(); + parent.getViwableDialog().dispose(); } } }); @@ -103,7 +103,7 @@ public void actionPerformed(ActionEvent e) { if (sd != null) { sd.setValue(YesCancelSkip.cancel()); - sd.dispose(); + parent.getViwableDialog().dispose(); } } }); @@ -143,7 +143,7 @@ this.add(title, BorderLayout.NORTH); if (sd != null) { //for testing pusposes - sd.pack(); + sd.getViwableDialog().pack(); } } diff -r bf5ff6cf2dac -r 51d1bce42e06 netx/net/sourceforge/jnlp/security/dialogs/MissingALACAttributePanel.java --- a/netx/net/sourceforge/jnlp/security/dialogs/MissingALACAttributePanel.java Wed Oct 19 13:40:39 2016 +0200 +++ b/netx/net/sourceforge/jnlp/security/dialogs/MissingALACAttributePanel.java Tue Oct 25 14:31:58 2016 +0200 @@ -89,7 +89,7 @@ throw new RuntimeException(ex); } if (x != null) { - x.setMinimumSize(new Dimension(600, 400)); + x.getViwableDialog().setMinimumSize(new Dimension(600, 400)); } } From bugzilla-daemon at icedtea.classpath.org Tue Oct 25 18:28:53 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Oct 2016 18:28:53 +0000 Subject: [Bug 3152] [IcedTea6] Zero build fails with pch disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3152 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Target Milestone|--- |6-1.13.13 Summary|[IcedTea6] build fails with |[IcedTea6] Zero build fails |pch disabled |with pch disabled -- 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 Oct 25 18:29:15 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Oct 2016 18:29:15 +0000 Subject: [Bug 3208] New: [IcedTea8] Zero build fails with pch disabled Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3208 Bug ID: 3208 Summary: [IcedTea8] Zero build fails with pch disabled Product: IcedTea Version: 8-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 Clone of bug 3151 for IcedTea 3.x. In file included from /home/andrew/projects/openjdk/upstream/icedtea8/hotspot/src/share/vm/interpreter/cppInterpreterGenerator.hpp:57:0, from /home/andrew/projects/openjdk/upstream/icedtea8/hotspot/src/share/vm/interpreter/interpreterGenerator.hpp:29, from /home/andrew/projects/openjdk/upstream/icedtea8/hotspot/src/cpu/zero/vm/methodHandles_zero.cpp:27: /home/andrew/projects/openjdk/upstream/icedtea8/hotspot/src/cpu/zero/vm/cppInterpreterGenerator_zero.hpp: In static member function 'static u_char* CppInterpreterGenerator::generate_entry_impl(MacroAssembler*, address)': /home/andrew/projects/openjdk/upstream/icedtea8/hotspot/src/cpu/zero/vm/cppInterpreterGenerator_zero.hpp:36:5: error: 'ZeroEntry' was not declared in this scope ZeroEntry *entry = (ZeroEntry *) masm->pc(); ^~~~~~~~~ /home/andrew/projects/openjdk/upstream/icedtea8/hotspot/src/cpu/zero/vm/cppInterpreterGenerator_zero.hpp:36:16: error: 'entry' was not declared in this scope ZeroEntry *entry = (ZeroEntry *) masm->pc(); ^~~~~ /home/andrew/projects/openjdk/upstream/icedtea8/hotspot/src/cpu/zero/vm/cppInterpreterGenerator_zero.hpp:36:36: error: expected primary-expression before ')' token ZeroEntry *entry = (ZeroEntry *) masm->pc(); ^ /home/andrew/projects/openjdk/upstream/icedtea8/hotspot/make/linux/makefiles/rules.make:142: recipe for target 'methodHandles_zero.o' failed gmake[6]: *** [methodHandles_zero.o] Error 1 gmake[6]: *** Waiting for unfinished jobs.... gmake[6]: Leaving directory '/mnt/builder/icedtea8/hotspot/linux_amd64_zero/product' gmake[5]: *** [the_vm] Error 2 -- 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 Oct 25 18:29:36 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Oct 2016 18:29:36 +0000 Subject: [Bug 3208] [IcedTea8] Zero build fails with pch disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3208 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Blocks| |2965 Target Milestone|--- |3.2.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 Oct 25 18:29:36 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Oct 2016 18:29:36 +0000 Subject: [Bug 2965] [TRACKER] IcedTea 3.2.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2965 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |3208 -- 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 Oct 25 22:37:52 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Oct 2016 22:37:52 +0000 Subject: [Bug 1978] [IcedTea8] Support using the system installation of libpcsclite In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1978 --- Comment #3 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8-forest?cmd=changeset;node=0328c29d3fcb author: andrew date: Tue Oct 25 22:17:38 2016 +0100 PR1978: Allow use of system PCSC -- 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 Oct 25 22:37:58 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Oct 2016 22:37:58 +0000 Subject: [Bug 2445] [IcedTea8] Support system libsctp In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2445 --- Comment #3 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8-forest?cmd=changeset;node=de0b3b08c159 author: andrew date: Tue Oct 25 23:39:27 2016 +0100 PR2445: Support system libsctp -- 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 Oct 25 22:38:20 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 25 Oct 2016 22:38:20 +0000 Subject: /hg/icedtea8-forest/hotspot: 8078628, PR3208: Zero build fails w... Message-ID: changeset 3e73be729f73 in /hg/icedtea8-forest/hotspot details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=3e73be729f73 author: andrew date: Tue Oct 25 22:16:45 2016 +0100 8078628, PR3208: Zero build fails with pre-compiled headers disabled diffstat: src/cpu/zero/vm/entry_zero.hpp | 4 +++- src/cpu/zero/vm/methodHandles_zero.hpp | 6 +++++- src/cpu/zero/vm/nativeInst_zero.cpp | 3 ++- src/share/vm/interpreter/cppInterpreterGenerator.hpp | 5 +++++ src/share/vm/prims/methodHandles.hpp | 5 +++++ 5 files changed, 20 insertions(+), 3 deletions(-) diffs (107 lines): diff -r e200581a7a13 -r 3e73be729f73 src/cpu/zero/vm/entry_zero.hpp --- a/src/cpu/zero/vm/entry_zero.hpp Mon Aug 08 15:51:36 2016 +0100 +++ b/src/cpu/zero/vm/entry_zero.hpp Tue Oct 25 22:16:45 2016 +0100 @@ -1,6 +1,6 @@ /* * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. - * Copyright 2008, 2009, 2010 Red Hat, Inc. + * Copyright 2016 Red Hat, Inc. * 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 @@ #ifndef CPU_ZERO_VM_ENTRY_ZERO_HPP #define CPU_ZERO_VM_ENTRY_ZERO_HPP +#include "interpreter/cppInterpreter.hpp" + class ZeroEntry { public: ZeroEntry() { diff -r e200581a7a13 -r 3e73be729f73 src/cpu/zero/vm/methodHandles_zero.hpp --- a/src/cpu/zero/vm/methodHandles_zero.hpp Mon Aug 08 15:51:36 2016 +0100 +++ b/src/cpu/zero/vm/methodHandles_zero.hpp Tue Oct 25 22:16:45 2016 +0100 @@ -1,6 +1,6 @@ /* * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. - * Copyright 2011 Red Hat, Inc. + * Copyright 2016 Red Hat, Inc. * 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,6 +23,8 @@ * */ +#ifndef CPU_ZERO_VM_METHODHANDLES_ZERO_HPP +#define CPU_ZERO_VM_METHODHANDLES_ZERO_HPP // Adapters enum /* platform_dependent_constants */ { @@ -37,3 +39,5 @@ static int method_handle_entry_linkToVirtual(Method* method, intptr_t UNUSED, TRAPS); static int method_handle_entry_linkToInterface(Method* method, intptr_t UNUSED, TRAPS); static int method_handle_entry_invalid(Method* method, intptr_t UNUSED, TRAPS); + +#endif // CPU_ZERO_VM_METHODHANDLES_ZERO_HPP diff -r e200581a7a13 -r 3e73be729f73 src/cpu/zero/vm/nativeInst_zero.cpp --- a/src/cpu/zero/vm/nativeInst_zero.cpp Mon Aug 08 15:51:36 2016 +0100 +++ b/src/cpu/zero/vm/nativeInst_zero.cpp Tue Oct 25 22:16:45 2016 +0100 @@ -1,6 +1,6 @@ /* * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. - * Copyright 2008 Red Hat, Inc. + * Copyright 2016 Red Hat, Inc. * 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,7 @@ #include "precompiled.hpp" #include "assembler_zero.inline.hpp" +#include "entry_zero.hpp" #include "memory/resourceArea.hpp" #include "nativeInst_zero.hpp" #include "oops/oop.inline.hpp" diff -r e200581a7a13 -r 3e73be729f73 src/share/vm/interpreter/cppInterpreterGenerator.hpp --- a/src/share/vm/interpreter/cppInterpreterGenerator.hpp Mon Aug 08 15:51:36 2016 +0100 +++ b/src/share/vm/interpreter/cppInterpreterGenerator.hpp Tue Oct 25 22:16:45 2016 +0100 @@ -1,5 +1,6 @@ /* * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright 2016 Red Hat, Inc. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -28,6 +29,10 @@ // This file contains the platform-independent parts // of the template interpreter generator. +#ifdef TARGET_ARCH_zero +#include "entry_zero.hpp" +#endif + #ifdef CC_INTERP class CppInterpreterGenerator: public AbstractInterpreterGenerator { diff -r e200581a7a13 -r 3e73be729f73 src/share/vm/prims/methodHandles.hpp --- a/src/share/vm/prims/methodHandles.hpp Mon Aug 08 15:51:36 2016 +0100 +++ b/src/share/vm/prims/methodHandles.hpp Tue Oct 25 22:16:45 2016 +0100 @@ -1,5 +1,6 @@ /* * Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright 2016 Red Hat, Inc. * 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,6 +32,10 @@ #include "runtime/globals.hpp" #include "runtime/interfaceSupport.hpp" +#ifdef TARGET_ARCH_zero +#include "entry_zero.hpp" +#endif + class MacroAssembler; class Label; From bugzilla-daemon at icedtea.classpath.org Tue Oct 25 22:38:26 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Oct 2016 22:38:26 +0000 Subject: [Bug 3208] [IcedTea8] Zero build fails with pch disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3208 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8-forest/hotspot?cmd=changeset;node=3e73be729f73 author: andrew date: Tue Oct 25 22:16:45 2016 +0100 8078628, PR3208: Zero build fails with pre-compiled headers disabled -- 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 Oct 25 22:38:32 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Tue, 25 Oct 2016 22:38:32 +0000 Subject: /hg/icedtea8-forest/jdk: 2 new changesets Message-ID: changeset dc4de5de2743 in /hg/icedtea8-forest/jdk details: http://icedtea.classpath.org/hg/icedtea8-forest/jdk?cmd=changeset;node=dc4de5de2743 author: andrew date: Tue Oct 25 22:17:18 2016 +0100 PR1978: Allow use of system PCSC changeset 126d20761aa9 in /hg/icedtea8-forest/jdk details: http://icedtea.classpath.org/hg/icedtea8-forest/jdk?cmd=changeset;node=126d20761aa9 author: andrew date: Tue Oct 25 23:39:40 2016 +0100 PR2445: Support system libsctp diffstat: make/lib/NioLibraries.gmk | 14 ++- make/lib/SecurityLibraries.gmk | 15 ++- src/solaris/classes/sun/nio/ch/sctp/SctpChannelImpl.java | 2 +- src/solaris/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java | 2 +- src/solaris/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java | 2 +- src/solaris/native/sun/nio/ch/sctp/Sctp.h | 25 ++++- src/solaris/native/sun/nio/ch/sctp/SctpNet.c | 6 +- src/solaris/native/sun/security/smartcardio/pcsc_md.c | 7 + src/solaris/native/sun/security/smartcardio/pcsc_md.h | 40 ++++++++++ 9 files changed, 95 insertions(+), 18 deletions(-) diffs (298 lines): diff -r 9185a15650c3 -r 126d20761aa9 make/lib/NioLibraries.gmk --- a/make/lib/NioLibraries.gmk Mon Oct 24 05:20:00 2016 +0100 +++ b/make/lib/NioLibraries.gmk Tue Oct 25 23:39:40 2016 +0100 @@ -169,11 +169,19 @@ ifeq (, $(filter $(OPENJDK_TARGET_OS), macosx aix)) + ifeq ($(USE_EXTERNAL_SCTP), true) + J2SCTP_CFLAGS := -DUSE_SYSTEM_SCTP $(SCTP_CFLAGS) + J2SCTP_LIBS := $(SCTP_LIBS) + else + J2SCTP_CFLAGS := + J2SCTP_LIBS := $(LIBDL) + endif + # Suppress unused parameters required by exported JNI functions. SCTP_WERROR := $(CFLAGS_WARNINGS_ARE_ERRORS) $(eval $(call SetupNativeCompilation,BUILD_LIBSCTP, \ - LIBRARY := sctp, \ + LIBRARY := j2sctp, \ OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ SRC := $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/nio/ch/sctp, \ LANG := C, \ @@ -184,11 +192,11 @@ -I$(JDK_TOPDIR)/src/share/native/java/net \ -I$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/nio/ch \ -I$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/java/net, \ - CFLAGS_linux := $(SCTP_WERROR), \ + CFLAGS_linux := $(SCTP_WERROR) $(J2SCTP_CFLAGS), \ MAPFILE := $(JDK_TOPDIR)/make/mapfiles/libsctp/mapfile-vers, \ LDFLAGS := $(LDFLAGS_JDKLIB) \ $(call SET_SHARED_LIBRARY_ORIGIN), \ - LDFLAGS_SUFFIX_linux := -lpthread $(LIBDL) -ljava -ljvm, \ + LDFLAGS_SUFFIX_linux := -lpthread $(J2SCTP_LIBS) -ljava -ljvm, \ LDFLAGS_SUFFIX_posix := -lnio -lnet, \ LDFLAGS_SUFFIX_solaris := -lsocket -ljava -ljvm -lc, \ LDFLAGS_SUFFIX_macosx := -ljava -ljvm, \ diff -r 9185a15650c3 -r 126d20761aa9 make/lib/SecurityLibraries.gmk --- a/make/lib/SecurityLibraries.gmk Mon Oct 24 05:20:00 2016 +0100 +++ b/make/lib/SecurityLibraries.gmk Tue Oct 25 23:39:40 2016 +0100 @@ -64,6 +64,14 @@ ########################################################################################## +ifeq ($(USE_EXTERNAL_PCSC), true) + J2PCSC_CFLAGS := -DUSE_SYSTEM_PCSC $(PCSC_CFLAGS) + J2PCSC_LIBS := $(PCSC_LIBS) +else + J2PCSC_CFLAGS := -I$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/security/smartcardio/MUSCLE + J2PCSC_LIBS := $(LIBDL) +endif + $(eval $(call SetupNativeCompilation,BUILD_LIBJ2PCSC, \ LIBRARY := j2pcsc, \ OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ @@ -72,14 +80,13 @@ LANG := C, \ CFLAGS_posix := -D__sun_jdk, \ OPTIMIZATION := LOW, \ - CFLAGS := $(CFLAGS_JDKLIB) \ + CFLAGS := $(CFLAGS_JDKLIB) $(J2PCSC_CFLAGS) \ -I$(JDK_TOPDIR)/src/share/native/sun/security/smartcardio \ - -I$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/security/smartcardio \ - -I$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/security/smartcardio/MUSCLE, \ + -I$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/security/smartcardio, \ MAPFILE := $(JDK_TOPDIR)/make/mapfiles/libj2pcsc/mapfile-vers, \ LDFLAGS := $(LDFLAGS_JDKLIB) \ $(call SET_SHARED_LIBRARY_ORIGIN), \ - LDFLAGS_SUFFIX_posix := $(LIBDL), \ + LDFLAGS_SUFFIX_posix := $(J2PCSC_LIBS), \ LDFLAGS_SUFFIX_windows := winscard.lib, \ LDFLAGS_SUFFIX_solaris := -lc, \ VERSIONINFO_RESOURCE := $(JDK_TOPDIR)/src/windows/resource/version.rc, \ diff -r 9185a15650c3 -r 126d20761aa9 src/solaris/classes/sun/nio/ch/sctp/SctpChannelImpl.java --- a/src/solaris/classes/sun/nio/ch/sctp/SctpChannelImpl.java Mon Oct 24 05:20:00 2016 +0100 +++ b/src/solaris/classes/sun/nio/ch/sctp/SctpChannelImpl.java Tue Oct 25 23:39:40 2016 +0100 @@ -1113,7 +1113,7 @@ java.security.AccessController.doPrivileged( new java.security.PrivilegedAction() { public Void run() { - System.loadLibrary("sctp"); + System.loadLibrary("j2sctp"); return null; } }); diff -r 9185a15650c3 -r 126d20761aa9 src/solaris/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java --- a/src/solaris/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java Mon Oct 24 05:20:00 2016 +0100 +++ b/src/solaris/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java Tue Oct 25 23:39:40 2016 +0100 @@ -998,7 +998,7 @@ java.security.AccessController.doPrivileged( new java.security.PrivilegedAction() { public Void run() { - System.loadLibrary("sctp"); + System.loadLibrary("j2sctp"); return null; } }); diff -r 9185a15650c3 -r 126d20761aa9 src/solaris/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java --- a/src/solaris/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java Mon Oct 24 05:20:00 2016 +0100 +++ b/src/solaris/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java Tue Oct 25 23:39:40 2016 +0100 @@ -429,7 +429,7 @@ java.security.AccessController.doPrivileged( new java.security.PrivilegedAction() { public Void run() { - System.loadLibrary("sctp"); + System.loadLibrary("j2sctp"); return null; } }); diff -r 9185a15650c3 -r 126d20761aa9 src/solaris/native/sun/nio/ch/sctp/Sctp.h --- a/src/solaris/native/sun/nio/ch/sctp/Sctp.h Mon Oct 24 05:20:00 2016 +0100 +++ b/src/solaris/native/sun/nio/ch/sctp/Sctp.h Tue Oct 25 23:39:40 2016 +0100 @@ -74,19 +74,20 @@ #include #include "jni.h" -//Causes compiler error if not found, should make warning and uncomment -/*#include */ - -#ifndef IPPROTO_SCTP -#define IPPROTO_SCTP 132 -#endif - /* The current version of lksctp does * not define the following option that the Java API (optionally) supports */ #ifndef SCTP_EXPLICIT_EOR #define SCTP_EXPLICIT_EOR -1 #endif +#ifdef USE_SYSTEM_SCTP +#include +#else + +#ifndef IPPROTO_SCTP +#define IPPROTO_SCTP 132 +#endif + /* Definitions taken from lksctp-tools-1.0.8/src/include/netinet/sctp.h */ #ifndef SCTP_INITMSG @@ -319,15 +320,25 @@ typedef int sctp_bindx_func(int sd, struct sockaddr *addrs, int addrcnt, int flags); typedef int sctp_peeloff_func(int sock, sctp_assoc_t id); +#endif #endif /* __linux__ */ +#ifdef USE_SYSTEM_SCTP +#define nio_sctp_getladdrs sctp_getladdrs +#define nio_sctp_freeladdrs sctp_freeladdrs +#define nio_sctp_getpaddrs sctp_getpaddrs +#define nio_sctp_freepaddrs sctp_freepaddrs +#define nio_sctp_bindx sctp_bindx +#define nio_sctp_peeloff sctp_peeloff +#else sctp_getladdrs_func* nio_sctp_getladdrs; sctp_freeladdrs_func* nio_sctp_freeladdrs; sctp_getpaddrs_func* nio_sctp_getpaddrs; sctp_freepaddrs_func* nio_sctp_freepaddrs; sctp_bindx_func* nio_sctp_bindx; sctp_peeloff_func* nio_sctp_peeloff; +#endif jboolean loadSocketExtensionFuncs(JNIEnv* env); diff -r 9185a15650c3 -r 126d20761aa9 src/solaris/native/sun/nio/ch/sctp/SctpNet.c --- a/src/solaris/native/sun/nio/ch/sctp/SctpNet.c Mon Oct 24 05:20:00 2016 +0100 +++ b/src/solaris/native/sun/nio/ch/sctp/SctpNet.c Tue Oct 25 23:39:40 2016 +0100 @@ -25,7 +25,10 @@ #include #include + +#ifndef USE_SYSTEM_SCTP #include +#endif #include "Sctp.h" #include "jni.h" @@ -58,6 +61,7 @@ */ jboolean loadSocketExtensionFuncs (JNIEnv* env) { +#ifndef USE_SYSTEM_SCTP if (dlopen(nativeSctpLib, RTLD_GLOBAL | RTLD_LAZY) == NULL) { JNU_ThrowByName(env, "java/lang/UnsupportedOperationException", dlerror()); @@ -105,7 +109,7 @@ dlerror()); return JNI_FALSE; } - +#endif funcsLoaded = JNI_TRUE; return JNI_TRUE; } diff -r 9185a15650c3 -r 126d20761aa9 src/solaris/native/sun/security/smartcardio/pcsc_md.c --- a/src/solaris/native/sun/security/smartcardio/pcsc_md.c Mon Oct 24 05:20:00 2016 +0100 +++ b/src/solaris/native/sun/security/smartcardio/pcsc_md.c Tue Oct 25 23:39:40 2016 +0100 @@ -36,6 +36,7 @@ #include "pcsc_md.h" +#ifndef USE_SYSTEM_PCSC void *hModule; FPTR_SCardEstablishContext scardEstablishContext; FPTR_SCardConnect scardConnect; @@ -47,6 +48,7 @@ FPTR_SCardBeginTransaction scardBeginTransaction; FPTR_SCardEndTransaction scardEndTransaction; FPTR_SCardControl scardControl; +#endif /* * Throws a Java Exception by name @@ -75,6 +77,7 @@ throwByName(env, "java/io/IOException", msg); } +#ifndef USE_SYSTEM_PCSC void *findFunction(JNIEnv *env, void *hModule, char *functionName) { void *fAddress = dlsym(hModule, functionName); if (fAddress == NULL) { @@ -85,9 +88,11 @@ } return fAddress; } +#endif JNIEXPORT void JNICALL Java_sun_security_smartcardio_PlatformPCSC_initialize (JNIEnv *env, jclass thisClass, jstring jLibName) { +#ifndef USE_SYSTEM_PCSC const char *libName = (*env)->GetStringUTFChars(env, jLibName, NULL); if (libName == NULL) { throwNullPointerException(env, "PCSC library name is null"); @@ -141,4 +146,6 @@ #else scardControl = (FPTR_SCardControl) findFunction(env, hModule, "SCardControl132"); #endif // __APPLE__ + +#endif // USE_SYSTEM_PCSC } diff -r 9185a15650c3 -r 126d20761aa9 src/solaris/native/sun/security/smartcardio/pcsc_md.h --- a/src/solaris/native/sun/security/smartcardio/pcsc_md.h Mon Oct 24 05:20:00 2016 +0100 +++ b/src/solaris/native/sun/security/smartcardio/pcsc_md.h Tue Oct 25 23:39:40 2016 +0100 @@ -23,6 +23,8 @@ * questions. */ +#ifndef USE_SYSTEM_PCSC + typedef LONG (*FPTR_SCardEstablishContext)(ULONG dwScope, const void *pvReserved1, const void *pvReserved2, @@ -110,3 +112,41 @@ extern FPTR_SCardBeginTransaction scardBeginTransaction; extern FPTR_SCardEndTransaction scardEndTransaction; extern FPTR_SCardControl scardControl; + +#else + +#define CALL_SCardEstablishContext(dwScope, pvReserved1, pvReserved2, phContext) \ + (SCardEstablishContext(dwScope, pvReserved1, pvReserved2, phContext)) + +#define CALL_SCardConnect(hContext, szReader, dwSharedMode, dwPreferredProtocols, phCard, pdwActiveProtocols) \ + (SCardConnect(hContext, szReader, dwSharedMode, dwPreferredProtocols, phCard, pdwActiveProtocols)) + +#define CALL_SCardDisconnect(hCard, dwDisposition) \ + (SCardDisconnect(hCard, dwDisposition)) + +#define CALL_SCardStatus(hCard, mszReaderNames, pcchReaderLen, pdwState, pdwProtocol, pbAtr, pcbAtrLen) \ + (SCardStatus(hCard, mszReaderNames, pcchReaderLen, pdwState, pdwProtocol, pbAtr, pcbAtrLen)) + +#define CALL_SCardGetStatusChange(hContext, dwTimeout, rgReaderStates, cReaders) \ + (SCardGetStatusChange(hContext, dwTimeout, rgReaderStates, cReaders)) + +#define CALL_SCardTransmit(hCard, pioSendPci, pbSendBuffer, cbSendLength, \ + pioRecvPci, pbRecvBuffer, pcbRecvLength) \ + (SCardTransmit(hCard, pioSendPci, pbSendBuffer, cbSendLength, \ + pioRecvPci, pbRecvBuffer, pcbRecvLength)) + +#define CALL_SCardListReaders(hContext, mszGroups, mszReaders, pcchReaders) \ + (SCardListReaders(hContext, mszGroups, mszReaders, pcchReaders)) + +#define CALL_SCardBeginTransaction(hCard) \ + (SCardBeginTransaction(hCard)) + +#define CALL_SCardEndTransaction(hCard, dwDisposition) \ + (SCardEndTransaction(hCard, dwDisposition)) + +#define CALL_SCardControl(hCard, dwControlCode, pbSendBuffer, cbSendLength, \ + pbRecvBuffer, pcbRecvLength, lpBytesReturned) \ + (SCardControl(hCard, dwControlCode, pbSendBuffer, cbSendLength, \ + pbRecvBuffer, pcbRecvLength, lpBytesReturned)) + +#endif From bugzilla-daemon at icedtea.classpath.org Tue Oct 25 22:38:38 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Oct 2016 22:38:38 +0000 Subject: [Bug 1978] [IcedTea8] Support using the system installation of libpcsclite In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1978 --- Comment #4 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8-forest/jdk?cmd=changeset;node=dc4de5de2743 author: andrew date: Tue Oct 25 22:17:18 2016 +0100 PR1978: Allow use of system PCSC -- 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 Oct 25 22:38:45 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Oct 2016 22:38:45 +0000 Subject: [Bug 2445] [IcedTea8] Support system libsctp In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2445 --- Comment #4 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8-forest/jdk?cmd=changeset;node=126d20761aa9 author: andrew date: Tue Oct 25 23:39:40 2016 +0100 PR2445: Support system libsctp -- 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 Oct 26 04:32:20 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 04:32:20 +0000 Subject: [Bug 3209] New: [IcedTea7] Backport "8157306: Random infrequent null pointer exceptions in javac" Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3209 Bug ID: 3209 Summary: [IcedTea7] Backport "8157306: Random infrequent null pointer exceptions in javac" Product: IcedTea Version: 7-hg Hardware: aarch64 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 Clone of bug 3121 for IcedTea 2.x. -- 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 Oct 26 04:32:34 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 04:32:34 +0000 Subject: [Bug 3209] [IcedTea7] Backport "8157306: Random infrequent null pointer exceptions in javac" In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3209 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Target Milestone|--- |2.6.8 -- 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 Wed Oct 26 04:36:36 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 26 Oct 2016 04:36:36 +0000 Subject: /hg/icedtea7-forest/hotspot: 2 new changesets Message-ID: changeset e811c5c78eb4 in /hg/icedtea7-forest/hotspot details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=e811c5c78eb4 author: mikael date: Wed Oct 26 05:30:06 2016 +0100 8141491, PR3160, G592292: Unaligned memory access in Bits.c Summary: Introduce alignment-safe Copy::conjoint_swap and j.i.m.Unsafe.copySwapMemory Reviewed-by: jrose, dholmes, psandoz changeset 3cc3ab869ccf in /hg/icedtea7-forest/hotspot details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=3cc3ab869ccf author: aph date: Wed Oct 26 05:40:47 2016 +0100 8157306, PR3209: Random infrequent null pointer exceptions in javac Reviewed-by: kvn diffstat: src/share/vm/opto/lcm.cpp | 7 +- src/share/vm/prims/unsafe.cpp | 31 +++++ src/share/vm/runtime/interfaceSupport.hpp | 18 ++- src/share/vm/utilities/copy.cpp | 171 +++++++++++++++++++++++++++++- src/share/vm/utilities/copy.hpp | 12 +- 5 files changed, 234 insertions(+), 5 deletions(-) diffs (321 lines): diff -r 1d13eeada397 -r 3cc3ab869ccf src/share/vm/opto/lcm.cpp --- a/src/share/vm/opto/lcm.cpp Tue Oct 25 04:22:24 2016 +0100 +++ b/src/share/vm/opto/lcm.cpp Wed Oct 26 05:40:47 2016 +0100 @@ -1068,11 +1068,14 @@ Block *sb = _succs[i]; // Clone the entire area; ignoring the edge fixup for now. for( uint j = end; j > beg; j-- ) { - // It is safe here to clone a node with anti_dependence - // since clones dominate on each path. Node *clone = _nodes[j-1]->clone(); sb->_nodes.insert( 1, clone ); bbs.map(clone->_idx,sb); +#ifdef AARCH64 + if (clone->needs_anti_dependence_check()) { + insert_anti_dependences(sb, clone); + } +#endif } } diff -r 1d13eeada397 -r 3cc3ab869ccf src/share/vm/prims/unsafe.cpp --- a/src/share/vm/prims/unsafe.cpp Tue Oct 25 04:22:24 2016 +0100 +++ b/src/share/vm/prims/unsafe.cpp Wed Oct 26 05:40:47 2016 +0100 @@ -703,6 +703,36 @@ Copy::conjoint_memory_atomic(src, dst, sz); UNSAFE_END +// This function is a leaf since if the source and destination are both in native memory +// the copy may potentially be very large, and we don't want to disable GC if we can avoid it. +// If either source or destination (or both) are on the heap, the function will enter VM using +// JVM_ENTRY_FROM_LEAF +JVM_LEAF(void, Unsafe_CopySwapMemory0(JNIEnv *env, jobject unsafe, jobject srcObj, jlong srcOffset, jobject dstObj, jlong dstOffset, jlong size, jlong elemSize)) { + UnsafeWrapper("Unsafe_CopySwapMemory0"); + + size_t sz = (size_t)size; + size_t esz = (size_t)elemSize; + + if (srcObj == NULL && dstObj == NULL) { + // Both src & dst are in native memory + address src = (address)srcOffset; + address dst = (address)dstOffset; + + Copy::conjoint_swap(src, dst, sz, esz); + } else { + // At least one of src/dst are on heap, transition to VM to access raw pointers + + JVM_ENTRY_FROM_LEAF(env, void, Unsafe_CopySwapMemory0) { + oop srcp = JNIHandles::resolve(srcObj); + oop dstp = JNIHandles::resolve(dstObj); + + address src = (address)index_oop_from_field_offset_long(srcp, srcOffset); + address dst = (address)index_oop_from_field_offset_long(dstp, dstOffset); + + Copy::conjoint_swap(src, dst, sz, esz); + } JVM_END + } +} JVM_END ////// Random queries @@ -1611,6 +1641,7 @@ JNINativeMethod memcopy_methods[] = { {CC"copyMemory", CC"("OBJ"J"OBJ"JJ)V", FN_PTR(Unsafe_CopyMemory2)}, + {CC"copySwapMemory0", CC "(" OBJ "J" OBJ "JJJ)V", FN_PTR(Unsafe_CopySwapMemory0)}, {CC"setMemory", CC"("OBJ"JJB)V", FN_PTR(Unsafe_SetMemory2)} }; diff -r 1d13eeada397 -r 3cc3ab869ccf src/share/vm/runtime/interfaceSupport.hpp --- a/src/share/vm/runtime/interfaceSupport.hpp Tue Oct 25 04:22:24 2016 +0100 +++ b/src/share/vm/runtime/interfaceSupport.hpp Wed Oct 26 05:40:47 2016 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2016, 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 @@ -445,6 +445,14 @@ os::verify_stack_alignment(); \ /* begin of body */ +#define VM_ENTRY_BASE_FROM_LEAF(result_type, header, thread) \ + TRACE_CALL(result_type, header) \ + debug_only(ResetNoHandleMark __rnhm;) \ + HandleMarkCleaner __hm(thread); \ + Thread* THREAD = thread; \ + os::verify_stack_alignment(); \ + /* begin of body */ + // ENTRY routines may lock, GC and throw exceptions @@ -616,6 +624,14 @@ VM_LEAF_BASE(result_type, header) +#define JVM_ENTRY_FROM_LEAF(env, result_type, header) \ + { { \ + JavaThread* thread=JavaThread::thread_from_jni_environment(env); \ + ThreadInVMfromNative __tiv(thread); \ + debug_only(VMNativeEntryWrapper __vew;) \ + VM_ENTRY_BASE_FROM_LEAF(result_type, header, thread) + + #define JVM_END } } #endif // SHARE_VM_RUNTIME_INTERFACESUPPORT_HPP diff -r 1d13eeada397 -r 3cc3ab869ccf src/share/vm/utilities/copy.cpp --- a/src/share/vm/utilities/copy.cpp Tue Oct 25 04:22:24 2016 +0100 +++ b/src/share/vm/utilities/copy.cpp Wed Oct 26 05:40:47 2016 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2006, 2016, 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,175 @@ } } +class CopySwap : AllStatic { +public: + /** + * Copy and byte swap elements + * + * @param src address of source + * @param dst address of destination + * @param byte_count number of bytes to copy + * @param elem_size size of the elements to copy-swap + */ + static void conjoint_swap(address src, address dst, size_t byte_count, size_t elem_size) { + assert(src != NULL, err_msg("address must not be NULL")); + assert(dst != NULL, err_msg("address must not be NULL")); + assert(elem_size == 2 || elem_size == 4 || elem_size == 8, + err_msg("incorrect element size: " SIZE_FORMAT, elem_size)); + assert(is_size_aligned(byte_count, elem_size), + err_msg("byte_count " SIZE_FORMAT " must be multiple of element size " SIZE_FORMAT, byte_count, elem_size)); + + address src_end = src + byte_count; + + if (dst <= src || dst >= src_end) { + do_conjoint_swap(src, dst, byte_count, elem_size); + } else { + do_conjoint_swap(src, dst, byte_count, elem_size); + } + } + +private: + /** + * Byte swap a 16-bit value + */ + static uint16_t byte_swap(uint16_t x) { + return (x << 8) | (x >> 8); + } + + /** + * Byte swap a 32-bit value + */ + static uint32_t byte_swap(uint32_t x) { + uint16_t lo = (uint16_t)x; + uint16_t hi = (uint16_t)(x >> 16); + + return ((uint32_t)byte_swap(lo) << 16) | (uint32_t)byte_swap(hi); + } + + /** + * Byte swap a 64-bit value + */ + static uint64_t byte_swap(uint64_t x) { + uint32_t lo = (uint32_t)x; + uint32_t hi = (uint32_t)(x >> 32); + + return ((uint64_t)byte_swap(lo) << 32) | (uint64_t)byte_swap(hi); + } + + enum CopyDirection { + RIGHT, // lower -> higher address + LEFT // higher -> lower address + }; + + /** + * Copy and byte swap elements + * + * - type of element to copy + * - copy direction + * - true if src argument is aligned to element size + * - true if dst argument is aligned to element size + * + * @param src address of source + * @param dst address of destination + * @param byte_count number of bytes to copy + */ + template + static void do_conjoint_swap(address src, address dst, size_t byte_count) { + address cur_src, cur_dst; + + switch (D) { + case RIGHT: + cur_src = src; + cur_dst = dst; + break; + case LEFT: + cur_src = src + byte_count - sizeof(T); + cur_dst = dst + byte_count - sizeof(T); + break; + } + + for (size_t i = 0; i < byte_count / sizeof(T); i++) { + T tmp; + + if (is_src_aligned) { + tmp = *(T*)cur_src; + } else { + memcpy(&tmp, cur_src, sizeof(T)); + } + + tmp = byte_swap(tmp); + + if (is_dst_aligned) { + *(T*)cur_dst = tmp; + } else { + memcpy(cur_dst, &tmp, sizeof(T)); + } + + switch (D) { + case RIGHT: + cur_src += sizeof(T); + cur_dst += sizeof(T); + break; + case LEFT: + cur_src -= sizeof(T); + cur_dst -= sizeof(T); + break; + } + } + } + + /** + * Copy and byte swap elements + * + * - type of element to copy + * - copy direction + * + * @param src address of source + * @param dst address of destination + * @param byte_count number of bytes to copy + */ + template + static void do_conjoint_swap(address src, address dst, size_t byte_count) { + if (is_ptr_aligned(src, sizeof(T))) { + if (is_ptr_aligned(dst, sizeof(T))) { + do_conjoint_swap(src, dst, byte_count); + } else { + do_conjoint_swap(src, dst, byte_count); + } + } else { + if (is_ptr_aligned(dst, sizeof(T))) { + do_conjoint_swap(src, dst, byte_count); + } else { + do_conjoint_swap(src, dst, byte_count); + } + } + } + + + /** + * Copy and byte swap elements + * + * - copy direction + * + * @param src address of source + * @param dst address of destination + * @param byte_count number of bytes to copy + * @param elem_size size of the elements to copy-swap + */ + template + static void do_conjoint_swap(address src, address dst, size_t byte_count, size_t elem_size) { + switch (elem_size) { + case 2: do_conjoint_swap(src, dst, byte_count); break; + case 4: do_conjoint_swap(src, dst, byte_count); break; + case 8: do_conjoint_swap(src, dst, byte_count); break; + default: guarantee(false, err_msg("do_conjoint_swap: Invalid elem_size %zd\n", elem_size)); + } + } +}; + +void Copy::conjoint_swap(address src, address dst, size_t byte_count, size_t elem_size) { + CopySwap::conjoint_swap(src, dst, byte_count, elem_size); +} // Fill bytes; larger units are filled atomically if everything is aligned. void Copy::fill_to_memory_atomic(void* to, size_t size, jubyte value) { diff -r 1d13eeada397 -r 3cc3ab869ccf src/share/vm/utilities/copy.hpp --- a/src/share/vm/utilities/copy.hpp Tue Oct 25 04:22:24 2016 +0100 +++ b/src/share/vm/utilities/copy.hpp Wed Oct 26 05:40:47 2016 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2016, 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 @@ -227,6 +227,16 @@ } } + /** + * Copy and *unconditionally* byte swap elements + * + * @param src address of source + * @param dst address of destination + * @param byte_count number of bytes to copy + * @param elem_size size of the elements to copy-swap + */ + static void conjoint_swap(address src, address dst, size_t byte_count, size_t elem_size); + // Fill methods // Fill word-aligned words, not atomic on each word From bugzilla-daemon at icedtea.classpath.org Wed Oct 26 04:36:45 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 04:36:45 +0000 Subject: [Bug 3160] [IcedTea7] Backport "8141491: Unaligned memory access in Bits.c" In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3160 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/hotspot?cmd=changeset;node=e811c5c78eb4 author: mikael date: Wed Oct 26 05:30:06 2016 +0100 8141491, PR3160, G592292: Unaligned memory access in Bits.c Summary: Introduce alignment-safe Copy::conjoint_swap and j.i.m.Unsafe.copySwapMemory Reviewed-by: jrose, dholmes, psandoz -- 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 Oct 26 04:36:51 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 04:36:51 +0000 Subject: [Bug 3209] [IcedTea7] Backport "8157306: Random infrequent null pointer exceptions in javac" In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3209 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/hotspot?cmd=changeset;node=3cc3ab869ccf author: aph date: Wed Oct 26 05:40:47 2016 +0100 8157306, PR3209: Random infrequent null pointer exceptions in javac Reviewed-by: kvn -- 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 Wed Oct 26 07:35:48 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 26 Oct 2016 07:35:48 +0000 Subject: /hg/icedtea7-forest/jdk: 12 new changesets Message-ID: changeset 60dac8f738af in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=60dac8f738af author: andrew date: Wed Oct 26 03:51:39 2016 +0100 PR3207, RH1367357: lcms2: Out-of-bounds read in Type_MLU_Read() changeset faa9945a2113 in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=faa9945a2113 author: mikael date: Wed Oct 26 05:35:48 2016 +0100 8141491, PR3160, G592292: Unaligned memory access in Bits.c Summary: Introduce alignment-safe Copy::conjoint_swap and j.i.m.Unsafe.copySwapMemory Reviewed-by: jrose, dholmes, psandoz changeset 4a5d01407e7d in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=4a5d01407e7d author: mikael date: Wed Feb 10 19:55:57 2016 -0800 8149611, PR3160, G592292: Add tests for Unsafe.copySwapMemory Reviewed-by: dholmes changeset 72afb440625d in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=72afb440625d author: coffeys date: Thu Apr 10 20:01:52 2014 +0100 8038491, PR3162: Improve synchronization in ZipFile.read() Reviewed-by: alanb, chegar changeset 9926dce198b1 in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=9926dce198b1 author: igerasim date: Thu Sep 10 23:35:48 2015 +0300 8080115, PR3162: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads Summary: Make GnomeFileTypeDetector.probeGio() synchronized and add a regression test based on the test source included in JDK-8080115. Reviewed-by: chegar changeset 6326ae6f53ea in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=6326ae6f53ea author: igerasim date: Wed Nov 25 17:18:04 2015 +0300 8133207, PR3162: [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115 Summary: Do not run in othervm mode. Reviewed-by: darcy, rriggs changeset 9923aa63d2c9 in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=9923aa63d2c9 author: igerasim date: Wed Oct 26 06:47:52 2016 +0100 8132551, PR3162: Initialize local variables before returning them in p11_convert.c Reviewed-by: wetmore changeset fa0a555b41ee in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=fa0a555b41ee author: dbuck date: Wed Oct 26 07:00:20 2016 +0100 8133666, PR3162: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux Reviewed-by: sla, mgronlun changeset 5079c607c53c in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=5079c607c53c author: alanb date: Tue Apr 29 13:23:08 2014 +0100 8034057, PR3162: Files.getFileStore and Files.isWritable do not work with SUBST'ed drives (win) Reviewed-by: alanb, chegar Contributed-by: pavel.rappo at oracle.com changeset 98429720eb18 in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=98429720eb18 author: igerasim date: Wed Oct 26 07:37:34 2016 +0100 8072466, PR3162: Deadlock when initializing MulticastSocket and DatagramSocket Reviewed-by: chegar changeset f54613458451 in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=f54613458451 author: robm date: Wed Oct 26 08:24:19 2016 +0100 8129957, PR3162: Deadlock in JNDI LDAP implementation when closing the LDAP context Reviewed-by: vinnie changeset 0ad544dbe717 in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=0ad544dbe717 author: okutsu date: Thu Oct 01 15:16:35 2015 +0900 8081794, PR3162: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem Reviewed-by: peytoia, okutsu Contributed-by: Naveen Kumar diffstat: make/java/java/FILES_c.gmk | 1 - make/java/java/mapfile-vers | 6 - make/java/net/mapfile-vers | 5 +- src/share/classes/com/sun/jndi/ldap/LdapClient.java | 55 +- src/share/classes/java/net/AbstractPlainDatagramSocketImpl.java | 6 +- src/share/classes/java/nio/Bits.java | 142 +- src/share/classes/java/text/SimpleDateFormat.java | 2 +- src/share/classes/java/util/zip/ZipFile.java | 30 +- src/share/classes/sun/misc/Unsafe.java | 392 +++++- src/share/native/java/nio/Bits.c | 278 --- src/share/native/sun/java2d/cmm/lcms/cmstypes.c | 1 + src/share/native/sun/security/pkcs11/wrapper/p11_convert.c | 10 +- src/solaris/classes/java/net/PlainDatagramSocketImpl.java | 4 +- src/solaris/classes/sun/nio/fs/GnomeFileTypeDetector.java | 2 +- src/solaris/native/com/sun/management/LinuxOperatingSystem.c | 27 +- src/solaris/native/java/net/AbstractPlainDatagramSocketImpl.c | 89 - src/solaris/native/java/net/PlainDatagramSocketImpl.c | 35 +- src/windows/classes/java/net/DefaultDatagramSocketImplFactory.java | 31 +- src/windows/classes/java/net/DualStackPlainDatagramSocketImpl.java | 8 +- src/windows/classes/java/net/TwoStacksPlainDatagramSocketImpl.java | 4 +- src/windows/classes/sun/nio/fs/WindowsConstants.java | 1 + src/windows/classes/sun/nio/fs/WindowsFileStore.java | 18 +- src/windows/classes/sun/nio/fs/WindowsLinkSupport.java | 2 +- src/windows/native/java/net/AbstractPlainDatagramSocketImpl.c | 111 - src/windows/native/java/net/DualStackPlainDatagramSocketImpl.c | 50 +- src/windows/native/java/net/TwoStacksPlainDatagramSocketImpl.c | 43 +- test/java/net/MulticastSocket/MultiDead.java | 120 + test/java/nio/file/Files/probeContentType/ParallelProbes.java | 96 + test/java/text/Format/DateFormat/Bug8081794.java | 51 + test/java/util/zip/ZipFile/MultiThreadedReadTest.java | 92 + test/jdk/internal/misc/Unsafe/CopySwap.java | 723 ++++++++++ 31 files changed, 1846 insertions(+), 589 deletions(-) diffs (truncated from 3004 to 500 lines): diff -r 0ea38364385e -r 0ad544dbe717 make/java/java/FILES_c.gmk --- a/make/java/java/FILES_c.gmk Wed Sep 28 07:44:58 2016 +0100 +++ b/make/java/java/FILES_c.gmk Thu Oct 01 15:16:35 2015 +0900 @@ -72,7 +72,6 @@ GC.c \ NativeAccessors.c \ Reflection.c \ - Bits.c \ AtomicLong.c \ Version.c \ VM.c \ diff -r 0ea38364385e -r 0ad544dbe717 make/java/java/mapfile-vers --- a/make/java/java/mapfile-vers Wed Sep 28 07:44:58 2016 +0100 +++ b/make/java/java/mapfile-vers Thu Oct 01 15:16:35 2015 +0900 @@ -219,12 +219,6 @@ Java_java_lang_UNIXProcess_waitForProcessExit; Java_java_lang_UNIXProcess_forkAndExec; Java_java_lang_UNIXProcess_destroyProcess; - Java_java_nio_Bits_copyFromShortArray; - Java_java_nio_Bits_copyToShortArray; - Java_java_nio_Bits_copyFromIntArray; - Java_java_nio_Bits_copyToIntArray; - Java_java_nio_Bits_copyFromLongArray; - Java_java_nio_Bits_copyToLongArray; Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2; Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2Ljava_security_AccessControlContext_2; Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedExceptionAction_2; diff -r 0ea38364385e -r 0ad544dbe717 make/java/net/mapfile-vers --- a/make/java/net/mapfile-vers Wed Sep 28 07:44:58 2016 +0100 +++ b/make/java/net/mapfile-vers Thu Oct 01 15:16:35 2015 +0900 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1997, 2015, 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 @@ -28,8 +28,7 @@ SUNWprivate_1.1 { global: JNI_OnLoad; - Java_java_net_AbstractPlainDatagramSocketImpl_init; - Java_java_net_AbstractPlainDatagramSocketImpl_dataAvailable; + Java_java_net_PlainDatagramSocketImpl_dataAvailable; Java_java_net_PlainSocketImpl_socketListen; Java_java_net_PlainDatagramSocketImpl_getTTL; Java_java_net_PlainDatagramSocketImpl_init; diff -r 0ea38364385e -r 0ad544dbe717 src/share/classes/com/sun/jndi/ldap/LdapClient.java --- a/src/share/classes/com/sun/jndi/ldap/LdapClient.java Wed Sep 28 07:44:58 2016 +0100 +++ b/src/share/classes/com/sun/jndi/ldap/LdapClient.java Thu Oct 01 15:16:35 2015 +0900 @@ -494,16 +494,14 @@ */ void processConnectionClosure() { // Notify listeners - synchronized (unsolicited) { - if (unsolicited.size() > 0) { - String msg; - if (conn != null) { - msg = conn.host + ":" + conn.port + " connection closed"; - } else { - msg = "Connection closed"; - } - notifyUnsolicited(new CommunicationException(msg)); + if (unsolicited.size() > 0) { + String msg; + if (conn != null) { + msg = conn.host + ":" + conn.port + " connection closed"; + } else { + msg = "Connection closed"; } + notifyUnsolicited(new CommunicationException(msg)); } // Remove from pool @@ -1484,7 +1482,7 @@ // removeUnsolicited() is invoked to remove an LdapCtx from this client. // //////////////////////////////////////////////////////////////////////////// - private Vector unsolicited = new Vector(3); + private Vector unsolicited = new Vector(3); void addUnsolicited(LdapCtx ctx) { if (debug > 0) { System.err.println("LdapClient.addUnsolicited" + ctx); @@ -1496,13 +1494,8 @@ if (debug > 0) { System.err.println("LdapClient.removeUnsolicited" + ctx); } - synchronized (unsolicited) { - if (unsolicited.size() == 0) { - return; - } unsolicited.removeElement(ctx); } - } // NOTE: Cannot be synchronized because this is called asynchronously // by the reader thread in Connection. Instead, sync on 'unsolicited' Vector. @@ -1510,7 +1503,6 @@ if (debug > 0) { System.err.println("LdapClient.processUnsolicited"); } - synchronized (unsolicited) { try { // Parse the response LdapResult res = new LdapResult(); @@ -1529,11 +1521,17 @@ forceClose(pooled); } - if (unsolicited.size() > 0) { + LdapCtx first = null; + UnsolicitedNotification notice = null; + + synchronized (unsolicited) { + if (unsolicited.size() > 0) { + first = unsolicited.elementAt(0); + // Create an UnsolicitedNotification using the parsed data // Need a 'ctx' object because we want to use the context's // list of provider control factories. - UnsolicitedNotification notice = new UnsolicitedResponseImpl( + notice = new UnsolicitedResponseImpl( res.extensionId, res.extensionValue, res.referrals, @@ -1541,9 +1539,12 @@ res.errorMessage, res.matchedDN, (res.resControls != null) ? - ((LdapCtx)unsolicited.elementAt(0)).convertControls(res.resControls) : + first.convertControls(res.resControls) : null); + } + } + if (notice != null) { // Fire UnsolicitedNotification events to listeners notifyUnsolicited(notice); @@ -1555,9 +1556,6 @@ } } } catch (IOException e) { - if (unsolicited.size() == 0) - return; // no one registered; ignore - NamingException ne = new CommunicationException( "Problem parsing unsolicited notification"); ne.setRootCause(e); @@ -1567,16 +1565,19 @@ } catch (NamingException e) { notifyUnsolicited(e); } - } } private void notifyUnsolicited(Object e) { - for (int i = 0; i < unsolicited.size(); i++) { - ((LdapCtx)unsolicited.elementAt(i)).fireUnsolicited(e); + Vector unsolicitedCopy; + synchronized (unsolicited) { + unsolicitedCopy = new Vector<>(unsolicited); + if (e instanceof NamingException) { + unsolicited.setSize(0); // no more listeners after exception + } } - if (e instanceof NamingException) { - unsolicited.setSize(0); // no more listeners after exception + for (int i = 0; i < unsolicitedCopy.size(); i++) { + unsolicitedCopy.elementAt(i).fireUnsolicited(e); } } diff -r 0ea38364385e -r 0ad544dbe717 src/share/classes/java/net/AbstractPlainDatagramSocketImpl.java --- a/src/share/classes/java/net/AbstractPlainDatagramSocketImpl.java Wed Sep 28 07:44:58 2016 +0100 +++ b/src/share/classes/java/net/AbstractPlainDatagramSocketImpl.java Thu Oct 01 15:16:35 2015 +0900 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1996, 2015, 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 @@ -70,7 +70,6 @@ static { java.security.AccessController.doPrivileged( new sun.security.action.LoadLibraryAction("net")); - init(); } /** @@ -364,6 +363,5 @@ return connectDisabled; } - native int dataAvailable(); - private static native void init(); + abstract int dataAvailable(); } diff -r 0ea38364385e -r 0ad544dbe717 src/share/classes/java/nio/Bits.java --- a/src/share/classes/java/nio/Bits.java Wed Sep 28 07:44:58 2016 +0100 +++ b/src/share/classes/java/nio/Bits.java Thu Oct 01 15:16:35 2015 +0900 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2016, 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 @@ -754,31 +754,131 @@ } } - static void copyFromCharArray(Object src, long srcPos, long dstAddr, - long length) - { - copyFromShortArray(src, srcPos, dstAddr, length); + /** + * Copy and unconditionally byte swap 16 bit elements from a heap array to off-heap memory + * + * @param src + * the source array, must be a 16-bit primitive array type + * @param srcPos + * byte offset within source array of the first element to read + * @param dstAddr + * destination address + * @param length + * number of bytes to copy + */ + static void copyFromCharArray(Object src, long srcPos, long dstAddr, long length) { + unsafe.copySwapMemory(src, unsafe.arrayBaseOffset(src.getClass()) + srcPos, null, dstAddr, length, 2); } - static void copyToCharArray(long srcAddr, Object dst, long dstPos, - long length) - { - copyToShortArray(srcAddr, dst, dstPos, length); + /** + * Copy and unconditionally byte swap 16 bit elements from off-heap memory to a heap array + * + * @param srcAddr + * source address + * @param dst + * destination array, must be a 16-bit primitive array type + * @param dstPos + * byte offset within the destination array of the first element to write + * @param length + * number of bytes to copy + */ + static void copyToCharArray(long srcAddr, Object dst, long dstPos, long length) { + unsafe.copySwapMemory(null, srcAddr, dst, unsafe.arrayBaseOffset(dst.getClass()) + dstPos, length, 2); } - static native void copyFromShortArray(Object src, long srcPos, long dstAddr, - long length); - static native void copyToShortArray(long srcAddr, Object dst, long dstPos, - long length); + /** + * Copy and unconditionally byte swap 16 bit elements from a heap array to off-heap memory + * + * @param src + * the source array, must be a 16-bit primitive array type + * @param srcPos + * byte offset within source array of the first element to read + * @param dstAddr + * destination address + * @param length + * number of bytes to copy + */ + static void copyFromShortArray(Object src, long srcPos, long dstAddr, long length) { + unsafe.copySwapMemory(src, unsafe.arrayBaseOffset(src.getClass()) + srcPos, null, dstAddr, length, 2); + } - static native void copyFromIntArray(Object src, long srcPos, long dstAddr, - long length); - static native void copyToIntArray(long srcAddr, Object dst, long dstPos, - long length); + /** + * Copy and unconditionally byte swap 16 bit elements from off-heap memory to a heap array + * + * @param srcAddr + * source address + * @param dst + * destination array, must be a 16-bit primitive array type + * @param dstPos + * byte offset within the destination array of the first element to write + * @param length + * number of bytes to copy + */ + static void copyToShortArray(long srcAddr, Object dst, long dstPos, long length) { + unsafe.copySwapMemory(null, srcAddr, dst, unsafe.arrayBaseOffset(dst.getClass()) + dstPos, length, 2); + } - static native void copyFromLongArray(Object src, long srcPos, long dstAddr, - long length); - static native void copyToLongArray(long srcAddr, Object dst, long dstPos, - long length); + /** + * Copy and unconditionally byte swap 32 bit elements from a heap array to off-heap memory + * + * @param src + * the source array, must be a 32-bit primitive array type + * @param srcPos + * byte offset within source array of the first element to read + * @param dstAddr + * destination address + * @param length + * number of bytes to copy + */ + static void copyFromIntArray(Object src, long srcPos, long dstAddr, long length) { + unsafe.copySwapMemory(src, unsafe.arrayBaseOffset(src.getClass()) + srcPos, null, dstAddr, length, 4); + } + /** + * Copy and unconditionally byte swap 32 bit elements from off-heap memory to a heap array + * + * @param srcAddr + * source address + * @param dst + * destination array, must be a 32-bit primitive array type + * @param dstPos + * byte offset within the destination array of the first element to write + * @param length + * number of bytes to copy + */ + static void copyToIntArray(long srcAddr, Object dst, long dstPos, long length) { + unsafe.copySwapMemory(null, srcAddr, dst, unsafe.arrayBaseOffset(dst.getClass()) + dstPos, length, 4); + } + + /** + * Copy and unconditionally byte swap 64 bit elements from a heap array to off-heap memory + * + * @param src + * the source array, must be a 64-bit primitive array type + * @param srcPos + * byte offset within source array of the first element to read + * @param dstAddr + * destination address + * @param length + * number of bytes to copy + */ + static void copyFromLongArray(Object src, long srcPos, long dstAddr, long length) { + unsafe.copySwapMemory(src, unsafe.arrayBaseOffset(src.getClass()) + srcPos, null, dstAddr, length, 8); + } + + /** + * Copy and unconditionally byte swap 64 bit elements from off-heap memory to a heap array + * + * @param srcAddr + * source address + * @param dst + * destination array, must be a 64-bit primitive array type + * @param dstPos + * byte offset within the destination array of the first element to write + * @param length + * number of bytes to copy + */ + static void copyToLongArray(long srcAddr, Object dst, long dstPos, long length) { + unsafe.copySwapMemory(null, srcAddr, dst, unsafe.arrayBaseOffset(dst.getClass()) + dstPos, length, 8); + } } diff -r 0ea38364385e -r 0ad544dbe717 src/share/classes/java/text/SimpleDateFormat.java --- a/src/share/classes/java/text/SimpleDateFormat.java Wed Sep 28 07:44:58 2016 +0100 +++ b/src/share/classes/java/text/SimpleDateFormat.java Thu Oct 01 15:16:35 2015 +0900 @@ -1650,7 +1650,7 @@ } return (start + zoneNames[nameIndex].length()); } - return 0; + return -start; } /** diff -r 0ea38364385e -r 0ad544dbe717 src/share/classes/java/util/zip/ZipFile.java --- a/src/share/classes/java/util/zip/ZipFile.java Wed Sep 28 07:44:58 2016 +0100 +++ b/src/share/classes/java/util/zip/ZipFile.java Thu Oct 01 15:16:35 2015 +0900 @@ -664,24 +664,26 @@ } public int read(byte b[], int off, int len) throws IOException { - if (rem == 0) { - return -1; - } - if (len <= 0) { - return 0; - } - if (len > rem) { - len = (int) rem; - } synchronized (ZipFile.this) { + long rem = this.rem; + long pos = this.pos; + if (rem == 0) { + return -1; + } + if (len <= 0) { + return 0; + } + if (len > rem) { + len = (int) rem; + } + ensureOpenOrZipException(); - len = ZipFile.read(ZipFile.this.jzfile, jzentry, pos, b, off, len); - } - if (len > 0) { - pos += len; - rem -= len; + if (len > 0) { + this.pos = (pos + len); + this.rem = (rem - len); + } } if (rem == 0) { close(); diff -r 0ea38364385e -r 0ad544dbe717 src/share/classes/sun/misc/Unsafe.java --- a/src/share/classes/sun/misc/Unsafe.java Wed Sep 28 07:44:58 2016 +0100 +++ b/src/share/classes/sun/misc/Unsafe.java Thu Oct 01 15:16:35 2015 +0900 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2016, 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 @@ -560,6 +560,76 @@ copyMemory(null, srcAddress, null, destAddress, bytes); } + private boolean isPrimitiveArray(Class c) { + Class componentType = c.getComponentType(); + return componentType != null && componentType.isPrimitive(); + } + + private native void copySwapMemory0(Object srcBase, long srcOffset, + Object destBase, long destOffset, + long bytes, long elemSize); + + /** + * Copies all elements from one block of memory to another block, + * *unconditionally* byte swapping the elements on the fly. + * + *

This method determines each block's base address by means of two parameters, + * and so it provides (in effect) a double-register addressing mode, + * as discussed in {@link #getInt(Object,long)}. When the object reference is null, + * the offset supplies an absolute base address. + */ + public void copySwapMemory(Object srcBase, long srcOffset, + Object destBase, long destOffset, + long bytes, long elemSize) { + if (bytes < 0) { + throw new IllegalArgumentException(); + } + if (elemSize != 2 && elemSize != 4 && elemSize != 8) { + throw new IllegalArgumentException(); + } + if (bytes % elemSize != 0) { + throw new IllegalArgumentException(); + } + if ((srcBase == null && srcOffset == 0) || + (destBase == null && destOffset == 0)) { + throw new NullPointerException(); + } + + // Must be off-heap, or primitive heap arrays + if (srcBase != null && (srcOffset < 0 || !isPrimitiveArray(srcBase.getClass()))) { + throw new IllegalArgumentException(); + } + if (destBase != null && (destOffset < 0 || !isPrimitiveArray(destBase.getClass()))) { + throw new IllegalArgumentException(); + } + + // Sanity check size and offsets on 32-bit platforms. Most + // significant 32 bits must be zero. + if (ADDRESS_SIZE == 4 && + (bytes >>> 32 != 0 || srcOffset >>> 32 != 0 || destOffset >>> 32 != 0)) { + throw new IllegalArgumentException(); + } + + if (bytes == 0) { + return; + } + + copySwapMemory0(srcBase, srcOffset, destBase, destOffset, bytes, elemSize); + } + + /** + * Copies all elements from one block of memory to another block, byte swapping the + * elements on the fly. + * + * This provides a single-register addressing mode, as + * discussed in {@link #getInt(Object,long)}. + * + * Equivalent to {@code copySwapMemory(null, srcAddress, null, destAddress, bytes, elemSize)}. + */ + public void copySwapMemory(long srcAddress, long destAddress, long bytes, long elemSize) { + copySwapMemory(null, srcAddress, null, destAddress, bytes, elemSize); From bugzilla-daemon at icedtea.classpath.org Wed Oct 26 07:35:56 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 07:35:56 +0000 Subject: [Bug 3207] [IcedTea7] lcms2: Out-of-bounds read in Type_MLU_Read() In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3207 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=60dac8f738af author: andrew date: Wed Oct 26 03:51:39 2016 +0100 PR3207, RH1367357: lcms2: Out-of-bounds read in Type_MLU_Read() -- 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 Oct 26 07:36:04 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 07:36:04 +0000 Subject: [Bug 3160] [IcedTea7] Backport "8141491: Unaligned memory access in Bits.c" In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3160 --- Comment #2 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=faa9945a2113 author: mikael date: Wed Oct 26 05:35:48 2016 +0100 8141491, PR3160, G592292: Unaligned memory access in Bits.c Summary: Introduce alignment-safe Copy::conjoint_swap and j.i.m.Unsafe.copySwapMemory Reviewed-by: jrose, dholmes, psandoz -- 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 Oct 26 07:36:12 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 07:36:12 +0000 Subject: [Bug 3160] [IcedTea7] Backport "8141491: Unaligned memory access in Bits.c" In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3160 --- Comment #3 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=4a5d01407e7d author: mikael date: Wed Feb 10 19:55:57 2016 -0800 8149611, PR3160, G592292: Add tests for Unsafe.copySwapMemory Reviewed-by: dholmes -- 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 Oct 26 07:36:19 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 07:36:19 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=72afb440625d author: coffeys date: Thu Apr 10 20:01:52 2014 +0100 8038491, PR3162: Improve synchronization in ZipFile.read() Reviewed-by: alanb, chegar -- 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 Oct 26 07:36:29 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 07:36:29 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #2 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=9926dce198b1 author: igerasim date: Thu Sep 10 23:35:48 2015 +0300 8080115, PR3162: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads Summary: Make GnomeFileTypeDetector.probeGio() synchronized and add a regression test based on the test source included in JDK-8080115. Reviewed-by: chegar -- 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 Oct 26 07:36:37 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 07:36:37 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #3 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=6326ae6f53ea author: igerasim date: Wed Nov 25 17:18:04 2015 +0300 8133207, PR3162: [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115 Summary: Do not run in othervm mode. Reviewed-by: darcy, rriggs -- 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 Oct 26 07:36:44 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 07:36:44 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #4 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=9923aa63d2c9 author: igerasim date: Wed Oct 26 06:47:52 2016 +0100 8132551, PR3162: Initialize local variables before returning them in p11_convert.c Reviewed-by: wetmore -- 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 Oct 26 07:36:51 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 07:36:51 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #5 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=fa0a555b41ee author: dbuck date: Wed Oct 26 07:00:20 2016 +0100 8133666, PR3162: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux Reviewed-by: sla, mgronlun -- 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 Oct 26 07:36:59 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 07:36:59 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #6 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=5079c607c53c author: alanb date: Tue Apr 29 13:23:08 2014 +0100 8034057, PR3162: Files.getFileStore and Files.isWritable do not work with SUBST'ed drives (win) Reviewed-by: alanb, chegar Contributed-by: pavel.rappo at oracle.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 Wed Oct 26 07:37:07 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 07:37:07 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #7 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=98429720eb18 author: igerasim date: Wed Oct 26 07:37:34 2016 +0100 8072466, PR3162: Deadlock when initializing MulticastSocket and DatagramSocket Reviewed-by: chegar -- 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 Oct 26 07:37:14 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 07:37:14 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #8 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=f54613458451 author: robm date: Wed Oct 26 08:24:19 2016 +0100 8129957, PR3162: Deadlock in JNDI LDAP implementation when closing the LDAP context Reviewed-by: vinnie -- 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 Oct 26 07:37:22 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 07:37:22 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #9 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=0ad544dbe717 author: okutsu date: Thu Oct 01 15:16:35 2015 +0900 8081794, PR3162: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem Reviewed-by: peytoia, okutsu Contributed-by: Naveen Kumar -- 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 Oct 26 09:30:04 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 09:30:04 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 Shilpy changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX |--- --- Comment #2 from Shilpy --- Hey Andrew, We have many Jenkins instances and thousands of builds are running on the Jenkins, If we upgrade the Jenkins, this will require plugin upgrade as well as jobs also need to be modified. Can you please suggest something for this bug in this version only. I am attaching crash report. -- 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 Oct 26 09:33:48 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 09:33:48 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 --- Comment #3 from Shilpy --- Created attachment 1567 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1567&action=edit Crash report -- 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 icedtea.classpath.org Wed Oct 26 14:02:07 2016 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Wed, 26 Oct 2016 14:02:07 +0000 Subject: /hg/icedtea-web: Configure made more JDK9 friendly Message-ID: changeset 7e15398e117d in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=7e15398e117d author: Jiri Vanek date: Wed Oct 26 16:06:50 2016 +0200 Configure made more JDK9 friendly * acinclude.m4: (IT_CHECK_FOR_CLASS) added support for modules, including support for access to private parts of module system removed IT_CHECK_FOR_HEXDUMPENCODER as jdk8/9 separation is done elsewhere anyway * configure.ac: IT_CHECK_FOR_HEXDUMPENCODER replaced by corresponding IT_CHECK_FOR_CLASS. All IT_CHECK_FOR_CLASS got corresponding module param. Module variables filled for jdk9, empty otherwise. Added checks for sun.misc.JarIndex (jdk8,9) and sun.misc.Launcher (jdk8 only, 9 have comment.. and troubles) diffstat: ChangeLog | 13 ++++++++++++ acinclude.m4 | 61 +++++++++-------------------------------------------------- configure.ac | 48 ++++++++++++++++++++++++++++------------------ 3 files changed, 52 insertions(+), 70 deletions(-) diffs (167 lines): diff -r 51d1bce42e06 -r 7e15398e117d ChangeLog --- a/ChangeLog Tue Oct 25 14:31:58 2016 +0200 +++ b/ChangeLog Wed Oct 26 16:06:50 2016 +0200 @@ -1,3 +1,16 @@ +2016-10-26 Jiri Vanek + + Configure made more JDK9 friendly + * acinclude.m4: (IT_CHECK_FOR_CLASS) added support for modules, + including support for access to private parts of module system + removed IT_CHECK_FOR_HEXDUMPENCODER as jdk8/9 separation is done + elsewhere anyway + * configure.ac: IT_CHECK_FOR_HEXDUMPENCODER replaced by corresponding + IT_CHECK_FOR_CLASS. All IT_CHECK_FOR_CLASS got corresponding module param. + Module variables filled for jdk9, empty otherwise. Added checks for + sun.misc.JarIndex (jdk8,9) and sun.misc.Launcher (jdk8 only, 9 have comment.. and troubles) + + 2016-10-25 Jiri Vanek JDialog removed as main keeper of information in SecurityDialog class diff -r 51d1bce42e06 -r 7e15398e117d acinclude.m4 --- a/acinclude.m4 Tue Oct 25 14:31:58 2016 +0200 +++ b/acinclude.m4 Wed Oct 26 16:06:50 2016 +0200 @@ -466,8 +466,15 @@ AC_REQUIRE([IT_FIND_JAVAC]) AC_REQUIRE([IT_FIND_JAVA]) AC_CACHE_CHECK([if $2 is available], it_cv_$1, [ -# first param is name of class to find, second is name of package to make check in. +# first is the variableto save in, second param is name of class to find, +# third is name of package to make check in. # mostly some.pkg is ok, but some tests must bedone in sun.applet or other special directory +# fourth, optional is module +MODULE_NAME="$4" +if test -n "$MODULE_NAME" ; then + XMODULE="-Xmodule:$MODULE_NAME" + PATCH_MODULE="--patch-module $MODULE_NAME=." +fi PKGPATH=`echo $3 | sed "s;\\.;/;g" ` CLASS=$PKGPATH/Test.java BYTECODE=$(echo $CLASS|sed 's#\.java##') @@ -489,8 +496,8 @@ } ] EOF -if $JAVAC -cp . $JAVACFLAGS -nowarn $CLASS >&AS_MESSAGE_LOG_FD 2>&1; then - if $JAVA -classpath . $BYTECODE >&AS_MESSAGE_LOG_FD 2>&1; then +if $JAVAC -cp . $XMODULE $JAVACFLAGS -nowarn $CLASS >&AS_MESSAGE_LOG_FD 2>&1; then + if $JAVA $PATCH_MODULE -classpath . $BYTECODE >&AS_MESSAGE_LOG_FD 2>&1; then it_cv_$1=yes; else it_cv_$1=no; @@ -509,54 +516,6 @@ AC_PROVIDE([$0])dnl ]) -dnl Macro to check for a Java class HexDumpEncoder -AC_DEFUN([IT_CHECK_FOR_HEXDUMPENCODER],[ -AC_REQUIRE([IT_FIND_JAVAC]) -AC_REQUIRE([IT_FIND_JAVA]) -AC_CACHE_CHECK([if HexDumpEncoder is available], it_cv_HEXDUMPENCODER, [ -CLASS=ssun/aapplet/Test.java -BYTECODE=$(echo $CLASS|sed 's#\.java##') -mkdir -p tmp.$$/$(dirname $CLASS) -cd tmp.$$ -cat << \EOF > $CLASS -[/* [#]line __oline__ "configure" */ -package ssun.aapplet; - -import sun.misc.*; -import sun.security.util.*; - -public class Test -{ - public static void main(String[] args) - throws Exception - { - try { - System.out.println(Class.forName("sun.misc.HexDumpEncoder")); - } catch (ClassNotFoundException e) { - System.out.println(Class.forName("sun.security.util.HexDumpEncoder")); - } - } -} -] -EOF -if $JAVAC -cp . $JAVACFLAGS -nowarn $CLASS >&AS_MESSAGE_LOG_FD 2>&1; then - if $JAVA -classpath . $BYTECODE >&AS_MESSAGE_LOG_FD 2>&1; then - it_cv_HEXDUMPENCODER=yes; - else - it_cv_HEXDUMPENCODER=no; - fi -else - it_cv_HEXDUMPENCODER=no; -fi -]) -rm -f $CLASS *.class -cd .. -# should be rmdir but has to be rm -rf due to sun.applet usage -rm -rf tmp.$$ -if test x"${it_cv_HEXDUMPENCODER}" = "xno"; then - AC_MSG_ERROR([HexDumpEncoder not found.]) -fi -]) AC_DEFUN_ONCE([IT_CHECK_FOR_MERCURIAL], [ diff -r 51d1bce42e06 -r 7e15398e117d configure.ac --- a/configure.ac Tue Oct 25 14:31:58 2016 +0200 +++ b/configure.ac Wed Oct 26 16:06:50 2016 +0200 @@ -64,28 +64,38 @@ dnl IT575 - Plugin depends on com.sun/jndi.toolkit.url.UrlUtil dnl IT576 - Plugin depends on sun.applet.AppletImageRef dnl IT578 - Remove need for patching AppletPanel for Plugin/Webstart -IT_CHECK_FOR_CLASS(JAVA_UTIL_JAR_PACK200, [java.util.jar.Pack200], [some.pkg]) -IT_CHECK_FOR_CLASS(JAVA_NET_COOKIEMANAGER, [java.net.CookieManager], [some.pkg]) -IT_CHECK_FOR_CLASS(JAVA_NET_HTTPCOOKIE, [java.net.HttpCookie], [some.pkg]) -IT_CHECK_FOR_CLASS(JAVA_NET_COOKIEHANDLER, [java.net.CookieHandler], [some.pkg]) if test x"$HAVE_JAVA9" = xyes ; then - echo "skipping x509,SecurityConstants, sun.net ... checks" - echo "The skip is wrong. Thy must be handled for jdk9 anyway!" -# TODO! + JAVA_BASE=java.base + JAVA_DESKTOP=java.desktop + JAVA_NAMING=java.naming +fi +IT_CHECK_FOR_CLASS(JAVA_UTIL_JAR_PACK200, [java.util.jar.Pack200], [some.pkg], []) +IT_CHECK_FOR_CLASS(JAVA_NET_COOKIEMANAGER, [java.net.CookieManager], [some.pkg], []) +IT_CHECK_FOR_CLASS(JAVA_NET_HTTPCOOKIE, [java.net.HttpCookie], [some.pkg], []) +IT_CHECK_FOR_CLASS(JAVA_NET_COOKIEHANDLER, [java.net.CookieHandler], [some.pkg], []) +# in jdk9, those classes are using internal apis, must be enabled via module cheats +IT_CHECK_FOR_CLASS(SUN_SECURITY_PROVIDER_X509FACTORY, [sun.security.provider.X509Factory], [some.pkg], [$JAVA_BASE]) +IT_CHECK_FOR_CLASS(SUN_SECURITY_UTIL_SECURITYCONSTANTS, [sun.security.util.SecurityConstants], [some.pkg], [$JAVA_BASE]) +IT_CHECK_FOR_CLASS(SUN_SECURITY_UTIL_HOSTNAMECHECKER, [sun.security.util.HostnameChecker], [some.pkg], [$JAVA_BASE]) +IT_CHECK_FOR_CLASS(SUN_SECURITY_X509_X500NAME, [sun.security.x509.X500Name], [some.pkg], [$JAVA_BASE]) +# the classname cant be substitued by variable, as it is substituted to inner class +if test x"$HAVE_JAVA9" = xyes ; then + IT_CHECK_FOR_CLASS(HEXDUMPENCODER, [sun.security.util.HexDumpEncoder], [some.pkg], [$JAVA_BASE]) + IT_CHECK_FOR_CLASS(SUN_MISC_JARINDEX, [jdk.internal.util.jar.JarIndex], [some.pkg], [$JAVA_BASE]) + # jdk9 do not have sun.misc.Launcher. It must be patched in code. else - IT_CHECK_FOR_CLASS(SUN_SECURITY_PROVIDER_X509FACTORY, [sun.security.provider.X509Factory], [some.pkg]) - IT_CHECK_FOR_CLASS(SUN_SECURITY_UTIL_SECURITYCONSTANTS, [sun.security.util.SecurityConstants], [some.pkg]) - IT_CHECK_FOR_CLASS(SUN_SECURITY_UTIL_HOSTNAMECHECKER, [sun.security.util.HostnameChecker], [some.pkg]) - IT_CHECK_FOR_CLASS(SUN_SECURITY_X509_X500NAME, [sun.security.x509.X500Name], [some.pkg]) - IT_CHECK_FOR_HEXDUMPENCODER - IT_CHECK_FOR_CLASS(SUN_SECURITY_VALIDATOR_VALIDATOREXCEPTION, [sun.security.validator.ValidatorException], [some.pkg]) - IT_CHECK_FOR_CLASS(COM_SUN_NET_SSL_INTERNAL_SSL_X509EXTENDEDTRUSTMANAGER, [com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager], [some.pkg]) - IT_CHECK_FOR_CLASS(SUN_NET_WWW_PROTOCOL_JAR_URLJARFILE, [sun.net.www.protocol.jar.URLJarFile], [some.pkg]) - IT_CHECK_FOR_CLASS(SUN_NET_WWW_PROTOCOL_JAR_URLJARFILECALLBACK, [sun.net.www.protocol.jar.URLJarFileCallBack], [some.pkg]) - IT_CHECK_FOR_CLASS(SUN_AWT_X11_XEMBEDDEDFRAME, [sun.awt.X11.XEmbeddedFrame], [some.pkg]) - IT_CHECK_FOR_CLASS(COM_SUN_JNDI_TOOLKIT_URL_URLUTIL, [com.sun.jndi.toolkit.url.UrlUtil], [some.pkg]) - IT_CHECK_FOR_CLASS(SUN_APPLET_APPLETIMAGEREF, [sun.applet.AppletImageRef], [sun.applet], [sun.applet]) + IT_CHECK_FOR_CLASS(HEXDUMPENCODER, [sun.misc.HexDumpEncoder], [some.pkg], [$JAVA_BASE]) + IT_CHECK_FOR_CLASS(SUN_MISC_JARINDEX, [sun.misc.JarIndex], [some.pkg], [$JAVA_BASE]) + IT_CHECK_FOR_CLASS(SUN_MISC_LAUNCHER, [sun.misc.Launcher], [some.pkg], [$JAVA_BASE]) fi +IT_CHECK_FOR_CLASS(SUN_SECURITY_VALIDATOR_VALIDATOREXCEPTION, [sun.security.validator.ValidatorException], [some.pkg], [$JAVA_BASE]) +IT_CHECK_FOR_CLASS(COM_SUN_NET_SSL_INTERNAL_SSL_X509EXTENDEDTRUSTMANAGER, [com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager], [some.pkg], [$JAVA_BASE]) +IT_CHECK_FOR_CLASS(SUN_NET_WWW_PROTOCOL_JAR_URLJARFILE, [sun.net.www.protocol.jar.URLJarFile], [some.pkg], [$JAVA_BASE]) +IT_CHECK_FOR_CLASS(SUN_NET_WWW_PROTOCOL_JAR_URLJARFILECALLBACK, [sun.net.www.protocol.jar.URLJarFileCallBack], [some.pkg], [$JAVA_BASE]) +IT_CHECK_FOR_CLASS(SUN_AWT_X11_XEMBEDDEDFRAME, [sun.awt.X11.XEmbeddedFrame], [some.pkg], [$JAVA_DESKTOP]) +IT_CHECK_FOR_CLASS(COM_SUN_JNDI_TOOLKIT_URL_URLUTIL, [com.sun.jndi.toolkit.url.UrlUtil], [some.pkg], [$JAVA_NAMING]) +IT_CHECK_FOR_CLASS(SUN_APPLET_APPLETIMAGEREF, [sun.applet.AppletImageRef], [sun.applet], [$JAVA_DESKTOP]) + IT_CHECK_FOR_SUN_APPLET_ACCESSIBILITY IT_CHECK_GLIB_VERSION IT_CHECK_XULRUNNER_MIMEDESCRIPTION_CONSTCHAR From bugzilla-daemon at icedtea.classpath.org Wed Oct 26 15:10:15 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 15:10:15 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 --- Comment #4 from Andrew John Hughes --- I'm not talking about upgrading Jenkins, but the JDK. Your JDK is very old, prone to numerous known security issues and no longer supported. >From your crash dump, it appears that the failure is in the native code of Jenkins, but it isn't even providing debuginfo. There's really nothing more we can do here. I would strongly suggest you update your JDK to the latest version. What distribution are you using? Is this a distro package or a self-maintained JDK? -- 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 Wed Oct 26 17:34:55 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 26 Oct 2016 17:34:55 +0000 Subject: /hg/icedtea7-forest/hotspot: 5 new changesets Message-ID: changeset f68721524683 in /hg/icedtea7-forest/hotspot details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=f68721524683 author: sspitsyn date: Wed Oct 26 08:28:18 2016 +0100 8076579, PR3162: Popping a stack frame after exception breakpoint sets last method param to exception Summary: Null the InterpreterRuntime::member_name_arg_or_null return value when it is necessary Reviewed-by: jbachorik, coleenp, twisti changeset 60d7d96f3c71 in /hg/icedtea7-forest/hotspot details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=60d7d96f3c71 author: hseigel date: Thu Mar 19 08:55:50 2015 -0400 8075118, PR3162: JVM stuck in infinite loop during verification Summary: keep a list of handlers to prevent the same handler from being scanned repeatedly. Reviewed-by: dlong, dholmes changeset e3f5eb31eea4 in /hg/icedtea7-forest/hotspot details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=e3f5eb31eea4 author: poonam date: Fri Oct 30 08:29:19 2015 -0700 8140249, PR3162: JVM Crashing During startUp If Flight Recording is enabled Reviewed-by: dholmes Contributed-by: Shafi Ahmad changeset 3b5ed034ebab in /hg/icedtea7-forest/hotspot details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=3b5ed034ebab author: kevinw date: Fri Jan 08 05:28:21 2016 -0800 8144483, PR3162: One long Safepoint pause directly after each GC log rotation Reviewed-by: dholmes Contributed-by: cheleswer.sahu at oracle.com changeset c2a745174c84 in /hg/icedtea7-forest/hotspot details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=c2a745174c84 author: dbuck date: Sun Sep 06 05:02:06 2015 -0700 8135002, PR3162: Fix or remove broken links in objectMonitor.cpp comments Summary: Updated comments to refer to relevant patents. Reviewed-by: dcubed diffstat: src/cpu/x86/vm/vm_version_x86.hpp | 2 +- src/os/solaris/vm/os_solaris.cpp | 4 +- src/share/vm/classfile/verifier.cpp | 16 ++- src/share/vm/classfile/verifier.hpp | 5 +- src/share/vm/interpreter/interpreterRuntime.cpp | 2 + src/share/vm/runtime/objectMonitor.cpp | 8 +- test/runtime/handlerInTry/HandlerInTry.jasm | 115 ++++++++++++++++++ test/runtime/handlerInTry/IsolatedHandlerInTry.jasm | 124 ++++++++++++++++++++ test/runtime/handlerInTry/LoadHandlerInTry.java | 86 +++++++++++++ 9 files changed, 352 insertions(+), 10 deletions(-) diffs (466 lines): diff -r 3cc3ab869ccf -r c2a745174c84 src/cpu/x86/vm/vm_version_x86.hpp --- a/src/cpu/x86/vm/vm_version_x86.hpp Wed Oct 26 05:40:47 2016 +0100 +++ b/src/cpu/x86/vm/vm_version_x86.hpp Sun Sep 06 05:02:06 2015 -0700 @@ -521,7 +521,7 @@ result = _cpuid_info.std_cpuid1_ebx.bits.threads_per_cpu / cores_per_cpu(); } - return result; + return (result == 0 ? 1 : result); } static intx prefetch_data_size() { diff -r 3cc3ab869ccf -r c2a745174c84 src/os/solaris/vm/os_solaris.cpp --- a/src/os/solaris/vm/os_solaris.cpp Wed Oct 26 05:40:47 2016 +0100 +++ b/src/os/solaris/vm/os_solaris.cpp Sun Sep 06 05:02:06 2015 -0700 @@ -2327,7 +2327,9 @@ st->print(", physical " UINT64_FORMAT "k", os::physical_memory()>>10); st->print("(" UINT64_FORMAT "k free)", os::available_memory() >> 10); st->cr(); - (void) check_addr0(st); + if (VMError::fatal_error_in_progress()) { + (void) check_addr0(st); + } } // Taken from /usr/include/sys/machsig.h Supposed to be architecture specific diff -r 3cc3ab869ccf -r c2a745174c84 src/share/vm/classfile/verifier.cpp --- a/src/share/vm/classfile/verifier.cpp Wed Oct 26 05:40:47 2016 +0100 +++ b/src/share/vm/classfile/verifier.cpp Sun Sep 06 05:02:06 2015 -0700 @@ -2243,14 +2243,20 @@ } // Look at the method's handlers. If the bci is in the handler's try block -// then check if the handler_pc is already on the stack. If not, push it. +// then check if the handler_pc is already on the stack. If not, push it +// unless the handler has already been scanned. void ClassVerifier::push_handlers(ExceptionTable* exhandlers, + GrowableArray* handler_list, GrowableArray* handler_stack, u4 bci) { int exlength = exhandlers->length(); for(int x = 0; x < exlength; x++) { if (bci >= exhandlers->start_pc(x) && bci < exhandlers->end_pc(x)) { - handler_stack->append_if_missing(exhandlers->handler_pc(x)); + u4 exhandler_pc = exhandlers->handler_pc(x); + if (!handler_list->contains(exhandler_pc)) { + handler_stack->append_if_missing(exhandler_pc); + handler_list->append(exhandler_pc); + } } } } @@ -2268,6 +2274,10 @@ GrowableArray* bci_stack = new GrowableArray(30); // Create stack for handlers for try blocks containing this handler. GrowableArray* handler_stack = new GrowableArray(30); + // Create list of handlers that have been pushed onto the handler_stack + // so that handlers embedded inside of their own TRY blocks only get + // scanned once. + GrowableArray* handler_list = new GrowableArray(30); // Create list of visited branch opcodes (goto* and if*). GrowableArray* visited_branches = new GrowableArray(30); ExceptionTable exhandlers(_method()); @@ -2286,7 +2296,7 @@ // If the bytecode is in a TRY block, push its handlers so they // will get parsed. - push_handlers(&exhandlers, handler_stack, bci); + push_handlers(&exhandlers, handler_list, handler_stack, bci); switch (opcode) { case Bytecodes::_if_icmpeq: diff -r 3cc3ab869ccf -r c2a745174c84 src/share/vm/classfile/verifier.hpp --- a/src/share/vm/classfile/verifier.hpp Wed Oct 26 05:40:47 2016 +0100 +++ b/src/share/vm/classfile/verifier.hpp Sun Sep 06 05:02:06 2015 -0700 @@ -303,9 +303,10 @@ bool* this_uninit, constantPoolHandle cp, StackMapTable* stackmap_table, TRAPS); - // Used by ends_in_athrow() to push all handlers that contain bci onto - // the handler_stack, if the handler is not already on the stack. + // Used by ends_in_athrow() to push all handlers that contain bci onto the + // handler_stack, if the handler has not already been pushed on the stack. void push_handlers(ExceptionTable* exhandlers, + GrowableArray* handler_list, GrowableArray* handler_stack, u4 bci); diff -r 3cc3ab869ccf -r c2a745174c84 src/share/vm/interpreter/interpreterRuntime.cpp --- a/src/share/vm/interpreter/interpreterRuntime.cpp Wed Oct 26 05:40:47 2016 +0100 +++ b/src/share/vm/interpreter/interpreterRuntime.cpp Sun Sep 06 05:02:06 2015 -0700 @@ -1272,5 +1272,7 @@ if (MethodHandles::has_member_arg(cname, mname)) { oop member_name = java_lang_invoke_DirectMethodHandle::member((oop)dmh); thread->set_vm_result(member_name); + } else { + thread->set_vm_result(NULL); } IRT_END diff -r 3cc3ab869ccf -r c2a745174c84 src/share/vm/runtime/objectMonitor.cpp --- a/src/share/vm/runtime/objectMonitor.cpp Wed Oct 26 05:40:47 2016 +0100 +++ b/src/share/vm/runtime/objectMonitor.cpp Sun Sep 06 05:02:06 2015 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2015, 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 @@ -224,7 +224,8 @@ // // * The monitor entry list operations avoid locks, but strictly speaking // they're not lock-free. Enter is lock-free, exit is not. -// See http://j2se.east/~dice/PERSIST/040825-LockFreeQueues.html +// For a description of 'Methods and apparatus providing non-blocking access +// to a resource,' see U.S. Pat. No. 7844973. // // * The cxq can have multiple concurrent "pushers" but only one concurrent // detaching thread. This mechanism is immune from the ABA corruption. @@ -2007,7 +2008,8 @@ // (duration) or we can fix the count at approximately the duration of // a context switch and vary the frequency. Of course we could also // vary both satisfying K == Frequency * Duration, where K is adaptive by monitor. -// See http://j2se.east/~dice/PERSIST/040824-AdaptiveSpinning.html. +// For a description of 'Adaptive spin-then-block mutual exclusion in +// multi-threaded processing,' see U.S. Pat. No. 8046758. // // This implementation varies the duration "D", where D varies with // the success rate of recent spin attempts. (D is capped at approximately diff -r 3cc3ab869ccf -r c2a745174c84 test/runtime/handlerInTry/HandlerInTry.jasm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/runtime/handlerInTry/HandlerInTry.jasm Sun Sep 06 05:02:06 2015 -0700 @@ -0,0 +1,115 @@ +/* + * Copyright (c) 2015, 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. + */ + +/* + * HandlerInTry contains a try block in a ctor whose handler is inside + * the same try block. The try block starts at line 74 (try t2;), ends at + * line 106 (endtry t2;), but its handler starts at line 101 (catch t2 #0;). + */ +super public class HandlerInTry + version 51:0 +{ + +public static final synthetic Field ___transactionFactory_2002349702336125:"Ljava/lang/Object;"; + +public Method "":"(Ljava/lang/Object;)V" + stack 5 locals 5 +{ + invokestatic Method ThreadLocalTransaction.getThreadLocalTransaction:"()Ljava/lang/Object;"; + checkcast class java/lang/Object; + astore_2; + aload_2; + invokestatic Method TransactionLogicDonor.isActiveTransaction:"(Ljava/lang/Object;)Z"; + ifeq L21; + aload_0; + aload_1; + aload_2; + invokespecial Method "":"(Ljava/lang/Object;Ljava/lang/Object;)V"; + return; + L21: stack_frame_type append; + locals_map class java/lang/Object; + aload_2; + getstatic Field ___transactionFactory_2002349702336125:"Ljava/lang/Object;"; + invokestatic Method TransactionLogicDonor.createTransaction:"(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"; + astore_2; + aload_2; + iconst_1; + pop; + aload_2; + invokestatic Method ThreadLocalTransaction.setThreadLocalTransaction:"(Ljava/lang/Object;)V"; + try t0, t1; + aload_0; + aload_1; + aload_2; + invokespecial Method "":"(Ljava/lang/Object;Ljava/lang/Object;)V"; + aload_2; + pop; + aconst_null; + astore_2; + endtry t0, t1; + invokestatic Method ThreadLocalTransaction.clearThreadLocalTransaction:"()V"; + pop; + goto L107; + catch t0 java/lang/Throwable; + try t2; + stack_frame_type full; + locals_map bogus, class java/lang/Object, class java/lang/Object; + stack_map class java/lang/Throwable; + astore_3; + aload_2; + pop; + aload_3; + instanceof class ControlFlowError; + ifeq L82; + new class java/lang/NullPointerException; + dup; + invokespecial Method java/lang/NullPointerException."":"()V"; + athrow; + L82: stack_frame_type append; + locals_map class java/lang/Throwable; + aload_3; + instanceof class java/lang/Error; + ifeq L94; + aload_3; + checkcast class java/lang/Error; + athrow; + L94: stack_frame_type same; + aload_3; + checkcast class java/lang/Exception; + athrow; + catch t1 #0; + catch t2 #0; + stack_frame_type full; + locals_map bogus, class java/lang/Object, class java/lang/Object; + stack_map class java/lang/Throwable; + astore 4; + endtry t2; + invokestatic Method ThreadLocalTransaction.clearThreadLocalTransaction:"()V"; + aload 4; + athrow; + L107: stack_frame_type full; + locals_map class HandlerInTry, class java/lang/Object, null; + return; +} + +} // end Class HandlerInTry diff -r 3cc3ab869ccf -r c2a745174c84 test/runtime/handlerInTry/IsolatedHandlerInTry.jasm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/runtime/handlerInTry/IsolatedHandlerInTry.jasm Sun Sep 06 05:02:06 2015 -0700 @@ -0,0 +1,124 @@ +/* + * Copyright (c) 2015, 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. + */ + +/* + * IsolatedHandlerInTry contains a try block in a ctor whose handler is inside + * the same try block but the handler can only be reached if an exception + * occurs. The handler does a return. So, a VerifyException should be thrown. + * The try block starts at line 77 (try t2;) and ends at line 113 (endtry t2;). + * Its handler starts at line 107 (catch t2 #0;). The handler can only be reached + * by exception because of the athrow at line 106. + */ +super public class IsolatedHandlerInTry + version 51:0 +{ + +public static final synthetic Field ___transactionFactory_2002349702336125:"Ljava/lang/Object;"; + +public Method "":"(Ljava/lang/Object;)V" + stack 5 locals 5 +{ + invokestatic Method ThreadLocalTransaction.getThreadLocalTransaction:"()Ljava/lang/Object;"; + checkcast class java/lang/Object; + astore_2; + aload_2; + invokestatic Method TransactionLogicDonor.isActiveTransaction:"(Ljava/lang/Object;)Z"; + ifeq L21; + aload_0; + aload_1; + aload_2; + invokespecial Method "":"(Ljava/lang/Object;Ljava/lang/Object;)V"; + return; + L21: stack_frame_type append; + locals_map class java/lang/Object; + aload_2; + getstatic Field ___transactionFactory_2002349702336125:"Ljava/lang/Object;"; + invokestatic Method TransactionLogicDonor.createTransaction:"(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"; + astore_2; + aload_2; + iconst_1; + pop; + aload_2; + invokestatic Method ThreadLocalTransaction.setThreadLocalTransaction:"(Ljava/lang/Object;)V"; + try t0, t1; + aload_0; + aload_1; + aload_2; + invokespecial Method "":"(Ljava/lang/Object;Ljava/lang/Object;)V"; + aload_2; + pop; + aconst_null; + astore_2; + endtry t0, t1; + invokestatic Method ThreadLocalTransaction.clearThreadLocalTransaction:"()V"; + pop; + goto L107; + catch t0 java/lang/Throwable; + try t2; + stack_frame_type full; + locals_map bogus, class java/lang/Object, class java/lang/Object; + stack_map class java/lang/Throwable; + astore_3; + aload_2; + pop; + aload_3; + instanceof class ControlFlowError; + ifeq L82; + new class java/lang/NullPointerException; + dup; + invokespecial Method java/lang/NullPointerException."":"()V"; + athrow; + L82: stack_frame_type append; + locals_map class java/lang/Throwable; + aload_3; + instanceof class java/lang/Error; + ifeq L94; + aload_3; + checkcast class java/lang/Error; + athrow; + L94: stack_frame_type same; + aload_3; + checkcast class java/lang/Exception; + catch t1 #0; + stack_frame_type full; + locals_map bogus, class java/lang/Object, class java/lang/Object; + stack_map class java/lang/Throwable; + athrow; + catch t2 #0; + stack_frame_type full; + locals_map bogus, class java/lang/Object, class java/lang/Object; + stack_map class java/lang/Throwable; + astore 4; + return; + endtry t2; + stack_frame_type full; + locals_map bogus, class java/lang/Object, class java/lang/Object, class java/lang/Object; + stack_map class java/lang/Throwable; + invokestatic Method ThreadLocalTransaction.clearThreadLocalTransaction:"()V"; + athrow; + L107: stack_frame_type full; + locals_map class IsolatedHandlerInTry, class java/lang/Object, null; + return; +} + +} // end Class IsolatedHandlerInTry diff -r 3cc3ab869ccf -r c2a745174c84 test/runtime/handlerInTry/LoadHandlerInTry.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/runtime/handlerInTry/LoadHandlerInTry.java Sun Sep 06 05:02:06 2015 -0700 @@ -0,0 +1,86 @@ +/* + * Copyright (c) 2015, 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 + * @bug 8075118 + * @summary Allow a ctor to call super() from a switch bytecode. + * @compile HandlerInTry.jasm + * @compile IsolatedHandlerInTry.jasm + * @run main/othervm -Xverify:all LoadHandlerInTry + */ + +/* + * This test has two cases: + * + * 1. class HandlerInTry: Class HandlerInTry contains a TRY block in a + * constructor whose handler is inside the same TRY block. The last + * few bytecodes and exception table look like this: + * + * ... + * 87: athrow + * 88: astore 4 + * 90: invokestatic #9 + * 93: aload 4 + * 95: athrow + * 96: return + * Exception table: + * from to target type + * 36 46 53 Class java/lang/Throwable + * 36 46 88 any + * 53 90 88 any + * + * Note that the target for the third handler in the Exception table is + * inside its TRY block. + * Without the fix for bug JDK-8075118, this test will time out. + * + * + * 2. class IsolatedHandlerInTry: Class IsolatedHandlerInTry also contains + * a TRY block in a constructoer whose handler is inside its TRY block. + * But the handler is only reachable if an exception is thrown. The + * handler's bytecodes will not get parsed as part of parsing the TRY + * block. They will only get parsed as a handler for the TRY block. + * Since the isolated handler does a 'return', a VerifyError exception + * should get thrown. + */ + +public class LoadHandlerInTry { + + public static void main(String[] args) throws Exception { + System.out.println("Regression test for bug 8075118"); + try { + Class newClass = Class.forName("HandlerInTry"); + } catch (Exception e) { + System.out.println("Failed: Exception was thrown: " + e.toString()); + throw e; + } + + try { + Class newClass = Class.forName("IsolatedHandlerInTry"); + throw new RuntimeException( + "Failed to throw VerifyError for IsolatedHandlerInTry"); + } catch (java.lang.VerifyError e) { + System.out.println("Passed: VerifyError exception was thrown"); + } + } +} From bugzilla-daemon at icedtea.classpath.org Wed Oct 26 17:35:01 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 17:35:01 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #10 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/hotspot?cmd=changeset;node=f68721524683 author: sspitsyn date: Wed Oct 26 08:28:18 2016 +0100 8076579, PR3162: Popping a stack frame after exception breakpoint sets last method param to exception Summary: Null the InterpreterRuntime::member_name_arg_or_null return value when it is necessary Reviewed-by: jbachorik, coleenp, twisti -- 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 Oct 26 17:35:07 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 17:35:07 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #11 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/hotspot?cmd=changeset;node=60d7d96f3c71 author: hseigel date: Thu Mar 19 08:55:50 2015 -0400 8075118, PR3162: JVM stuck in infinite loop during verification Summary: keep a list of handlers to prevent the same handler from being scanned repeatedly. Reviewed-by: dlong, dholmes -- 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 Oct 26 17:35:12 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 17:35:12 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #12 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/hotspot?cmd=changeset;node=e3f5eb31eea4 author: poonam date: Fri Oct 30 08:29:19 2015 -0700 8140249, PR3162: JVM Crashing During startUp If Flight Recording is enabled Reviewed-by: dholmes Contributed-by: Shafi Ahmad -- 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 Oct 26 17:35:18 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 17:35:18 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #13 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/hotspot?cmd=changeset;node=3b5ed034ebab author: kevinw date: Fri Jan 08 05:28:21 2016 -0800 8144483, PR3162: One long Safepoint pause directly after each GC log rotation Reviewed-by: dholmes Contributed-by: cheleswer.sahu at oracle.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 Wed Oct 26 17:35:24 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 17:35:24 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #14 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/hotspot?cmd=changeset;node=c2a745174c84 author: dbuck date: Sun Sep 06 05:02:06 2015 -0700 8135002, PR3162: Fix or remove broken links in objectMonitor.cpp comments Summary: Updated comments to refer to relevant patents. Reviewed-by: dcubed -- 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 Wed Oct 26 17:36:05 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 26 Oct 2016 17:36:05 +0000 Subject: /hg/icedtea7-forest/jdk: 5 new changesets Message-ID: changeset 14a416fcd6b4 in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=14a416fcd6b4 author: coffeys date: Thu Oct 15 09:33:03 2015 +0100 6907252, PR3162: ZipFileInputStream Not Thread-Safe Reviewed-by: sherman changeset 4fe1830bc1d6 in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=4fe1830bc1d6 author: aivanov date: Wed Oct 26 16:05:53 2016 +0100 8130136, PR3162: Swing window sometimes fails to repaint partially when it becomes exposed Reviewed-by: alexp, serb changeset a9509bcc915f in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=a9509bcc915f author: aefimov date: Thu Jul 23 15:55:11 2015 +0300 8078495, PR3162: End time checking for native TGT is wrong Reviewed-by: xuelei changeset b163e8d8f24b in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=b163e8d8f24b author: jgodinez date: Mon Oct 24 09:58:47 2011 -0700 6604109, PR3162: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups Reviewed-by: bae, prr changeset 9619ed773fbd in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=9619ed773fbd author: igerasim date: Wed Oct 26 18:39:48 2016 +0100 8130274, PR3162: java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal Summary: Make UnixFileStore.equals() also compare the return values of name(), the names of the mounted filesystems. Reviewed-by: alanb diffstat: src/share/classes/java/util/zip/ZStreamRef.java | 2 +- src/share/classes/java/util/zip/ZipFile.java | 9 +- src/share/native/java/util/zip/zip_util.c | 18 +- src/solaris/classes/sun/nio/fs/UnixFileStore.java | 5 +- src/solaris/classes/sun/print/UnixPrintServiceLookup.java | 2 +- src/windows/native/sun/java2d/windows/GDIWindowSurfaceData.cpp | 8 +- src/windows/native/sun/java2d/windows/GDIWindowSurfaceData.h | 3 +- src/windows/native/sun/security/krb5/NativeCreds.c | 5 +- src/windows/native/sun/windows/awt_Component.cpp | 14 +- src/windows/native/sun/windows/awt_Component.h | 6 +- test/java/util/zip/ZipFile/ZipEntryFreeTest.java | 130 ++++++++++ 11 files changed, 176 insertions(+), 26 deletions(-) diffs (415 lines): diff -r 0ad544dbe717 -r 9619ed773fbd src/share/classes/java/util/zip/ZStreamRef.java --- a/src/share/classes/java/util/zip/ZStreamRef.java Thu Oct 01 15:16:35 2015 +0900 +++ b/src/share/classes/java/util/zip/ZStreamRef.java Wed Oct 26 18:39:48 2016 +0100 @@ -31,7 +31,7 @@ class ZStreamRef { - private long address; + private volatile long address; ZStreamRef (long address) { this.address = address; } diff -r 0ad544dbe717 -r 9619ed773fbd src/share/classes/java/util/zip/ZipFile.java --- a/src/share/classes/java/util/zip/ZipFile.java Thu Oct 01 15:16:35 2015 +0900 +++ b/src/share/classes/java/util/zip/ZipFile.java Wed Oct 26 18:39:48 2016 +0100 @@ -54,7 +54,7 @@ */ public class ZipFile implements ZipConstants, Closeable { - private long jzfile; // address of jzfile data + private long jzfile; // address of jzfile data private final String name; // zip file name private final int total; // total number of entries private final boolean locsig; // if zip file starts with LOCSIG (usually true) @@ -650,7 +650,7 @@ * (possibly compressed) zip file entry. */ private class ZipFileInputStream extends InputStream { - private volatile boolean closeRequested = false; + private volatile boolean zfisCloseRequested = false; protected long jzentry; // address of jzentry data private long pos; // current position within entry data protected long rem; // number of remaining bytes within entry @@ -677,6 +677,7 @@ len = (int) rem; } + // Check if ZipFile open ensureOpenOrZipException(); len = ZipFile.read(ZipFile.this.jzfile, jzentry, pos, b, off, len); @@ -720,9 +721,9 @@ } public void close() { - if (closeRequested) + if (zfisCloseRequested) return; - closeRequested = true; + zfisCloseRequested = true; rem = 0; synchronized (ZipFile.this) { diff -r 0ad544dbe717 -r 9619ed773fbd src/share/native/java/util/zip/zip_util.c --- a/src/share/native/java/util/zip/zip_util.c Thu Oct 01 15:16:35 2015 +0900 +++ b/src/share/native/java/util/zip/zip_util.c Wed Oct 26 18:39:48 2016 +0100 @@ -1283,12 +1283,23 @@ jint ZIP_Read(jzfile *zip, jzentry *entry, jlong pos, void *buf, jint len) { - jlong entry_size = (entry->csize != 0) ? entry->csize : entry->size; + jlong entry_size; jlong start; + if (zip == 0) { + return -1; + } + /* Clear previous zip error */ zip->msg = NULL; + if (entry == 0) { + zip->msg = "ZIP_Read: jzentry is NULL"; + return -1; + } + + entry_size = (entry->csize != 0) ? entry->csize : entry->size; + /* Check specified position */ if (pos < 0 || pos > entry_size - 1) { zip->msg = "ZIP_Read: specified offset out of range"; @@ -1419,6 +1430,11 @@ { char *msg; + if (entry == 0) { + jio_fprintf(stderr, "jzentry was invalid"); + return JNI_FALSE; + } + strcpy(entryname, entry->name); if (entry->csize == 0) { /* Entry is stored */ diff -r 0ad544dbe717 -r 9619ed773fbd src/solaris/classes/sun/nio/fs/UnixFileStore.java --- a/src/solaris/classes/sun/nio/fs/UnixFileStore.java Thu Oct 01 15:16:35 2015 +0900 +++ b/src/solaris/classes/sun/nio/fs/UnixFileStore.java Wed Oct 26 18:39:48 2016 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 2015, 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 @@ -186,7 +186,8 @@ return false; UnixFileStore other = (UnixFileStore)ob; return (this.dev == other.dev) && - Arrays.equals(this.entry.dir(), other.entry.dir()); + Arrays.equals(this.entry.dir(), other.entry.dir()) && + this.entry.name().equals(other.entry.name()); } @Override diff -r 0ad544dbe717 -r 9619ed773fbd src/solaris/classes/sun/print/UnixPrintServiceLookup.java --- a/src/solaris/classes/sun/print/UnixPrintServiceLookup.java Thu Oct 01 15:16:35 2015 +0900 +++ b/src/solaris/classes/sun/print/UnixPrintServiceLookup.java Wed Oct 26 18:39:48 2016 +0100 @@ -240,7 +240,7 @@ if (printServices == null) { return new PrintService[0]; } else { - return printServices; + return (PrintService[])printServices.clone(); } } diff -r 0ad544dbe717 -r 9619ed773fbd src/windows/native/sun/java2d/windows/GDIWindowSurfaceData.cpp --- a/src/windows/native/sun/java2d/windows/GDIWindowSurfaceData.cpp Thu Oct 01 15:16:35 2015 +0900 +++ b/src/windows/native/sun/java2d/windows/GDIWindowSurfaceData.cpp Wed Oct 26 18:39:48 2016 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2015, 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 @@ -114,8 +114,9 @@ // which may've been disposed by this time, and we have // no means of checking against it. if (oldhDC != NULL) { - MoveDCToPassiveList(oldhDC); + MoveDCToPassiveList(oldhDC, info->hWnd); info->hDC = NULL; + info->hWnd = NULL; } if (wsdo->window != NULL){ @@ -150,6 +151,7 @@ // Finally, set these new values in the info for this thread info->hDC = hDC; + info->hWnd = wsdo->window; } // cached brush and pen are not associated with any DC, and can be @@ -187,7 +189,7 @@ if (info->hDC != NULL) { // move the DC from the active dcs list to // the passive dc list to be released later - MoveDCToPassiveList(info->hDC); + MoveDCToPassiveList(info->hDC, info->hWnd); } if (info->clip != NULL) { diff -r 0ad544dbe717 -r 9619ed773fbd src/windows/native/sun/java2d/windows/GDIWindowSurfaceData.h --- a/src/windows/native/sun/java2d/windows/GDIWindowSurfaceData.h Thu Oct 01 15:16:35 2015 +0900 +++ b/src/windows/native/sun/java2d/windows/GDIWindowSurfaceData.h Wed Oct 26 18:39:48 2016 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2015, 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 @@ -196,6 +196,7 @@ */ typedef struct { HDC hDC; + HWND hWnd; GDIWinSDOps *wsdo; LONG wsdoTimeStamp; // wsdo creation time stamp. // Other threads may deallocate wsdo diff -r 0ad544dbe717 -r 9619ed773fbd src/windows/native/sun/security/krb5/NativeCreds.c --- a/src/windows/native/sun/security/krb5/NativeCreds.c Thu Oct 01 15:16:35 2015 +0900 +++ b/src/windows/native/sun/security/krb5/NativeCreds.c Wed Oct 26 18:39:48 2016 +0100 @@ -389,7 +389,7 @@ jobject authTime, renewTillTime, hostAddresses = NULL; KERB_EXTERNAL_TICKET *msticket; int found = 0; - FILETIME Now, EndTime, LocalEndTime; + FILETIME Now, EndTime; int i, netypes; jint *etypes = NULL; @@ -472,8 +472,7 @@ GetSystemTimeAsFileTime(&Now); EndTime.dwLowDateTime = msticket->EndTime.LowPart; EndTime.dwHighDateTime = msticket->EndTime.HighPart; - FileTimeToLocalFileTime(&EndTime, &LocalEndTime); - if (CompareFileTime(&Now, &LocalEndTime) < 0) { + if (CompareFileTime(&Now, &EndTime) < 0) { for (i=0; iSessionKey.KeyType) { found = 1; diff -r 0ad544dbe717 -r 9619ed773fbd src/windows/native/sun/windows/awt_Component.cpp --- a/src/windows/native/sun/windows/awt_Component.cpp Thu Oct 01 15:16:35 2015 +0900 +++ b/src/windows/native/sun/windows/awt_Component.cpp Wed Oct 26 18:39:48 2016 +0100 @@ -1370,7 +1370,7 @@ case WM_AWT_RELEASEDC: { HDC hDC = (HDC)wParam; - MoveDCToPassiveList(hDC); + MoveDCToPassiveList(hDC, GetHWnd()); ReleaseDCList(GetHWnd(), passiveDCList); mr = mrConsume; break; @@ -7103,8 +7103,8 @@ } /** - * Given a DC, remove it from the DC list and return - * TRUE if it exists on the current list. Otherwise + * Given a DC and window handle, remove the DC from the DC list + * and return TRUE if it exists on the current list. Otherwise * return FALSE. * A DC may not exist on the list because it has already * been released elsewhere (for example, the window @@ -7112,14 +7112,14 @@ * thread may also want to release a DC when it notices that * its DC is obsolete for the current window). */ -DCItem *DCList::RemoveDC(HDC hDC) +DCItem *DCList::RemoveDC(HDC hDC, HWND hWnd) { listLock.Enter(); DCItem **prevPtrPtr = &head; DCItem *listPtr = head; while (listPtr) { DCItem *nextPtr = listPtr->next; - if (listPtr->hDC == hDC) { + if (listPtr->hDC == hDC && listPtr->hWnd == hWnd) { *prevPtrPtr = nextPtr; break; } @@ -7173,9 +7173,9 @@ listLock.Leave(); } -void MoveDCToPassiveList(HDC hDC) { +void MoveDCToPassiveList(HDC hDC, HWND hWnd) { DCItem *removedDC; - if ((removedDC = activeDCList.RemoveDC(hDC)) != NULL) { + if ((removedDC = activeDCList.RemoveDC(hDC, hWnd)) != NULL) { passiveDCList.AddDCItem(removedDC); } } diff -r 0ad544dbe717 -r 9619ed773fbd src/windows/native/sun/windows/awt_Component.h --- a/src/windows/native/sun/windows/awt_Component.h Thu Oct 01 15:16:35 2015 +0900 +++ b/src/windows/native/sun/windows/awt_Component.h Wed Oct 26 18:39:48 2016 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1996, 2015, 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 @@ -901,13 +901,13 @@ void AddDC(HDC hDC, HWND hWnd); void AddDCItem(DCItem *newItem); - DCItem *RemoveDC(HDC hDC); + DCItem *RemoveDC(HDC hDC, HWND hWnd); DCItem *RemoveAllDCs(HWND hWnd); void RealizePalettes(int screen); }; void ReleaseDCList(HWND hwnd, DCList &list); -void MoveDCToPassiveList(HDC hDC); +void MoveDCToPassiveList(HDC hDC, HWND hWnd); namespace TimeHelper{ jlong getMessageTimeUTC(); diff -r 0ad544dbe717 -r 9619ed773fbd test/java/util/zip/ZipFile/ZipEntryFreeTest.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/java/util/zip/ZipFile/ZipEntryFreeTest.java Wed Oct 26 18:39:48 2016 +0100 @@ -0,0 +1,130 @@ +/* + * Copyright (c) 2015, 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 + * @bug 6907252 + * @summary ZipFileInputStream Not Thread-Safe + * @library /lib/testlibrary + * @build jdk.testlibrary.* + * @run main ZipEntryFreeTest + */ + +import java.io.*; +import java.nio.file.Paths; +import java.util.Random; +import java.util.Timer; +import java.util.TimerTask; +import java.util.zip.*; +import jdk.testlibrary.FileUtils; + +public class ZipEntryFreeTest extends Thread { + + private static final int NUM_THREADS = 5; + private static final int TEST_ITERATIONS = 5; + private static final String ZIPFILE_NAME = "large.zip"; + private static final String ZIPENTRY_NAME = "random.txt"; + private static InputStream is = null; + final Timer timer = new Timer(); + + public static void main(String args[]) throws Exception { + createZipFile(); + try { + for (int i = 0; i < TEST_ITERATIONS; i++) { + runTest(); + } + } finally { + FileUtils.deleteFileIfExistsWithRetry(Paths.get(ZIPFILE_NAME)); + } + } + + private static void runTest() throws Exception { + try (ZipFile zf = new ZipFile(new File(ZIPFILE_NAME))) { + is = zf.getInputStream(zf.getEntry(ZIPENTRY_NAME + "_0")); + Thread[] threadArray = new Thread[NUM_THREADS]; + for (int i = 0; i < threadArray.length; i++) { + threadArray[i] = new ZipEntryFreeTest(); + } + for (int i = 0; i < threadArray.length; i++) { + threadArray[i].start(); + } + for (int i = 0; i < threadArray.length; i++) { + threadArray[i].join(); + } + } + } + + private static void createZipFile() throws Exception { + Random rnd = new Random(1000L); + byte[] contents = new byte[2_000_000]; + ZipEntry ze = null; + + try (ZipOutputStream zos = + new ZipOutputStream(new FileOutputStream(ZIPFILE_NAME))) { + // uncompressed mode seemed to tickle the crash + zos.setMethod(ZipOutputStream.STORED); + for (int ze_count = 0; ze_count < 10; ze_count++) { + rnd.nextBytes(contents); + ze = createZipEntry(contents, ze_count); + zos.putNextEntry(ze); + zos.write(contents, 0, contents.length); + } + zos.flush(); + } + } + + private static ZipEntry createZipEntry(byte[] b, int i) { + ZipEntry ze = new ZipEntry(ZIPENTRY_NAME + "_" + i); + ze.setCompressedSize(b.length); + ze.setSize(b.length); + CRC32 crc = new CRC32(); + crc.update(b); + ze.setCrc(crc.getValue()); + return ze; + } + + @Override + public void run() { + try { + int iteration = 0; + TimerTask tt = (new TimerTask() { + @Override + public void run() { + try { + is.close(); + } catch (Exception ex) { + ex.printStackTrace(System.out); + } + } + }); + timer.schedule(tt, 50); + while (is.read() != -1 && iteration++ < 1_000) { } + } catch (ZipException ze) { + // ZipException now expected instead of ZIP_Read crash + System.out.println(ze); + } catch (Exception e) { + throw new RuntimeException(e); + } finally { + timer.cancel(); + } + } +} From bugzilla-daemon at icedtea.classpath.org Wed Oct 26 17:36:11 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 17:36:11 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #15 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=14a416fcd6b4 author: coffeys date: Thu Oct 15 09:33:03 2015 +0100 6907252, PR3162: ZipFileInputStream Not Thread-Safe Reviewed-by: sherman -- 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 Oct 26 17:36:16 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 17:36:16 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #16 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=4fe1830bc1d6 author: aivanov date: Wed Oct 26 16:05:53 2016 +0100 8130136, PR3162: Swing window sometimes fails to repaint partially when it becomes exposed Reviewed-by: alexp, serb -- 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 Oct 26 17:36:23 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 17:36:23 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #17 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=a9509bcc915f author: aefimov date: Thu Jul 23 15:55:11 2015 +0300 8078495, PR3162: End time checking for native TGT is wrong Reviewed-by: xuelei -- 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 Oct 26 17:36:31 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 17:36:31 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #18 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=b163e8d8f24b author: jgodinez date: Mon Oct 24 09:58:47 2011 -0700 6604109, PR3162: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups Reviewed-by: bae, prr -- 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 Oct 26 17:36:37 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Oct 2016 17:36:37 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #19 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=9619ed773fbd author: igerasim date: Wed Oct 26 18:39:48 2016 +0100 8130274, PR3162: java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal Summary: Make UnixFileStore.equals() also compare the return values of name(), the names of the mounted filesystems. Reviewed-by: alanb -- 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 Oct 27 05:02:41 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:02:41 +0000 Subject: /hg/icedtea7: Bump to icedtea-2.7.0pre08. Message-ID: changeset 47c21fc24330 in /hg/icedtea7 details: http://icedtea.classpath.org/hg/icedtea7?cmd=changeset;node=47c21fc24330 author: Andrew John Hughes date: Thu Oct 27 05:40:14 2016 +0100 Bump to icedtea-2.7.0pre08. Upstream changes - Bump to icedtea-2.7.0pre08 - PR3162: Remove reference to AbstractPlainDatagramSocketImpl.c, removed in 8072466 - PR3207, RH1367357: lcms2: Out-of-bounds read in Type_MLU_Read() - S6604109, PR3162: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups - S6907252, PR3162: ZipFileInputStream Not Thread-Safe - S8024046, PR3162: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc* - S8028479, PR3162: runNameEquals still cannot precisely detect if a usable native krb5 is available - S8034057, PR3162: Files.getFileStore and Files.isWritable do not work with SUBST'ed drives (win) - S8038491, PR3162: Improve synchronization in ZipFile.read() - S8038502, PR3162: Deflater.needsInput() should use synchronization - S8059411, PR3162: RowSetWarning does not correctly chain warnings - S8062198, PR3162: Add RowSetMetaDataImpl Tests and add column range validation to isdefinitlyWritable - S8066188, PR3162: BaseRowSet returns the wrong default value for escape processing - S8072466, PR3162: Deadlock when initializing MulticastSocket and DatagramSocket - S8075118, PR3162: JVM stuck in infinite loop during verification - S8076579, PR3162: Popping a stack frame after exception breakpoint sets last method param to exception - S8078495, PR3162: End time checking for native TGT is wrong - S8078628, PR3151: Zero build fails with pre-compiled headers disabled - S8078668, PR3162: jar usage string mentions unsupported option '-n' - S8080115, PR3162: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads - S8081794, PR3162: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem - S8129957, PR3162: Deadlock in JNDI LDAP implementation when closing the LDAP context - S8130136, PR3162: Swing window sometimes fails to repaint partially when it becomes exposed - S8130274, PR3162: java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal - S8132551, PR3162: Initialize local variables before returning them in p11_convert.c - S8133207, PR3162: [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115 - S8133666, PR3162: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux - S8135002, PR3162: Fix or remove broken links in objectMonitor.cpp comments - S8137121, PR3162: (fc) Infinite loop FileChannel.truncate - S8137230, PR3162: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out - S8139373, PR3162: [TEST_BUG] java/net/MulticastSocket/MultiDead.java failed with timeout - S8140249, PR3162: JVM Crashing During startUp If Flight Recording is enabled - S8141491, PR3160, G592292: Unaligned memory access in Bits.c - S8144483, PR3162: One long Safepoint pause directly after each GC log rotation - S8149611, PR3160, G592292: Add tests for Unsafe.copySwapMemory - S8157306, PR3209: Random infrequent null pointer exceptions in javac - S8167200: AArch64: Broken stack pointer adjustment in interpreter ChangeLog: 2016-10-26 Andrew John Hughes Bump to icedtea-2.7.0pre08. * Makefile.am: (CORBA_CHANGESET): Update to icedtea-2.7.0pre08. (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. * configure.ac: Bump to 2.7.0pre08. * hotspot.map.in: Update to icedtea-2.7.0pre08. * patches/boot/ecj-diamond.patch: Add new case in com.sun.jndi.ldap.LdapClient. diffstat: ChangeLog | 22 ++++++++++++++++++++++ Makefile.am | 26 +++++++++++++------------- NEWS | 38 ++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- hotspot.map.in | 2 +- patches/boot/ecj-diamond.patch | 12 ++++++++++++ 6 files changed, 87 insertions(+), 15 deletions(-) diffs (156 lines): diff -r 08c4847b2aa3 -r 47c21fc24330 ChangeLog --- a/ChangeLog Fri Sep 30 17:15:52 2016 +0100 +++ b/ChangeLog Thu Oct 27 05:40:14 2016 +0100 @@ -1,3 +1,25 @@ +2016-10-26 Andrew John Hughes + + Bump to icedtea-2.7.0pre08. + * Makefile.am: + (CORBA_CHANGESET): Update to icedtea-2.7.0pre08. + (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. + * configure.ac: Bump to 2.7.0pre08. + * hotspot.map.in: Update to icedtea-2.7.0pre08. + * patches/boot/ecj-diamond.patch: + Add new case in com.sun.jndi.ldap.LdapClient. + 2016-09-24 Andrew John Hughes Bump to icedtea-2.7.0pre07. diff -r 08c4847b2aa3 -r 47c21fc24330 Makefile.am --- a/Makefile.am Fri Sep 30 17:15:52 2016 +0100 +++ b/Makefile.am Thu Oct 27 05:40:14 2016 +0100 @@ -4,19 +4,19 @@ BUILD_VERSION = b01 COMBINED_VERSION = $(JDK_UPDATE_VERSION)-$(BUILD_VERSION) -CORBA_CHANGESET = 205f6d4b66fe -JAXP_CHANGESET = 80897e67a1b3 -JAXWS_CHANGESET = cee876f061b3 -JDK_CHANGESET = 5e3d7e2b2a00 -LANGTOOLS_CHANGESET = e5b9f24eecf6 -OPENJDK_CHANGESET = 0c642b015379 - -CORBA_SHA256SUM = f0c395f05fc5134044596ce6953fb95c27cef19d3c42acbd8ffa42355f983567 -JAXP_SHA256SUM = 7d357b8815f6f6371db0ea9d6aae1ff0f973a4befaf8ce27dd89533b8291e3fb -JAXWS_SHA256SUM = 266133740e9b018edb7b004d8923c1f9f3fe8bf778e597d561614d194ba6c98b -JDK_SHA256SUM = 6122cde4d043c89b6de5333e0b7aeff605dd350fd2ba7e9bc95a1aca25af7051 -LANGTOOLS_SHA256SUM = 37a84be24c950dcfc95c52e4949c1ac2ef67e375022104ee48aa412bc4c8fffd -OPENJDK_SHA256SUM = 509256e03441e832791589717947af3e9b6d35baeb4dc75a78af79e22534f9fe +CORBA_CHANGESET = 257b4ab13740 +JAXP_CHANGESET = 36695a562f29 +JAXWS_CHANGESET = 1c02daf6ea6b +JDK_CHANGESET = 15b47679f447 +LANGTOOLS_CHANGESET = 5f91109e8834 +OPENJDK_CHANGESET = e95e10d502c6 + +CORBA_SHA256SUM = 8beb63234213c72c8ab47e663439c8e34bf60ffb422cc5150fa181dd4a137dcc +JAXP_SHA256SUM = 7150afa874f4ca40f2d533313aecfedb1f1b7be4efae34f82142d13f31406bdf +JAXWS_SHA256SUM = f82d397e25678e40c9b791f9125bfa7906d5d21a3e44f47b2679b4f0de94c36f +JDK_SHA256SUM = 2e46a9415ff866108ce45ed7080ace6701f39214ff817426b6fd7f61d6343511 +LANGTOOLS_SHA256SUM = 57ab591d78e7d40c539ad18b915f802810d6fb73e02a07423b3852cb0d0ca31d +OPENJDK_SHA256SUM = 3978c2e61ef8ecb7b1b1d903d2858334b7fe8f3d6f3370907308a62ca2d22938 DROP_URL = http://icedtea.classpath.org/download/drops diff -r 08c4847b2aa3 -r 47c21fc24330 NEWS --- a/NEWS Fri Sep 30 17:15:52 2016 +0100 +++ b/NEWS Thu Oct 27 05:40:14 2016 +0100 @@ -14,14 +14,52 @@ New in release 2.7.0 (201X-XX-XX): +* Security fixes + - PR3207, RH1367357: lcms2: Out-of-bounds read in Type_MLU_Read() * Backports + - S6604109, PR3162: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups + - S6907252, PR3162: ZipFileInputStream Not Thread-Safe + - S8024046, PR3162: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc* + - S8028479, PR3162: runNameEquals still cannot precisely detect if a usable native krb5 is available + - S8034057, PR3162: Files.getFileStore and Files.isWritable do not work with SUBST'ed drives (win) + - S8038491, PR3162: Improve synchronization in ZipFile.read() + - S8038502, PR3162: Deflater.needsInput() should use synchronization + - S8059411, PR3162: RowSetWarning does not correctly chain warnings + - S8062198, PR3162: Add RowSetMetaDataImpl Tests and add column range validation to isdefinitlyWritable + - S8066188, PR3162: BaseRowSet returns the wrong default value for escape processing + - S8072466, PR3162: Deadlock when initializing MulticastSocket and DatagramSocket + - S8075118, PR3162: JVM stuck in infinite loop during verification - S8076221, PR2809, RH1302385: Disable RC4 cipher suites + - S8076579, PR3162: Popping a stack frame after exception breakpoint sets last method param to exception + - S8078495, PR3162: End time checking for native TGT is wrong + - S8078668, PR3162: jar usage string mentions unsupported option '-n' + - S8080115, PR3162: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads + - S8081794, PR3162: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem + - S8129957, PR3162: Deadlock in JNDI LDAP implementation when closing the LDAP context + - S8130136, PR3162: Swing window sometimes fails to repaint partially when it becomes exposed + - S8130274, PR3162: java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal + - S8132551, PR3162: Initialize local variables before returning them in p11_convert.c + - S8133207, PR3162: [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115 + - S8133666, PR3162: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux + - S8135002, PR3162: Fix or remove broken links in objectMonitor.cpp comments + - S8137121, PR3162: (fc) Infinite loop FileChannel.truncate + - S8137230, PR3162: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out + - S8139373, PR3162: [TEST_BUG] java/net/MulticastSocket/MultiDead.java failed with timeout + - S8140249, PR3162: JVM Crashing During startUp If Flight Recording is enabled + - S8141491, PR3160, G592292: Unaligned memory access in Bits.c + - S8144483, PR3162: One long Safepoint pause directly after each GC log rotation + - S8149611, PR3160, G592292: Add tests for Unsafe.copySwapMemory * Bug fixes + - S8078628, PR3151: Zero build fails with pre-compiled headers disabled - PR3128: pax-mark-vm script calls "exit -1" which is invalid in dash - PR3131: PaX marking fails on filesystems which don't support extended attributes - PR3135: Makefile.am rule stamps/add/tzdata-support-debug.stamp has a typo in add-tzdata dependency - PR3141: Pass $(CC) and $(CXX) to OpenJDK build + - PR3162: Remove reference to AbstractPlainDatagramSocketImpl.c, removed in 8072466 - PR3166: invalid zip timestamp handling leads to error building bootstrap-javac +* AArch64 port + - S8157306, PR3209: Random infrequent null pointer exceptions in javac + - S8167200: AArch64: Broken stack pointer adjustment in interpreter New in release 2.6.7 (2016-07-28): diff -r 08c4847b2aa3 -r 47c21fc24330 configure.ac --- a/configure.ac Fri Sep 30 17:15:52 2016 +0100 +++ b/configure.ac Thu Oct 27 05:40:14 2016 +0100 @@ -1,4 +1,4 @@ -AC_INIT([icedtea], [2.7.0pre07], [distro-pkg-dev at openjdk.java.net]) +AC_INIT([icedtea], [2.7.0pre08], [distro-pkg-dev at openjdk.java.net]) AM_INIT_AUTOMAKE([1.9 tar-pax foreign]) AM_MAINTAINER_MODE([enable]) AC_CONFIG_FILES([Makefile]) diff -r 08c4847b2aa3 -r 47c21fc24330 hotspot.map.in --- a/hotspot.map.in Fri Sep 30 17:15:52 2016 +0100 +++ b/hotspot.map.in Thu Oct 27 05:40:14 2016 +0100 @@ -1,2 +1,2 @@ # version type(drop/hg) url changeset sha256sum -default drop http://icedtea.classpath.org/download/drops/icedtea7/@ICEDTEA_RELEASE@ b6971126dc0f 01f6d8f58e2eb729038f313a0e07c482d85a9cdb093c1aadd3624397a9ee28cb +default drop http://icedtea.classpath.org/download/drops/icedtea7/@ICEDTEA_RELEASE@ c2a745174c84 1864dbc8106ee30156b5be3a11e7cd6035f26853aff4490c096ef105036c92b0 diff -r 08c4847b2aa3 -r 47c21fc24330 patches/boot/ecj-diamond.patch --- a/patches/boot/ecj-diamond.patch Fri Sep 30 17:15:52 2016 +0100 +++ b/patches/boot/ecj-diamond.patch Thu Oct 27 05:40:14 2016 +0100 @@ -9374,3 +9374,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/com/sun/jndi/ldap/LdapClient.java openjdk-boot/jdk/src/share/classes/com/sun/jndi/ldap/LdapClient.java +--- openjdk-boot.orig/jdk/src/share/classes/com/sun/jndi/ldap/LdapClient.java 2016-10-27 04:53:38.758268589 +0100 ++++ openjdk-boot/jdk/src/share/classes/com/sun/jndi/ldap/LdapClient.java 2016-10-27 04:53:54.718000231 +0100 +@@ -1571,7 +1571,7 @@ + private void notifyUnsolicited(Object e) { + Vector unsolicitedCopy; + synchronized (unsolicited) { +- unsolicitedCopy = new Vector<>(unsolicited); ++ unsolicitedCopy = new Vector(unsolicited); + if (e instanceof NamingException) { + unsolicited.setSize(0); // no more listeners after exception + } From bugzilla-daemon at icedtea.classpath.org Thu Oct 27 05:02:58 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:02:58 +0000 Subject: [Bug 3160] [IcedTea7] Backport "8141491: Unaligned memory access in Bits.c" In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3160 --- Comment #4 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7?cmd=changeset;node=47c21fc24330 author: Andrew John Hughes date: Thu Oct 27 05:40:14 2016 +0100 Bump to icedtea-2.7.0pre08. Upstream changes - Bump to icedtea-2.7.0pre08 - PR3162: Remove reference to AbstractPlainDatagramSocketImpl.c, removed in 8072466 - PR3207, RH1367357: lcms2: Out-of-bounds read in Type_MLU_Read() - S6604109, PR3162: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups - S6907252, PR3162: ZipFileInputStream Not Thread-Safe - S8024046, PR3162: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc* - S8028479, PR3162: runNameEquals still cannot precisely detect if a usable native krb5 is available - S8034057, PR3162: Files.getFileStore and Files.isWritable do not work with SUBST'ed drives (win) - S8038491, PR3162: Improve synchronization in ZipFile.read() - S8038502, PR3162: Deflater.needsInput() should use synchronization - S8059411, PR3162: RowSetWarning does not correctly chain warnings - S8062198, PR3162: Add RowSetMetaDataImpl Tests and add column range validation to isdefinitlyWritable - S8066188, PR3162: BaseRowSet returns the wrong default value for escape processing - S8072466, PR3162: Deadlock when initializing MulticastSocket and DatagramSocket - S8075118, PR3162: JVM stuck in infinite loop during verification - S8076579, PR3162: Popping a stack frame after exception breakpoint sets last method param to exception - S8078495, PR3162: End time checking for native TGT is wrong - S8078628, PR3151: Zero build fails with pre-compiled headers disabled - S8078668, PR3162: jar usage string mentions unsupported option '-n' - S8080115, PR3162: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads - S8081794, PR3162: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem - S8129957, PR3162: Deadlock in JNDI LDAP implementation when closing the LDAP context - S8130136, PR3162: Swing window sometimes fails to repaint partially when it becomes exposed - S8130274, PR3162: java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal - S8132551, PR3162: Initialize local variables before returning them in p11_convert.c - S8133207, PR3162: [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115 - S8133666, PR3162: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux - S8135002, PR3162: Fix or remove broken links in objectMonitor.cpp comments - S8137121, PR3162: (fc) Infinite loop FileChannel.truncate - S8137230, PR3162: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out - S8139373, PR3162: [TEST_BUG] java/net/MulticastSocket/MultiDead.java failed with timeout - S8140249, PR3162: JVM Crashing During startUp If Flight Recording is enabled - S8141491, PR3160, G592292: Unaligned memory access in Bits.c - S8144483, PR3162: One long Safepoint pause directly after each GC log rotation - S8149611, PR3160, G592292: Add tests for Unsafe.copySwapMemory - S8157306, PR3209: Random infrequent null pointer exceptions in javac - S8167200: AArch64: Broken stack pointer adjustment in interpreter ChangeLog: 2016-10-26 Andrew John Hughes Bump to icedtea-2.7.0pre08. * Makefile.am: (CORBA_CHANGESET): Update to icedtea-2.7.0pre08. (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. * configure.ac: Bump to 2.7.0pre08. * hotspot.map.in: Update to icedtea-2.7.0pre08. * patches/boot/ecj-diamond.patch: Add new case in com.sun.jndi.ldap.LdapClient. -- 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 Oct 27 05:03:08 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:03:08 +0000 Subject: [Bug 3209] [IcedTea7] Backport "8157306: Random infrequent null pointer exceptions in javac" In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3209 --- Comment #2 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7?cmd=changeset;node=47c21fc24330 author: Andrew John Hughes date: Thu Oct 27 05:40:14 2016 +0100 Bump to icedtea-2.7.0pre08. Upstream changes - Bump to icedtea-2.7.0pre08 - PR3162: Remove reference to AbstractPlainDatagramSocketImpl.c, removed in 8072466 - PR3207, RH1367357: lcms2: Out-of-bounds read in Type_MLU_Read() - S6604109, PR3162: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups - S6907252, PR3162: ZipFileInputStream Not Thread-Safe - S8024046, PR3162: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc* - S8028479, PR3162: runNameEquals still cannot precisely detect if a usable native krb5 is available - S8034057, PR3162: Files.getFileStore and Files.isWritable do not work with SUBST'ed drives (win) - S8038491, PR3162: Improve synchronization in ZipFile.read() - S8038502, PR3162: Deflater.needsInput() should use synchronization - S8059411, PR3162: RowSetWarning does not correctly chain warnings - S8062198, PR3162: Add RowSetMetaDataImpl Tests and add column range validation to isdefinitlyWritable - S8066188, PR3162: BaseRowSet returns the wrong default value for escape processing - S8072466, PR3162: Deadlock when initializing MulticastSocket and DatagramSocket - S8075118, PR3162: JVM stuck in infinite loop during verification - S8076579, PR3162: Popping a stack frame after exception breakpoint sets last method param to exception - S8078495, PR3162: End time checking for native TGT is wrong - S8078628, PR3151: Zero build fails with pre-compiled headers disabled - S8078668, PR3162: jar usage string mentions unsupported option '-n' - S8080115, PR3162: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads - S8081794, PR3162: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem - S8129957, PR3162: Deadlock in JNDI LDAP implementation when closing the LDAP context - S8130136, PR3162: Swing window sometimes fails to repaint partially when it becomes exposed - S8130274, PR3162: java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal - S8132551, PR3162: Initialize local variables before returning them in p11_convert.c - S8133207, PR3162: [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115 - S8133666, PR3162: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux - S8135002, PR3162: Fix or remove broken links in objectMonitor.cpp comments - S8137121, PR3162: (fc) Infinite loop FileChannel.truncate - S8137230, PR3162: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out - S8139373, PR3162: [TEST_BUG] java/net/MulticastSocket/MultiDead.java failed with timeout - S8140249, PR3162: JVM Crashing During startUp If Flight Recording is enabled - S8141491, PR3160, G592292: Unaligned memory access in Bits.c - S8144483, PR3162: One long Safepoint pause directly after each GC log rotation - S8149611, PR3160, G592292: Add tests for Unsafe.copySwapMemory - S8157306, PR3209: Random infrequent null pointer exceptions in javac - S8167200: AArch64: Broken stack pointer adjustment in interpreter ChangeLog: 2016-10-26 Andrew John Hughes Bump to icedtea-2.7.0pre08. * Makefile.am: (CORBA_CHANGESET): Update to icedtea-2.7.0pre08. (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. * configure.ac: Bump to 2.7.0pre08. * hotspot.map.in: Update to icedtea-2.7.0pre08. * patches/boot/ecj-diamond.patch: Add new case in com.sun.jndi.ldap.LdapClient. -- 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 Oct 27 05:03:12 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:03:12 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #20 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7?cmd=changeset;node=47c21fc24330 author: Andrew John Hughes date: Thu Oct 27 05:40:14 2016 +0100 Bump to icedtea-2.7.0pre08. Upstream changes - Bump to icedtea-2.7.0pre08 - PR3162: Remove reference to AbstractPlainDatagramSocketImpl.c, removed in 8072466 - PR3207, RH1367357: lcms2: Out-of-bounds read in Type_MLU_Read() - S6604109, PR3162: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups - S6907252, PR3162: ZipFileInputStream Not Thread-Safe - S8024046, PR3162: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc* - S8028479, PR3162: runNameEquals still cannot precisely detect if a usable native krb5 is available - S8034057, PR3162: Files.getFileStore and Files.isWritable do not work with SUBST'ed drives (win) - S8038491, PR3162: Improve synchronization in ZipFile.read() - S8038502, PR3162: Deflater.needsInput() should use synchronization - S8059411, PR3162: RowSetWarning does not correctly chain warnings - S8062198, PR3162: Add RowSetMetaDataImpl Tests and add column range validation to isdefinitlyWritable - S8066188, PR3162: BaseRowSet returns the wrong default value for escape processing - S8072466, PR3162: Deadlock when initializing MulticastSocket and DatagramSocket - S8075118, PR3162: JVM stuck in infinite loop during verification - S8076579, PR3162: Popping a stack frame after exception breakpoint sets last method param to exception - S8078495, PR3162: End time checking for native TGT is wrong - S8078628, PR3151: Zero build fails with pre-compiled headers disabled - S8078668, PR3162: jar usage string mentions unsupported option '-n' - S8080115, PR3162: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads - S8081794, PR3162: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem - S8129957, PR3162: Deadlock in JNDI LDAP implementation when closing the LDAP context - S8130136, PR3162: Swing window sometimes fails to repaint partially when it becomes exposed - S8130274, PR3162: java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal - S8132551, PR3162: Initialize local variables before returning them in p11_convert.c - S8133207, PR3162: [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115 - S8133666, PR3162: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux - S8135002, PR3162: Fix or remove broken links in objectMonitor.cpp comments - S8137121, PR3162: (fc) Infinite loop FileChannel.truncate - S8137230, PR3162: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out - S8139373, PR3162: [TEST_BUG] java/net/MulticastSocket/MultiDead.java failed with timeout - S8140249, PR3162: JVM Crashing During startUp If Flight Recording is enabled - S8141491, PR3160, G592292: Unaligned memory access in Bits.c - S8144483, PR3162: One long Safepoint pause directly after each GC log rotation - S8149611, PR3160, G592292: Add tests for Unsafe.copySwapMemory - S8157306, PR3209: Random infrequent null pointer exceptions in javac - S8167200: AArch64: Broken stack pointer adjustment in interpreter ChangeLog: 2016-10-26 Andrew John Hughes Bump to icedtea-2.7.0pre08. * Makefile.am: (CORBA_CHANGESET): Update to icedtea-2.7.0pre08. (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. * configure.ac: Bump to 2.7.0pre08. * hotspot.map.in: Update to icedtea-2.7.0pre08. * patches/boot/ecj-diamond.patch: Add new case in com.sun.jndi.ldap.LdapClient. -- 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 Oct 27 05:03:17 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:03:17 +0000 Subject: [Bug 3207] [IcedTea7] lcms2: Out-of-bounds read in Type_MLU_Read() In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3207 --- Comment #2 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7?cmd=changeset;node=47c21fc24330 author: Andrew John Hughes date: Thu Oct 27 05:40:14 2016 +0100 Bump to icedtea-2.7.0pre08. Upstream changes - Bump to icedtea-2.7.0pre08 - PR3162: Remove reference to AbstractPlainDatagramSocketImpl.c, removed in 8072466 - PR3207, RH1367357: lcms2: Out-of-bounds read in Type_MLU_Read() - S6604109, PR3162: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups - S6907252, PR3162: ZipFileInputStream Not Thread-Safe - S8024046, PR3162: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc* - S8028479, PR3162: runNameEquals still cannot precisely detect if a usable native krb5 is available - S8034057, PR3162: Files.getFileStore and Files.isWritable do not work with SUBST'ed drives (win) - S8038491, PR3162: Improve synchronization in ZipFile.read() - S8038502, PR3162: Deflater.needsInput() should use synchronization - S8059411, PR3162: RowSetWarning does not correctly chain warnings - S8062198, PR3162: Add RowSetMetaDataImpl Tests and add column range validation to isdefinitlyWritable - S8066188, PR3162: BaseRowSet returns the wrong default value for escape processing - S8072466, PR3162: Deadlock when initializing MulticastSocket and DatagramSocket - S8075118, PR3162: JVM stuck in infinite loop during verification - S8076579, PR3162: Popping a stack frame after exception breakpoint sets last method param to exception - S8078495, PR3162: End time checking for native TGT is wrong - S8078628, PR3151: Zero build fails with pre-compiled headers disabled - S8078668, PR3162: jar usage string mentions unsupported option '-n' - S8080115, PR3162: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads - S8081794, PR3162: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem - S8129957, PR3162: Deadlock in JNDI LDAP implementation when closing the LDAP context - S8130136, PR3162: Swing window sometimes fails to repaint partially when it becomes exposed - S8130274, PR3162: java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal - S8132551, PR3162: Initialize local variables before returning them in p11_convert.c - S8133207, PR3162: [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115 - S8133666, PR3162: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux - S8135002, PR3162: Fix or remove broken links in objectMonitor.cpp comments - S8137121, PR3162: (fc) Infinite loop FileChannel.truncate - S8137230, PR3162: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out - S8139373, PR3162: [TEST_BUG] java/net/MulticastSocket/MultiDead.java failed with timeout - S8140249, PR3162: JVM Crashing During startUp If Flight Recording is enabled - S8141491, PR3160, G592292: Unaligned memory access in Bits.c - S8144483, PR3162: One long Safepoint pause directly after each GC log rotation - S8149611, PR3160, G592292: Add tests for Unsafe.copySwapMemory - S8157306, PR3209: Random infrequent null pointer exceptions in javac - S8167200: AArch64: Broken stack pointer adjustment in interpreter ChangeLog: 2016-10-26 Andrew John Hughes Bump to icedtea-2.7.0pre08. * Makefile.am: (CORBA_CHANGESET): Update to icedtea-2.7.0pre08. (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. * configure.ac: Bump to 2.7.0pre08. * hotspot.map.in: Update to icedtea-2.7.0pre08. * patches/boot/ecj-diamond.patch: Add new case in com.sun.jndi.ldap.LdapClient. -- 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 Oct 27 05:03:21 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:03:21 +0000 Subject: [Bug 3151] [IcedTea7] Zero build fails with pch disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3151 --- Comment #18 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7?cmd=changeset;node=47c21fc24330 author: Andrew John Hughes date: Thu Oct 27 05:40:14 2016 +0100 Bump to icedtea-2.7.0pre08. Upstream changes - Bump to icedtea-2.7.0pre08 - PR3162: Remove reference to AbstractPlainDatagramSocketImpl.c, removed in 8072466 - PR3207, RH1367357: lcms2: Out-of-bounds read in Type_MLU_Read() - S6604109, PR3162: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups - S6907252, PR3162: ZipFileInputStream Not Thread-Safe - S8024046, PR3162: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc* - S8028479, PR3162: runNameEquals still cannot precisely detect if a usable native krb5 is available - S8034057, PR3162: Files.getFileStore and Files.isWritable do not work with SUBST'ed drives (win) - S8038491, PR3162: Improve synchronization in ZipFile.read() - S8038502, PR3162: Deflater.needsInput() should use synchronization - S8059411, PR3162: RowSetWarning does not correctly chain warnings - S8062198, PR3162: Add RowSetMetaDataImpl Tests and add column range validation to isdefinitlyWritable - S8066188, PR3162: BaseRowSet returns the wrong default value for escape processing - S8072466, PR3162: Deadlock when initializing MulticastSocket and DatagramSocket - S8075118, PR3162: JVM stuck in infinite loop during verification - S8076579, PR3162: Popping a stack frame after exception breakpoint sets last method param to exception - S8078495, PR3162: End time checking for native TGT is wrong - S8078628, PR3151: Zero build fails with pre-compiled headers disabled - S8078668, PR3162: jar usage string mentions unsupported option '-n' - S8080115, PR3162: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads - S8081794, PR3162: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem - S8129957, PR3162: Deadlock in JNDI LDAP implementation when closing the LDAP context - S8130136, PR3162: Swing window sometimes fails to repaint partially when it becomes exposed - S8130274, PR3162: java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal - S8132551, PR3162: Initialize local variables before returning them in p11_convert.c - S8133207, PR3162: [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115 - S8133666, PR3162: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux - S8135002, PR3162: Fix or remove broken links in objectMonitor.cpp comments - S8137121, PR3162: (fc) Infinite loop FileChannel.truncate - S8137230, PR3162: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out - S8139373, PR3162: [TEST_BUG] java/net/MulticastSocket/MultiDead.java failed with timeout - S8140249, PR3162: JVM Crashing During startUp If Flight Recording is enabled - S8141491, PR3160, G592292: Unaligned memory access in Bits.c - S8144483, PR3162: One long Safepoint pause directly after each GC log rotation - S8149611, PR3160, G592292: Add tests for Unsafe.copySwapMemory - S8157306, PR3209: Random infrequent null pointer exceptions in javac - S8167200: AArch64: Broken stack pointer adjustment in interpreter ChangeLog: 2016-10-26 Andrew John Hughes Bump to icedtea-2.7.0pre08. * Makefile.am: (CORBA_CHANGESET): Update to icedtea-2.7.0pre08. (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. * configure.ac: Bump to 2.7.0pre08. * hotspot.map.in: Update to icedtea-2.7.0pre08. * patches/boot/ecj-diamond.patch: Add new case in com.sun.jndi.ldap.LdapClient. -- 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 Oct 27 05:05:37 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:05:37 +0000 Subject: /hg/release/icedtea7-forest-2.6/hotspot: 9 new changesets Message-ID: changeset 4cfc65368ce4 in /hg/release/icedtea7-forest-2.6/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=4cfc65368ce4 author: andrew date: Tue Oct 25 04:22:24 2016 +0100 8078628, PR3151: Zero build fails with pre-compiled headers disabled changeset 8657f5b23db3 in /hg/release/icedtea7-forest-2.6/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=8657f5b23db3 author: mikael date: Wed Oct 26 05:30:06 2016 +0100 8141491, PR3160, G592292: Unaligned memory access in Bits.c Summary: Introduce alignment-safe Copy::conjoint_swap and j.i.m.Unsafe.copySwapMemory Reviewed-by: jrose, dholmes, psandoz changeset 0e9399a0c43d in /hg/release/icedtea7-forest-2.6/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=0e9399a0c43d author: sspitsyn date: Wed Oct 26 08:28:18 2016 +0100 8076579, PR3162: Popping a stack frame after exception breakpoint sets last method param to exception Summary: Null the InterpreterRuntime::member_name_arg_or_null return value when it is necessary Reviewed-by: jbachorik, coleenp, twisti changeset 228a2db07c72 in /hg/release/icedtea7-forest-2.6/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=228a2db07c72 author: hseigel date: Thu Mar 19 08:55:50 2015 -0400 8075118, PR3162: JVM stuck in infinite loop during verification Summary: keep a list of handlers to prevent the same handler from being scanned repeatedly. Reviewed-by: dlong, dholmes changeset 39f402503b12 in /hg/release/icedtea7-forest-2.6/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=39f402503b12 author: poonam date: Fri Oct 30 08:29:19 2015 -0700 8140249, PR3162: JVM Crashing During startUp If Flight Recording is enabled Reviewed-by: dholmes Contributed-by: Shafi Ahmad changeset f5731ee4cfbd in /hg/release/icedtea7-forest-2.6/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=f5731ee4cfbd author: kevinw date: Fri Jan 08 05:28:21 2016 -0800 8144483, PR3162: One long Safepoint pause directly after each GC log rotation Reviewed-by: dholmes Contributed-by: cheleswer.sahu at oracle.com changeset 2f48c9cd3e1b in /hg/release/icedtea7-forest-2.6/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=2f48c9cd3e1b author: dbuck date: Sun Sep 06 05:02:06 2015 -0700 8135002, PR3162: Fix or remove broken links in objectMonitor.cpp comments Summary: Updated comments to refer to relevant patents. Reviewed-by: dcubed changeset 854132273cf4 in /hg/release/icedtea7-forest-2.6/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=854132273cf4 author: aph date: Thu Oct 06 15:11:35 2016 +0000 8167200, PR3204: AArch64: Broken stack pointer adjustment in interpreter Summary: Always adjust SP unconditionally Reviewed-by: dlong, kbarrett changeset 0771982261c9 in /hg/release/icedtea7-forest-2.6/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=0771982261c9 author: aph date: Wed Oct 26 05:40:47 2016 +0100 8157306, PR3209: Random infrequent null pointer exceptions in javac Reviewed-by: kvn diffstat: src/cpu/aarch64/vm/templateTable_aarch64.cpp | 10 +- src/cpu/x86/vm/vm_version_x86.hpp | 2 +- src/cpu/zero/vm/entry_zero.hpp | 4 +- src/cpu/zero/vm/methodHandles_zero.hpp | 6 +- src/cpu/zero/vm/nativeInst_zero.cpp | 3 +- src/os/solaris/vm/os_solaris.cpp | 4 +- src/share/vm/classfile/verifier.cpp | 16 +- src/share/vm/classfile/verifier.hpp | 5 +- src/share/vm/interpreter/cppInterpreterGenerator.hpp | 5 + src/share/vm/interpreter/interpreterRuntime.cpp | 2 + src/share/vm/opto/lcm.cpp | 7 +- src/share/vm/prims/methodHandles.hpp | 5 + src/share/vm/prims/unsafe.cpp | 31 +++ src/share/vm/runtime/interfaceSupport.hpp | 18 +- src/share/vm/runtime/objectMonitor.cpp | 8 +- src/share/vm/utilities/copy.cpp | 171 ++++++++++++++++++- src/share/vm/utilities/copy.hpp | 12 +- test/runtime/handlerInTry/HandlerInTry.jasm | 115 ++++++++++++ test/runtime/handlerInTry/IsolatedHandlerInTry.jasm | 124 +++++++++++++ test/runtime/handlerInTry/LoadHandlerInTry.java | 86 +++++++++ 20 files changed, 609 insertions(+), 25 deletions(-) diffs (truncated from 920 to 500 lines): diff -r f3c6a07c0b6c -r 0771982261c9 src/cpu/aarch64/vm/templateTable_aarch64.cpp --- a/src/cpu/aarch64/vm/templateTable_aarch64.cpp Fri Jul 29 06:30:14 2016 +0100 +++ b/src/cpu/aarch64/vm/templateTable_aarch64.cpp Wed Oct 26 05:40:47 2016 +0100 @@ -3779,19 +3779,15 @@ // allocate one if there's no free slot { - Label entry, loop, no_adjust; + Label entry, loop; // 1. compute new pointers // rsp: old expression stack top __ ldr(c_rarg1, monitor_block_bot); // c_rarg1: old expression stack bottom - __ sub(esp, esp, entry_size); // move expression stack top + __ sub(esp, esp, entry_size); // move expression stack top __ sub(c_rarg1, c_rarg1, entry_size); // move expression stack bottom __ mov(c_rarg3, esp); // set start value for copy loop __ str(c_rarg1, monitor_block_bot); // set new monitor block bottom - __ cmp(sp, c_rarg3); // Check if we need to move sp - __ br(Assembler::LO, no_adjust); // to allow more stack space - // for our new esp - __ sub(sp, sp, 2 * wordSize); - __ bind(no_adjust); + __ sub(sp, sp, entry_size); // make room for the monitor __ b(entry); // 2. move expression stack contents diff -r f3c6a07c0b6c -r 0771982261c9 src/cpu/x86/vm/vm_version_x86.hpp --- a/src/cpu/x86/vm/vm_version_x86.hpp Fri Jul 29 06:30:14 2016 +0100 +++ b/src/cpu/x86/vm/vm_version_x86.hpp Wed Oct 26 05:40:47 2016 +0100 @@ -521,7 +521,7 @@ result = _cpuid_info.std_cpuid1_ebx.bits.threads_per_cpu / cores_per_cpu(); } - return result; + return (result == 0 ? 1 : result); } static intx prefetch_data_size() { diff -r f3c6a07c0b6c -r 0771982261c9 src/cpu/zero/vm/entry_zero.hpp --- a/src/cpu/zero/vm/entry_zero.hpp Fri Jul 29 06:30:14 2016 +0100 +++ b/src/cpu/zero/vm/entry_zero.hpp Wed Oct 26 05:40:47 2016 +0100 @@ -1,6 +1,6 @@ /* * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. - * Copyright 2008, 2009, 2010 Red Hat, Inc. + * Copyright 2016 Red Hat, Inc. * 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 @@ #ifndef CPU_ZERO_VM_ENTRY_ZERO_HPP #define CPU_ZERO_VM_ENTRY_ZERO_HPP +#include "interpreter/cppInterpreter.hpp" + class ZeroEntry { public: ZeroEntry() { diff -r f3c6a07c0b6c -r 0771982261c9 src/cpu/zero/vm/methodHandles_zero.hpp --- a/src/cpu/zero/vm/methodHandles_zero.hpp Fri Jul 29 06:30:14 2016 +0100 +++ b/src/cpu/zero/vm/methodHandles_zero.hpp Wed Oct 26 05:40:47 2016 +0100 @@ -1,6 +1,6 @@ /* * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. - * Copyright (c) 2011, 2013, Red Hat, Inc. + * Copyright (c) 2011, 2016, Red Hat, Inc. * 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,6 +23,8 @@ * */ +#ifndef CPU_ZERO_VM_METHODHANDLES_ZERO_HPP +#define CPU_ZERO_VM_METHODHANDLES_ZERO_HPP // Adapters static unsigned int adapter_code_size() { @@ -39,3 +41,5 @@ static int method_handle_entry_linkToVirtual(methodOop method, intptr_t UNUSED, TRAPS); static int method_handle_entry_linkToInterface(methodOop method, intptr_t UNUSED, TRAPS); static int method_handle_entry_invalid(methodOop method, intptr_t UNUSED, TRAPS); + +#endif // CPU_ZERO_VM_METHODHANDLES_ZERO_HPP diff -r f3c6a07c0b6c -r 0771982261c9 src/cpu/zero/vm/nativeInst_zero.cpp --- a/src/cpu/zero/vm/nativeInst_zero.cpp Fri Jul 29 06:30:14 2016 +0100 +++ b/src/cpu/zero/vm/nativeInst_zero.cpp Wed Oct 26 05:40:47 2016 +0100 @@ -1,6 +1,6 @@ /* * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. - * Copyright 2008 Red Hat, Inc. + * Copyright 2016 Red Hat, Inc. * 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,7 @@ #include "precompiled.hpp" #include "assembler_zero.inline.hpp" +#include "entry_zero.hpp" #include "memory/resourceArea.hpp" #include "nativeInst_zero.hpp" #include "oops/oop.inline.hpp" diff -r f3c6a07c0b6c -r 0771982261c9 src/os/solaris/vm/os_solaris.cpp --- a/src/os/solaris/vm/os_solaris.cpp Fri Jul 29 06:30:14 2016 +0100 +++ b/src/os/solaris/vm/os_solaris.cpp Wed Oct 26 05:40:47 2016 +0100 @@ -2327,7 +2327,9 @@ st->print(", physical " UINT64_FORMAT "k", os::physical_memory()>>10); st->print("(" UINT64_FORMAT "k free)", os::available_memory() >> 10); st->cr(); - (void) check_addr0(st); + if (VMError::fatal_error_in_progress()) { + (void) check_addr0(st); + } } // Taken from /usr/include/sys/machsig.h Supposed to be architecture specific diff -r f3c6a07c0b6c -r 0771982261c9 src/share/vm/classfile/verifier.cpp --- a/src/share/vm/classfile/verifier.cpp Fri Jul 29 06:30:14 2016 +0100 +++ b/src/share/vm/classfile/verifier.cpp Wed Oct 26 05:40:47 2016 +0100 @@ -2243,14 +2243,20 @@ } // Look at the method's handlers. If the bci is in the handler's try block -// then check if the handler_pc is already on the stack. If not, push it. +// then check if the handler_pc is already on the stack. If not, push it +// unless the handler has already been scanned. void ClassVerifier::push_handlers(ExceptionTable* exhandlers, + GrowableArray* handler_list, GrowableArray* handler_stack, u4 bci) { int exlength = exhandlers->length(); for(int x = 0; x < exlength; x++) { if (bci >= exhandlers->start_pc(x) && bci < exhandlers->end_pc(x)) { - handler_stack->append_if_missing(exhandlers->handler_pc(x)); + u4 exhandler_pc = exhandlers->handler_pc(x); + if (!handler_list->contains(exhandler_pc)) { + handler_stack->append_if_missing(exhandler_pc); + handler_list->append(exhandler_pc); + } } } } @@ -2268,6 +2274,10 @@ GrowableArray* bci_stack = new GrowableArray(30); // Create stack for handlers for try blocks containing this handler. GrowableArray* handler_stack = new GrowableArray(30); + // Create list of handlers that have been pushed onto the handler_stack + // so that handlers embedded inside of their own TRY blocks only get + // scanned once. + GrowableArray* handler_list = new GrowableArray(30); // Create list of visited branch opcodes (goto* and if*). GrowableArray* visited_branches = new GrowableArray(30); ExceptionTable exhandlers(_method()); @@ -2286,7 +2296,7 @@ // If the bytecode is in a TRY block, push its handlers so they // will get parsed. - push_handlers(&exhandlers, handler_stack, bci); + push_handlers(&exhandlers, handler_list, handler_stack, bci); switch (opcode) { case Bytecodes::_if_icmpeq: diff -r f3c6a07c0b6c -r 0771982261c9 src/share/vm/classfile/verifier.hpp --- a/src/share/vm/classfile/verifier.hpp Fri Jul 29 06:30:14 2016 +0100 +++ b/src/share/vm/classfile/verifier.hpp Wed Oct 26 05:40:47 2016 +0100 @@ -303,9 +303,10 @@ bool* this_uninit, constantPoolHandle cp, StackMapTable* stackmap_table, TRAPS); - // Used by ends_in_athrow() to push all handlers that contain bci onto - // the handler_stack, if the handler is not already on the stack. + // Used by ends_in_athrow() to push all handlers that contain bci onto the + // handler_stack, if the handler has not already been pushed on the stack. void push_handlers(ExceptionTable* exhandlers, + GrowableArray* handler_list, GrowableArray* handler_stack, u4 bci); diff -r f3c6a07c0b6c -r 0771982261c9 src/share/vm/interpreter/cppInterpreterGenerator.hpp --- a/src/share/vm/interpreter/cppInterpreterGenerator.hpp Fri Jul 29 06:30:14 2016 +0100 +++ b/src/share/vm/interpreter/cppInterpreterGenerator.hpp Wed Oct 26 05:40:47 2016 +0100 @@ -1,5 +1,6 @@ /* * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright 2016 Red Hat, Inc. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -28,6 +29,10 @@ // This file contains the platform-independent parts // of the template interpreter generator. +#ifdef TARGET_ARCH_zero +#include "entry_zero.hpp" +#endif + #ifdef CC_INTERP class CppInterpreterGenerator: public AbstractInterpreterGenerator { diff -r f3c6a07c0b6c -r 0771982261c9 src/share/vm/interpreter/interpreterRuntime.cpp --- a/src/share/vm/interpreter/interpreterRuntime.cpp Fri Jul 29 06:30:14 2016 +0100 +++ b/src/share/vm/interpreter/interpreterRuntime.cpp Wed Oct 26 05:40:47 2016 +0100 @@ -1272,5 +1272,7 @@ if (MethodHandles::has_member_arg(cname, mname)) { oop member_name = java_lang_invoke_DirectMethodHandle::member((oop)dmh); thread->set_vm_result(member_name); + } else { + thread->set_vm_result(NULL); } IRT_END diff -r f3c6a07c0b6c -r 0771982261c9 src/share/vm/opto/lcm.cpp --- a/src/share/vm/opto/lcm.cpp Fri Jul 29 06:30:14 2016 +0100 +++ b/src/share/vm/opto/lcm.cpp Wed Oct 26 05:40:47 2016 +0100 @@ -1068,11 +1068,14 @@ Block *sb = _succs[i]; // Clone the entire area; ignoring the edge fixup for now. for( uint j = end; j > beg; j-- ) { - // It is safe here to clone a node with anti_dependence - // since clones dominate on each path. Node *clone = _nodes[j-1]->clone(); sb->_nodes.insert( 1, clone ); bbs.map(clone->_idx,sb); +#ifdef AARCH64 + if (clone->needs_anti_dependence_check()) { + insert_anti_dependences(sb, clone); + } +#endif } } diff -r f3c6a07c0b6c -r 0771982261c9 src/share/vm/prims/methodHandles.hpp --- a/src/share/vm/prims/methodHandles.hpp Fri Jul 29 06:30:14 2016 +0100 +++ b/src/share/vm/prims/methodHandles.hpp Wed Oct 26 05:40:47 2016 +0100 @@ -1,5 +1,6 @@ /* * Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright 2016 Red Hat, Inc. * 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,6 +32,10 @@ #include "runtime/globals.hpp" #include "runtime/interfaceSupport.hpp" +#ifdef TARGET_ARCH_zero +#include "entry_zero.hpp" +#endif + class MacroAssembler; class Label; diff -r f3c6a07c0b6c -r 0771982261c9 src/share/vm/prims/unsafe.cpp --- a/src/share/vm/prims/unsafe.cpp Fri Jul 29 06:30:14 2016 +0100 +++ b/src/share/vm/prims/unsafe.cpp Wed Oct 26 05:40:47 2016 +0100 @@ -703,6 +703,36 @@ Copy::conjoint_memory_atomic(src, dst, sz); UNSAFE_END +// This function is a leaf since if the source and destination are both in native memory +// the copy may potentially be very large, and we don't want to disable GC if we can avoid it. +// If either source or destination (or both) are on the heap, the function will enter VM using +// JVM_ENTRY_FROM_LEAF +JVM_LEAF(void, Unsafe_CopySwapMemory0(JNIEnv *env, jobject unsafe, jobject srcObj, jlong srcOffset, jobject dstObj, jlong dstOffset, jlong size, jlong elemSize)) { + UnsafeWrapper("Unsafe_CopySwapMemory0"); + + size_t sz = (size_t)size; + size_t esz = (size_t)elemSize; + + if (srcObj == NULL && dstObj == NULL) { + // Both src & dst are in native memory + address src = (address)srcOffset; + address dst = (address)dstOffset; + + Copy::conjoint_swap(src, dst, sz, esz); + } else { + // At least one of src/dst are on heap, transition to VM to access raw pointers + + JVM_ENTRY_FROM_LEAF(env, void, Unsafe_CopySwapMemory0) { + oop srcp = JNIHandles::resolve(srcObj); + oop dstp = JNIHandles::resolve(dstObj); + + address src = (address)index_oop_from_field_offset_long(srcp, srcOffset); + address dst = (address)index_oop_from_field_offset_long(dstp, dstOffset); + + Copy::conjoint_swap(src, dst, sz, esz); + } JVM_END + } +} JVM_END ////// Random queries @@ -1611,6 +1641,7 @@ JNINativeMethod memcopy_methods[] = { {CC"copyMemory", CC"("OBJ"J"OBJ"JJ)V", FN_PTR(Unsafe_CopyMemory2)}, + {CC"copySwapMemory0", CC "(" OBJ "J" OBJ "JJJ)V", FN_PTR(Unsafe_CopySwapMemory0)}, {CC"setMemory", CC"("OBJ"JJB)V", FN_PTR(Unsafe_SetMemory2)} }; diff -r f3c6a07c0b6c -r 0771982261c9 src/share/vm/runtime/interfaceSupport.hpp --- a/src/share/vm/runtime/interfaceSupport.hpp Fri Jul 29 06:30:14 2016 +0100 +++ b/src/share/vm/runtime/interfaceSupport.hpp Wed Oct 26 05:40:47 2016 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2016, 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 @@ -445,6 +445,14 @@ os::verify_stack_alignment(); \ /* begin of body */ +#define VM_ENTRY_BASE_FROM_LEAF(result_type, header, thread) \ + TRACE_CALL(result_type, header) \ + debug_only(ResetNoHandleMark __rnhm;) \ + HandleMarkCleaner __hm(thread); \ + Thread* THREAD = thread; \ + os::verify_stack_alignment(); \ + /* begin of body */ + // ENTRY routines may lock, GC and throw exceptions @@ -616,6 +624,14 @@ VM_LEAF_BASE(result_type, header) +#define JVM_ENTRY_FROM_LEAF(env, result_type, header) \ + { { \ + JavaThread* thread=JavaThread::thread_from_jni_environment(env); \ + ThreadInVMfromNative __tiv(thread); \ + debug_only(VMNativeEntryWrapper __vew;) \ + VM_ENTRY_BASE_FROM_LEAF(result_type, header, thread) + + #define JVM_END } } #endif // SHARE_VM_RUNTIME_INTERFACESUPPORT_HPP diff -r f3c6a07c0b6c -r 0771982261c9 src/share/vm/runtime/objectMonitor.cpp --- a/src/share/vm/runtime/objectMonitor.cpp Fri Jul 29 06:30:14 2016 +0100 +++ b/src/share/vm/runtime/objectMonitor.cpp Wed Oct 26 05:40:47 2016 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2015, 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 @@ -224,7 +224,8 @@ // // * The monitor entry list operations avoid locks, but strictly speaking // they're not lock-free. Enter is lock-free, exit is not. -// See http://j2se.east/~dice/PERSIST/040825-LockFreeQueues.html +// For a description of 'Methods and apparatus providing non-blocking access +// to a resource,' see U.S. Pat. No. 7844973. // // * The cxq can have multiple concurrent "pushers" but only one concurrent // detaching thread. This mechanism is immune from the ABA corruption. @@ -2007,7 +2008,8 @@ // (duration) or we can fix the count at approximately the duration of // a context switch and vary the frequency. Of course we could also // vary both satisfying K == Frequency * Duration, where K is adaptive by monitor. -// See http://j2se.east/~dice/PERSIST/040824-AdaptiveSpinning.html. +// For a description of 'Adaptive spin-then-block mutual exclusion in +// multi-threaded processing,' see U.S. Pat. No. 8046758. // // This implementation varies the duration "D", where D varies with // the success rate of recent spin attempts. (D is capped at approximately diff -r f3c6a07c0b6c -r 0771982261c9 src/share/vm/utilities/copy.cpp --- a/src/share/vm/utilities/copy.cpp Fri Jul 29 06:30:14 2016 +0100 +++ b/src/share/vm/utilities/copy.cpp Wed Oct 26 05:40:47 2016 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2006, 2016, 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,175 @@ } } +class CopySwap : AllStatic { +public: + /** + * Copy and byte swap elements + * + * @param src address of source + * @param dst address of destination + * @param byte_count number of bytes to copy + * @param elem_size size of the elements to copy-swap + */ + static void conjoint_swap(address src, address dst, size_t byte_count, size_t elem_size) { + assert(src != NULL, err_msg("address must not be NULL")); + assert(dst != NULL, err_msg("address must not be NULL")); + assert(elem_size == 2 || elem_size == 4 || elem_size == 8, + err_msg("incorrect element size: " SIZE_FORMAT, elem_size)); + assert(is_size_aligned(byte_count, elem_size), + err_msg("byte_count " SIZE_FORMAT " must be multiple of element size " SIZE_FORMAT, byte_count, elem_size)); + + address src_end = src + byte_count; + + if (dst <= src || dst >= src_end) { + do_conjoint_swap(src, dst, byte_count, elem_size); + } else { + do_conjoint_swap(src, dst, byte_count, elem_size); + } + } + +private: + /** + * Byte swap a 16-bit value + */ + static uint16_t byte_swap(uint16_t x) { + return (x << 8) | (x >> 8); + } + + /** + * Byte swap a 32-bit value + */ + static uint32_t byte_swap(uint32_t x) { + uint16_t lo = (uint16_t)x; + uint16_t hi = (uint16_t)(x >> 16); + + return ((uint32_t)byte_swap(lo) << 16) | (uint32_t)byte_swap(hi); + } + + /** + * Byte swap a 64-bit value + */ + static uint64_t byte_swap(uint64_t x) { + uint32_t lo = (uint32_t)x; + uint32_t hi = (uint32_t)(x >> 32); + + return ((uint64_t)byte_swap(lo) << 32) | (uint64_t)byte_swap(hi); + } + + enum CopyDirection { + RIGHT, // lower -> higher address + LEFT // higher -> lower address + }; + + /** + * Copy and byte swap elements + * + * - type of element to copy + * - copy direction + * - true if src argument is aligned to element size + * - true if dst argument is aligned to element size + * + * @param src address of source + * @param dst address of destination + * @param byte_count number of bytes to copy + */ + template + static void do_conjoint_swap(address src, address dst, size_t byte_count) { + address cur_src, cur_dst; + + switch (D) { + case RIGHT: + cur_src = src; + cur_dst = dst; + break; + case LEFT: + cur_src = src + byte_count - sizeof(T); + cur_dst = dst + byte_count - sizeof(T); + break; + } + + for (size_t i = 0; i < byte_count / sizeof(T); i++) { + T tmp; + + if (is_src_aligned) { + tmp = *(T*)cur_src; + } else { + memcpy(&tmp, cur_src, sizeof(T)); + } + + tmp = byte_swap(tmp); + + if (is_dst_aligned) { + *(T*)cur_dst = tmp; + } else { + memcpy(cur_dst, &tmp, sizeof(T)); + } + + switch (D) { + case RIGHT: + cur_src += sizeof(T); + cur_dst += sizeof(T); + break; + case LEFT: + cur_src -= sizeof(T); + cur_dst -= sizeof(T); + break; + } + } + } From bugzilla-daemon at icedtea.classpath.org Thu Oct 27 05:05:42 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:05:42 +0000 Subject: [Bug 3151] [IcedTea7] Zero build fails with pch disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3151 --- Comment #19 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=4cfc65368ce4 author: andrew date: Tue Oct 25 04:22:24 2016 +0100 8078628, PR3151: Zero build fails with pre-compiled headers disabled -- 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 Oct 27 05:05:49 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:05:49 +0000 Subject: [Bug 3160] [IcedTea7] Backport "8141491: Unaligned memory access in Bits.c" In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3160 --- Comment #5 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=8657f5b23db3 author: mikael date: Wed Oct 26 05:30:06 2016 +0100 8141491, PR3160, G592292: Unaligned memory access in Bits.c Summary: Introduce alignment-safe Copy::conjoint_swap and j.i.m.Unsafe.copySwapMemory Reviewed-by: jrose, dholmes, psandoz -- 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 Oct 27 05:05:57 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:05:57 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #21 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=0e9399a0c43d author: sspitsyn date: Wed Oct 26 08:28:18 2016 +0100 8076579, PR3162: Popping a stack frame after exception breakpoint sets last method param to exception Summary: Null the InterpreterRuntime::member_name_arg_or_null return value when it is necessary Reviewed-by: jbachorik, coleenp, twisti -- 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 Oct 27 05:06:03 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:06:03 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #22 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=228a2db07c72 author: hseigel date: Thu Mar 19 08:55:50 2015 -0400 8075118, PR3162: JVM stuck in infinite loop during verification Summary: keep a list of handlers to prevent the same handler from being scanned repeatedly. Reviewed-by: dlong, dholmes -- 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 Oct 27 05:06:10 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:06:10 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #23 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=39f402503b12 author: poonam date: Fri Oct 30 08:29:19 2015 -0700 8140249, PR3162: JVM Crashing During startUp If Flight Recording is enabled Reviewed-by: dholmes Contributed-by: Shafi Ahmad -- 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 Oct 27 05:06:17 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:06:17 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #24 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=f5731ee4cfbd author: kevinw date: Fri Jan 08 05:28:21 2016 -0800 8144483, PR3162: One long Safepoint pause directly after each GC log rotation Reviewed-by: dholmes Contributed-by: cheleswer.sahu at oracle.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 Oct 27 05:06:26 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:06:26 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #25 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=2f48c9cd3e1b author: dbuck date: Sun Sep 06 05:02:06 2015 -0700 8135002, PR3162: Fix or remove broken links in objectMonitor.cpp comments Summary: Updated comments to refer to relevant patents. Reviewed-by: dcubed -- 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 Oct 27 05:06:33 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:06:33 +0000 Subject: [Bug 3204] [IcedTea7] Backport latest AArch64 fixes to release branch for 2.6.8 In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3204 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=854132273cf4 author: aph date: Thu Oct 06 15:11:35 2016 +0000 8167200, PR3204: AArch64: Broken stack pointer adjustment in interpreter Summary: Always adjust SP unconditionally Reviewed-by: dlong, kbarrett -- 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 Oct 27 05:06:38 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:06:38 +0000 Subject: [Bug 3209] [IcedTea7] Backport "8157306: Random infrequent null pointer exceptions in javac" In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3209 --- Comment #3 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=0771982261c9 author: aph date: Wed Oct 26 05:40:47 2016 +0100 8157306, PR3209: Random infrequent null pointer exceptions in javac Reviewed-by: kvn -- 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 Oct 27 05:06:47 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:06:47 +0000 Subject: /hg/release/icedtea7-forest-2.6/jdk: 28 new changesets Message-ID: changeset b0930d43527b in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=b0930d43527b author: mikael date: Wed Oct 26 05:35:48 2016 +0100 8141491, PR3160, G592292: Unaligned memory access in Bits.c Summary: Introduce alignment-safe Copy::conjoint_swap and j.i.m.Unsafe.copySwapMemory Reviewed-by: jrose, dholmes, psandoz changeset 25a53767db8a in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=25a53767db8a author: mikael date: Wed Feb 10 19:55:57 2016 -0800 8149611, PR3160, G592292: Add tests for Unsafe.copySwapMemory Reviewed-by: dholmes changeset d297a00960dc in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=d297a00960dc author: coffeys date: Thu Apr 10 20:01:52 2014 +0100 8038491, PR3162: Improve synchronization in ZipFile.read() Reviewed-by: alanb, chegar changeset 8ca5456de130 in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=8ca5456de130 author: igerasim date: Thu Sep 10 23:35:48 2015 +0300 8080115, PR3162: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads Summary: Make GnomeFileTypeDetector.probeGio() synchronized and add a regression test based on the test source included in JDK-8080115. Reviewed-by: chegar changeset fa5f5c762df0 in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=fa5f5c762df0 author: igerasim date: Wed Nov 25 17:18:04 2015 +0300 8133207, PR3162: [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115 Summary: Do not run in othervm mode. Reviewed-by: darcy, rriggs changeset f598cb1a0bb8 in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=f598cb1a0bb8 author: igerasim date: Wed Oct 26 06:47:52 2016 +0100 8132551, PR3162: Initialize local variables before returning them in p11_convert.c Reviewed-by: wetmore changeset 85f6f34f39f6 in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=85f6f34f39f6 author: dbuck date: Wed Oct 26 07:00:20 2016 +0100 8133666, PR3162: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux Reviewed-by: sla, mgronlun changeset 09cd6384d5c6 in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=09cd6384d5c6 author: alanb date: Tue Apr 29 13:23:08 2014 +0100 8034057, PR3162: Files.getFileStore and Files.isWritable do not work with SUBST'ed drives (win) Reviewed-by: alanb, chegar Contributed-by: pavel.rappo at oracle.com changeset acb8eaef957c in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=acb8eaef957c author: igerasim date: Wed Oct 26 07:37:34 2016 +0100 8072466, PR3162: Deadlock when initializing MulticastSocket and DatagramSocket Reviewed-by: chegar changeset 544048b896ba in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=544048b896ba author: robm date: Wed Oct 26 08:24:19 2016 +0100 8129957, PR3162: Deadlock in JNDI LDAP implementation when closing the LDAP context Reviewed-by: vinnie changeset 5415090baa6f in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=5415090baa6f author: okutsu date: Thu Oct 01 15:16:35 2015 +0900 8081794, PR3162: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem Reviewed-by: peytoia, okutsu Contributed-by: Naveen Kumar changeset 9c268fb32f70 in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=9c268fb32f70 author: coffeys date: Thu Oct 15 09:33:03 2015 +0100 6907252, PR3162: ZipFileInputStream Not Thread-Safe Reviewed-by: sherman changeset 78738eafc52b in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=78738eafc52b author: aivanov date: Wed Oct 26 16:05:53 2016 +0100 8130136, PR3162: Swing window sometimes fails to repaint partially when it becomes exposed Reviewed-by: alexp, serb changeset 02f223e90d5e in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=02f223e90d5e author: aefimov date: Thu Jul 23 15:55:11 2015 +0300 8078495, PR3162: End time checking for native TGT is wrong Reviewed-by: xuelei changeset 1986ab27ea0b in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=1986ab27ea0b author: jgodinez date: Mon Oct 24 09:58:47 2011 -0700 6604109, PR3162: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups Reviewed-by: bae, prr changeset 16aa1c34e2c4 in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=16aa1c34e2c4 author: igerasim date: Wed Oct 26 18:39:48 2016 +0100 8130274, PR3162: java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal Summary: Make UnixFileStore.equals() also compare the return values of name(), the names of the mounted filesystems. Reviewed-by: alanb changeset 787747c15232 in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=787747c15232 author: kshefov date: Fri Jun 05 19:14:49 2015 +0300 8066188, PR3162: BaseRowSet returns the wrong default value for escape processing Reviewed-by: alanb, lancea Contributed-by: maxim.soloviev at oracle.com changeset 7b3d92674796 in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=7b3d92674796 author: kshefov date: Thu Oct 27 01:37:56 2016 +0100 8062198, PR3162: Add RowSetMetaDataImpl Tests and add column range validation to isdefinitlyWritable Reviewed-by: joehw, lancea Contributed-by: maxim.soloviev at oracle.com changeset 82067c87496d in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=82067c87496d author: kshefov date: Thu Oct 27 01:52:59 2016 +0100 8059411, PR3162: RowSetWarning does not correctly chain warnings Reviewed-by: darcy, smarks, mchung, lancea Contributed-by: maxim.soloviev at oracle.com changeset 8aaee9c91c63 in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=8aaee9c91c63 author: igerasim date: Fri Oct 09 20:11:18 2015 +0300 8137121, PR3162: (fc) Infinite loop FileChannel.truncate Reviewed-by: alanb changeset 2751730ffae1 in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=2751730ffae1 author: igerasim date: Thu Oct 27 02:27:38 2016 +0100 8137230, PR3162: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out Summary: Includes changes to Utils from 8022221 (TIMEOUT_FACTOR) & 8059070 (adjustTimeout) Reviewed-by: rriggs changeset bc86cb0b4331 in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=bc86cb0b4331 author: coffeys date: Thu Oct 15 14:41:37 2015 +0100 8038502, PR3162: Deflater.needsInput() should use synchronization Reviewed-by: chegar changeset 04922015b635 in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=04922015b635 author: igerasim date: Thu Oct 27 02:44:35 2016 +0100 8139373, PR3162: [TEST_BUG] java/net/MulticastSocket/MultiDead.java failed with timeout Reviewed-by: chegar changeset b03ecf9d57c9 in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=b03ecf9d57c9 author: weijun date: Mon Sep 09 11:08:20 2013 +0800 8024046, PR3162: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc* Reviewed-by: xuelei changeset 1e1f7f645ab9 in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=1e1f7f645ab9 author: weijun date: Tue Nov 19 14:14:14 2013 +0800 8028479, PR3162: runNameEquals still cannot precisely detect if a usable native krb5 is available Reviewed-by: xuelei changeset e97831e64ad3 in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=e97831e64ad3 author: andrew date: Thu Oct 27 03:05:41 2016 +0100 8078668, PR3162: jar usage string mentions unsupported option '-n' changeset db7f4c441246 in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=db7f4c441246 author: andrew date: Wed Oct 26 03:51:39 2016 +0100 PR3207, RH1367357: lcms2: Out-of-bounds read in Type_MLU_Read() changeset 0819886b3679 in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=0819886b3679 author: andrew date: Thu Oct 27 05:43:20 2016 +0100 Bump to icedtea-2.6.8pre01 diffstat: make/java/java/FILES_c.gmk | 1 - make/java/java/mapfile-vers | 6 - make/java/net/FILES_c.gmk | 1 - make/java/net/mapfile-vers | 5 +- make/jdk_generic_profile.sh | 2 +- src/share/classes/com/sun/jndi/ldap/LdapClient.java | 55 +- src/share/classes/java/net/AbstractPlainDatagramSocketImpl.java | 6 +- src/share/classes/java/nio/Bits.java | 142 +- src/share/classes/java/text/SimpleDateFormat.java | 2 +- src/share/classes/java/util/zip/Deflater.java | 4 +- src/share/classes/java/util/zip/ZStreamRef.java | 2 +- src/share/classes/java/util/zip/ZipFile.java | 39 +- src/share/classes/javax/sql/rowset/BaseRowSet.java | 2 +- src/share/classes/javax/sql/rowset/RowSetMetaDataImpl.java | 18 +- src/share/classes/javax/sql/rowset/RowSetWarning.java | 23 +- src/share/classes/sun/misc/Unsafe.java | 392 +++++- src/share/classes/sun/nio/ch/FileChannelImpl.java | 5 +- src/share/classes/sun/tools/jar/resources/jar.properties | 2 +- src/share/classes/sun/tools/jar/resources/jar_de.properties | 2 +- src/share/classes/sun/tools/jar/resources/jar_es.properties | 2 +- src/share/classes/sun/tools/jar/resources/jar_fr.properties | 2 +- src/share/classes/sun/tools/jar/resources/jar_ja.properties | 2 +- src/share/classes/sun/tools/jar/resources/jar_ko.properties | 2 +- src/share/classes/sun/tools/jar/resources/jar_pt_BR.properties | 2 +- src/share/classes/sun/tools/jar/resources/jar_sv.properties | 2 +- src/share/classes/sun/tools/jar/resources/jar_zh_CN.properties | 2 +- src/share/classes/sun/tools/jar/resources/jar_zh_TW.properties | 2 +- src/share/native/java/nio/Bits.c | 278 --- src/share/native/java/util/zip/zip_util.c | 18 +- src/share/native/sun/java2d/cmm/lcms/cmstypes.c | 1 + src/share/native/sun/security/pkcs11/wrapper/p11_convert.c | 10 +- src/solaris/classes/java/net/PlainDatagramSocketImpl.java | 4 +- src/solaris/classes/sun/nio/fs/GnomeFileTypeDetector.java | 2 +- src/solaris/classes/sun/nio/fs/UnixFileStore.java | 5 +- src/solaris/classes/sun/print/UnixPrintServiceLookup.java | 2 +- src/solaris/native/com/sun/management/LinuxOperatingSystem.c | 27 +- src/solaris/native/java/net/AbstractPlainDatagramSocketImpl.c | 89 - src/solaris/native/java/net/PlainDatagramSocketImpl.c | 35 +- src/windows/classes/java/net/DefaultDatagramSocketImplFactory.java | 31 +- src/windows/classes/java/net/DualStackPlainDatagramSocketImpl.java | 8 +- src/windows/classes/java/net/TwoStacksPlainDatagramSocketImpl.java | 4 +- src/windows/classes/sun/nio/fs/WindowsConstants.java | 1 + src/windows/classes/sun/nio/fs/WindowsFileStore.java | 18 +- src/windows/classes/sun/nio/fs/WindowsLinkSupport.java | 2 +- src/windows/native/java/net/AbstractPlainDatagramSocketImpl.c | 111 - src/windows/native/java/net/DualStackPlainDatagramSocketImpl.c | 50 +- src/windows/native/java/net/TwoStacksPlainDatagramSocketImpl.c | 43 +- src/windows/native/sun/java2d/windows/GDIWindowSurfaceData.cpp | 8 +- src/windows/native/sun/java2d/windows/GDIWindowSurfaceData.h | 3 +- src/windows/native/sun/security/krb5/NativeCreds.c | 5 +- src/windows/native/sun/windows/awt_Component.cpp | 14 +- src/windows/native/sun/windows/awt_Component.h | 6 +- test/java/net/MulticastSocket/MultiDead.java | 134 + test/java/nio/channels/FileChannel/LoopingTruncate.java | 84 + test/java/nio/file/Files/probeContentType/ParallelProbes.java | 96 + test/java/text/Format/DateFormat/Bug8081794.java | 51 + test/java/util/zip/ZipFile/MultiThreadedReadTest.java | 92 + test/java/util/zip/ZipFile/ZipEntryFreeTest.java | 130 + test/jdk/internal/misc/Unsafe/CopySwap.java | 723 ++++++++++ test/lib/testlibrary/jdk/testlibrary/Utils.java | 27 + test/sun/security/krb5/runNameEquals.sh | 20 +- 61 files changed, 2209 insertions(+), 648 deletions(-) diffs (truncated from 3899 to 500 lines): diff -r 78984f240864 -r 0819886b3679 make/java/java/FILES_c.gmk --- a/make/java/java/FILES_c.gmk Fri Jul 29 06:30:11 2016 +0100 +++ b/make/java/java/FILES_c.gmk Thu Oct 27 05:43:20 2016 +0100 @@ -72,7 +72,6 @@ GC.c \ NativeAccessors.c \ Reflection.c \ - Bits.c \ AtomicLong.c \ Version.c \ VM.c \ diff -r 78984f240864 -r 0819886b3679 make/java/java/mapfile-vers --- a/make/java/java/mapfile-vers Fri Jul 29 06:30:11 2016 +0100 +++ b/make/java/java/mapfile-vers Thu Oct 27 05:43:20 2016 +0100 @@ -219,12 +219,6 @@ Java_java_lang_UNIXProcess_waitForProcessExit; Java_java_lang_UNIXProcess_forkAndExec; Java_java_lang_UNIXProcess_destroyProcess; - Java_java_nio_Bits_copyFromShortArray; - Java_java_nio_Bits_copyToShortArray; - Java_java_nio_Bits_copyFromIntArray; - Java_java_nio_Bits_copyToIntArray; - Java_java_nio_Bits_copyFromLongArray; - Java_java_nio_Bits_copyToLongArray; Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2; Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2Ljava_security_AccessControlContext_2; Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedExceptionAction_2; diff -r 78984f240864 -r 0819886b3679 make/java/net/FILES_c.gmk --- a/make/java/net/FILES_c.gmk Fri Jul 29 06:30:11 2016 +0100 +++ b/make/java/net/FILES_c.gmk Thu Oct 27 05:43:20 2016 +0100 @@ -24,7 +24,6 @@ # FILES_c = \ - AbstractPlainDatagramSocketImpl.c \ DatagramPacket.c \ ExtendedOptionsImpl.c \ InetAddress.c \ diff -r 78984f240864 -r 0819886b3679 make/java/net/mapfile-vers --- a/make/java/net/mapfile-vers Fri Jul 29 06:30:11 2016 +0100 +++ b/make/java/net/mapfile-vers Thu Oct 27 05:43:20 2016 +0100 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1997, 2015, 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 @@ -28,8 +28,7 @@ SUNWprivate_1.1 { global: JNI_OnLoad; - Java_java_net_AbstractPlainDatagramSocketImpl_init; - Java_java_net_AbstractPlainDatagramSocketImpl_dataAvailable; + Java_java_net_PlainDatagramSocketImpl_dataAvailable; Java_java_net_PlainSocketImpl_socketListen; Java_java_net_PlainDatagramSocketImpl_getTTL; Java_java_net_PlainDatagramSocketImpl_init; diff -r 78984f240864 -r 0819886b3679 make/jdk_generic_profile.sh --- a/make/jdk_generic_profile.sh Fri Jul 29 06:30:11 2016 +0100 +++ b/make/jdk_generic_profile.sh Thu Oct 27 05:43:20 2016 +0100 @@ -671,7 +671,7 @@ # IcedTea versioning export ICEDTEA_NAME="IcedTea" -export PACKAGE_VERSION="2.6.7" +export PACKAGE_VERSION="2.6.8pre01" export DERIVATIVE_ID="${ICEDTEA_NAME} ${PACKAGE_VERSION}" echo "Building ${DERIVATIVE_ID}" diff -r 78984f240864 -r 0819886b3679 src/share/classes/com/sun/jndi/ldap/LdapClient.java --- a/src/share/classes/com/sun/jndi/ldap/LdapClient.java Fri Jul 29 06:30:11 2016 +0100 +++ b/src/share/classes/com/sun/jndi/ldap/LdapClient.java Thu Oct 27 05:43:20 2016 +0100 @@ -494,16 +494,14 @@ */ void processConnectionClosure() { // Notify listeners - synchronized (unsolicited) { - if (unsolicited.size() > 0) { - String msg; - if (conn != null) { - msg = conn.host + ":" + conn.port + " connection closed"; - } else { - msg = "Connection closed"; - } - notifyUnsolicited(new CommunicationException(msg)); + if (unsolicited.size() > 0) { + String msg; + if (conn != null) { + msg = conn.host + ":" + conn.port + " connection closed"; + } else { + msg = "Connection closed"; } + notifyUnsolicited(new CommunicationException(msg)); } // Remove from pool @@ -1484,7 +1482,7 @@ // removeUnsolicited() is invoked to remove an LdapCtx from this client. // //////////////////////////////////////////////////////////////////////////// - private Vector unsolicited = new Vector(3); + private Vector unsolicited = new Vector(3); void addUnsolicited(LdapCtx ctx) { if (debug > 0) { System.err.println("LdapClient.addUnsolicited" + ctx); @@ -1496,13 +1494,8 @@ if (debug > 0) { System.err.println("LdapClient.removeUnsolicited" + ctx); } - synchronized (unsolicited) { - if (unsolicited.size() == 0) { - return; - } unsolicited.removeElement(ctx); } - } // NOTE: Cannot be synchronized because this is called asynchronously // by the reader thread in Connection. Instead, sync on 'unsolicited' Vector. @@ -1510,7 +1503,6 @@ if (debug > 0) { System.err.println("LdapClient.processUnsolicited"); } - synchronized (unsolicited) { try { // Parse the response LdapResult res = new LdapResult(); @@ -1529,11 +1521,17 @@ forceClose(pooled); } - if (unsolicited.size() > 0) { + LdapCtx first = null; + UnsolicitedNotification notice = null; + + synchronized (unsolicited) { + if (unsolicited.size() > 0) { + first = unsolicited.elementAt(0); + // Create an UnsolicitedNotification using the parsed data // Need a 'ctx' object because we want to use the context's // list of provider control factories. - UnsolicitedNotification notice = new UnsolicitedResponseImpl( + notice = new UnsolicitedResponseImpl( res.extensionId, res.extensionValue, res.referrals, @@ -1541,9 +1539,12 @@ res.errorMessage, res.matchedDN, (res.resControls != null) ? - ((LdapCtx)unsolicited.elementAt(0)).convertControls(res.resControls) : + first.convertControls(res.resControls) : null); + } + } + if (notice != null) { // Fire UnsolicitedNotification events to listeners notifyUnsolicited(notice); @@ -1555,9 +1556,6 @@ } } } catch (IOException e) { - if (unsolicited.size() == 0) - return; // no one registered; ignore - NamingException ne = new CommunicationException( "Problem parsing unsolicited notification"); ne.setRootCause(e); @@ -1567,16 +1565,19 @@ } catch (NamingException e) { notifyUnsolicited(e); } - } } private void notifyUnsolicited(Object e) { - for (int i = 0; i < unsolicited.size(); i++) { - ((LdapCtx)unsolicited.elementAt(i)).fireUnsolicited(e); + Vector unsolicitedCopy; + synchronized (unsolicited) { + unsolicitedCopy = new Vector<>(unsolicited); + if (e instanceof NamingException) { + unsolicited.setSize(0); // no more listeners after exception + } } - if (e instanceof NamingException) { - unsolicited.setSize(0); // no more listeners after exception + for (int i = 0; i < unsolicitedCopy.size(); i++) { + unsolicitedCopy.elementAt(i).fireUnsolicited(e); } } diff -r 78984f240864 -r 0819886b3679 src/share/classes/java/net/AbstractPlainDatagramSocketImpl.java --- a/src/share/classes/java/net/AbstractPlainDatagramSocketImpl.java Fri Jul 29 06:30:11 2016 +0100 +++ b/src/share/classes/java/net/AbstractPlainDatagramSocketImpl.java Thu Oct 27 05:43:20 2016 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1996, 2015, 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 @@ -70,7 +70,6 @@ static { java.security.AccessController.doPrivileged( new sun.security.action.LoadLibraryAction("net")); - init(); } /** @@ -364,6 +363,5 @@ return connectDisabled; } - native int dataAvailable(); - private static native void init(); + abstract int dataAvailable(); } diff -r 78984f240864 -r 0819886b3679 src/share/classes/java/nio/Bits.java --- a/src/share/classes/java/nio/Bits.java Fri Jul 29 06:30:11 2016 +0100 +++ b/src/share/classes/java/nio/Bits.java Thu Oct 27 05:43:20 2016 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2016, 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 @@ -754,31 +754,131 @@ } } - static void copyFromCharArray(Object src, long srcPos, long dstAddr, - long length) - { - copyFromShortArray(src, srcPos, dstAddr, length); + /** + * Copy and unconditionally byte swap 16 bit elements from a heap array to off-heap memory + * + * @param src + * the source array, must be a 16-bit primitive array type + * @param srcPos + * byte offset within source array of the first element to read + * @param dstAddr + * destination address + * @param length + * number of bytes to copy + */ + static void copyFromCharArray(Object src, long srcPos, long dstAddr, long length) { + unsafe.copySwapMemory(src, unsafe.arrayBaseOffset(src.getClass()) + srcPos, null, dstAddr, length, 2); } - static void copyToCharArray(long srcAddr, Object dst, long dstPos, - long length) - { - copyToShortArray(srcAddr, dst, dstPos, length); + /** + * Copy and unconditionally byte swap 16 bit elements from off-heap memory to a heap array + * + * @param srcAddr + * source address + * @param dst + * destination array, must be a 16-bit primitive array type + * @param dstPos + * byte offset within the destination array of the first element to write + * @param length + * number of bytes to copy + */ + static void copyToCharArray(long srcAddr, Object dst, long dstPos, long length) { + unsafe.copySwapMemory(null, srcAddr, dst, unsafe.arrayBaseOffset(dst.getClass()) + dstPos, length, 2); } - static native void copyFromShortArray(Object src, long srcPos, long dstAddr, - long length); - static native void copyToShortArray(long srcAddr, Object dst, long dstPos, - long length); + /** + * Copy and unconditionally byte swap 16 bit elements from a heap array to off-heap memory + * + * @param src + * the source array, must be a 16-bit primitive array type + * @param srcPos + * byte offset within source array of the first element to read + * @param dstAddr + * destination address + * @param length + * number of bytes to copy + */ + static void copyFromShortArray(Object src, long srcPos, long dstAddr, long length) { + unsafe.copySwapMemory(src, unsafe.arrayBaseOffset(src.getClass()) + srcPos, null, dstAddr, length, 2); + } - static native void copyFromIntArray(Object src, long srcPos, long dstAddr, - long length); - static native void copyToIntArray(long srcAddr, Object dst, long dstPos, - long length); + /** + * Copy and unconditionally byte swap 16 bit elements from off-heap memory to a heap array + * + * @param srcAddr + * source address + * @param dst + * destination array, must be a 16-bit primitive array type + * @param dstPos + * byte offset within the destination array of the first element to write + * @param length + * number of bytes to copy + */ + static void copyToShortArray(long srcAddr, Object dst, long dstPos, long length) { + unsafe.copySwapMemory(null, srcAddr, dst, unsafe.arrayBaseOffset(dst.getClass()) + dstPos, length, 2); + } - static native void copyFromLongArray(Object src, long srcPos, long dstAddr, - long length); - static native void copyToLongArray(long srcAddr, Object dst, long dstPos, - long length); + /** + * Copy and unconditionally byte swap 32 bit elements from a heap array to off-heap memory + * + * @param src + * the source array, must be a 32-bit primitive array type + * @param srcPos + * byte offset within source array of the first element to read + * @param dstAddr + * destination address + * @param length + * number of bytes to copy + */ + static void copyFromIntArray(Object src, long srcPos, long dstAddr, long length) { + unsafe.copySwapMemory(src, unsafe.arrayBaseOffset(src.getClass()) + srcPos, null, dstAddr, length, 4); + } + /** + * Copy and unconditionally byte swap 32 bit elements from off-heap memory to a heap array + * + * @param srcAddr + * source address + * @param dst + * destination array, must be a 32-bit primitive array type + * @param dstPos + * byte offset within the destination array of the first element to write + * @param length + * number of bytes to copy + */ + static void copyToIntArray(long srcAddr, Object dst, long dstPos, long length) { + unsafe.copySwapMemory(null, srcAddr, dst, unsafe.arrayBaseOffset(dst.getClass()) + dstPos, length, 4); + } + + /** + * Copy and unconditionally byte swap 64 bit elements from a heap array to off-heap memory + * + * @param src + * the source array, must be a 64-bit primitive array type + * @param srcPos + * byte offset within source array of the first element to read + * @param dstAddr + * destination address + * @param length + * number of bytes to copy + */ + static void copyFromLongArray(Object src, long srcPos, long dstAddr, long length) { + unsafe.copySwapMemory(src, unsafe.arrayBaseOffset(src.getClass()) + srcPos, null, dstAddr, length, 8); + } + + /** + * Copy and unconditionally byte swap 64 bit elements from off-heap memory to a heap array + * + * @param srcAddr + * source address + * @param dst + * destination array, must be a 64-bit primitive array type + * @param dstPos + * byte offset within the destination array of the first element to write + * @param length + * number of bytes to copy + */ + static void copyToLongArray(long srcAddr, Object dst, long dstPos, long length) { + unsafe.copySwapMemory(null, srcAddr, dst, unsafe.arrayBaseOffset(dst.getClass()) + dstPos, length, 8); + } } diff -r 78984f240864 -r 0819886b3679 src/share/classes/java/text/SimpleDateFormat.java --- a/src/share/classes/java/text/SimpleDateFormat.java Fri Jul 29 06:30:11 2016 +0100 +++ b/src/share/classes/java/text/SimpleDateFormat.java Thu Oct 27 05:43:20 2016 +0100 @@ -1650,7 +1650,7 @@ } return (start + zoneNames[nameIndex].length()); } - return 0; + return -start; } /** diff -r 78984f240864 -r 0819886b3679 src/share/classes/java/util/zip/Deflater.java --- a/src/share/classes/java/util/zip/Deflater.java Fri Jul 29 06:30:11 2016 +0100 +++ b/src/share/classes/java/util/zip/Deflater.java Thu Oct 27 05:43:20 2016 +0100 @@ -306,7 +306,9 @@ * should be called in order to provide more input */ public boolean needsInput() { - return len <= 0; + synchronized (zsRef) { + return len <= 0; + } } /** diff -r 78984f240864 -r 0819886b3679 src/share/classes/java/util/zip/ZStreamRef.java --- a/src/share/classes/java/util/zip/ZStreamRef.java Fri Jul 29 06:30:11 2016 +0100 +++ b/src/share/classes/java/util/zip/ZStreamRef.java Thu Oct 27 05:43:20 2016 +0100 @@ -31,7 +31,7 @@ class ZStreamRef { - private long address; + private volatile long address; ZStreamRef (long address) { this.address = address; } diff -r 78984f240864 -r 0819886b3679 src/share/classes/java/util/zip/ZipFile.java --- a/src/share/classes/java/util/zip/ZipFile.java Fri Jul 29 06:30:11 2016 +0100 +++ b/src/share/classes/java/util/zip/ZipFile.java Thu Oct 27 05:43:20 2016 +0100 @@ -54,7 +54,7 @@ */ public class ZipFile implements ZipConstants, Closeable { - private long jzfile; // address of jzfile data + private long jzfile; // address of jzfile data private final String name; // zip file name private final int total; // total number of entries private final boolean locsig; // if zip file starts with LOCSIG (usually true) @@ -650,7 +650,7 @@ * (possibly compressed) zip file entry. */ private class ZipFileInputStream extends InputStream { - private volatile boolean closeRequested = false; + private volatile boolean zfisCloseRequested = false; protected long jzentry; // address of jzentry data private long pos; // current position within entry data protected long rem; // number of remaining bytes within entry @@ -664,24 +664,27 @@ } public int read(byte b[], int off, int len) throws IOException { - if (rem == 0) { - return -1; - } - if (len <= 0) { - return 0; - } - if (len > rem) { - len = (int) rem; - } synchronized (ZipFile.this) { + long rem = this.rem; + long pos = this.pos; + if (rem == 0) { + return -1; + } + if (len <= 0) { + return 0; + } + if (len > rem) { + len = (int) rem; + } + + // Check if ZipFile open ensureOpenOrZipException(); - len = ZipFile.read(ZipFile.this.jzfile, jzentry, pos, b, off, len); - } - if (len > 0) { - pos += len; - rem -= len; + if (len > 0) { + this.pos = (pos + len); + this.rem = (rem - len); + } } if (rem == 0) { close(); @@ -718,9 +721,9 @@ } public void close() { - if (closeRequested) + if (zfisCloseRequested) return; - closeRequested = true; + zfisCloseRequested = true; rem = 0; synchronized (ZipFile.this) { diff -r 78984f240864 -r 0819886b3679 src/share/classes/javax/sql/rowset/BaseRowSet.java --- a/src/share/classes/javax/sql/rowset/BaseRowSet.java Fri Jul 29 06:30:11 2016 +0100 From bugzilla-daemon at icedtea.classpath.org Thu Oct 27 05:06:53 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:06:53 +0000 Subject: [Bug 3160] [IcedTea7] Backport "8141491: Unaligned memory access in Bits.c" In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3160 --- Comment #6 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=b0930d43527b author: mikael date: Wed Oct 26 05:35:48 2016 +0100 8141491, PR3160, G592292: Unaligned memory access in Bits.c Summary: Introduce alignment-safe Copy::conjoint_swap and j.i.m.Unsafe.copySwapMemory Reviewed-by: jrose, dholmes, psandoz -- 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 Oct 27 05:07:01 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:07:01 +0000 Subject: [Bug 3160] [IcedTea7] Backport "8141491: Unaligned memory access in Bits.c" In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3160 --- Comment #7 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=25a53767db8a author: mikael date: Wed Feb 10 19:55:57 2016 -0800 8149611, PR3160, G592292: Add tests for Unsafe.copySwapMemory Reviewed-by: dholmes -- 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 Oct 27 05:07:07 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:07:07 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #26 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=d297a00960dc author: coffeys date: Thu Apr 10 20:01:52 2014 +0100 8038491, PR3162: Improve synchronization in ZipFile.read() Reviewed-by: alanb, chegar -- 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 Oct 27 05:07:13 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:07:13 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #27 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=8ca5456de130 author: igerasim date: Thu Sep 10 23:35:48 2015 +0300 8080115, PR3162: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads Summary: Make GnomeFileTypeDetector.probeGio() synchronized and add a regression test based on the test source included in JDK-8080115. Reviewed-by: chegar -- 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 Oct 27 05:07:19 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:07:19 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #28 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=fa5f5c762df0 author: igerasim date: Wed Nov 25 17:18:04 2015 +0300 8133207, PR3162: [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115 Summary: Do not run in othervm mode. Reviewed-by: darcy, rriggs -- 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 Oct 27 05:07:25 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:07:25 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #29 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=f598cb1a0bb8 author: igerasim date: Wed Oct 26 06:47:52 2016 +0100 8132551, PR3162: Initialize local variables before returning them in p11_convert.c Reviewed-by: wetmore -- 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 Oct 27 05:07:32 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:07:32 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #30 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=85f6f34f39f6 author: dbuck date: Wed Oct 26 07:00:20 2016 +0100 8133666, PR3162: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux Reviewed-by: sla, mgronlun -- 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 Oct 27 05:07:38 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:07:38 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #31 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=09cd6384d5c6 author: alanb date: Tue Apr 29 13:23:08 2014 +0100 8034057, PR3162: Files.getFileStore and Files.isWritable do not work with SUBST'ed drives (win) Reviewed-by: alanb, chegar Contributed-by: pavel.rappo at oracle.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 Oct 27 05:07:45 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:07:45 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #32 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=acb8eaef957c author: igerasim date: Wed Oct 26 07:37:34 2016 +0100 8072466, PR3162: Deadlock when initializing MulticastSocket and DatagramSocket Reviewed-by: chegar -- 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 Oct 27 05:07:51 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:07:51 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #33 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=544048b896ba author: robm date: Wed Oct 26 08:24:19 2016 +0100 8129957, PR3162: Deadlock in JNDI LDAP implementation when closing the LDAP context Reviewed-by: vinnie -- 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 Oct 27 05:07:58 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:07:58 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #34 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=5415090baa6f author: okutsu date: Thu Oct 01 15:16:35 2015 +0900 8081794, PR3162: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem Reviewed-by: peytoia, okutsu Contributed-by: Naveen Kumar -- 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 Oct 27 05:08:04 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:08:04 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #35 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=9c268fb32f70 author: coffeys date: Thu Oct 15 09:33:03 2015 +0100 6907252, PR3162: ZipFileInputStream Not Thread-Safe Reviewed-by: sherman -- 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 Oct 27 05:08:10 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:08:10 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #36 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=78738eafc52b author: aivanov date: Wed Oct 26 16:05:53 2016 +0100 8130136, PR3162: Swing window sometimes fails to repaint partially when it becomes exposed Reviewed-by: alexp, serb -- 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 Oct 27 05:08:16 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:08:16 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #37 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=02f223e90d5e author: aefimov date: Thu Jul 23 15:55:11 2015 +0300 8078495, PR3162: End time checking for native TGT is wrong Reviewed-by: xuelei -- 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 Oct 27 05:08:24 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:08:24 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #38 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=1986ab27ea0b author: jgodinez date: Mon Oct 24 09:58:47 2011 -0700 6604109, PR3162: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups Reviewed-by: bae, prr -- 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 Oct 27 05:08:31 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:08:31 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #39 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=16aa1c34e2c4 author: igerasim date: Wed Oct 26 18:39:48 2016 +0100 8130274, PR3162: java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal Summary: Make UnixFileStore.equals() also compare the return values of name(), the names of the mounted filesystems. Reviewed-by: alanb -- 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 Oct 27 05:08:38 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:08:38 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #40 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=787747c15232 author: kshefov date: Fri Jun 05 19:14:49 2015 +0300 8066188, PR3162: BaseRowSet returns the wrong default value for escape processing Reviewed-by: alanb, lancea Contributed-by: maxim.soloviev at oracle.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 Oct 27 05:08:45 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:08:45 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #41 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=7b3d92674796 author: kshefov date: Thu Oct 27 01:37:56 2016 +0100 8062198, PR3162: Add RowSetMetaDataImpl Tests and add column range validation to isdefinitlyWritable Reviewed-by: joehw, lancea Contributed-by: maxim.soloviev at oracle.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 Oct 27 05:08:51 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:08:51 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #42 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=82067c87496d author: kshefov date: Thu Oct 27 01:52:59 2016 +0100 8059411, PR3162: RowSetWarning does not correctly chain warnings Reviewed-by: darcy, smarks, mchung, lancea Contributed-by: maxim.soloviev at oracle.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 Oct 27 05:09:00 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:09:00 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #43 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=8aaee9c91c63 author: igerasim date: Fri Oct 09 20:11:18 2015 +0300 8137121, PR3162: (fc) Infinite loop FileChannel.truncate Reviewed-by: alanb -- 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 Oct 27 05:09:07 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:09:07 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #44 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=2751730ffae1 author: igerasim date: Thu Oct 27 02:27:38 2016 +0100 8137230, PR3162: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out Summary: Includes changes to Utils from 8022221 (TIMEOUT_FACTOR) & 8059070 (adjustTimeout) Reviewed-by: rriggs -- 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 Oct 27 05:09:13 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:09:13 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #45 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=bc86cb0b4331 author: coffeys date: Thu Oct 15 14:41:37 2015 +0100 8038502, PR3162: Deflater.needsInput() should use synchronization Reviewed-by: chegar -- 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 Oct 27 05:09:19 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:09:19 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #46 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=04922015b635 author: igerasim date: Thu Oct 27 02:44:35 2016 +0100 8139373, PR3162: [TEST_BUG] java/net/MulticastSocket/MultiDead.java failed with timeout Reviewed-by: chegar -- 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 Oct 27 05:09:27 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:09:27 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #47 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=b03ecf9d57c9 author: weijun date: Mon Sep 09 11:08:20 2013 +0800 8024046, PR3162: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc* Reviewed-by: xuelei -- 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 Oct 27 05:09:34 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:09:34 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #48 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=1e1f7f645ab9 author: weijun date: Tue Nov 19 14:14:14 2013 +0800 8028479, PR3162: runNameEquals still cannot precisely detect if a usable native krb5 is available Reviewed-by: xuelei -- 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 Oct 27 05:09:41 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:09:41 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #49 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=e97831e64ad3 author: andrew date: Thu Oct 27 03:05:41 2016 +0100 8078668, PR3162: jar usage string mentions unsupported option '-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 bugzilla-daemon at icedtea.classpath.org Thu Oct 27 05:09:47 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:09:47 +0000 Subject: [Bug 3207] [IcedTea7] lcms2: Out-of-bounds read in Type_MLU_Read() In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3207 --- Comment #3 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=db7f4c441246 author: andrew date: Wed Oct 26 03:51:39 2016 +0100 PR3207, RH1367357: lcms2: Out-of-bounds read in Type_MLU_Read() -- 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 Oct 27 05:12:37 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:12:37 +0000 Subject: /hg/icedtea7-forest/corba: Added tag icedtea-2.7.0pre08 for chan... Message-ID: changeset 34cc7c768cc0 in /hg/icedtea7-forest/corba details: http://icedtea.classpath.org/hg/icedtea7-forest/corba?cmd=changeset;node=34cc7c768cc0 author: andrew date: Thu Oct 27 06:16:42 2016 +0100 Added tag icedtea-2.7.0pre08 for changeset 257b4ab13740 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 257b4ab13740 -r 34cc7c768cc0 .hgtags --- a/.hgtags Wed Sep 28 07:44:56 2016 +0100 +++ b/.hgtags Thu Oct 27 06:16:42 2016 +0100 @@ -656,3 +656,4 @@ c1def4cc27fb92914168a5f65658eba4a1754dfe jdk7u111-b00 36715cc029596f86e977d486e547f62bb07eed74 jdk7u111-b01 205f6d4b66fe3d2179e9d9b9d3a534344fb9b3e3 icedtea-2.7.0pre07 +257b4ab13740c608f8b49350aa00da8907fd22d3 icedtea-2.7.0pre08 From andrew at icedtea.classpath.org Thu Oct 27 05:12:43 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:12:43 +0000 Subject: /hg/icedtea7-forest/jaxp: Added tag icedtea-2.7.0pre08 for chang... Message-ID: changeset 7f680da239ad in /hg/icedtea7-forest/jaxp details: http://icedtea.classpath.org/hg/icedtea7-forest/jaxp?cmd=changeset;node=7f680da239ad author: andrew date: Thu Oct 27 06:16:43 2016 +0100 Added tag icedtea-2.7.0pre08 for changeset 36695a562f29 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 36695a562f29 -r 7f680da239ad .hgtags --- a/.hgtags Wed Sep 28 07:44:57 2016 +0100 +++ b/.hgtags Thu Oct 27 06:16:43 2016 +0100 @@ -657,3 +657,4 @@ be2127cf0435d141d8072a94dbe75a527ceda453 jdk7u111-b00 cd13b280e8247904509c28ee8aa9b45326185dd7 jdk7u111-b01 80897e67a1b382d9d9ef523f7b994bcd0d309ccb icedtea-2.7.0pre07 +36695a562f292c528bdfb9393fbabeed7036899c icedtea-2.7.0pre08 From andrew at icedtea.classpath.org Thu Oct 27 05:12:48 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:12:48 +0000 Subject: /hg/icedtea7-forest/jaxws: Added tag icedtea-2.7.0pre08 for chan... Message-ID: changeset 5d6370bdcd06 in /hg/icedtea7-forest/jaxws details: http://icedtea.classpath.org/hg/icedtea7-forest/jaxws?cmd=changeset;node=5d6370bdcd06 author: andrew date: Thu Oct 27 06:16:44 2016 +0100 Added tag icedtea-2.7.0pre08 for changeset 1c02daf6ea6b diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 1c02daf6ea6b -r 5d6370bdcd06 .hgtags --- a/.hgtags Wed Sep 28 07:44:57 2016 +0100 +++ b/.hgtags Thu Oct 27 06:16:44 2016 +0100 @@ -656,3 +656,4 @@ 8fd4ada6c5d5c3f71cc52cc2af97c971a58c6b53 jdk7u111-b00 18074c212a8997055baa9aca9e9ae0dbbe90e1f4 jdk7u111-b01 cee876f061b3cba67d0c208ba69e589a7a2edb87 icedtea-2.7.0pre07 +1c02daf6ea6bcd0b1aa1f245bd83fa8ef252a58e icedtea-2.7.0pre08 From andrew at icedtea.classpath.org Thu Oct 27 05:12:54 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:12:54 +0000 Subject: /hg/icedtea7-forest/langtools: Added tag icedtea-2.7.0pre08 for ... Message-ID: changeset 03fc0f1fced1 in /hg/icedtea7-forest/langtools details: http://icedtea.classpath.org/hg/icedtea7-forest/langtools?cmd=changeset;node=03fc0f1fced1 author: andrew date: Thu Oct 27 06:16:47 2016 +0100 Added tag icedtea-2.7.0pre08 for changeset 5f91109e8834 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 5f91109e8834 -r 03fc0f1fced1 .hgtags --- a/.hgtags Wed Sep 28 07:44:59 2016 +0100 +++ b/.hgtags Thu Oct 27 06:16:47 2016 +0100 @@ -656,3 +656,4 @@ e65eb66727550af75293996fc42e2c49c2002659 jdk7u111-b00 a5002845bff276d1a8e4bdb4a0dcb972509f7d07 jdk7u111-b01 e5b9f24eecf6abb83bcf7aabb284bbe841cec9fe icedtea-2.7.0pre07 +5f91109e88344f8f86072f5350abbe2b31f20617 icedtea-2.7.0pre08 From andrew at icedtea.classpath.org Thu Oct 27 05:12:59 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:12:59 +0000 Subject: /hg/icedtea7-forest/hotspot: Added tag icedtea-2.7.0pre08 for ch... Message-ID: changeset 76e61db96315 in /hg/icedtea7-forest/hotspot details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=76e61db96315 author: andrew date: Thu Oct 27 06:16:50 2016 +0100 Added tag icedtea-2.7.0pre08 for changeset c2a745174c84 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r c2a745174c84 -r 76e61db96315 .hgtags --- a/.hgtags Sun Sep 06 05:02:06 2015 -0700 +++ b/.hgtags Thu Oct 27 06:16:50 2016 +0100 @@ -891,3 +891,4 @@ 14d0f4da4a74897fc3274f8f549f41544bb4625a jdk7u111-b00 9efa3fae3c278a7f48badec775d7f9b2d5320b6d jdk7u111-b01 b6971126dc0fbb792acb92c6fb159001117a1e2a icedtea-2.7.0pre07 +c2a745174c849bd6222ee7c764cadaef4dbc1b8b icedtea-2.7.0pre08 From andrew at icedtea.classpath.org Thu Oct 27 05:13:06 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:13:06 +0000 Subject: /hg/icedtea7-forest/jdk: 13 new changesets Message-ID: changeset 25dc08f3724e in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=25dc08f3724e author: kshefov date: Fri Jun 05 19:14:49 2015 +0300 8066188, PR3162: BaseRowSet returns the wrong default value for escape processing Reviewed-by: alanb, lancea Contributed-by: maxim.soloviev at oracle.com changeset 8420e3cbcebd in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=8420e3cbcebd author: kshefov date: Thu Oct 27 01:37:56 2016 +0100 8062198, PR3162: Add RowSetMetaDataImpl Tests and add column range validation to isdefinitlyWritable Reviewed-by: joehw, lancea Contributed-by: maxim.soloviev at oracle.com changeset 54b549e917cc in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=54b549e917cc author: kshefov date: Thu Oct 27 01:52:59 2016 +0100 8059411, PR3162: RowSetWarning does not correctly chain warnings Reviewed-by: darcy, smarks, mchung, lancea Contributed-by: maxim.soloviev at oracle.com changeset b5190f761cad in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=b5190f761cad author: igerasim date: Fri Oct 09 20:11:18 2015 +0300 8137121, PR3162: (fc) Infinite loop FileChannel.truncate Reviewed-by: alanb changeset cfb8e838acad in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=cfb8e838acad author: igerasim date: Thu Oct 27 02:27:38 2016 +0100 8137230, PR3162: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out Summary: Includes changes to Utils from 8022221 (TIMEOUT_FACTOR) & 8059070 (adjustTimeout) Reviewed-by: rriggs changeset 9dc6e98d5730 in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=9dc6e98d5730 author: coffeys date: Thu Oct 15 14:41:37 2015 +0100 8038502, PR3162: Deflater.needsInput() should use synchronization Reviewed-by: chegar changeset 992972c38d6d in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=992972c38d6d author: igerasim date: Thu Oct 27 02:44:35 2016 +0100 8139373, PR3162: [TEST_BUG] java/net/MulticastSocket/MultiDead.java failed with timeout Reviewed-by: chegar changeset bf4dfdbac3c1 in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=bf4dfdbac3c1 author: weijun date: Mon Sep 09 11:08:20 2013 +0800 8024046, PR3162: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc* Reviewed-by: xuelei changeset cd20ebe5b86a in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=cd20ebe5b86a author: weijun date: Tue Nov 19 14:14:14 2013 +0800 8028479, PR3162: runNameEquals still cannot precisely detect if a usable native krb5 is available Reviewed-by: xuelei changeset 2b1c0bb39bdf in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=2b1c0bb39bdf author: andrew date: Thu Oct 27 03:05:41 2016 +0100 8078668, PR3162: jar usage string mentions unsupported option '-n' changeset cab4f59d6119 in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=cab4f59d6119 author: andrew date: Thu Oct 27 03:14:52 2016 +0100 Bump to icedtea-2.7.0pre08 changeset 15b47679f447 in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=15b47679f447 author: andrew date: Thu Oct 27 04:13:51 2016 +0100 PR3162: Remove reference to AbstractPlainDatagramSocketImpl.c, removed in 8072466 changeset c235a4bc97a2 in /hg/icedtea7-forest/jdk details: http://icedtea.classpath.org/hg/icedtea7-forest/jdk?cmd=changeset;node=c235a4bc97a2 author: andrew date: Thu Oct 27 06:16:45 2016 +0100 Added tag icedtea-2.7.0pre08 for changeset 15b47679f447 diffstat: .hgtags | 1 + make/java/net/FILES_c.gmk | 1 - make/jdk_generic_profile.sh | 2 +- src/share/classes/java/util/zip/Deflater.java | 4 +- src/share/classes/javax/sql/rowset/BaseRowSet.java | 2 +- src/share/classes/javax/sql/rowset/RowSetMetaDataImpl.java | 18 +- src/share/classes/javax/sql/rowset/RowSetWarning.java | 23 +- src/share/classes/sun/nio/ch/FileChannelImpl.java | 5 +- src/share/classes/sun/tools/jar/resources/jar.properties | 2 +- src/share/classes/sun/tools/jar/resources/jar_de.properties | 2 +- src/share/classes/sun/tools/jar/resources/jar_es.properties | 2 +- src/share/classes/sun/tools/jar/resources/jar_fr.properties | 2 +- src/share/classes/sun/tools/jar/resources/jar_ja.properties | 2 +- src/share/classes/sun/tools/jar/resources/jar_ko.properties | 2 +- src/share/classes/sun/tools/jar/resources/jar_pt_BR.properties | 2 +- src/share/classes/sun/tools/jar/resources/jar_sv.properties | 2 +- src/share/classes/sun/tools/jar/resources/jar_zh_CN.properties | 2 +- src/share/classes/sun/tools/jar/resources/jar_zh_TW.properties | 2 +- test/java/net/MulticastSocket/MultiDead.java | 82 +++++---- test/java/nio/channels/FileChannel/LoopingTruncate.java | 84 ++++++++++ test/lib/testlibrary/jdk/testlibrary/Utils.java | 27 +++ test/sun/security/krb5/runNameEquals.sh | 20 ++- 22 files changed, 222 insertions(+), 67 deletions(-) diffs (truncated from 600 to 500 lines): diff -r 9619ed773fbd -r c235a4bc97a2 .hgtags --- a/.hgtags Wed Oct 26 18:39:48 2016 +0100 +++ b/.hgtags Thu Oct 27 06:16:45 2016 +0100 @@ -643,3 +643,4 @@ a7267e8244b9418af15b1103b4d906e8c6a61bc0 jdk7u111-b00 cc1ed9a351886645eb729144696e41d187564ec2 jdk7u111-b01 5e3d7e2b2a002891085b3483d204bdd9f85af395 icedtea-2.7.0pre07 +15b47679f447bb41684452a043c230e334222329 icedtea-2.7.0pre08 diff -r 9619ed773fbd -r c235a4bc97a2 make/java/net/FILES_c.gmk --- a/make/java/net/FILES_c.gmk Wed Oct 26 18:39:48 2016 +0100 +++ b/make/java/net/FILES_c.gmk Thu Oct 27 06:16:45 2016 +0100 @@ -24,7 +24,6 @@ # FILES_c = \ - AbstractPlainDatagramSocketImpl.c \ DatagramPacket.c \ ExtendedOptionsImpl.c \ InetAddress.c \ diff -r 9619ed773fbd -r c235a4bc97a2 make/jdk_generic_profile.sh --- a/make/jdk_generic_profile.sh Wed Oct 26 18:39:48 2016 +0100 +++ b/make/jdk_generic_profile.sh Thu Oct 27 06:16:45 2016 +0100 @@ -671,7 +671,7 @@ # IcedTea versioning export ICEDTEA_NAME="IcedTea" -export PACKAGE_VERSION="2.7.0pre07" +export PACKAGE_VERSION="2.7.0pre08" export DERIVATIVE_ID="${ICEDTEA_NAME} ${PACKAGE_VERSION}" echo "Building ${DERIVATIVE_ID}" diff -r 9619ed773fbd -r c235a4bc97a2 src/share/classes/java/util/zip/Deflater.java --- a/src/share/classes/java/util/zip/Deflater.java Wed Oct 26 18:39:48 2016 +0100 +++ b/src/share/classes/java/util/zip/Deflater.java Thu Oct 27 06:16:45 2016 +0100 @@ -306,7 +306,9 @@ * should be called in order to provide more input */ public boolean needsInput() { - return len <= 0; + synchronized (zsRef) { + return len <= 0; + } } /** diff -r 9619ed773fbd -r c235a4bc97a2 src/share/classes/javax/sql/rowset/BaseRowSet.java --- a/src/share/classes/javax/sql/rowset/BaseRowSet.java Wed Oct 26 18:39:48 2016 +0100 +++ b/src/share/classes/javax/sql/rowset/BaseRowSet.java Thu Oct 27 06:16:45 2016 +0100 @@ -461,7 +461,7 @@ * false that it is not. The default is true. * @serial */ - private boolean escapeProcessing; + private boolean escapeProcessing = true; /** * A constant indicating the isolation level of the connection diff -r 9619ed773fbd -r c235a4bc97a2 src/share/classes/javax/sql/rowset/RowSetMetaDataImpl.java --- a/src/share/classes/javax/sql/rowset/RowSetMetaDataImpl.java Wed Oct 26 18:39:48 2016 +0100 +++ b/src/share/classes/javax/sql/rowset/RowSetMetaDataImpl.java Thu Oct 27 06:16:45 2016 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2010, 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 @@ -48,6 +48,8 @@ * Therefore, any RowSetMetaDataImpl method that retrieves information * is defined as having unspecified behavior when it is called * before the RowSet object contains data. + * + * @since 1.5 */ public class RowSetMetaDataImpl implements RowSetMetaData, Serializable { @@ -579,7 +581,7 @@ * * @param columnIndex the first column is 1, the second is 2, and so on; * must be between 1 and the number of columns, inclusive - * @return true if if a value in the designated column is a signed + * @return true if a value in the designated column is a signed * number; false otherwise * @throws SQLException if a database access error occurs * or the given column number is out of bounds @@ -605,7 +607,7 @@ } /** - * Retrieves the the suggested column title for the designated + * Retrieves the suggested column title for the designated * column for use in printouts and displays. * * @param columnIndex the first column is 1, the second is 2, and so on; @@ -801,8 +803,10 @@ * @throws SQLException if a database access error occurs * or the given column number is out of bounds */ - public boolean isDefinitelyWritable(int columnIndex) - throws SQLException { return true;} + public boolean isDefinitelyWritable(int columnIndex) throws SQLException { + checkColRange(columnIndex); + return true; + } /** * Retrieves the fully-qualified name of the class in the Java @@ -1071,7 +1075,7 @@ public int colType; /** - * The field that holds the the type name used by this particular data source + * The field that holds the type name used by this particular data source * for the value stored in this column. * * @serial @@ -1079,7 +1083,7 @@ public String colTypeName; /** - * The field that holds the updatablity boolean per column of a RowSet + * The field that holds the updatability boolean per column of a RowSet * * @serial */ diff -r 9619ed773fbd -r c235a4bc97a2 src/share/classes/javax/sql/rowset/RowSetWarning.java --- a/src/share/classes/javax/sql/rowset/RowSetWarning.java Wed Oct 26 18:39:48 2016 +0100 +++ b/src/share/classes/javax/sql/rowset/RowSetWarning.java Thu Oct 27 06:16:45 2016 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2004, 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 @@ -50,15 +50,12 @@ * The inherited methods getMessage, getSQLState, * and getErrorCode retrieve information contained in a * RowSetWarning object. + * + * @since 1.5 */ public class RowSetWarning extends SQLException { /** - * RowSetWarning object handle. - */ - private RowSetWarning rwarning; - - /** * Constructs a RowSetWarning object * with the given value for the reason; SQLState defaults to null, * and vendorCode defaults to 0. @@ -109,7 +106,7 @@ * @param reason a String giving a description of the * warning; * @param SQLState an XOPEN code identifying the warning; if a non standard - * XPOEN SQLState is supplied, no exception is thrown. + * XOPEN SQLState is supplied, no exception is thrown. * @param vendorCode a database vendor-specific warning code */ public RowSetWarning(java.lang.String reason, java.lang.String SQLState, int vendorCode) { @@ -126,7 +123,15 @@ * @see #setNextWarning */ public RowSetWarning getNextWarning() { - return rwarning; + SQLException warning = getNextException(); + if ( warning == null || warning instanceof RowSetWarning) { + return (RowSetWarning)warning; + } else { + // The chained value isn't a RowSetWarning. + // This is a programming error by whoever added it to + // the RowSetWarning chain. We throw a Java "Error". + throw new Error("RowSetWarning chain holds value that is not a RowSetWarning: "); + } } /** @@ -139,7 +144,7 @@ * @see #getNextWarning */ public void setNextWarning(RowSetWarning warning) { - rwarning = warning; + setNextException(warning); } static final long serialVersionUID = 6678332766434564774L; diff -r 9619ed773fbd -r c235a4bc97a2 src/share/classes/sun/nio/ch/FileChannelImpl.java --- a/src/share/classes/sun/nio/ch/FileChannelImpl.java Wed Oct 26 18:39:48 2016 +0100 +++ b/src/share/classes/sun/nio/ch/FileChannelImpl.java Thu Oct 27 06:16:45 2016 +0100 @@ -327,6 +327,7 @@ int rv = -1; long p = -1; int ti = -1; + long rp = -1; try { begin(); ti = threads.add(); @@ -352,8 +353,8 @@ if (p > size) p = size; do { - rv = (int)position0(fd, p); - } while ((rv == IOStatus.INTERRUPTED) && isOpen()); + rp = position0(fd, p); + } while ((rp == IOStatus.INTERRUPTED) && isOpen()); return this; } finally { threads.remove(ti); diff -r 9619ed773fbd -r c235a4bc97a2 src/share/classes/sun/tools/jar/resources/jar.properties --- a/src/share/classes/sun/tools/jar/resources/jar.properties Wed Oct 26 18:39:48 2016 +0100 +++ b/src/share/classes/sun/tools/jar/resources/jar.properties Thu Oct 27 06:16:45 2016 +0100 @@ -66,7 +66,7 @@ (in = {0}) (out= {1}) usage=\ -Usage: jar {ctxui}[vfmn0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\ +Usage: jar {ctxui}[vfm0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\ Options:\n\ \ \ -c create new archive\n\ \ \ -t list table of contents for archive\n\ diff -r 9619ed773fbd -r c235a4bc97a2 src/share/classes/sun/tools/jar/resources/jar_de.properties --- a/src/share/classes/sun/tools/jar/resources/jar_de.properties Wed Oct 26 18:39:48 2016 +0100 +++ b/src/share/classes/sun/tools/jar/resources/jar_de.properties Thu Oct 27 06:16:45 2016 +0100 @@ -44,4 +44,4 @@ out.inflated=\ vergr\u00F6\u00DFert: {0} out.size=(ein = {0}) (aus = {1}) -usage=Verwendung: jar {ctxui}[vfmn0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] Dateien ...\nOptionen:\n -c Neues Archiv erstellen\n -t Inhaltsverzeichnis f\u00FCr Archiv anzeigen\n -x Benannte (oder alle) Dateien aus dem Archiv extrahieren\n -u Vorhandenes Archiv aktualisieren\n -v Ausgabe im Verbose-Modus aus Standard-Ausgabe generieren\n -f Dateinamen f\u00FCr Archiv angeben\n -m Manifestinformationen aus angegebener Manifestdatei einschlie\u00DFen\n -n Pack200-Normalisierung nach Erstellung eines neuen Archivs ausf\u00FChren\n -e Anwendungseinstiegspunkt f\u00FCr Standalone-Anwendung angeben \n in einer ausf\u00FChrbaren JAR-Datei geb\u00FCndelt\n -0 Nur speichern; keine ZIP-Komprimierung verwenden\n -P Komponenten mit vorangestelltem "/" (absoluter Pfad) und ".." (\u00FCbergeordnetes Verzeichnis) aus Dateinamen beibehalten\n -M Keine Manifest-Datei f\u00FCr die Eintr\u00E4ge erstellen\n -i Indexinformationen f\u00FCr die angegebenen JAR-Dateien erstellen\n -C Zum angegebenen Verzeichnis wechseln und folgende Datei einschlie\u00DFen\nFalls eine Datei ein Verzeichnis ist, wird dieses rekursiv verarbeitet.\nDer Name der Manifestdatei, der Name der Archivdatei und der Name des Einstiegspunkts werden\nin derselben Reihenfolge wie die Kennzeichen "m", "f" und "e" angegeben.\n\nBeispiel 1: Archivieren Sie zwei Klassendateien in ein Archiv mit Namen "classes.jar": \n jar cvf classes.jar Foo.class Bar.class \nBeispiel 2: Verwenden Sie die vorhandenen Manifestdatei "mymanifest", und archivieren Sie alle\n Dateien im Verzeichnis foo/ directory in "classes.jar": \n jar cvfm classes.jar mymanifest -C foo/ .\n +usage=Verwendung: jar {ctxui}[vfm0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] Dateien ...\nOptionen:\n -c Neues Archiv erstellen\n -t Inhaltsverzeichnis f\u00FCr Archiv anzeigen\n -x Benannte (oder alle) Dateien aus dem Archiv extrahieren\n -u Vorhandenes Archiv aktualisieren\n -v Ausgabe im Verbose-Modus aus Standard-Ausgabe generieren\n -f Dateinamen f\u00FCr Archiv angeben\n -m Manifestinformationen aus angegebener Manifestdatei einschlie\u00DFen\n -e Anwendungseinstiegspunkt f\u00FCr Standalone-Anwendung angeben \n in einer ausf\u00FChrbaren JAR-Datei geb\u00FCndelt\n -0 Nur speichern; keine ZIP-Komprimierung verwenden\n -P Komponenten mit vorangestelltem "/" (absoluter Pfad) und ".." (\u00FCbergeordnetes Verzeichnis) aus Dateinamen beibehalten\n -M Keine Manifest-Datei f\u00FCr die Eintr\u00E4ge erstellen\n -i Indexinformationen f\u00FCr die angegebenen JAR-Dateien erstellen\n -C Zum angegebenen Verzeichnis wechseln und folgende Datei einschlie\u00DFen\nFalls eine Datei ein Verzeichnis ist, wird dieses rekursiv verarbeitet.\nDer Name der Manifestdatei, der Name der Archivdatei und der Name des Einstiegspunkts werden\nin derselben Reihenfolge wie die Kennzeichen "m", "f" und "e" angegeben.\n\nBeispiel 1: Archivieren Sie zwei Klassendateien in ein Archiv mit Namen "classes.jar": \n jar cvf classes.jar Foo.class Bar.class \nBeispiel 2: Verwenden Sie die vorhandenen Manifestdatei "mymanifest", und archivieren Sie alle\n Dateien im Verzeichnis foo/ directory in "classes.jar": \n jar cvfm classes.jar mymanifest -C foo/ .\n diff -r 9619ed773fbd -r c235a4bc97a2 src/share/classes/sun/tools/jar/resources/jar_es.properties --- a/src/share/classes/sun/tools/jar/resources/jar_es.properties Wed Oct 26 18:39:48 2016 +0100 +++ b/src/share/classes/sun/tools/jar/resources/jar_es.properties Thu Oct 27 06:16:45 2016 +0100 @@ -44,4 +44,4 @@ out.inflated=\ inflado: {0} out.size=(entrada = {0}) (salida = {1}) -usage=Sintaxis: jar {ctxui}[vfmn0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\nOpciones:\n -c crear nuevo archivo\n -t crear la tabla de contenido del archivo\n -x extraer el archivo mencionado (o todos) del archivo\n -u actualizar archivo existente\n -v generar salida detallada de los datos de salida est\u00E1ndar\n -f especificar nombre de archivo de almacenamiento\n -m incluir informaci\u00F3n de manifiesto del archivo de manifiesto especificado\n -e especificar punto de entrada de la aplicaci\u00F3n para la aplicaci\u00F3n aut\u00F3noma \n que se incluye dentro de un archivo jar ejecutable\n -0 s\u00F3lo almacenar; no utilizar compresi\u00F3n ZIP\n -P conservar componentes iniciales '/' (ruta absoluta) y ".." (directorio principal) en los nombres de archivo\n -M no crear un archivo de manifiesto para las entradas\n -i generar informaci\u00F3n de \u00EDndice para los archivos jar especificados\n -C cambiar al directorio especificado e incluir el archivo siguiente\nSi alg\u00FAn archivo es un directorio, se procesar\u00E1 de forma recurrente.\nEl nombre del archivo de manifiesto, el nombre del archivo de almacenamiento y el nombre del punto de entrada se\nespecifican en el mismo orden que los indicadores 'm', 'f' y 'e'.\n\nEjemplo 1: para archivar archivos de dos clases en un archivo llamado classes.jar: \n jar cvf classes.jar Foo.class Bar.class \nEjemplo 2: utilice un archivo de manifiesto existente 'mymanifest' y archive todos los\n archivos del directorio foo/ en 'classes.jar': \n jar cvfm classes.jar mymanifest -C foo/ .\n +usage=Sintaxis: jar {ctxui}[vfm0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\nOpciones:\n -c crear nuevo archivo\n -t crear la tabla de contenido del archivo\n -x extraer el archivo mencionado (o todos) del archivo\n -u actualizar archivo existente\n -v generar salida detallada de los datos de salida est\u00E1ndar\n -f especificar nombre de archivo de almacenamiento\n -m incluir informaci\u00F3n de manifiesto del archivo de manifiesto especificado\n -e especificar punto de entrada de la aplicaci\u00F3n para la aplicaci\u00F3n aut\u00F3noma \n que se incluye dentro de un archivo jar ejecutable\n -0 s\u00F3lo almacenar; no utilizar compresi\u00F3n ZIP\n -P conservar componentes iniciales '/' (ruta absoluta) y ".." (directorio principal) en los nombres de archivo\n -M no crear un archivo de manifiesto para las entradas\n -i generar informaci\u00F3n de \u00EDndice para los archivos jar especificados\n -C cambiar al directorio especificado e incluir el archivo siguiente\nSi alg\u00FAn archivo es un directorio, se procesar\u00E1 de forma recurrente.\nEl nombre del archivo de manifiesto, el nombre del archivo de almacenamiento y el nombre del punto de entrada se\nespecifican en el mismo orden que los indicadores 'm', 'f' y 'e'.\n\nEjemplo 1: para archivar archivos de dos clases en un archivo llamado classes.jar: \n jar cvf classes.jar Foo.class Bar.class \nEjemplo 2: utilice un archivo de manifiesto existente 'mymanifest' y archive todos los\n archivos del directorio foo/ en 'classes.jar': \n jar cvfm classes.jar mymanifest -C foo/ .\n diff -r 9619ed773fbd -r c235a4bc97a2 src/share/classes/sun/tools/jar/resources/jar_fr.properties --- a/src/share/classes/sun/tools/jar/resources/jar_fr.properties Wed Oct 26 18:39:48 2016 +0100 +++ b/src/share/classes/sun/tools/jar/resources/jar_fr.properties Thu Oct 27 06:16:45 2016 +0100 @@ -44,4 +44,4 @@ out.inflated=\ d\u00E9compress\u00E9 : {0} out.size=(entr\u00E9e = {0}) (sortie = {1}) -+usage=Syntaxe : jar {ctxui}[vfmn0PMe] [fichier-jar] [fichier-manifeste] [point-entr\u00E9e] [-C r\u00E9p] fichiers...\nOptions :\n -c cr\u00E9e une archive\n -t affiche la table des mati\u00E8res de l'archive\n -x extrait les fichiers nomm\u00E9s (ou tous les fichiers) de l'archive\n -u met \u00E0 jour l'archive existante\n -v g\u00E9n\u00E8re une version d\u00E9taill\u00E9e d'une sortie standard\n -f sp\u00E9cifie le nom du fichier archive\n -m inclut les informations de manifeste \u00E0 partir du fichier manifeste sp\u00E9cifi\u00E9\n -n effectue une normalisation Pack200 apr\u00E8s la cr\u00E9ation d'une archive\n -e sp\u00E9cifie le point d'entr\u00E9e d'une application en mode autonome \n int\u00E9gr\u00E9e \u00E0 un fichier JAR ex\u00E9cutable\n -0 stockage uniquement, pas de compression ZIP\n -P pr\u00E9serve les signes de d\u00E9but '/' (chemin absolu) et ".." (r\u00E9pertoire parent) dans les noms de fichier\n -M ne cr\u00E9e pas de fichier manifeste pour les entr\u00E9es\n -i g\u00E9n\u00E8re les informations d'index des fichiers JAR sp\u00E9cifi\u00E9s\n -C passe au r\u00E9pertoire sp\u00E9cifi\u00E9 et inclut le fichier suivant\nSi l'un des fichiers est un r\u00E9pertoire, celui-ci est trait\u00E9 r\u00E9cursivement.\nLes noms du fichier manifeste, du fichier archive et du point d'entr\u00E9e sont\nsp\u00E9cifi\u00E9s dans le m\u00EAme ordre que celui des indicateurs m, f et e.\n\nExemple 1 : pour archiver deux fichiers de classe dans une archive intitul\u00E9e classes.jar : \n jar cvf classes.jar Foo.class Bar.class \nExemple 2 : pour utiliser un fichier manifeste existant 'monmanifeste', puis archiver tous les\n fichiers du r\u00E9pertoire foo/ dans 'classes.jar' : \n jar cvfm classes.jar monmanifeste -C foo/ .\n ++usage=Syntaxe : jar {ctxui}[vfm0PMe] [fichier-jar] [fichier-manifeste] [point-entr\u00E9e] [-C r\u00E9p] fichiers...\nOptions :\n -c cr\u00E9e une archive\n -t affiche la table des mati\u00E8res de l'archive\n -x extrait les fichiers nomm\u00E9s (ou tous les fichiers) de l'archive\n -u met \u00E0 jour l'archive existante\n -v g\u00E9n\u00E8re une version d\u00E9taill\u00E9e d'une sortie standard\n -f sp\u00E9cifie le nom du fichier archive\n -m inclut les informations de manifeste \u00E0 partir du fichier manifeste sp\u00E9cifi\u00E9\n -e sp\u00E9cifie le point d'entr\u00E9e d'une application en mode autonome \n int\u00E9gr\u00E9e \u00E0 un fichier JAR ex\u00E9cutable\n -0 stockage uniquement, pas de compression ZIP\n -P pr\u00E9serve les signes de d\u00E9but '/' (chemin absolu) et ".." (r\u00E9pertoire parent) dans les noms de fichier\n -M ne cr\u00E9e pas de fichier manifeste pour les entr\u00E9es\n -i g\u00E9n\u00E8re les informations d'index des fichiers JAR sp\u00E9cifi\u00E9s\n -C passe au r\u00E9pertoire sp\u00E9cifi\u00E9 et inclut le fichier suivant\nSi l'un des fichiers est un r\u00E9pertoire, celui-ci est trait\u00E9 r\u00E9cursivement.\nLes noms du fichier manifeste, du fichier archive et du point d'entr\u00E9e sont\nsp\u00E9cifi\u00E9s dans le m\u00EAme ordre que celui des indicateurs m, f et e.\n\nExemple 1 : pour archiver deux fichiers de classe dans une archive intitul\u00E9e classes.jar : \n jar cvf classes.jar Foo.class Bar.class \nExemple 2 : pour utiliser un fichier manifeste existant 'monmanifeste', puis archiver tous les\n fichiers du r\u00E9pertoire foo/ dans 'classes.jar' : \n jar cvfm classes.jar monmanifeste -C foo/ .\n diff -r 9619ed773fbd -r c235a4bc97a2 src/share/classes/sun/tools/jar/resources/jar_ja.properties --- a/src/share/classes/sun/tools/jar/resources/jar_ja.properties Wed Oct 26 18:39:48 2016 +0100 +++ b/src/share/classes/sun/tools/jar/resources/jar_ja.properties Thu Oct 27 06:16:45 2016 +0100 @@ -44,4 +44,4 @@ out.inflated=\ {0}\u304C\u5C55\u958B\u3055\u308C\u307E\u3057\u305F out.size=(\u5165={0})(\u51FA={1}) -usage=\u4F7F\u7528\u65B9\u6CD5: jar {ctxui}[vfmn0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\u30AA\u30D7\u30B7\u30E7\u30F3:\n -c \u30A2\u30FC\u30AB\u30A4\u30D6\u3092\u65B0\u898F\u4F5C\u6210\u3059\u308B\n -t \u30A2\u30FC\u30AB\u30A4\u30D6\u306E\u5185\u5BB9\u3092\u4E00\u89A7\u8868\u793A\u3059\u308B\n -x \u6307\u5B9A\u306E(\u307E\u305F\u306F\u3059\u3079\u3066\u306E)\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30FC\u30AB\u30A4\u30D6\u304B\u3089\u62BD\u51FA\u3059\u308B\n -u \u65E2\u5B58\u30A2\u30FC\u30AB\u30A4\u30D6\u3092\u66F4\u65B0\u3059\u308B\n -v \u6A19\u6E96\u51FA\u529B\u306B\u8A73\u7D30\u306A\u51FA\u529B\u3092\u751F\u6210\u3059\u308B\n -f \u30A2\u30FC\u30AB\u30A4\u30D6\u30FB\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u6307\u5B9A\u3059\u308B\n -m \u6307\u5B9A\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB\u304B\u3089\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u60C5\u5831\u3092\u53D6\u308A\u8FBC\u3080\n -n \u65B0\u898F\u30A2\u30FC\u30AB\u30A4\u30D6\u306E\u4F5C\u6210\u5F8C\u306BPack200\u6B63\u898F\u5316\u3092\u5B9F\u884C\u3059\u308B\n -e \u5B9F\u884C\u53EF\u80FDjar\u30D5\u30A1\u30A4\u30EB\u306B\u30D0\u30F3\u30C9\u30EB\u3055\u308C\u305F\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u30FB\n \u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306E\u30A8\u30F3\u30C8\u30EA\u30FB\u30DD\u30A4\u30F3\u30C8\u3092\u6307\u5B9A\u3059\u308B\n -0 \u683C\u7D0D\u306E\u307F\u3002ZIP\u5727\u7E2E\u3092\u4F7F\u7528\u3057\u306A\u3044\n -P \u30D5\u30A1\u30A4\u30EB\u540D\u306E\u5148\u982D\u306E'/' (\u7D76\u5BFE\u30D1\u30B9)\u304A\u3088\u3073\\"..\\" (\u89AA\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA)\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u3092\u4FDD\u6301\u3059\u308B\n -M \u30A8\u30F3\u30C8\u30EA\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u4F5C\u6210\u3057\u306A\u3044\n -i \u6307\u5B9A\u306Ejar\u30D5\u30A1\u30A4\u30EB\u306E\u7D22\u5F15\u60C5\u5831\u3092\u751F\u6210\u3059\u308B\n -C \u6307\u5B9A\u306E\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306B\u5909\u66F4\u3057\u3001\u6B21\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u53D6\u308A\u8FBC\u3080\n\u30D5\u30A1\u30A4\u30EB\u304C\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\u5834\u5408\u306F\u518D\u5E30\u7684\u306B\u51E6\u7406\u3055\u308C\u307E\u3059\u3002\n\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB\u540D\u3001\u30A2\u30FC\u30AB\u30A4\u30D6\u30FB\u30D5\u30A1\u30A4\u30EB\u540D\u304A\u3088\u3073\u30A8\u30F3\u30C8\u30EA\u30FB\u30DD\u30A4\u30F3\u30C8\u540D\u306F\u3001\n\u30D5\u30E9\u30B0'm'\u3001'f'\u3001'e'\u306E\u6307\u5B9A\u3068\u540C\u3058\u9806\u756A\u3067\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\n\n\u4F8B1: 2\u3064\u306E\u30AF\u30E9\u30B9\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30FC\u30AB\u30A4\u30D6classes.jar\u306B\u4FDD\u5B58\u3059\u308B: \n jar cvf classes.jar Foo.class Bar.class \n\u4F8B2: \u65E2\u5B58\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB'mymanifest'\u3092\u4F7F\u7528\u3057\u3001foo/\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\n \u5168\u30D5\u30A1\u30A4\u30EB\u3092'classes.jar'\u306B\u30A2\u30FC\u30AB\u30A4\u30D6\u3059\u308B: \n jar cvfm classes.jar mymanifest -C foo/ .\n +usage=\u4F7F\u7528\u65B9\u6CD5: jar {ctxui}[vfm0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\u30AA\u30D7\u30B7\u30E7\u30F3:\n -c \u30A2\u30FC\u30AB\u30A4\u30D6\u3092\u65B0\u898F\u4F5C\u6210\u3059\u308B\n -t \u30A2\u30FC\u30AB\u30A4\u30D6\u306E\u5185\u5BB9\u3092\u4E00\u89A7\u8868\u793A\u3059\u308B\n -x \u6307\u5B9A\u306E(\u307E\u305F\u306F\u3059\u3079\u3066\u306E)\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30FC\u30AB\u30A4\u30D6\u304B\u3089\u62BD\u51FA\u3059\u308B\n -u \u65E2\u5B58\u30A2\u30FC\u30AB\u30A4\u30D6\u3092\u66F4\u65B0\u3059\u308B\n -v \u6A19\u6E96\u51FA\u529B\u306B\u8A73\u7D30\u306A\u51FA\u529B\u3092\u751F\u6210\u3059\u308B\n -f \u30A2\u30FC\u30AB\u30A4\u30D6\u30FB\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u6307\u5B9A\u3059\u308B\n -m \u6307\u5B9A\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB\u304B\u3089\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u60C5\u5831\u3092\u53D6\u308A\u8FBC\u3080\n -e \u5B9F\u884C\u53EF\u80FDjar\u30D5\u30A1\u30A4\u30EB\u306B\u30D0\u30F3\u30C9\u30EB\u3055\u308C\u305F\u30B9\u30BF\u30F3\u30C9\u30A2\u30ED\u30F3\u30FB\n \u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306E\u30A8\u30F3\u30C8\u30EA\u30FB\u30DD\u30A4\u30F3\u30C8\u3092\u6307\u5B9A\u3059\u308B\n -0 \u683C\u7D0D\u306E\u307F\u3002ZIP\u5727\u7E2E\u3092\u4F7F\u7528\u3057\u306A\u3044\n -P \u30D5\u30A1\u30A4\u30EB\u540D\u306E\u5148\u982D\u306E'/' (\u7D76\u5BFE\u30D1\u30B9)\u304A\u3088\u3073\\"..\\" (\u89AA\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA)\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u3092\u4FDD\u6301\u3059\u308B\n -M \u30A8\u30F3\u30C8\u30EA\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u4F5C\u6210\u3057\u306A\u3044\n -i \u6307\u5B9A\u306Ejar\u30D5\u30A1\u30A4\u30EB\u306E\u7D22\u5F15\u60C5\u5831\u3092\u751F\u6210\u3059\u308B\n -C \u6307\u5B9A\u306E\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306B\u5909\u66F4\u3057\u3001\u6B21\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u53D6\u308A\u8FBC\u3080\n\u30D5\u30A1\u30A4\u30EB\u304C\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\u5834\u5408\u306F\u518D\u5E30\u7684\u306B\u51E6\u7406\u3055\u308C\u307E\u3059\u3002\n\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB\u540D\u3001\u30A2\u30FC\u30AB\u30A4\u30D6\u30FB\u30D5\u30A1\u30A4\u30EB\u540D\u304A\u3088\u3073\u30A8\u30F3\u30C8\u30EA\u30FB\u30DD\u30A4\u30F3\u30C8\u540D\u306F\u3001\n\u30D5\u30E9\u30B0'm'\u3001'f'\u3001'e'\u306E\u6307\u5B9A\u3068\u540C\u3058\u9806\u756A\u3067\u6307\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002\n\n\u4F8B1: 2\u3064\u306E\u30AF\u30E9\u30B9\u30FB\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30FC\u30AB\u30A4\u30D6classes.jar\u306B\u4FDD\u5B58\u3059\u308B: \n jar cvf classes.jar Foo.class Bar.class \n\u4F8B2: \u65E2\u5B58\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB'mymanifest'\u3092\u4F7F\u7528\u3057\u3001foo/\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\n \u5168\u30D5\u30A1\u30A4\u30EB\u3092'classes.jar'\u306B\u30A2\u30FC\u30AB\u30A4\u30D6\u3059\u308B: \n jar cvfm classes.jar mymanifest -C foo/ .\n diff -r 9619ed773fbd -r c235a4bc97a2 src/share/classes/sun/tools/jar/resources/jar_ko.properties --- a/src/share/classes/sun/tools/jar/resources/jar_ko.properties Wed Oct 26 18:39:48 2016 +0100 +++ b/src/share/classes/sun/tools/jar/resources/jar_ko.properties Thu Oct 27 06:16:45 2016 +0100 @@ -44,4 +44,4 @@ out.inflated=\ \uC99D\uAC00\uB428: {0} out.size=(\uC785\uB825 = {0}) (\uCD9C\uB825 = {1}) -usage=\uC0AC\uC6A9\uBC95: jar {ctxui}[vfmn0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\uC635\uC158:\n -c \uC0C8 \uC544\uCE74\uC774\uBE0C\uB97C \uC0DD\uC131\uD569\uB2C8\uB2E4.\n -t \uC544\uCE74\uC774\uBE0C\uC5D0 \uB300\uD55C \uBAA9\uCC28\uB97C \uB098\uC5F4\uD569\uB2C8\uB2E4.\n -x \uBA85\uBA85\uB41C(\uB610\uB294 \uBAA8\uB4E0) \uD30C\uC77C\uC744 \uC544\uCE74\uC774\uBE0C\uC5D0\uC11C \uCD94\uCD9C\uD569\uB2C8\uB2E4.\n -u \uAE30\uC874 \uC544\uCE74\uC774\uBE0C\uB97C \uC5C5\uB370\uC774\uD2B8\uD569\uB2C8\uB2E4.\n -v \uD45C\uC900 \uCD9C\uB825\uC5D0 \uC0C1\uC138 \uC815\uBCF4 \uCD9C\uB825\uC744 \uC0DD\uC131\uD569\uB2C8\uB2E4.\n -f \uC544\uCE74\uC774\uBE0C \uD30C\uC77C \uC774\uB984\uC744 \uC9C0\uC815\uD569\uB2C8\uB2E4.\n -m \uC9C0\uC815\uB41C Manifest \uD30C\uC77C\uC758 Manifest \uC815\uBCF4\uB97C \uD3EC\uD568\uD569\uB2C8\uB2E4.\n -n \uC0C8 \uC544\uCE74\uC774\uBE0C\uB97C \uC0DD\uC131\uD55C \uD6C4 Pack200 \uC815\uADDC\uD654\uB97C \uC218\uD589\uD569\uB2C8\uB2E4.\n -e jar \uC2E4\uD589 \uD30C\uC77C\uC5D0 \uBC88\uB4E4\uB85C \uC81C\uACF5\uB41C \uB3C5\uB9BD\uD615 \uC560\uD50C\uB9AC\uCF00\uC774\uC158\uC758 \n \uC560\uD50C\uB9AC\uCF00\uC774\uC158 \uC2DC\uC791 \uC9C0\uC810\uC744 \uC9C0\uC815\uD569\uB2C8\uB2E4.\n -0 \uC800\uC7A5 \uC804\uC6A9: ZIP \uC555\uCD95\uC744 \uC0AC\uC6A9\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\n -P \uD30C\uC77C \uC774\uB984\uC5D0\uC11C \uC120\uD589 '/'(\uC808\uB300 \uACBD\uB85C) \uBC0F ".."(\uC0C1\uC704 \uB514\uB809\uD1A0\uB9AC) \uAD6C\uC131 \uC694\uC18C\uB97C \uC720\uC9C0\uD569\uB2C8\uB2E4.\n -M \uD56D\uBAA9\uC5D0 \uB300\uD574 Manifest \uD30C\uC77C\uC744 \uC0DD\uC131\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\n -i \uC9C0\uC815\uB41C jar \uD30C\uC77C\uC5D0 \uB300\uD55C \uC778\uB371\uC2A4 \uC815\uBCF4\uB97C \uC0DD\uC131\uD569\uB2C8\uB2E4.\n -C \uC9C0\uC815\uB41C \uB514\uB809\uD1A0\uB9AC\uB85C \uBCC0\uACBD\uD558\uACE0 \uB2E4\uC74C \uD30C\uC77C\uC744 \uD3EC\uD568\uD569\uB2C8\uB2E4.\n\uD2B9\uC815 \uD30C\uC77C\uC774 \uB514\uB809\uD1A0\uB9AC\uC77C \uACBD\uC6B0 \uC21C\uD658\uC801\uC73C\uB85C \uCC98\uB9AC\uB429\uB2C8\uB2E4.\nManifest \uD30C\uC77C \uC774\uB984, \uC544\uCE74\uC774\uBE0C \uD30C\uC77C \uC774\uB984 \uBC0F \uC2DC\uC791 \uC9C0\uC810 \uC774\uB984\uC740\n'm', 'f' \uBC0F 'e' \uD50C\uB798\uADF8\uC640 \uB3D9\uC77C\uD55C \uC21C\uC11C\uB85C \uC9C0\uC815\uB429\uB2C8\uB2E4.\n\n\uC608 1: classes.jar\uB77C\uB294 \uC544\uCE74\uC774\uBE0C\uC5D0 \uB450 \uD074\uB798\uC2A4 \uD30C\uC77C\uC744 \uC544\uCE74\uC774\uBE0C\uD558\uB294 \uBC29\uBC95: \n jar cvf classes.jar Foo.class Bar.class \n\uC608 2: \uAE30\uC874 Manifest \uD30C\uC77C 'mymanifest'\uB97C \uC0AC\uC6A9\uD558\uC5EC\n foo/ \uB514\uB809\uD1A0\uB9AC\uC758 \uBAA8\uB4E0 \uD30C\uC77C\uC744 'classes.jar'\uB85C \uC544\uCE74\uC774\uBE0C\uD558\uB294 \uBC29\uBC95: \n jar cvfm classes.jar mymanifest -C foo/ . +usage=\uC0AC\uC6A9\uBC95: jar {ctxui}[vfm0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\uC635\uC158:\n -c \uC0C8 \uC544\uCE74\uC774\uBE0C\uB97C \uC0DD\uC131\uD569\uB2C8\uB2E4.\n -t \uC544\uCE74\uC774\uBE0C\uC5D0 \uB300\uD55C \uBAA9\uCC28\uB97C \uB098\uC5F4\uD569\uB2C8\uB2E4.\n -x \uBA85\uBA85\uB41C(\uB610\uB294 \uBAA8\uB4E0) \uD30C\uC77C\uC744 \uC544\uCE74\uC774\uBE0C\uC5D0\uC11C \uCD94\uCD9C\uD569\uB2C8\uB2E4.\n -u \uAE30\uC874 \uC544\uCE74\uC774\uBE0C\uB97C \uC5C5\uB370\uC774\uD2B8\uD569\uB2C8\uB2E4.\n -v \uD45C\uC900 \uCD9C\uB825\uC5D0 \uC0C1\uC138 \uC815\uBCF4 \uCD9C\uB825\uC744 \uC0DD\uC131\uD569\uB2C8\uB2E4.\n -f \uC544\uCE74\uC774\uBE0C \uD30C\uC77C \uC774\uB984\uC744 \uC9C0\uC815\uD569\uB2C8\uB2E4.\n -m \uC9C0\uC815\uB41C Manifest \uD30C\uC77C\uC758 Manifest \uC815\uBCF4\uB97C \uD3EC\uD568\uD569\uB2C8\uB2E4.\n -e jar \uC2E4\uD589 \uD30C\uC77C\uC5D0 \uBC88\uB4E4\uB85C \uC81C\uACF5\uB41C \uB3C5\uB9BD\uD615 \uC560\uD50C\uB9AC\uCF00\uC774\uC158\uC758 \n \uC560\uD50C\uB9AC\uCF00\uC774\uC158 \uC2DC\uC791 \uC9C0\uC810\uC744 \uC9C0\uC815\uD569\uB2C8\uB2E4.\n -0 \uC800\uC7A5 \uC804\uC6A9: ZIP \uC555\uCD95\uC744 \uC0AC\uC6A9\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\n -P \uD30C\uC77C \uC774\uB984\uC5D0\uC11C \uC120\uD589 '/'(\uC808\uB300 \uACBD\uB85C) \uBC0F ".."(\uC0C1\uC704 \uB514\uB809\uD1A0\uB9AC) \uAD6C\uC131 \uC694\uC18C\uB97C \uC720\uC9C0\uD569\uB2C8\uB2E4.\n -M \uD56D\uBAA9\uC5D0 \uB300\uD574 Manifest \uD30C\uC77C\uC744 \uC0DD\uC131\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.\n -i \uC9C0\uC815\uB41C jar \uD30C\uC77C\uC5D0 \uB300\uD55C \uC778\uB371\uC2A4 \uC815\uBCF4\uB97C \uC0DD\uC131\uD569\uB2C8\uB2E4.\n -C \uC9C0\uC815\uB41C \uB514\uB809\uD1A0\uB9AC\uB85C \uBCC0\uACBD\uD558\uACE0 \uB2E4\uC74C \uD30C\uC77C\uC744 \uD3EC\uD568\uD569\uB2C8\uB2E4.\n\uD2B9\uC815 \uD30C\uC77C\uC774 \uB514\uB809\uD1A0\uB9AC\uC77C \uACBD\uC6B0 \uC21C\uD658\uC801\uC73C\uB85C \uCC98\uB9AC\uB429\uB2C8\uB2E4.\nManifest \uD30C\uC77C \uC774\uB984, \uC544\uCE74\uC774\uBE0C \uD30C\uC77C \uC774\uB984 \uBC0F \uC2DC\uC791 \uC9C0\uC810 \uC774\uB984\uC740\n'm', 'f' \uBC0F 'e' \uD50C\uB798\uADF8\uC640 \uB3D9\uC77C\uD55C \uC21C\uC11C\uB85C \uC9C0\uC815\uB429\uB2C8\uB2E4.\n\n\uC608 1: classes.jar\uB77C\uB294 \uC544\uCE74\uC774\uBE0C\uC5D0 \uB450 \uD074\uB798\uC2A4 \uD30C\uC77C\uC744 \uC544\uCE74\uC774\uBE0C\uD558\uB294 \uBC29\uBC95: \n jar cvf classes.jar Foo.class Bar.class \n\uC608 2: \uAE30\uC874 Manifest \uD30C\uC77C 'mymanifest'\uB97C \uC0AC\uC6A9\uD558\uC5EC\n foo/ \uB514\uB809\uD1A0\uB9AC\uC758 \uBAA8\uB4E0 \uD30C\uC77C\uC744 'classes.jar'\uB85C \uC544\uCE74\uC774\uBE0C\uD558\uB294 \uBC29\uBC95: \n jar cvfm classes.jar mymanifest -C foo/ . diff -r 9619ed773fbd -r c235a4bc97a2 src/share/classes/sun/tools/jar/resources/jar_pt_BR.properties --- a/src/share/classes/sun/tools/jar/resources/jar_pt_BR.properties Wed Oct 26 18:39:48 2016 +0100 +++ b/src/share/classes/sun/tools/jar/resources/jar_pt_BR.properties Thu Oct 27 06:16:45 2016 +0100 @@ -44,4 +44,4 @@ out.inflated=\ inflado: {0} out.size=(entrada = {0}) (sa\u00EDda= {1}) -usage=Uso: jar {ctxui}[vfmn0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] arquivos ...\nOp\u00E7\u00F5es:\n -c cria novo arquivo compactado\n -t lista o sum\u00E1rio do arquivo compactado\n -x extrai arquivos com o nome (ou todos) do arquivo compactado\n -u atualiza o arquivo compactado existente\n -v gera sa\u00EDda detalhada na sa\u00EDda padr\u00E3o\n -f especifica o nome do arquivo do arquivo compactado\n -m inclui as informa\u00E7\u00F5es do manifesto do arquivo de manifesto especificado\n -n executa a normaliza\u00E7\u00E3o Pack200 ap\u00F3s a cria\u00E7\u00E3o de um novo arquivo compactado\n -e especifica o ponto de entrada da aplica\u00E7\u00E3o para aplica\u00E7\u00E3o stand-alone \n empacotada em um arquivo jar execut\u00E1vel\n -0 armazena somente; n\u00E3o usa compacta\u00E7\u00E3o ZIP\n -P preserva os componentes '/' inicial (caminho absoluto) e ".." (diret\u00F3rio pai) nos nomes dos arquivos\n -M n\u00E3o cria um arquivo de manifesto para as entradas\n -i gera informa\u00E7\u00F5es de \u00EDndice para os arquivos especificados\n -C passa para o diret\u00F3rio especificado e inclui o arquivo a seguir\nSe um arquivo tamb\u00E9m for um diret\u00F3rio, ele ser\u00E1 processado repetidamente.\nO nome do arquivo de manifesto, o nome do arquivo compactado e o nome do ponto de entrada s\u00E3o\nespecificados na mesma ordem dos flags 'm', 'f' e 'e'.\n\nExemplo 1: para arquivar dois arquivos de classe em um arquivo compactado denominado classes.jar: \n jar cvf classes.jar Foo.class Bar.class \nExemplo 2: use um arquivo de manifesto existente 'mymanifest' e arquive todos os\n arquivos no diret\u00F3rio foo/ na 'classes.jar': \n jar cvfm classes.jar mymanifest -C foo/ .\n +usage=Uso: jar {ctxui}[vfm0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] arquivos ...\nOp\u00E7\u00F5es:\n -c cria novo arquivo compactado\n -t lista o sum\u00E1rio do arquivo compactado\n -x extrai arquivos com o nome (ou todos) do arquivo compactado\n -u atualiza o arquivo compactado existente\n -v gera sa\u00EDda detalhada na sa\u00EDda padr\u00E3o\n -f especifica o nome do arquivo do arquivo compactado\n -m inclui as informa\u00E7\u00F5es do manifesto do arquivo de manifesto especificado\n -e especifica o ponto de entrada da aplica\u00E7\u00E3o para aplica\u00E7\u00E3o stand-alone \n empacotada em um arquivo jar execut\u00E1vel\n -0 armazena somente; n\u00E3o usa compacta\u00E7\u00E3o ZIP\n -P preserva os componentes '/' inicial (caminho absoluto) e ".." (diret\u00F3rio pai) nos nomes dos arquivos\n -M n\u00E3o cria um arquivo de manifesto para as entradas\n -i gera informa\u00E7\u00F5es de \u00EDndice para os arquivos especificados\n -C passa para o diret\u00F3rio especificado e inclui o arquivo a seguir\nSe um arquivo tamb\u00E9m for um diret\u00F3rio, ele ser\u00E1 processado repetidamente.\nO nome do arquivo de manifesto, o nome do arquivo compactado e o nome do ponto de entrada s\u00E3o\nespecificados na mesma ordem dos flags 'm', 'f' e 'e'.\n\nExemplo 1: para arquivar dois arquivos de classe em um arquivo compactado denominado classes.jar: \n jar cvf classes.jar Foo.class Bar.class \nExemplo 2: use um arquivo de manifesto existente 'mymanifest' e arquive todos os\n arquivos no diret\u00F3rio foo/ na 'classes.jar': \n jar cvfm classes.jar mymanifest -C foo/ .\n diff -r 9619ed773fbd -r c235a4bc97a2 src/share/classes/sun/tools/jar/resources/jar_sv.properties --- a/src/share/classes/sun/tools/jar/resources/jar_sv.properties Wed Oct 26 18:39:48 2016 +0100 +++ b/src/share/classes/sun/tools/jar/resources/jar_sv.properties Thu Oct 27 06:16:45 2016 +0100 @@ -44,4 +44,4 @@ out.inflated=\ uppackat: {0} out.size=(in = {0}) (ut = {1}) -usage=Syntax: jar {ctxui}[vfmn0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\nAlternativ:\n -c skapa nytt arkiv\n -t lista inneh\u00E5llsf\u00F6rteckning f\u00F6r arkiv\n -x extrahera namngivna (eller alla) filer fr\u00E5n arkivet\n -u uppdatera befintligt arkiv\n -v generera utf\u00F6rliga utdata vid standardutmatning\n -f ange arkivfilens namn\n -m inkludera manifestinformation fr\u00E5n angivet manifest\n -n utf\u00F6r Pack200-normalisering efter att ett nytt arkiv har skapats\n -e ange programstartpunkt f\u00F6r frist\u00E5ende applikation \n som medf\u00F6ljer i en jar-programfil\n -0 lagra endast; anv\u00E4nd inte zip-komprimering\n -P beh\u00E5ll komponenter f\u00F6r inledande '/' (absolut s\u00F6kv\u00E4g) och ".." (\u00F6verordnad katalog) fr\u00E5n filnamn\n -M skapa inte n\u00E5gon manifestfil f\u00F6r posterna\n -i generera indexinformation f\u00F6r de angivna jar-filerna\n -C \u00E4ndra till den angivna katalogen och inkludera f\u00F6ljande fil\nOm en fil \u00E4r en katalog bearbetas den rekursivt.\nNamnen p\u00E5 manifestfilen, arkivfilen och startpunkten anges i samma\nordning som flaggorna 'm', 'f' och 'e'.\n\nExempel 1: S\u00E5 h\u00E4r arkiverar du tv\u00E5 klassfiler i ett arkiv med namnet classes.jar: \n jar cvf classes.jar Foo.class Bar.class \nExempel 2: Anv\u00E4nd en befintlig manifestfil (mymanifest) och arkivera alla\n filer fr\u00E5n katalogen 'foo/' till 'classes.jar': \n jar cvfm classes.jar mymanifest -C foo/ .\n +usage=Syntax: jar {ctxui}[vfm0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\nAlternativ:\n -c skapa nytt arkiv\n -t lista inneh\u00E5llsf\u00F6rteckning f\u00F6r arkiv\n -x extrahera namngivna (eller alla) filer fr\u00E5n arkivet\n -u uppdatera befintligt arkiv\n -v generera utf\u00F6rliga utdata vid standardutmatning\n -f ange arkivfilens namn\n -m inkludera manifestinformation fr\u00E5n angivet manifest\n -e ange programstartpunkt f\u00F6r frist\u00E5ende applikation \n som medf\u00F6ljer i en jar-programfil\n -0 lagra endast; anv\u00E4nd inte zip-komprimering\n -P beh\u00E5ll komponenter f\u00F6r inledande '/' (absolut s\u00F6kv\u00E4g) och ".." (\u00F6verordnad katalog) fr\u00E5n filnamn\n -M skapa inte n\u00E5gon manifestfil f\u00F6r posterna\n -i generera indexinformation f\u00F6r de angivna jar-filerna\n -C \u00E4ndra till den angivna katalogen och inkludera f\u00F6ljande fil\nOm en fil \u00E4r en katalog bearbetas den rekursivt.\nNamnen p\u00E5 manifestfilen, arkivfilen och startpunkten anges i samma\nordning som flaggorna 'm', 'f' och 'e'.\n\nExempel 1: S\u00E5 h\u00E4r arkiverar du tv\u00E5 klassfiler i ett arkiv med namnet classes.jar: \n jar cvf classes.jar Foo.class Bar.class \nExempel 2: Anv\u00E4nd en befintlig manifestfil (mymanifest) och arkivera alla\n filer fr\u00E5n katalogen 'foo/' till 'classes.jar': \n jar cvfm classes.jar mymanifest -C foo/ .\n diff -r 9619ed773fbd -r c235a4bc97a2 src/share/classes/sun/tools/jar/resources/jar_zh_CN.properties --- a/src/share/classes/sun/tools/jar/resources/jar_zh_CN.properties Wed Oct 26 18:39:48 2016 +0100 +++ b/src/share/classes/sun/tools/jar/resources/jar_zh_CN.properties Thu Oct 27 06:16:45 2016 +0100 @@ -44,4 +44,4 @@ out.inflated=\ \u5DF2\u89E3\u538B: {0} out.size=(\u8F93\u5165 = {0}) (\u8F93\u51FA = {1}) -usage=\u7528\u6CD5: jar {ctxui}[vfmn0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\u9009\u9879:\n -c \u521B\u5EFA\u65B0\u6863\u6848\n -t \u5217\u51FA\u6863\u6848\u76EE\u5F55\n -x \u4ECE\u6863\u6848\u4E2D\u63D0\u53D6\u6307\u5B9A\u7684 (\u6216\u6240\u6709) \u6587\u4EF6\n -u \u66F4\u65B0\u73B0\u6709\u6863\u6848\n -v \u5728\u6807\u51C6\u8F93\u51FA\u4E2D\u751F\u6210\u8BE6\u7EC6\u8F93\u51FA\n -f \u6307\u5B9A\u6863\u6848\u6587\u4EF6\u540D\n -m \u5305\u542B\u6307\u5B9A\u6E05\u5355\u6587\u4EF6\u4E2D\u7684\u6E05\u5355\u4FE1\u606F\n -n \u521B\u5EFA\u65B0\u6863\u6848\u540E\u6267\u884C Pack200 \u89C4\u8303\u5316\n -e \u4E3A\u6346\u7ED1\u5230\u53EF\u6267\u884C jar \u6587\u4EF6\u7684\u72EC\u7ACB\u5E94\u7528\u7A0B\u5E8F\n \u6307\u5B9A\u5E94\u7528\u7A0B\u5E8F\u5165\u53E3\u70B9\n -0 \u4EC5\u5B58\u50A8; \u4E0D\u4F7F\u7528\u4EFB\u4F55 ZIP \u538B\u7F29\n -P \u4FDD\u7559\u6587\u4EF6\u540D\u4E2D\u7684\u524D\u5BFC '/' (\u7EDD\u5BF9\u8DEF\u5F84) \u548C ".." (\u7236\u76EE\u5F55) \u7EC4\u4EF6\n -M \u4E0D\u521B\u5EFA\u6761\u76EE\u7684\u6E05\u5355\u6587\u4EF6\n -i \u4E3A\u6307\u5B9A\u7684 jar \u6587\u4EF6\u751F\u6210\u7D22\u5F15\u4FE1\u606F\n -C \u66F4\u6539\u4E3A\u6307\u5B9A\u7684\u76EE\u5F55\u5E76\u5305\u542B\u4EE5\u4E0B\u6587\u4EF6\n\u5982\u679C\u4EFB\u4F55\u6587\u4EF6\u4E3A\u76EE\u5F55, \u5219\u5BF9\u5176\u8FDB\u884C\u9012\u5F52\u5904\u7406\u3002\n\u6E05\u5355\u6587\u4EF6\u540D, \u6863\u6848\u6587\u4EF6\u540D\u548C\u5165\u53E3\u70B9\u540D\u79F0\u7684\u6307\u5B9A\u987A\u5E8F\n\u4E0E 'm', 'f' \u548C 'e' \u6807\u8BB0\u7684\u6307\u5B9A\u987A\u5E8F\u76F8\u540C\u3002\n\n\u793A\u4F8B 1: \u5C06\u4E24\u4E2A\u7C7B\u6587\u4EF6\u5F52\u6863\u5230\u4E00\u4E2A\u540D\u4E3A classes.jar \u7684\u6863\u6848\u4E2D: \n jar cvf classes.jar Foo.class Bar.class \n\u793A\u4F8B 2: \u4F7F\u7528\u73B0\u6709\u7684\u6E05\u5355\u6587\u4EF6 'mymanifest' \u5E76\n \u5C06 foo/ \u76EE\u5F55\u4E2D\u7684\u6240\u6709\u6587\u4EF6\u5F52\u6863\u5230 'classes.jar' \u4E2D: \n jar cvfm classes.jar mymanifest -C foo/ .\n +usage=\u7528\u6CD5: jar {ctxui}[vfm0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\u9009\u9879:\n -c \u521B\u5EFA\u65B0\u6863\u6848\n -t \u5217\u51FA\u6863\u6848\u76EE\u5F55\n -x \u4ECE\u6863\u6848\u4E2D\u63D0\u53D6\u6307\u5B9A\u7684 (\u6216\u6240\u6709) \u6587\u4EF6\n -u \u66F4\u65B0\u73B0\u6709\u6863\u6848\n -v \u5728\u6807\u51C6\u8F93\u51FA\u4E2D\u751F\u6210\u8BE6\u7EC6\u8F93\u51FA\n -f \u6307\u5B9A\u6863\u6848\u6587\u4EF6\u540D\n -m \u5305\u542B\u6307\u5B9A\u6E05\u5355\u6587\u4EF6\u4E2D\u7684\u6E05\u5355\u4FE1\u606F\n -e \u4E3A\u6346\u7ED1\u5230\u53EF\u6267\u884C jar \u6587\u4EF6\u7684\u72EC\u7ACB\u5E94\u7528\u7A0B\u5E8F\n \u6307\u5B9A\u5E94\u7528\u7A0B\u5E8F\u5165\u53E3\u70B9\n -0 \u4EC5\u5B58\u50A8; \u4E0D\u4F7F\u7528\u4EFB\u4F55 ZIP \u538B\u7F29\n -P \u4FDD\u7559\u6587\u4EF6\u540D\u4E2D\u7684\u524D\u5BFC '/' (\u7EDD\u5BF9\u8DEF\u5F84) \u548C ".." (\u7236\u76EE\u5F55) \u7EC4\u4EF6\n -M \u4E0D\u521B\u5EFA\u6761\u76EE\u7684\u6E05\u5355\u6587\u4EF6\n -i \u4E3A\u6307\u5B9A\u7684 jar \u6587\u4EF6\u751F\u6210\u7D22\u5F15\u4FE1\u606F\n -C \u66F4\u6539\u4E3A\u6307\u5B9A\u7684\u76EE\u5F55\u5E76\u5305\u542B\u4EE5\u4E0B\u6587\u4EF6\n\u5982\u679C\u4EFB\u4F55\u6587\u4EF6\u4E3A\u76EE\u5F55, \u5219\u5BF9\u5176\u8FDB\u884C\u9012\u5F52\u5904\u7406\u3002\n\u6E05\u5355\u6587\u4EF6\u540D, \u6863\u6848\u6587\u4EF6\u540D\u548C\u5165\u53E3\u70B9\u540D\u79F0\u7684\u6307\u5B9A\u987A\u5E8F\n\u4E0E 'm', 'f' \u548C 'e' \u6807\u8BB0\u7684\u6307\u5B9A\u987A\u5E8F\u76F8\u540C\u3002\n\n\u793A\u4F8B 1: \u5C06\u4E24\u4E2A\u7C7B\u6587\u4EF6\u5F52\u6863\u5230\u4E00\u4E2A\u540D\u4E3A classes.jar \u7684\u6863\u6848\u4E2D: \n jar cvf classes.jar Foo.class Bar.class \n\u793A\u4F8B 2: \u4F7F\u7528\u73B0\u6709\u7684\u6E05\u5355\u6587\u4EF6 'mymanifest' \u5E76\n \u5C06 foo/ \u76EE\u5F55\u4E2D\u7684\u6240\u6709\u6587\u4EF6\u5F52\u6863\u5230 'classes.jar' \u4E2D: \n jar cvfm classes.jar mymanifest -C foo/ .\n diff -r 9619ed773fbd -r c235a4bc97a2 src/share/classes/sun/tools/jar/resources/jar_zh_TW.properties --- a/src/share/classes/sun/tools/jar/resources/jar_zh_TW.properties Wed Oct 26 18:39:48 2016 +0100 +++ b/src/share/classes/sun/tools/jar/resources/jar_zh_TW.properties Thu Oct 27 06:16:45 2016 +0100 @@ -44,4 +44,4 @@ out.inflated=\ \u64F4\u5C55: {0} out.size=\ (\u8B80={0})(\u5BEB={1}) -usage=\u7528\u6CD5: jar {ctxui}[vfmn0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] \u6A94\u6848 ...\n\u9078\u9805:\n -c \u5EFA\u7ACB\u65B0\u7684\u6B78\u6A94\n -t \u5217\u51FA\u6B78\u6A94\u7684\u76EE\u9304\n -x \u5F9E\u6B78\u6A94\u4E2D\u64F7\u53D6\u6307\u5B9A (\u6216\u6240\u6709) \u6A94\u6848\n -u \u66F4\u65B0\u73FE\u6709\u6B78\u6A94\n -v \u5728\u6A19\u6E96\u8F38\u51FA\u4E2D\u7522\u751F\u8A73\u7D30\u8F38\u51FA\n -f \u6307\u5B9A\u6B78\u6A94\u6A94\u6848\u540D\u7A31\n -m \u5305\u542B\u6307\u5B9A\u8CC7\u8A0A\u6E05\u55AE\u4E2D\u7684\u8CC7\u8A0A\u6E05\u55AE\u8CC7\u8A0A\n -n \u5728\u5EFA\u7ACB\u65B0\u6B78\u6A94\u4E4B\u5F8C\u57F7\u884C Pack200 \u6B63\u898F\u5316\n -e \u70BA\u5DF2\u96A8\u9644\u65BC\u53EF\u57F7\u884C jar \u6A94\u6848\u4E2D\u7684\u7368\u7ACB\u61C9\u7528\u7A0B\u5F0F\n \u6307\u5B9A\u61C9\u7528\u7A0B\u5F0F\u9032\u5165\u9EDE\n -0 \u50C5\u5132\u5B58; \u4E0D\u4F7F\u7528 ZIP \u58D3\u7E2E\u65B9\u5F0F\n -P \u4FDD\u7559\u6A94\u6848\u540D\u7A31\u524D\u9762\u7684 '/' (\u7D55\u5C0D\u8DEF\u5F91) \u548C ".." (\u4E0A\u5C64\u76EE\u9304) \u5143\u4EF6\n -M \u4E0D\u70BA\u9805\u76EE\u5EFA\u7ACB\u8CC7\u8A0A\u6E05\u55AE\u6A94\u6848\n -i \u70BA\u6307\u5B9A\u7684 jar \u6A94\u6848\u7522\u751F\u7D22\u5F15\u8CC7\u8A0A\n -C \u8B8A\u66F4\u81F3\u6307\u5B9A\u76EE\u9304\u4E26\u5305\u542B\u5F8C\u9762\u6240\u5217\u7684\u6A94\u6848\n\u5982\u679C\u6709\u4EFB\u4F55\u6A94\u6848\u662F\u76EE\u9304\uFF0C\u5247\u6703\u5C0D\u5176\u9032\u884C\u905E\u8FF4\u8655\u7406\u3002\n\u8CC7\u8A0A\u6E05\u55AE\u6A94\u6848\u540D\u7A31\u3001\u6B78\u6A94\u6A94\u6848\u540D\u7A31\u548C\u9032\u5165\u9EDE\u540D\u7A31\n\u7684\u6307\u5B9A\u9806\u5E8F\u8207\u6307\u5B9A 'm' \u65D7\u6A19\u3001'f' \u65D7\u6A19\u548C 'e' \u65D7\u6A19\u7684\u9806\u5E8F\u76F8\u540C\u3002\n\n\u7BC4\u4F8B 1: \u5C07\u5169\u500B\u985E\u5225\u6A94\u6848\u6B78\u6A94\u81F3\u540D\u70BA classes.jar \u7684\u6B78\u6A94\u4E2D: \n jar cvf classes.jar Foo.class Bar.class\n\u7BC4\u4F8B 2: \u4F7F\u7528\u73FE\u6709\u8CC7\u8A0A\u6E05\u55AE\u6A94\u6848 'mymanifest' \u4E26\u5C07\n foo/ \u76EE\u9304\u4E2D\u7684\u6240\u6709\u6A94\u6848\u6B78\u6A94\u81F3 'classes.jar' \u4E2D: \n jar cvfm classes.jar mymanifest -C foo/ .\n +usage=\u7528\u6CD5: jar {ctxui}[vfm0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] \u6A94\u6848 ...\n\u9078\u9805:\n -c \u5EFA\u7ACB\u65B0\u7684\u6B78\u6A94\n -t \u5217\u51FA\u6B78\u6A94\u7684\u76EE\u9304\n -x \u5F9E\u6B78\u6A94\u4E2D\u64F7\u53D6\u6307\u5B9A (\u6216\u6240\u6709) \u6A94\u6848\n -u \u66F4\u65B0\u73FE\u6709\u6B78\u6A94\n -v \u5728\u6A19\u6E96\u8F38\u51FA\u4E2D\u7522\u751F\u8A73\u7D30\u8F38\u51FA\n -f \u6307\u5B9A\u6B78\u6A94\u6A94\u6848\u540D\u7A31\n -m \u5305\u542B\u6307\u5B9A\u8CC7\u8A0A\u6E05\u55AE\u4E2D\u7684\u8CC7\u8A0A\u6E05\u55AE\u8CC7\u8A0A\n -e \u70BA\u5DF2\u96A8\u9644\u65BC\u53EF\u57F7\u884C jar \u6A94\u6848\u4E2D\u7684\u7368\u7ACB\u61C9\u7528\u7A0B\u5F0F\n \u6307\u5B9A\u61C9\u7528\u7A0B\u5F0F\u9032\u5165\u9EDE\n -0 \u50C5\u5132\u5B58; \u4E0D\u4F7F\u7528 ZIP \u58D3\u7E2E\u65B9\u5F0F\n -P \u4FDD\u7559\u6A94\u6848\u540D\u7A31\u524D\u9762\u7684 '/' (\u7D55\u5C0D\u8DEF\u5F91) \u548C ".." (\u4E0A\u5C64\u76EE\u9304) \u5143\u4EF6\n -M \u4E0D\u70BA\u9805\u76EE\u5EFA\u7ACB\u8CC7\u8A0A\u6E05\u55AE\u6A94\u6848\n -i \u70BA\u6307\u5B9A\u7684 jar \u6A94\u6848\u7522\u751F\u7D22\u5F15\u8CC7\u8A0A\n -C \u8B8A\u66F4\u81F3\u6307\u5B9A\u76EE\u9304\u4E26\u5305\u542B\u5F8C\u9762\u6240\u5217\u7684\u6A94\u6848\n\u5982\u679C\u6709\u4EFB\u4F55\u6A94\u6848\u662F\u76EE\u9304\uFF0C\u5247\u6703\u5C0D\u5176\u9032\u884C\u905E\u8FF4\u8655\u7406\u3002\n\u8CC7\u8A0A\u6E05\u55AE\u6A94\u6848\u540D\u7A31\u3001\u6B78\u6A94\u6A94\u6848\u540D\u7A31\u548C\u9032\u5165\u9EDE\u540D\u7A31\n\u7684\u6307\u5B9A\u9806\u5E8F\u8207\u6307\u5B9A 'm' \u65D7\u6A19\u3001'f' \u65D7\u6A19\u548C 'e' \u65D7\u6A19\u7684\u9806\u5E8F\u76F8\u540C\u3002\n\n\u7BC4\u4F8B 1: \u5C07\u5169\u500B\u985E\u5225\u6A94\u6848\u6B78\u6A94\u81F3\u540D\u70BA classes.jar \u7684\u6B78\u6A94\u4E2D: \n jar cvf classes.jar Foo.class Bar.class\n\u7BC4\u4F8B 2: \u4F7F\u7528\u73FE\u6709\u8CC7\u8A0A\u6E05\u55AE\u6A94\u6848 'mymanifest' \u4E26\u5C07\n foo/ \u76EE\u9304\u4E2D\u7684\u6240\u6709\u6A94\u6848\u6B78\u6A94\u81F3 'classes.jar' \u4E2D: \n jar cvfm classes.jar mymanifest -C foo/ .\n diff -r 9619ed773fbd -r c235a4bc97a2 test/java/net/MulticastSocket/MultiDead.java --- a/test/java/net/MulticastSocket/MultiDead.java Wed Oct 26 18:39:48 2016 +0100 +++ b/test/java/net/MulticastSocket/MultiDead.java Thu Oct 27 06:16:45 2016 +0100 @@ -35,11 +35,17 @@ import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicReference; import java.util.concurrent.CountDownLatch; +import static java.util.concurrent.TimeUnit.MILLISECONDS; import jdk.testlibrary.JDKToolLauncher; +import jdk.testlibrary.Utils; public class MultiDead { private static final int THREAD_PAIR_COUNT = 4; private static final int CHILDREN_COUNT = 20; + // at least 2.5 seconds for a child to complete + private static final long CHILD_TIMEOUT = 2500; + private static final long TIMEOUT = + Utils.adjustTimeout(CHILDREN_COUNT * CHILD_TIMEOUT * 2); public static void main(String[] args) throws Throwable { if (args.length == 0 || args[0].equals("parent")) { @@ -62,25 +68,33 @@ final AtomicBoolean stopFlag = new AtomicBoolean(false); Thread th = new Thread(new Runnable() { - @Override - public void run() { - for (int i = 0; i < CHILDREN_COUNT; ++i) { - System.out.println("child #" + (i + 1) + " of " + - CHILDREN_COUNT); - try { - child.set(pb.start()); - child.get().waitFor(); - if (stopFlag.get()) { - break; - } - } catch (Exception e) { - throw new RuntimeException(e); - } - } - } - }); + @Override + public void run() { + for (int i = 0; i < CHILDREN_COUNT; ++i) { + System.out.println("child #" + (i + 1) + " of " + + CHILDREN_COUNT); + long start = System.nanoTime(); + try { + child.set(pb.start()); + child.get().waitFor(); + if (stopFlag.get()) { + break; + } + } catch (Exception e) { + throw new RuntimeException(e); + } + if (System.nanoTime() - start > + MILLISECONDS.toNanos(CHILD_TIMEOUT)) { + System.err.println("Machine is too slow, " + + "skipping the test..."); + break; + } + } + } + }); th.start(); - th.join(CHILDREN_COUNT * 1000); // 1 sec for a child to complete + th.join(TIMEOUT); + stopFlag.set(true); if (th.isAlive()) { if (child.get() != null) { @@ -94,26 +108,26 @@ final CountDownLatch latch = new CountDownLatch(1); for (int i = 0; i < THREAD_PAIR_COUNT; ++i) { new Thread(new Runnable() { - @Override - public void run() { + @Override + public void run() { try { - latch.await(); - try (MulticastSocket a = new MulticastSocket(6000)) { - } - } catch (Exception ignore) {} - } + latch.await(); + try (MulticastSocket a = new MulticastSocket(6000)) { + } + } catch (Exception ignore) {} + } }).start(); new Thread(new Runnable() { - @Override - public void run() { - try { - latch.await(); - try (DatagramSocket b = new DatagramSocket(6000)) { - } - } catch (Exception ignore) {} - } - }).start(); + @Override + public void run() { + try { + latch.await(); + try (DatagramSocket b = new DatagramSocket(6000)) { + } + } catch (Exception ignore) {} + } + }).start(); } latch.countDown(); } diff -r 9619ed773fbd -r c235a4bc97a2 test/java/nio/channels/FileChannel/LoopingTruncate.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/java/nio/channels/FileChannel/LoopingTruncate.java Thu Oct 27 06:16:45 2016 +0100 @@ -0,0 +1,84 @@ +/* + * Copyright (c) 2015, 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 + * @bug 8137121 8137230 + * @summary (fc) Infinite loop FileChannel.truncate + * @library /lib/testlibrary + * @build jdk.testlibrary.Utils + * @run main/othervm LoopingTruncate + */ + +import java.nio.ByteBuffer; +import java.nio.channels.FileChannel; +import java.nio.channels.ClosedByInterruptException; +import java.nio.file.Files; +import java.nio.file.Path; +import static java.nio.file.StandardOpenOption.*; +import static jdk.testlibrary.Utils.adjustTimeout; + +public class LoopingTruncate { + + // (int)FATEFUL_SIZE == -3 == IOStatus.INTERRUPTED + static long FATEFUL_SIZE = 0x1FFFFFFFDL; + + // At least 20 seconds + static long TIMEOUT = adjustTimeout(20_000); + + public static void main(String[] args) throws Throwable { + final Path path = Files.createTempFile("LoopingTruncate.tmp", null); + try (FileChannel fc = FileChannel.open(path, CREATE, WRITE)) { + fc.position(FATEFUL_SIZE + 1L); + fc.write(ByteBuffer.wrap(new byte[] {0})); + + Thread th = new Thread(new Runnable() { + @Override + public void run() { + try { + fc.truncate(FATEFUL_SIZE); + } catch (ClosedByInterruptException ignore) { + } catch (Exception e) { + throw new RuntimeException(e); + } + } + }); + th.start(); + th.join(TIMEOUT); + + if (th.isAlive()) { + System.err.println("=== Stack trace of the guilty thread:"); + for (StackTraceElement el : th.getStackTrace()) { + System.err.println("\t" + el); + } + System.err.println("==="); + + th.interrupt(); + th.join(); From bugzilla-daemon at icedtea.classpath.org Thu Oct 27 05:13:16 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:13:16 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #50 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=25dc08f3724e author: kshefov date: Fri Jun 05 19:14:49 2015 +0300 8066188, PR3162: BaseRowSet returns the wrong default value for escape processing Reviewed-by: alanb, lancea Contributed-by: maxim.soloviev at oracle.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 Oct 27 05:13:24 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:13:24 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #51 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=8420e3cbcebd author: kshefov date: Thu Oct 27 01:37:56 2016 +0100 8062198, PR3162: Add RowSetMetaDataImpl Tests and add column range validation to isdefinitlyWritable Reviewed-by: joehw, lancea Contributed-by: maxim.soloviev at oracle.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 Oct 27 05:13:32 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:13:32 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #52 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=54b549e917cc author: kshefov date: Thu Oct 27 01:52:59 2016 +0100 8059411, PR3162: RowSetWarning does not correctly chain warnings Reviewed-by: darcy, smarks, mchung, lancea Contributed-by: maxim.soloviev at oracle.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 Oct 27 05:13:39 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:13:39 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #53 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=b5190f761cad author: igerasim date: Fri Oct 09 20:11:18 2015 +0300 8137121, PR3162: (fc) Infinite loop FileChannel.truncate Reviewed-by: alanb -- 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 Oct 27 05:13:48 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:13:48 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #54 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=cfb8e838acad author: igerasim date: Thu Oct 27 02:27:38 2016 +0100 8137230, PR3162: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out Summary: Includes changes to Utils from 8022221 (TIMEOUT_FACTOR) & 8059070 (adjustTimeout) Reviewed-by: rriggs -- 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 Oct 27 05:13:56 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:13:56 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #55 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=9dc6e98d5730 author: coffeys date: Thu Oct 15 14:41:37 2015 +0100 8038502, PR3162: Deflater.needsInput() should use synchronization Reviewed-by: chegar -- 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 Oct 27 05:14:04 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:14:04 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #56 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=992972c38d6d author: igerasim date: Thu Oct 27 02:44:35 2016 +0100 8139373, PR3162: [TEST_BUG] java/net/MulticastSocket/MultiDead.java failed with timeout Reviewed-by: chegar -- 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 Oct 27 05:14:12 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:14:12 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #57 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=bf4dfdbac3c1 author: weijun date: Mon Sep 09 11:08:20 2013 +0800 8024046, PR3162: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc* Reviewed-by: xuelei -- 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 Oct 27 05:14:20 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:14:20 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #58 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=cd20ebe5b86a author: weijun date: Tue Nov 19 14:14:14 2013 +0800 8028479, PR3162: runNameEquals still cannot precisely detect if a usable native krb5 is available Reviewed-by: xuelei -- 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 Oct 27 05:14:29 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:14:29 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #59 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=2b1c0bb39bdf author: andrew date: Thu Oct 27 03:05:41 2016 +0100 8078668, PR3162: jar usage string mentions unsupported option '-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 bugzilla-daemon at icedtea.classpath.org Thu Oct 27 05:14:38 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:14:38 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #60 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=15b47679f447 author: andrew date: Thu Oct 27 04:13:51 2016 +0100 PR3162: Remove reference to AbstractPlainDatagramSocketImpl.c, removed in 8072466 -- 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 Oct 27 05:51:10 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:51:10 +0000 Subject: [Bug 3211] New: [IcedTea7] AArch64 build fails with pre-compiled headers disabled Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3211 Bug ID: 3211 Summary: [IcedTea7] AArch64 build fails with pre-compiled headers disabled Product: IcedTea Version: 7-hg Hardware: aarch64 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 /builddir/build/BUILD/icedtea-2.7.0pre08/openjdk-boot/hotspot/src/cpu/aarch64/vm/assembler_aarch64.cpp: In member function 'void MacroAssembler::trampoline_call(Address, CodeBuffer*)': /builddir/build/BUILD/icedtea-2.7.0pre08/openjdk-boot/hotspot/src/cpu/aarch64/vm/assembler_aarch64.cpp:2183:26: error: incomplete type 'Compile' used in nested name specifier if (far_branches() && !Compile::current()->in_scratch_emit_size()) { ^ ^ /builddir/build/BUILD/icedtea-2.7.0pre08/openjdk-boot/hotspot/src/cpu/aarch64/vm/assembler_aarch64.cpp: In member function 'void MacroAssembler::emit_trampoline_stub(int, address)': /builddir/build/BUILD/icedtea-2.7.0pre08/openjdk-boot/hotspot/src/cpu/aarch64/vm/assembler_aarch64.cpp:2216:31: error: incomplete type 'Compile' used in nested name specifier address stub = start_a_stub(Compile::MAX_stubs_size/2); ^ /builddir/build/BUILD/icedtea-2.7.0pre08/openjdk-boot/hotspot/src/cpu/aarch64/vm/assembler_aarch64.cpp:2218:18: error: incomplete type 'Compile' used in nested name specifier start_a_stub(Compile::MAX_stubs_size/2); -- 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 Oct 27 05:51:23 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 05:51:23 +0000 Subject: [Bug 3211] [IcedTea7] AArch64 build fails with pre-compiled headers disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3211 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Target Milestone|--- |2.6.8 -- 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 Oct 27 06:16:39 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 06:16:39 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 --- Comment #5 from Shilpy --- We are using distro package and our JDK version is: OpenJDK Runtime Environment (rhel-2.3.4.1.el6_3-x86_64) Thanks, I will upgrade the JDK to 2.7.6 -- 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 Oct 27 06:41:25 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 06:41:25 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 --- Comment #6 from Shilpy --- java version "1.7.0_09-icedtea" OpenJDK Runtime Environment (rhel-2.3.4.1.el6_3-x86_64) OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode) -- 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 Oct 27 06:52:06 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 06:52:06 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 --- Comment #7 from Shilpy --- Hi Andrew, As per my knowledge JDK latest version is 1.8, I am not able to find JDK 2.6.7 what you suggested, Can you please share the link of JDK 2.6.7 version, so that I can download from there. Thanks, Shilpy -- 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 Oct 27 08:17:22 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 08:17:22 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 Andrew Haley changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aph at redhat.com --- Comment #8 from Andrew Haley --- (In reply to Shilpy from comment #7) > As per my knowledge JDK latest version is 1.8, I am not able to find JDK > 2.6.7 what you suggested, Can you please share the link of JDK 2.6.7 > version, so that I can download from there. Your Java version looks like it's from a Red Hat Linux or a Centos system. All you have to do is run "yum update". Andrew. -- 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 Oct 27 08:49:49 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 08:49:49 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 --- Comment #9 from Shilpy --- Hi Andrew, Okay, I will update the java using "yum update" but can you please let know to what version Java will be upgraded using yum update ? Also please clarify what 2.6.7 version means ? -- 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 Oct 27 09:03:46 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 09:03:46 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 --- Comment #10 from Andrew Haley --- (In reply to Shilpy from comment #9) > Hi Andrew, > > Okay, I will update the java using "yum update" but can you please let know > to what version Java will be upgraded using yum update ? Hard to know, given that I don't know your system. You could try installing yum-utils and then doing "yumdownloader java-1.7.0-openjdk" > Also please clarify what 2.6.7 version means ? It's an internal IcedTea version number. It's here in the RPM version number: java-1.7.0-openjdk-1.7.0.111-2.6.7.2.el6_8.x86_64.rpm -- 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 Oct 27 11:10:45 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 11:10:45 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 --- Comment #11 from Shilpy --- Hi Andrew, Thank you for the information, I have upgraded JDK on two of our Jenkins servers. I will update the ticket if there is any issues. -- 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 Oct 27 17:02:39 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 17:02:39 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 --- Comment #12 from Andrew John Hughes --- The latest versions of OpenJDK 7 on RHEL will be: java-1.7.0-openjdk-1.7.0.111-2.6.7.2.el6_8 on RHEL 6.8 java-1.7.0-openjdk-1.7.0.111-2.6.7.2.el7_2 on RHEL 7.2 The version is comprised as follows: java-1.7.0-openjdk - the package name 1.7.0.111 - the upstream OpenJDK version (OpenJDK 7 update 111) 2.6.7 - the upstream IcedTea version, 2.6.7 2 - the RPM release revision (how many builds were done of this OpenJDK+IcedTea) el6_8/el7_2 - the RHEL version Your previous version, rhel-2.3.4.1.el6_3-x86_64, is IcedTea 2.3.4 which was released on 2013-01-15 [0]. So you have about 3 and a half years of updates in that new JDK... :) [0] http://blog.fuseyism.com/index.php/2013/01/15/security-icedtea-2-1-4-2-2-4-2-3-4-released/ -- 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 Oct 27 17:18:35 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 17:18:35 +0000 Subject: [Bug 3209] [IcedTea7] Backport "8157306: Random infrequent null pointer exceptions in javac" In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3209 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.6.8 |2.6.9 --- Comment #4 from Andrew John Hughes --- I attempted a backport of this as-is in OpenJDK 8, with ifdefs for AArch64, but that fails because insert_anti_dependences isn't accessible from Block::call_catch_cleanup on OpenJDK 7. insert_anti_dependences is a private method of the PhaseCFG class. On 8, Block::call_catch_cleanup has been changed to PhaseCFG::call_catch_cleanup by "8023988: Move local scheduling of nodes to the CFG creation and code motion phase (PhaseCFG)", making it accessible. Backing this out for now and delaying to 2.6.9. -- 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 Oct 27 17:27:05 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 17:27:05 +0000 Subject: [Bug 3212] New: [IcedTea7] Disable ARM32 JIT by default Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3212 Bug ID: 3212 Summary: [IcedTea7] Disable ARM32 JIT by default Product: IcedTea Version: 7-hg Hardware: arm 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 The ARM32 JIT build is still failing because of bug 2942, so we should disable it by default for now, so users get the working Zero 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 Oct 27 17:27:52 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 17:27:52 +0000 Subject: [Bug 3212] [IcedTea7] Disable ARM32 JIT by default In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3212 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Target Milestone|--- |2.6.8 -- 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 Oct 27 17:29:27 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 17:29:27 +0000 Subject: [Bug 3213] New: [IcedTea6] Disable ARM32 JIT by default Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3213 Bug ID: 3213 Summary: [IcedTea6] Disable ARM32 JIT by default Product: IcedTea Version: 6-hg Hardware: arm 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 Clone of bug 3212 for IcedTea 1.x, due to bug 3196. -- 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 Oct 27 17:29:47 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Oct 2016 17:29:47 +0000 Subject: [Bug 3213] [IcedTea6] Disable ARM32 JIT by default In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3213 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Target Milestone|--- |6-1.13.13 -- 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 Oct 28 01:35:07 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 28 Oct 2016 01:35:07 +0000 Subject: /hg/icedtea7: 4 new changesets Message-ID: changeset cebac2cc1f7a in /hg/icedtea7 details: http://icedtea.classpath.org/hg/icedtea7?cmd=changeset;node=cebac2cc1f7a author: Andrew John Hughes date: Thu Oct 27 06:23:54 2016 +0100 PR3180: Support building without pre-compiled headers 2016-10-26 Andrew John Hughes PR3180: Support building without pre-compiled headers * INSTALL: Updated. * Makefile.am: (ICEDTEA_ENV): Set USE_PRECOMPILED_HEADER appropriately, according to whether DISABLE_PRECOMPILED_HEADERS is defined or not. * NEWS: Updated. * acinclude.m4: (IT_DISABLE_PRECOMPILED_HEADERS): New macro to provide the --disable-precompiled-headers option. * configure.ac: Invoke IT_DISABLE_PRECOMPILED_HEADERS. changeset 18f2aec9b670 in /hg/icedtea7 details: http://icedtea.classpath.org/hg/icedtea7?cmd=changeset;node=18f2aec9b670 author: Andrew John Hughes date: Thu Oct 27 07:01:33 2016 +0100 PR3211: AArch64 build fails with pre-compiled headers disabled 2016-10-26 Andrew John Hughes PR3211: AArch64 build fails with pre-compiled headers disabled * Makefile.am: (ICEDTEA_PATCHES): Add patch for PR3211. * NEWS: Updated. * patches/pr3211.patch: Add missing includes to AArch64 port. changeset 3e24116d0925 in /hg/icedtea7 details: http://icedtea.classpath.org/hg/icedtea7?cmd=changeset;node=3e24116d0925 author: Andrew John Hughes date: Thu Oct 27 18:28:42 2016 +0100 Backout S8157306, PR3209: Random infrequent null pointer exceptions in javac 2016-10-27 Andrew John Hughes S8157306, PR3209: Random infrequent null pointer exceptions in javac * Makefile.am: (ICEDTEA_PATCHES): Add backout patch for PR3209. * NEWS: Remove PR3209. * patches/pr3209-backout.patch: Backout PR3209 as it won't work without 8023988. changeset 7960746077db in /hg/icedtea7 details: http://icedtea.classpath.org/hg/icedtea7?cmd=changeset;node=7960746077db author: Andrew John Hughes date: Fri Oct 28 02:40:09 2016 +0100 Added tag icedtea-2.7.0pre08 for changeset 3e24116d0925 diffstat: .hgtags | 1 + ChangeLog | 34 ++++++++++++++++++++++++++++++++++ INSTALL | 1 + Makefile.am | 10 +++++++++- NEWS | 4 +++- acinclude.m4 | 22 ++++++++++++++++++++++ configure.ac | 1 + patches/pr3209-backout.patch | 28 ++++++++++++++++++++++++++++ patches/pr3211.patch | 33 +++++++++++++++++++++++++++++++++ 9 files changed, 132 insertions(+), 2 deletions(-) diffs (218 lines): diff -r 47c21fc24330 -r 7960746077db .hgtags --- a/.hgtags Thu Oct 27 05:40:14 2016 +0100 +++ b/.hgtags Fri Oct 28 02:40:09 2016 +0100 @@ -66,3 +66,4 @@ 89430c9d091b5a0a51d8ddf3111bf9f0ef038ff8 icedtea-2.7.0pre05 585a1a8b57bf67d3b66af9c97e406cce1f5a01d5 icedtea-2.7.0pre06 11416bb1b3088da4cacdb76646c83ab17dbcc842 icedtea-2.7.0pre07 +3e24116d0925954d0f117c9525a41833441d1be5 icedtea-2.7.0pre08 diff -r 47c21fc24330 -r 7960746077db ChangeLog --- a/ChangeLog Thu Oct 27 05:40:14 2016 +0100 +++ b/ChangeLog Fri Oct 28 02:40:09 2016 +0100 @@ -1,3 +1,37 @@ +2016-10-27 Andrew John Hughes + + S8157306, PR3209: Random infrequent null pointer + exceptions in javac + * Makefile.am: + (ICEDTEA_PATCHES): Add backout patch for PR3209. + * NEWS: Remove PR3209. + * patches/pr3209-backout.patch: + Backout PR3209 as it won't work without 8023988. + +2016-10-26 Andrew John Hughes + + PR3211: AArch64 build fails with pre-compiled + headers disabled + * Makefile.am: + (ICEDTEA_PATCHES): Add patch for PR3211. + * NEWS: Updated. + * patches/pr3211.patch: + Add missing includes to AArch64 port. + +2016-10-26 Andrew John Hughes + + PR3180: Support building without pre-compiled headers + * INSTALL: Updated. + * Makefile.am: + (ICEDTEA_ENV): Set USE_PRECOMPILED_HEADER + appropriately, according to whether + DISABLE_PRECOMPILED_HEADERS is defined or not. + * NEWS: Updated. + * acinclude.m4: + (IT_DISABLE_PRECOMPILED_HEADERS): New macro to + provide the --disable-precompiled-headers option. + * configure.ac: Invoke IT_DISABLE_PRECOMPILED_HEADERS. + 2016-10-26 Andrew John Hughes Bump to icedtea-2.7.0pre08. diff -r 47c21fc24330 -r 7960746077db INSTALL --- a/INSTALL Thu Oct 27 05:40:14 2016 +0100 +++ b/INSTALL Fri Oct 28 02:40:09 2016 +0100 @@ -258,6 +258,7 @@ * --enable-split-debuginfo: Strip debuginfo from binaries and libraries and install in .debug files under ${libdir}/debug instead. objcopy from binutils must be available to perform the stripping. +* --disable-precompiled-headers: Don't use pre-compiled headers. Testing ======= diff -r 47c21fc24330 -r 7960746077db Makefile.am --- a/Makefile.am Thu Oct 27 05:40:14 2016 +0100 +++ b/Makefile.am Fri Oct 28 02:40:09 2016 +0100 @@ -371,7 +371,7 @@ # Patch list -ICEDTEA_PATCHES = +ICEDTEA_PATCHES = patches/pr3211.patch patches/pr3209-backout.patch # Conditional patches @@ -747,6 +747,14 @@ ALT_CACERTS_FILE="${CACERTS_FILE}" endif +if DISABLE_PRECOMPILED_HEADERS +ICEDTEA_ENV += \ + USE_PRECOMPILED_HEADER=0 +else +ICEDTEA_ENV += \ + USE_PRECOMPILED_HEADER=1 +endif + # OpenJDK boot build environment. ICEDTEA_ENV_BOOT = $(ICEDTEA_ENV) \ BOOTCLASSPATH_CLS_RT="-bootclasspath $(CLS_DIR_BOOT):$(RUNTIME)" \ diff -r 47c21fc24330 -r 7960746077db NEWS --- a/NEWS Thu Oct 27 05:40:14 2016 +0100 +++ b/NEWS Fri Oct 28 02:40:09 2016 +0100 @@ -16,6 +16,8 @@ * Security fixes - PR3207, RH1367357: lcms2: Out-of-bounds read in Type_MLU_Read() +* New features + - PR3180: Support building without pre-compiled headers * Backports - S6604109, PR3162: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups - S6907252, PR3162: ZipFileInputStream Not Thread-Safe @@ -58,8 +60,8 @@ - PR3162: Remove reference to AbstractPlainDatagramSocketImpl.c, removed in 8072466 - PR3166: invalid zip timestamp handling leads to error building bootstrap-javac * AArch64 port - - S8157306, PR3209: Random infrequent null pointer exceptions in javac - S8167200: AArch64: Broken stack pointer adjustment in interpreter + - PR3211: AArch64 build fails with pre-compiled headers disabled New in release 2.6.7 (2016-07-28): diff -r 47c21fc24330 -r 7960746077db acinclude.m4 --- a/acinclude.m4 Thu Oct 27 05:40:14 2016 +0100 +++ b/acinclude.m4 Fri Oct 28 02:40:09 2016 +0100 @@ -3452,3 +3452,25 @@ AC_MSG_RESULT([$disable_systemtap_tests]) AM_CONDITIONAL([DISABLE_SYSTEMTAP_TESTS], test x"${disable_systemtap_tests}" = "xyes") ]) + +AC_DEFUN_ONCE([IT_DISABLE_PRECOMPILED_HEADERS], +[ + AC_MSG_CHECKING([whether to disable the use of pre-compiled headers]) + AC_ARG_ENABLE([precompiled-headers], + [AS_HELP_STRING(--disable-precompiled-headers,do not use pre-compiled headers [[default=no]])], + [ + case "${enableval}" in + no) + disable_precompiled_headers=yes + ;; + *) + disable_precompiled_headers=no + ;; + esac + ], + [ + disable_precompiled_headers=no + ]) + AC_MSG_RESULT([$disable_precompiled_headers]) + AM_CONDITIONAL([DISABLE_PRECOMPILED_HEADERS], test x"${disable_precompiled_headers}" = "xyes") +]) diff -r 47c21fc24330 -r 7960746077db configure.ac --- a/configure.ac Thu Oct 27 05:40:14 2016 +0100 +++ b/configure.ac Fri Oct 28 02:40:09 2016 +0100 @@ -61,6 +61,7 @@ IT_ENABLE_SUNEC IT_ENABLE_NATIVE_DEBUGINFO IT_ENABLE_JAVA_DEBUGINFO +IT_DISABLE_PRECOMPILED_HEADERS IT_WITH_FONTS_DIR AC_CONFIG_FILES([linux.fontconfig.Gentoo.properties]) diff -r 47c21fc24330 -r 7960746077db patches/pr3209-backout.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/pr3209-backout.patch Fri Oct 28 02:40:09 2016 +0100 @@ -0,0 +1,28 @@ +# HG changeset patch +# User andrew +# Date 1477589125 -3600 +# Thu Oct 27 18:25:25 2016 +0100 +# Node ID fff29c78ee406a290e5b79dc14a1b1a98de1d0f4 +# Parent f23cc792224c21431b71da6a31ab751ac6f5c236 +PR3209: Backed out changeset 3cc3ab869ccf + +diff --git a/src/share/vm/opto/lcm.cpp b/src/share/vm/opto/lcm.cpp +--- openjdk/hotspot/src/share/vm/opto/lcm.cpp ++++ openjdk/hotspot/src/share/vm/opto/lcm.cpp +@@ -1068,14 +1068,11 @@ + Block *sb = _succs[i]; + // Clone the entire area; ignoring the edge fixup for now. + for( uint j = end; j > beg; j-- ) { ++ // It is safe here to clone a node with anti_dependence ++ // since clones dominate on each path. + Node *clone = _nodes[j-1]->clone(); + sb->_nodes.insert( 1, clone ); + bbs.map(clone->_idx,sb); +-#ifdef AARCH64 +- if (clone->needs_anti_dependence_check()) { +- insert_anti_dependences(sb, clone); +- } +-#endif + } + } + diff -r 47c21fc24330 -r 7960746077db patches/pr3211.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/pr3211.patch Fri Oct 28 02:40:09 2016 +0100 @@ -0,0 +1,33 @@ +# HG changeset patch +# User andrew +# Date 1477547871 -3600 +# Thu Oct 27 06:57:51 2016 +0100 +# Node ID f23cc792224c21431b71da6a31ab751ac6f5c236 +# Parent 76e61db9631544414570a5238b66c12465e6a821 +PR3211: AArch64 build fails with pre-compiled headers disabled +Contributed-by: Tiago St??rmer Daitx + +diff --git a/src/cpu/aarch64/vm/assembler_aarch64.cpp b/src/cpu/aarch64/vm/assembler_aarch64.cpp +--- openjdk/hotspot/src/cpu/aarch64/vm/assembler_aarch64.cpp ++++ openjdk/hotspot/src/cpu/aarch64/vm/assembler_aarch64.cpp +@@ -64,6 +64,7 @@ + #include "gc_implementation/g1/heapRegion.hpp" + #endif + ++#include "opto/compile.hpp" + + extern "C" void entry(CodeBuffer *cb); + +diff --git a/src/cpu/aarch64/vm/vm_version_aarch64.cpp b/src/cpu/aarch64/vm/vm_version_aarch64.cpp +--- openjdk/hotspot/src/cpu/aarch64/vm/vm_version_aarch64.cpp ++++ openjdk/hotspot/src/cpu/aarch64/vm/vm_version_aarch64.cpp +@@ -25,6 +25,9 @@ + */ + + #include "precompiled.hpp" ++#include "asm/assembler.hpp" ++#include "asm/assembler.inline.hpp" ++#include "utilities/sizes.hpp" + #include "assembler_aarch64.hpp" + #include "memory/resourceArea.hpp" + #include "runtime/java.hpp" From bugzilla-daemon at icedtea.classpath.org Fri Oct 28 01:35:22 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 01:35:22 +0000 Subject: [Bug 3180] [IcedTea7] Support building without pre-compiled headers In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3180 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7?cmd=changeset;node=cebac2cc1f7a author: Andrew John Hughes date: Thu Oct 27 06:23:54 2016 +0100 PR3180: Support building without pre-compiled headers 2016-10-26 Andrew John Hughes PR3180: Support building without pre-compiled headers * INSTALL: Updated. * Makefile.am: (ICEDTEA_ENV): Set USE_PRECOMPILED_HEADER appropriately, according to whether DISABLE_PRECOMPILED_HEADERS is defined or not. * NEWS: Updated. * acinclude.m4: (IT_DISABLE_PRECOMPILED_HEADERS): New macro to provide the --disable-precompiled-headers option. * configure.ac: Invoke IT_DISABLE_PRECOMPILED_HEADERS. -- 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 Oct 28 01:35:29 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 01:35:29 +0000 Subject: [Bug 3211] [IcedTea7] AArch64 build fails with pre-compiled headers disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3211 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7?cmd=changeset;node=18f2aec9b670 author: Andrew John Hughes date: Thu Oct 27 07:01:33 2016 +0100 PR3211: AArch64 build fails with pre-compiled headers disabled 2016-10-26 Andrew John Hughes PR3211: AArch64 build fails with pre-compiled headers disabled * Makefile.am: (ICEDTEA_PATCHES): Add patch for PR3211. * NEWS: Updated. * patches/pr3211.patch: Add missing includes to AArch64 port. -- 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 Oct 28 01:35:35 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 01:35:35 +0000 Subject: [Bug 3209] [IcedTea7] Backport "8157306: Random infrequent null pointer exceptions in javac" In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3209 --- Comment #5 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7?cmd=changeset;node=3e24116d0925 author: Andrew John Hughes date: Thu Oct 27 18:28:42 2016 +0100 Backout S8157306, PR3209: Random infrequent null pointer exceptions in javac 2016-10-27 Andrew John Hughes S8157306, PR3209: Random infrequent null pointer exceptions in javac * Makefile.am: (ICEDTEA_PATCHES): Add backout patch for PR3209. * NEWS: Remove PR3209. * patches/pr3209-backout.patch: Backout PR3209 as it won't work without 8023988. -- 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 Oct 28 02:55:35 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 28 Oct 2016 02:55:35 +0000 Subject: /hg/release/icedtea7-forest-2.6: Added tag icedtea-2.6.8pre01 fo... Message-ID: changeset f8d11261ba1c in /hg/release/icedtea7-forest-2.6 details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6?cmd=changeset;node=f8d11261ba1c author: andrew date: Fri Oct 28 03:58:17 2016 +0100 Added tag icedtea-2.6.8pre01 for changeset a1ef40f591be diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r a1ef40f591be -r f8d11261ba1c .hgtags --- a/.hgtags Fri Jul 29 06:30:13 2016 +0100 +++ b/.hgtags Fri Oct 28 03:58:17 2016 +0100 @@ -658,3 +658,4 @@ bade1889699bab14082e84de3b40901964b52483 jdk7u111-b00 9b95c1ef81fe7bb010a6938d1cb97843b9a1fc68 jdk7u111-b01 6aafb6fe0a1e36055566484bef4f93dba6c05ad2 icedtea-2.6.7 +a1ef40f591be786c98967b07650992c32905bc38 icedtea-2.6.8pre01 From andrew at icedtea.classpath.org Fri Oct 28 02:55:40 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 28 Oct 2016 02:55:40 +0000 Subject: /hg/release/icedtea7-forest-2.6/corba: Added tag icedtea-2.6.8pr... Message-ID: changeset 3a1f34a6658b in /hg/release/icedtea7-forest-2.6/corba details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/corba?cmd=changeset;node=3a1f34a6658b author: andrew date: Fri Oct 28 03:58:10 2016 +0100 Added tag icedtea-2.6.8pre01 for changeset 8bceffc6f67e diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 8bceffc6f67e -r 3a1f34a6658b .hgtags --- a/.hgtags Fri Jul 29 06:30:07 2016 +0100 +++ b/.hgtags Fri Oct 28 03:58:10 2016 +0100 @@ -660,3 +660,4 @@ c1def4cc27fb92914168a5f65658eba4a1754dfe jdk7u111-b00 36715cc029596f86e977d486e547f62bb07eed74 jdk7u111-b01 e5578d3bc593a075da3286a8e804dacb86e2e466 icedtea-2.6.7 +8bceffc6f67ec6202f067578051a94fd449e43b2 icedtea-2.6.8pre01 From andrew at icedtea.classpath.org Fri Oct 28 02:55:45 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 28 Oct 2016 02:55:45 +0000 Subject: /hg/release/icedtea7-forest-2.6/jaxp: Added tag icedtea-2.6.8pre... Message-ID: changeset a9ce5cc562c2 in /hg/release/icedtea7-forest-2.6/jaxp details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jaxp?cmd=changeset;node=a9ce5cc562c2 author: andrew date: Fri Oct 28 03:58:12 2016 +0100 Added tag icedtea-2.6.8pre01 for changeset dfe9f8c968df diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r dfe9f8c968df -r a9ce5cc562c2 .hgtags --- a/.hgtags Fri Jul 29 06:30:08 2016 +0100 +++ b/.hgtags Fri Oct 28 03:58:12 2016 +0100 @@ -661,3 +661,4 @@ be2127cf0435d141d8072a94dbe75a527ceda453 jdk7u111-b00 cd13b280e8247904509c28ee8aa9b45326185dd7 jdk7u111-b01 b643540c673d0018dbed0673c8c20ca763be7c7d icedtea-2.6.7 +dfe9f8c968dfa846dbaf36f5605acd4e10764d65 icedtea-2.6.8pre01 From andrew at icedtea.classpath.org Fri Oct 28 02:55:50 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 28 Oct 2016 02:55:50 +0000 Subject: /hg/release/icedtea7-forest-2.6/jaxws: Added tag icedtea-2.6.8pr... Message-ID: changeset 533e8e09735f in /hg/release/icedtea7-forest-2.6/jaxws details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jaxws?cmd=changeset;node=533e8e09735f author: andrew date: Fri Oct 28 03:58:13 2016 +0100 Added tag icedtea-2.6.8pre01 for changeset 6ae901b45031 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 6ae901b45031 -r 533e8e09735f .hgtags --- a/.hgtags Fri Jul 29 06:30:09 2016 +0100 +++ b/.hgtags Fri Oct 28 03:58:13 2016 +0100 @@ -660,3 +660,4 @@ 8fd4ada6c5d5c3f71cc52cc2af97c971a58c6b53 jdk7u111-b00 18074c212a8997055baa9aca9e9ae0dbbe90e1f4 jdk7u111-b01 4a99f4eac2574c1d6c076b835e112d42ba7fbc7c icedtea-2.6.7 +6ae901b4503169508c710114b7cd1a701e86bea1 icedtea-2.6.8pre01 From andrew at icedtea.classpath.org Fri Oct 28 02:55:55 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 28 Oct 2016 02:55:55 +0000 Subject: /hg/release/icedtea7-forest-2.6/langtools: Added tag icedtea-2.6... Message-ID: changeset 0b52b46edad2 in /hg/release/icedtea7-forest-2.6/langtools details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/langtools?cmd=changeset;node=0b52b46edad2 author: andrew date: Fri Oct 28 03:58:17 2016 +0100 Added tag icedtea-2.6.8pre01 for changeset 2e6c46aea99f diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 2e6c46aea99f -r 0b52b46edad2 .hgtags --- a/.hgtags Fri Jul 29 06:30:12 2016 +0100 +++ b/.hgtags Fri Oct 28 03:58:17 2016 +0100 @@ -660,3 +660,4 @@ e65eb66727550af75293996fc42e2c49c2002659 jdk7u111-b00 a5002845bff276d1a8e4bdb4a0dcb972509f7d07 jdk7u111-b01 ca9d8b242a10f1987375b8eca38b368ee23db334 icedtea-2.6.7 +2e6c46aea99fdd650e5ff40877a98f466361e9dc icedtea-2.6.8pre01 From andrew at icedtea.classpath.org Fri Oct 28 02:56:02 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 28 Oct 2016 02:56:02 +0000 Subject: /hg/release/icedtea7-forest-2.6/hotspot: 3 new changesets Message-ID: changeset b2f113534842 in /hg/release/icedtea7-forest-2.6/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=b2f113534842 author: andrew date: Thu Oct 27 06:57:51 2016 +0100 PR3211: AArch64 build fails with pre-compiled headers disabled Contributed-by: Tiago St?rmer Daitx changeset 6b87ff3af68f in /hg/release/icedtea7-forest-2.6/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=6b87ff3af68f author: andrew date: Fri Oct 28 02:39:04 2016 +0100 PR3209: Backed out changeset 0771982261c9 changeset 4fe1f6b9a13b in /hg/release/icedtea7-forest-2.6/hotspot details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=4fe1f6b9a13b author: andrew date: Fri Oct 28 03:58:19 2016 +0100 Added tag icedtea-2.6.8pre01 for changeset 6b87ff3af68f diffstat: .hgtags | 1 + src/cpu/aarch64/vm/assembler_aarch64.cpp | 1 + src/cpu/aarch64/vm/vm_version_aarch64.cpp | 3 +++ src/share/vm/opto/lcm.cpp | 7 ++----- 4 files changed, 7 insertions(+), 5 deletions(-) diffs (52 lines): diff -r 0771982261c9 -r 4fe1f6b9a13b .hgtags --- a/.hgtags Wed Oct 26 05:40:47 2016 +0100 +++ b/.hgtags Fri Oct 28 03:58:19 2016 +0100 @@ -895,3 +895,4 @@ 14d0f4da4a74897fc3274f8f549f41544bb4625a jdk7u111-b00 9efa3fae3c278a7f48badec775d7f9b2d5320b6d jdk7u111-b01 75297b84957ed87867b0863be1a895a0de76d994 icedtea-2.6.7 +6b87ff3af68f636e473e2254c8e9a8c36ca514a6 icedtea-2.6.8pre01 diff -r 0771982261c9 -r 4fe1f6b9a13b src/cpu/aarch64/vm/assembler_aarch64.cpp --- a/src/cpu/aarch64/vm/assembler_aarch64.cpp Wed Oct 26 05:40:47 2016 +0100 +++ b/src/cpu/aarch64/vm/assembler_aarch64.cpp Fri Oct 28 03:58:19 2016 +0100 @@ -64,6 +64,7 @@ #include "gc_implementation/g1/heapRegion.hpp" #endif +#include "opto/compile.hpp" extern "C" void entry(CodeBuffer *cb); diff -r 0771982261c9 -r 4fe1f6b9a13b src/cpu/aarch64/vm/vm_version_aarch64.cpp --- a/src/cpu/aarch64/vm/vm_version_aarch64.cpp Wed Oct 26 05:40:47 2016 +0100 +++ b/src/cpu/aarch64/vm/vm_version_aarch64.cpp Fri Oct 28 03:58:19 2016 +0100 @@ -25,6 +25,9 @@ */ #include "precompiled.hpp" +#include "asm/assembler.hpp" +#include "asm/assembler.inline.hpp" +#include "utilities/sizes.hpp" #include "assembler_aarch64.hpp" #include "memory/resourceArea.hpp" #include "runtime/java.hpp" diff -r 0771982261c9 -r 4fe1f6b9a13b src/share/vm/opto/lcm.cpp --- a/src/share/vm/opto/lcm.cpp Wed Oct 26 05:40:47 2016 +0100 +++ b/src/share/vm/opto/lcm.cpp Fri Oct 28 03:58:19 2016 +0100 @@ -1068,14 +1068,11 @@ Block *sb = _succs[i]; // Clone the entire area; ignoring the edge fixup for now. for( uint j = end; j > beg; j-- ) { + // It is safe here to clone a node with anti_dependence + // since clones dominate on each path. Node *clone = _nodes[j-1]->clone(); sb->_nodes.insert( 1, clone ); bbs.map(clone->_idx,sb); -#ifdef AARCH64 - if (clone->needs_anti_dependence_check()) { - insert_anti_dependences(sb, clone); - } -#endif } } From bugzilla-daemon at icedtea.classpath.org Fri Oct 28 02:56:07 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 02:56:07 +0000 Subject: [Bug 3211] [IcedTea7] AArch64 build fails with pre-compiled headers disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3211 --- Comment #2 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=b2f113534842 author: andrew date: Thu Oct 27 06:57:51 2016 +0100 PR3211: AArch64 build fails with pre-compiled headers disabled Contributed-by: Tiago St?rmer Daitx -- 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 Oct 28 02:56:12 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 02:56:12 +0000 Subject: [Bug 3209] [IcedTea7] Backport "8157306: Random infrequent null pointer exceptions in javac" In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3209 --- Comment #6 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/hotspot?cmd=changeset;node=6b87ff3af68f author: andrew date: Fri Oct 28 02:39:04 2016 +0100 PR3209: Backed out changeset 0771982261c9 -- 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 Oct 28 02:56:19 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 28 Oct 2016 02:56:19 +0000 Subject: /hg/release/icedtea7-forest-2.6/jdk: Added tag icedtea-2.6.8pre0... Message-ID: changeset c19cbbc72b58 in /hg/release/icedtea7-forest-2.6/jdk details: http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=c19cbbc72b58 author: andrew date: Fri Oct 28 03:58:15 2016 +0100 Added tag icedtea-2.6.8pre01 for changeset 0819886b3679 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 0819886b3679 -r c19cbbc72b58 .hgtags --- a/.hgtags Thu Oct 27 05:43:20 2016 +0100 +++ b/.hgtags Fri Oct 28 03:58:15 2016 +0100 @@ -647,3 +647,4 @@ a7267e8244b9418af15b1103b4d906e8c6a61bc0 jdk7u111-b00 cc1ed9a351886645eb729144696e41d187564ec2 jdk7u111-b01 8b6b930489cb0e1ed821f0b37a76fc01700353fd icedtea-2.6.7 +0819886b3679a520ed54cf9fb0e437d1cc4175cf icedtea-2.6.8pre01 From andrew at icedtea.classpath.org Fri Oct 28 06:44:14 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 28 Oct 2016 06:44:14 +0000 Subject: /hg/release/icedtea7-2.6: Bump to icedtea-2.6.8pre01. Message-ID: changeset 749a80f8d0f4 in /hg/release/icedtea7-2.6 details: http://icedtea.classpath.org/hg/release/icedtea7-2.6?cmd=changeset;node=749a80f8d0f4 author: Andrew John Hughes date: Fri Oct 28 07:49:21 2016 +0100 Bump to icedtea-2.6.8pre01. Upstream changes: - Bump to icedtea-2.6.8pre01 - PR3207, RH1367357: lcms2: Out-of-bounds read in Type_MLU_Read() - PR3209: Backed out changeset 0771982261c9 - PR3211: AArch64 build fails with pre-compiled headers disabled - S6604109, PR3162: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups - S6907252, PR3162: ZipFileInputStream Not Thread-Safe - S8024046, PR3162: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc* - S8028479, PR3162: runNameEquals still cannot precisely detect if a usable native krb5 is available - S8034057, PR3162: Files.getFileStore and Files.isWritable do not work with SUBST'ed drives (win) - S8038491, PR3162: Improve synchronization in ZipFile.read() - S8038502, PR3162: Deflater.needsInput() should use synchronization - S8059411, PR3162: RowSetWarning does not correctly chain warnings - S8062198, PR3162: Add RowSetMetaDataImpl Tests and add column range validation to isdefinitlyWritable - S8066188, PR3162: BaseRowSet returns the wrong default value for escape processing - S8072466, PR3162: Deadlock when initializing MulticastSocket and DatagramSocket - S8075118, PR3162: JVM stuck in infinite loop during verification - S8076579, PR3162: Popping a stack frame after exception breakpoint sets last method param to exception - S8078495, PR3162: End time checking for native TGT is wrong - S8078628, PR3151: Zero build fails with pre-compiled headers disabled - S8078668, PR3162: jar usage string mentions unsupported option '-n' - S8080115, PR3162: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads - S8081794, PR3162: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem - S8129957, PR3162: Deadlock in JNDI LDAP implementation when closing the LDAP context - S8130136, PR3162: Swing window sometimes fails to repaint partially when it becomes exposed - S8130274, PR3162: java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal - S8132551, PR3162: Initialize local variables before returning them in p11_convert.c - S8133207, PR3162: [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115 - S8133666, PR3162: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux - S8135002, PR3162: Fix or remove broken links in objectMonitor.cpp comments - S8137121, PR3162: (fc) Infinite loop FileChannel.truncate - S8137230, PR3162: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out - S8139373, PR3162: [TEST_BUG] java/net/MulticastSocket/MultiDead.java failed with timeout - S8140249, PR3162: JVM Crashing During startUp If Flight Recording is enabled - S8141491, PR3160, G592292: Unaligned memory access in Bits.c - S8144483, PR3162: One long Safepoint pause directly after each GC log rotation - S8149611, PR3160, G592292: Add tests for Unsafe.copySwapMemory - S8157306, PR3209: Random infrequent null pointer exceptions in javac - S8167200, PR3204: AArch64: Broken stack pointer adjustment in interpreter ChangeLog: 2016-10-27 Andrew John Hughes * Makefile.am, (CORBA_CHANGESET): Update to icedtea-2.6.8pre01. (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. * configure.ac: Bump to 2.6.8pre01. * hotspot.map.in: Update to icedtea-2.6.8pre01. * patches/boot/ecj-diamond.patch: Add new case in com.sun.jndi.ldap.LdapClient. diffstat: ChangeLog | 21 +++++++++++++++++++++ Makefile.am | 26 +++++++++++++------------- NEWS | 40 ++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- hotspot.map.in | 2 +- patches/boot/ecj-diamond.patch | 12 ++++++++++++ 6 files changed, 88 insertions(+), 15 deletions(-) diffs (149 lines): diff -r deb3cbe59927 -r 749a80f8d0f4 ChangeLog --- a/ChangeLog Fri Jul 29 07:33:57 2016 +0100 +++ b/ChangeLog Fri Oct 28 07:49:21 2016 +0100 @@ -1,3 +1,24 @@ +2016-10-27 Andrew John Hughes + + * Makefile.am, + (CORBA_CHANGESET): Update to icedtea-2.6.8pre01. + (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. + * configure.ac: Bump to 2.6.8pre01. + * hotspot.map.in: Update to icedtea-2.6.8pre01. + * patches/boot/ecj-diamond.patch: + Add new case in com.sun.jndi.ldap.LdapClient. + 2016-07-28 Andrew John Hughes * NEWS: Add section for 2.6.8. diff -r deb3cbe59927 -r 749a80f8d0f4 Makefile.am --- a/Makefile.am Fri Jul 29 07:33:57 2016 +0100 +++ b/Makefile.am Fri Oct 28 07:49:21 2016 +0100 @@ -4,19 +4,19 @@ BUILD_VERSION = b01 COMBINED_VERSION = $(JDK_UPDATE_VERSION)-$(BUILD_VERSION) -CORBA_CHANGESET = e5578d3bc593 -JAXP_CHANGESET = b643540c673d -JAXWS_CHANGESET = 4a99f4eac257 -JDK_CHANGESET = 8b6b930489cb -LANGTOOLS_CHANGESET = ca9d8b242a10 -OPENJDK_CHANGESET = 6aafb6fe0a1e - -CORBA_SHA256SUM = 0049439ea08f8391c0dae464ceb249f0af9d8e70c68142a734ceb25fa145e764 -JAXP_SHA256SUM = 9fbd60855406879b898843d7eeac2a5df64b0ccdeb927c615c5be648b8fac70b -JAXWS_SHA256SUM = c9fcc1553bbb4fe1dd5ae4616b6a1f52f42c2bb990fd1cbdafeac43bfd6b30f7 -JDK_SHA256SUM = e93cd330b2346bc6145bb76a141233aa1cc083eb25bbc82819632e1581290d81 -LANGTOOLS_SHA256SUM = 13e700318ed4a00bc85890525a1fe16b7ff4798ad9e49acdf730b6dfe1a6b4e4 -OPENJDK_SHA256SUM = 5cacafbe543ad4b9179ab1cbfdb7d9baf8aa04d954510b9e7baf0bfef7db6878 +CORBA_CHANGESET = 8bceffc6f67e +JAXP_CHANGESET = dfe9f8c968df +JAXWS_CHANGESET = 6ae901b45031 +JDK_CHANGESET = 0819886b3679 +LANGTOOLS_CHANGESET = 2e6c46aea99f +OPENJDK_CHANGESET = a1ef40f591be + +CORBA_SHA256SUM = 2fba0616b7d0e3bb92444716cc0dc2d825804229a5ca7a8691273d033982edd9 +JAXP_SHA256SUM = 7c1b733af9d3c547b64ee68e08b4376157c63a36d52ca9f4f4172eaec91777e7 +JAXWS_SHA256SUM = 20595307adc6042cb7e2daeca20455eb5d11286a9a1b86cd4ad332c0dabe6fc9 +JDK_SHA256SUM = a143425c38a6425aa30f2d3692d134d12d94e1f02383f6db085e012c6d364679 +LANGTOOLS_SHA256SUM = ff5db42f78da9126c15ccc00a47f3a58f138a30cb53e7005e370cf6437ad6a32 +OPENJDK_SHA256SUM = 3d6da494b0183521fa291d6d81ba8b202b66b58ce5980c39312c2272ad0f8b18 DROP_URL = http://icedtea.classpath.org/download/drops diff -r deb3cbe59927 -r 749a80f8d0f4 NEWS --- a/NEWS Fri Jul 29 07:33:57 2016 +0100 +++ b/NEWS Fri Oct 28 07:49:21 2016 +0100 @@ -14,6 +14,46 @@ New in release 2.6.8 (2016-10-XX): +* Security fixes + - PR3207, RH1367357: lcms2: Out-of-bounds read in Type_MLU_Read() +* Backports + - S6604109, PR3162: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups + - S6907252, PR3162: ZipFileInputStream Not Thread-Safe + - S8024046, PR3162: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc* + - S8028479, PR3162: runNameEquals still cannot precisely detect if a usable native krb5 is available + - S8034057, PR3162: Files.getFileStore and Files.isWritable do not work with SUBST'ed drives (win) + - S8038491, PR3162: Improve synchronization in ZipFile.read() + - S8038502, PR3162: Deflater.needsInput() should use synchronization + - S8059411, PR3162: RowSetWarning does not correctly chain warnings + - S8062198, PR3162: Add RowSetMetaDataImpl Tests and add column range validation to isdefinitlyWritable + - S8066188, PR3162: BaseRowSet returns the wrong default value for escape processing + - S8072466, PR3162: Deadlock when initializing MulticastSocket and DatagramSocket + - S8075118, PR3162: JVM stuck in infinite loop during verification + - S8076579, PR3162: Popping a stack frame after exception breakpoint sets last method param to exception + - S8078495, PR3162: End time checking for native TGT is wrong + - S8078668, PR3162: jar usage string mentions unsupported option '-n' + - S8080115, PR3162: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads + - S8081794, PR3162: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem + - S8129957, PR3162: Deadlock in JNDI LDAP implementation when closing the LDAP context + - S8130136, PR3162: Swing window sometimes fails to repaint partially when it becomes exposed + - S8130274, PR3162: java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal + - S8132551, PR3162: Initialize local variables before returning them in p11_convert.c + - S8133207, PR3162: [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115 + - S8133666, PR3162: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux + - S8135002, PR3162: Fix or remove broken links in objectMonitor.cpp comments + - S8137121, PR3162: (fc) Infinite loop FileChannel.truncate + - S8137230, PR3162: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out + - S8139373, PR3162: [TEST_BUG] java/net/MulticastSocket/MultiDead.java failed with timeout + - S8140249, PR3162: JVM Crashing During startUp If Flight Recording is enabled + - S8141491, PR3160, G592292: Unaligned memory access in Bits.c + - S8144483, PR3162: One long Safepoint pause directly after each GC log rotation + - S8149611, PR3160, G592292: Add tests for Unsafe.copySwapMemory +* Bug fixes + - S8078628, PR3151: Zero build fails with pre-compiled headers disabled +* AArch64 port + - S8167200, PR3204: AArch64: Broken stack pointer adjustment in interpreter + - PR3211: AArch64 build fails with pre-compiled headers disabled + New in release 2.6.7 (2016-07-28): * Security fixes diff -r deb3cbe59927 -r 749a80f8d0f4 configure.ac --- a/configure.ac Fri Jul 29 07:33:57 2016 +0100 +++ b/configure.ac Fri Oct 28 07:49:21 2016 +0100 @@ -1,4 +1,4 @@ -AC_INIT([icedtea], [2.6.8pre00], [distro-pkg-dev at openjdk.java.net]) +AC_INIT([icedtea], [2.6.8pre01], [distro-pkg-dev at openjdk.java.net]) AM_INIT_AUTOMAKE([1.9 tar-pax foreign]) AM_MAINTAINER_MODE([enable]) AC_CONFIG_FILES([Makefile]) diff -r deb3cbe59927 -r 749a80f8d0f4 hotspot.map.in --- a/hotspot.map.in Fri Jul 29 07:33:57 2016 +0100 +++ b/hotspot.map.in Fri Oct 28 07:49:21 2016 +0100 @@ -1,2 +1,2 @@ # version type(drop/hg) url changeset sha256sum -default drop http://icedtea.classpath.org/download/drops/icedtea7/@ICEDTEA_RELEASE@ 75297b84957e 0412594f4dabd77a759957bba038aedf277dee87d06153505fb63919c0cb6a5c +default drop http://icedtea.classpath.org/download/drops/icedtea7/@ICEDTEA_RELEASE@ 6b87ff3af68f 039b3c2faec71ed6f0f92398a5bb7a0edc5507a7af3c88c80fad8d678781690a diff -r deb3cbe59927 -r 749a80f8d0f4 patches/boot/ecj-diamond.patch --- a/patches/boot/ecj-diamond.patch Fri Jul 29 07:33:57 2016 +0100 +++ b/patches/boot/ecj-diamond.patch Fri Oct 28 07:49:21 2016 +0100 @@ -9132,3 +9132,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/com/sun/jndi/ldap/LdapClient.java openjdk-boot/jdk/src/share/classes/com/sun/jndi/ldap/LdapClient.java +--- openjdk-boot.orig/jdk/src/share/classes/com/sun/jndi/ldap/LdapClient.java 2016-10-27 04:53:38.758268589 +0100 ++++ openjdk-boot/jdk/src/share/classes/com/sun/jndi/ldap/LdapClient.java 2016-10-27 04:53:54.718000231 +0100 +@@ -1571,7 +1571,7 @@ + private void notifyUnsolicited(Object e) { + Vector unsolicitedCopy; + synchronized (unsolicited) { +- unsolicitedCopy = new Vector<>(unsolicited); ++ unsolicitedCopy = new Vector(unsolicited); + if (e instanceof NamingException) { + unsolicited.setSize(0); // no more listeners after exception + } From bugzilla-daemon at icedtea.classpath.org Fri Oct 28 06:44:30 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 06:44:30 +0000 Subject: [Bug 3204] [IcedTea7] Backport latest AArch64 fixes to release branch for 2.6.8 In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3204 --- Comment #2 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-2.6?cmd=changeset;node=749a80f8d0f4 author: Andrew John Hughes date: Fri Oct 28 07:49:21 2016 +0100 Bump to icedtea-2.6.8pre01. Upstream changes: - Bump to icedtea-2.6.8pre01 - PR3207, RH1367357: lcms2: Out-of-bounds read in Type_MLU_Read() - PR3209: Backed out changeset 0771982261c9 - PR3211: AArch64 build fails with pre-compiled headers disabled - S6604109, PR3162: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups - S6907252, PR3162: ZipFileInputStream Not Thread-Safe - S8024046, PR3162: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc* - S8028479, PR3162: runNameEquals still cannot precisely detect if a usable native krb5 is available - S8034057, PR3162: Files.getFileStore and Files.isWritable do not work with SUBST'ed drives (win) - S8038491, PR3162: Improve synchronization in ZipFile.read() - S8038502, PR3162: Deflater.needsInput() should use synchronization - S8059411, PR3162: RowSetWarning does not correctly chain warnings - S8062198, PR3162: Add RowSetMetaDataImpl Tests and add column range validation to isdefinitlyWritable - S8066188, PR3162: BaseRowSet returns the wrong default value for escape processing - S8072466, PR3162: Deadlock when initializing MulticastSocket and DatagramSocket - S8075118, PR3162: JVM stuck in infinite loop during verification - S8076579, PR3162: Popping a stack frame after exception breakpoint sets last method param to exception - S8078495, PR3162: End time checking for native TGT is wrong - S8078628, PR3151: Zero build fails with pre-compiled headers disabled - S8078668, PR3162: jar usage string mentions unsupported option '-n' - S8080115, PR3162: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads - S8081794, PR3162: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem - S8129957, PR3162: Deadlock in JNDI LDAP implementation when closing the LDAP context - S8130136, PR3162: Swing window sometimes fails to repaint partially when it becomes exposed - S8130274, PR3162: java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal - S8132551, PR3162: Initialize local variables before returning them in p11_convert.c - S8133207, PR3162: [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115 - S8133666, PR3162: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux - S8135002, PR3162: Fix or remove broken links in objectMonitor.cpp comments - S8137121, PR3162: (fc) Infinite loop FileChannel.truncate - S8137230, PR3162: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out - S8139373, PR3162: [TEST_BUG] java/net/MulticastSocket/MultiDead.java failed with timeout - S8140249, PR3162: JVM Crashing During startUp If Flight Recording is enabled - S8141491, PR3160, G592292: Unaligned memory access in Bits.c - S8144483, PR3162: One long Safepoint pause directly after each GC log rotation - S8149611, PR3160, G592292: Add tests for Unsafe.copySwapMemory - S8157306, PR3209: Random infrequent null pointer exceptions in javac - S8167200, PR3204: AArch64: Broken stack pointer adjustment in interpreter ChangeLog: 2016-10-27 Andrew John Hughes * Makefile.am, (CORBA_CHANGESET): Update to icedtea-2.6.8pre01. (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. * configure.ac: Bump to 2.6.8pre01. * hotspot.map.in: Update to icedtea-2.6.8pre01. * patches/boot/ecj-diamond.patch: Add new case in com.sun.jndi.ldap.LdapClient. -- 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 Oct 28 06:44:33 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 06:44:33 +0000 Subject: [Bug 3207] [IcedTea7] lcms2: Out-of-bounds read in Type_MLU_Read() In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3207 --- Comment #4 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-2.6?cmd=changeset;node=749a80f8d0f4 author: Andrew John Hughes date: Fri Oct 28 07:49:21 2016 +0100 Bump to icedtea-2.6.8pre01. Upstream changes: - Bump to icedtea-2.6.8pre01 - PR3207, RH1367357: lcms2: Out-of-bounds read in Type_MLU_Read() - PR3209: Backed out changeset 0771982261c9 - PR3211: AArch64 build fails with pre-compiled headers disabled - S6604109, PR3162: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups - S6907252, PR3162: ZipFileInputStream Not Thread-Safe - S8024046, PR3162: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc* - S8028479, PR3162: runNameEquals still cannot precisely detect if a usable native krb5 is available - S8034057, PR3162: Files.getFileStore and Files.isWritable do not work with SUBST'ed drives (win) - S8038491, PR3162: Improve synchronization in ZipFile.read() - S8038502, PR3162: Deflater.needsInput() should use synchronization - S8059411, PR3162: RowSetWarning does not correctly chain warnings - S8062198, PR3162: Add RowSetMetaDataImpl Tests and add column range validation to isdefinitlyWritable - S8066188, PR3162: BaseRowSet returns the wrong default value for escape processing - S8072466, PR3162: Deadlock when initializing MulticastSocket and DatagramSocket - S8075118, PR3162: JVM stuck in infinite loop during verification - S8076579, PR3162: Popping a stack frame after exception breakpoint sets last method param to exception - S8078495, PR3162: End time checking for native TGT is wrong - S8078628, PR3151: Zero build fails with pre-compiled headers disabled - S8078668, PR3162: jar usage string mentions unsupported option '-n' - S8080115, PR3162: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads - S8081794, PR3162: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem - S8129957, PR3162: Deadlock in JNDI LDAP implementation when closing the LDAP context - S8130136, PR3162: Swing window sometimes fails to repaint partially when it becomes exposed - S8130274, PR3162: java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal - S8132551, PR3162: Initialize local variables before returning them in p11_convert.c - S8133207, PR3162: [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115 - S8133666, PR3162: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux - S8135002, PR3162: Fix or remove broken links in objectMonitor.cpp comments - S8137121, PR3162: (fc) Infinite loop FileChannel.truncate - S8137230, PR3162: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out - S8139373, PR3162: [TEST_BUG] java/net/MulticastSocket/MultiDead.java failed with timeout - S8140249, PR3162: JVM Crashing During startUp If Flight Recording is enabled - S8141491, PR3160, G592292: Unaligned memory access in Bits.c - S8144483, PR3162: One long Safepoint pause directly after each GC log rotation - S8149611, PR3160, G592292: Add tests for Unsafe.copySwapMemory - S8157306, PR3209: Random infrequent null pointer exceptions in javac - S8167200, PR3204: AArch64: Broken stack pointer adjustment in interpreter ChangeLog: 2016-10-27 Andrew John Hughes * Makefile.am, (CORBA_CHANGESET): Update to icedtea-2.6.8pre01. (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. * configure.ac: Bump to 2.6.8pre01. * hotspot.map.in: Update to icedtea-2.6.8pre01. * patches/boot/ecj-diamond.patch: Add new case in com.sun.jndi.ldap.LdapClient. -- 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 Oct 28 06:44:36 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 06:44:36 +0000 Subject: [Bug 3209] [IcedTea7] Backport "8157306: Random infrequent null pointer exceptions in javac" In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3209 --- Comment #7 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-2.6?cmd=changeset;node=749a80f8d0f4 author: Andrew John Hughes date: Fri Oct 28 07:49:21 2016 +0100 Bump to icedtea-2.6.8pre01. Upstream changes: - Bump to icedtea-2.6.8pre01 - PR3207, RH1367357: lcms2: Out-of-bounds read in Type_MLU_Read() - PR3209: Backed out changeset 0771982261c9 - PR3211: AArch64 build fails with pre-compiled headers disabled - S6604109, PR3162: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups - S6907252, PR3162: ZipFileInputStream Not Thread-Safe - S8024046, PR3162: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc* - S8028479, PR3162: runNameEquals still cannot precisely detect if a usable native krb5 is available - S8034057, PR3162: Files.getFileStore and Files.isWritable do not work with SUBST'ed drives (win) - S8038491, PR3162: Improve synchronization in ZipFile.read() - S8038502, PR3162: Deflater.needsInput() should use synchronization - S8059411, PR3162: RowSetWarning does not correctly chain warnings - S8062198, PR3162: Add RowSetMetaDataImpl Tests and add column range validation to isdefinitlyWritable - S8066188, PR3162: BaseRowSet returns the wrong default value for escape processing - S8072466, PR3162: Deadlock when initializing MulticastSocket and DatagramSocket - S8075118, PR3162: JVM stuck in infinite loop during verification - S8076579, PR3162: Popping a stack frame after exception breakpoint sets last method param to exception - S8078495, PR3162: End time checking for native TGT is wrong - S8078628, PR3151: Zero build fails with pre-compiled headers disabled - S8078668, PR3162: jar usage string mentions unsupported option '-n' - S8080115, PR3162: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads - S8081794, PR3162: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem - S8129957, PR3162: Deadlock in JNDI LDAP implementation when closing the LDAP context - S8130136, PR3162: Swing window sometimes fails to repaint partially when it becomes exposed - S8130274, PR3162: java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal - S8132551, PR3162: Initialize local variables before returning them in p11_convert.c - S8133207, PR3162: [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115 - S8133666, PR3162: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux - S8135002, PR3162: Fix or remove broken links in objectMonitor.cpp comments - S8137121, PR3162: (fc) Infinite loop FileChannel.truncate - S8137230, PR3162: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out - S8139373, PR3162: [TEST_BUG] java/net/MulticastSocket/MultiDead.java failed with timeout - S8140249, PR3162: JVM Crashing During startUp If Flight Recording is enabled - S8141491, PR3160, G592292: Unaligned memory access in Bits.c - S8144483, PR3162: One long Safepoint pause directly after each GC log rotation - S8149611, PR3160, G592292: Add tests for Unsafe.copySwapMemory - S8157306, PR3209: Random infrequent null pointer exceptions in javac - S8167200, PR3204: AArch64: Broken stack pointer adjustment in interpreter ChangeLog: 2016-10-27 Andrew John Hughes * Makefile.am, (CORBA_CHANGESET): Update to icedtea-2.6.8pre01. (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. * configure.ac: Bump to 2.6.8pre01. * hotspot.map.in: Update to icedtea-2.6.8pre01. * patches/boot/ecj-diamond.patch: Add new case in com.sun.jndi.ldap.LdapClient. -- 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 Oct 28 06:44:39 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 06:44:39 +0000 Subject: [Bug 3211] [IcedTea7] AArch64 build fails with pre-compiled headers disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3211 --- Comment #3 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-2.6?cmd=changeset;node=749a80f8d0f4 author: Andrew John Hughes date: Fri Oct 28 07:49:21 2016 +0100 Bump to icedtea-2.6.8pre01. Upstream changes: - Bump to icedtea-2.6.8pre01 - PR3207, RH1367357: lcms2: Out-of-bounds read in Type_MLU_Read() - PR3209: Backed out changeset 0771982261c9 - PR3211: AArch64 build fails with pre-compiled headers disabled - S6604109, PR3162: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups - S6907252, PR3162: ZipFileInputStream Not Thread-Safe - S8024046, PR3162: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc* - S8028479, PR3162: runNameEquals still cannot precisely detect if a usable native krb5 is available - S8034057, PR3162: Files.getFileStore and Files.isWritable do not work with SUBST'ed drives (win) - S8038491, PR3162: Improve synchronization in ZipFile.read() - S8038502, PR3162: Deflater.needsInput() should use synchronization - S8059411, PR3162: RowSetWarning does not correctly chain warnings - S8062198, PR3162: Add RowSetMetaDataImpl Tests and add column range validation to isdefinitlyWritable - S8066188, PR3162: BaseRowSet returns the wrong default value for escape processing - S8072466, PR3162: Deadlock when initializing MulticastSocket and DatagramSocket - S8075118, PR3162: JVM stuck in infinite loop during verification - S8076579, PR3162: Popping a stack frame after exception breakpoint sets last method param to exception - S8078495, PR3162: End time checking for native TGT is wrong - S8078628, PR3151: Zero build fails with pre-compiled headers disabled - S8078668, PR3162: jar usage string mentions unsupported option '-n' - S8080115, PR3162: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads - S8081794, PR3162: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem - S8129957, PR3162: Deadlock in JNDI LDAP implementation when closing the LDAP context - S8130136, PR3162: Swing window sometimes fails to repaint partially when it becomes exposed - S8130274, PR3162: java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal - S8132551, PR3162: Initialize local variables before returning them in p11_convert.c - S8133207, PR3162: [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115 - S8133666, PR3162: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux - S8135002, PR3162: Fix or remove broken links in objectMonitor.cpp comments - S8137121, PR3162: (fc) Infinite loop FileChannel.truncate - S8137230, PR3162: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out - S8139373, PR3162: [TEST_BUG] java/net/MulticastSocket/MultiDead.java failed with timeout - S8140249, PR3162: JVM Crashing During startUp If Flight Recording is enabled - S8141491, PR3160, G592292: Unaligned memory access in Bits.c - S8144483, PR3162: One long Safepoint pause directly after each GC log rotation - S8149611, PR3160, G592292: Add tests for Unsafe.copySwapMemory - S8157306, PR3209: Random infrequent null pointer exceptions in javac - S8167200, PR3204: AArch64: Broken stack pointer adjustment in interpreter ChangeLog: 2016-10-27 Andrew John Hughes * Makefile.am, (CORBA_CHANGESET): Update to icedtea-2.6.8pre01. (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. * configure.ac: Bump to 2.6.8pre01. * hotspot.map.in: Update to icedtea-2.6.8pre01. * patches/boot/ecj-diamond.patch: Add new case in com.sun.jndi.ldap.LdapClient. -- 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 Oct 28 06:44:42 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 06:44:42 +0000 Subject: [Bug 3151] [IcedTea7] Zero build fails with pch disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3151 --- Comment #20 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-2.6?cmd=changeset;node=749a80f8d0f4 author: Andrew John Hughes date: Fri Oct 28 07:49:21 2016 +0100 Bump to icedtea-2.6.8pre01. Upstream changes: - Bump to icedtea-2.6.8pre01 - PR3207, RH1367357: lcms2: Out-of-bounds read in Type_MLU_Read() - PR3209: Backed out changeset 0771982261c9 - PR3211: AArch64 build fails with pre-compiled headers disabled - S6604109, PR3162: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups - S6907252, PR3162: ZipFileInputStream Not Thread-Safe - S8024046, PR3162: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc* - S8028479, PR3162: runNameEquals still cannot precisely detect if a usable native krb5 is available - S8034057, PR3162: Files.getFileStore and Files.isWritable do not work with SUBST'ed drives (win) - S8038491, PR3162: Improve synchronization in ZipFile.read() - S8038502, PR3162: Deflater.needsInput() should use synchronization - S8059411, PR3162: RowSetWarning does not correctly chain warnings - S8062198, PR3162: Add RowSetMetaDataImpl Tests and add column range validation to isdefinitlyWritable - S8066188, PR3162: BaseRowSet returns the wrong default value for escape processing - S8072466, PR3162: Deadlock when initializing MulticastSocket and DatagramSocket - S8075118, PR3162: JVM stuck in infinite loop during verification - S8076579, PR3162: Popping a stack frame after exception breakpoint sets last method param to exception - S8078495, PR3162: End time checking for native TGT is wrong - S8078628, PR3151: Zero build fails with pre-compiled headers disabled - S8078668, PR3162: jar usage string mentions unsupported option '-n' - S8080115, PR3162: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads - S8081794, PR3162: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem - S8129957, PR3162: Deadlock in JNDI LDAP implementation when closing the LDAP context - S8130136, PR3162: Swing window sometimes fails to repaint partially when it becomes exposed - S8130274, PR3162: java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal - S8132551, PR3162: Initialize local variables before returning them in p11_convert.c - S8133207, PR3162: [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115 - S8133666, PR3162: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux - S8135002, PR3162: Fix or remove broken links in objectMonitor.cpp comments - S8137121, PR3162: (fc) Infinite loop FileChannel.truncate - S8137230, PR3162: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out - S8139373, PR3162: [TEST_BUG] java/net/MulticastSocket/MultiDead.java failed with timeout - S8140249, PR3162: JVM Crashing During startUp If Flight Recording is enabled - S8141491, PR3160, G592292: Unaligned memory access in Bits.c - S8144483, PR3162: One long Safepoint pause directly after each GC log rotation - S8149611, PR3160, G592292: Add tests for Unsafe.copySwapMemory - S8157306, PR3209: Random infrequent null pointer exceptions in javac - S8167200, PR3204: AArch64: Broken stack pointer adjustment in interpreter ChangeLog: 2016-10-27 Andrew John Hughes * Makefile.am, (CORBA_CHANGESET): Update to icedtea-2.6.8pre01. (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. * configure.ac: Bump to 2.6.8pre01. * hotspot.map.in: Update to icedtea-2.6.8pre01. * patches/boot/ecj-diamond.patch: Add new case in com.sun.jndi.ldap.LdapClient. -- 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 Oct 28 06:44:47 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 06:44:47 +0000 Subject: [Bug 3160] [IcedTea7] Backport "8141491: Unaligned memory access in Bits.c" In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3160 --- Comment #8 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-2.6?cmd=changeset;node=749a80f8d0f4 author: Andrew John Hughes date: Fri Oct 28 07:49:21 2016 +0100 Bump to icedtea-2.6.8pre01. Upstream changes: - Bump to icedtea-2.6.8pre01 - PR3207, RH1367357: lcms2: Out-of-bounds read in Type_MLU_Read() - PR3209: Backed out changeset 0771982261c9 - PR3211: AArch64 build fails with pre-compiled headers disabled - S6604109, PR3162: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups - S6907252, PR3162: ZipFileInputStream Not Thread-Safe - S8024046, PR3162: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc* - S8028479, PR3162: runNameEquals still cannot precisely detect if a usable native krb5 is available - S8034057, PR3162: Files.getFileStore and Files.isWritable do not work with SUBST'ed drives (win) - S8038491, PR3162: Improve synchronization in ZipFile.read() - S8038502, PR3162: Deflater.needsInput() should use synchronization - S8059411, PR3162: RowSetWarning does not correctly chain warnings - S8062198, PR3162: Add RowSetMetaDataImpl Tests and add column range validation to isdefinitlyWritable - S8066188, PR3162: BaseRowSet returns the wrong default value for escape processing - S8072466, PR3162: Deadlock when initializing MulticastSocket and DatagramSocket - S8075118, PR3162: JVM stuck in infinite loop during verification - S8076579, PR3162: Popping a stack frame after exception breakpoint sets last method param to exception - S8078495, PR3162: End time checking for native TGT is wrong - S8078628, PR3151: Zero build fails with pre-compiled headers disabled - S8078668, PR3162: jar usage string mentions unsupported option '-n' - S8080115, PR3162: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads - S8081794, PR3162: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem - S8129957, PR3162: Deadlock in JNDI LDAP implementation when closing the LDAP context - S8130136, PR3162: Swing window sometimes fails to repaint partially when it becomes exposed - S8130274, PR3162: java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal - S8132551, PR3162: Initialize local variables before returning them in p11_convert.c - S8133207, PR3162: [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115 - S8133666, PR3162: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux - S8135002, PR3162: Fix or remove broken links in objectMonitor.cpp comments - S8137121, PR3162: (fc) Infinite loop FileChannel.truncate - S8137230, PR3162: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out - S8139373, PR3162: [TEST_BUG] java/net/MulticastSocket/MultiDead.java failed with timeout - S8140249, PR3162: JVM Crashing During startUp If Flight Recording is enabled - S8141491, PR3160, G592292: Unaligned memory access in Bits.c - S8144483, PR3162: One long Safepoint pause directly after each GC log rotation - S8149611, PR3160, G592292: Add tests for Unsafe.copySwapMemory - S8157306, PR3209: Random infrequent null pointer exceptions in javac - S8167200, PR3204: AArch64: Broken stack pointer adjustment in interpreter ChangeLog: 2016-10-27 Andrew John Hughes * Makefile.am, (CORBA_CHANGESET): Update to icedtea-2.6.8pre01. (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. * configure.ac: Bump to 2.6.8pre01. * hotspot.map.in: Update to icedtea-2.6.8pre01. * patches/boot/ecj-diamond.patch: Add new case in com.sun.jndi.ldap.LdapClient. -- 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 Oct 28 06:44:50 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 06:44:50 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 --- Comment #61 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-2.6?cmd=changeset;node=749a80f8d0f4 author: Andrew John Hughes date: Fri Oct 28 07:49:21 2016 +0100 Bump to icedtea-2.6.8pre01. Upstream changes: - Bump to icedtea-2.6.8pre01 - PR3207, RH1367357: lcms2: Out-of-bounds read in Type_MLU_Read() - PR3209: Backed out changeset 0771982261c9 - PR3211: AArch64 build fails with pre-compiled headers disabled - S6604109, PR3162: javax.print.PrintServiceLookup.lookupPrintServices fails SOMETIMES for Cups - S6907252, PR3162: ZipFileInputStream Not Thread-Safe - S8024046, PR3162: Test sun/security/krb5/runNameEquals.sh failed on 7u45 Embedded linux-ppc* - S8028479, PR3162: runNameEquals still cannot precisely detect if a usable native krb5 is available - S8034057, PR3162: Files.getFileStore and Files.isWritable do not work with SUBST'ed drives (win) - S8038491, PR3162: Improve synchronization in ZipFile.read() - S8038502, PR3162: Deflater.needsInput() should use synchronization - S8059411, PR3162: RowSetWarning does not correctly chain warnings - S8062198, PR3162: Add RowSetMetaDataImpl Tests and add column range validation to isdefinitlyWritable - S8066188, PR3162: BaseRowSet returns the wrong default value for escape processing - S8072466, PR3162: Deadlock when initializing MulticastSocket and DatagramSocket - S8075118, PR3162: JVM stuck in infinite loop during verification - S8076579, PR3162: Popping a stack frame after exception breakpoint sets last method param to exception - S8078495, PR3162: End time checking for native TGT is wrong - S8078628, PR3151: Zero build fails with pre-compiled headers disabled - S8078668, PR3162: jar usage string mentions unsupported option '-n' - S8080115, PR3162: (fs) Crash in libgio when calling Files.probeContentType(path) from parallel threads - S8081794, PR3162: ParsePosition getErrorIndex returns 0 for TimeZone parsing problem - S8129957, PR3162: Deadlock in JNDI LDAP implementation when closing the LDAP context - S8130136, PR3162: Swing window sometimes fails to repaint partially when it becomes exposed - S8130274, PR3162: java/nio/file/FileStore/Basic.java fails when two successive stores in an iteration are determined to be equal - S8132551, PR3162: Initialize local variables before returning them in p11_convert.c - S8133207, PR3162: [TEST_BUG] ParallelProbes.java test fails after changes for JDK-8080115 - S8133666, PR3162: OperatingSystemMXBean reports abnormally high machine CPU consumption on Linux - S8135002, PR3162: Fix or remove broken links in objectMonitor.cpp comments - S8137121, PR3162: (fc) Infinite loop FileChannel.truncate - S8137230, PR3162: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out - S8139373, PR3162: [TEST_BUG] java/net/MulticastSocket/MultiDead.java failed with timeout - S8140249, PR3162: JVM Crashing During startUp If Flight Recording is enabled - S8141491, PR3160, G592292: Unaligned memory access in Bits.c - S8144483, PR3162: One long Safepoint pause directly after each GC log rotation - S8149611, PR3160, G592292: Add tests for Unsafe.copySwapMemory - S8157306, PR3209: Random infrequent null pointer exceptions in javac - S8167200, PR3204: AArch64: Broken stack pointer adjustment in interpreter ChangeLog: 2016-10-27 Andrew John Hughes * Makefile.am, (CORBA_CHANGESET): Update to icedtea-2.6.8pre01. (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. * configure.ac: Bump to 2.6.8pre01. * hotspot.map.in: Update to icedtea-2.6.8pre01. * patches/boot/ecj-diamond.patch: Add new case in com.sun.jndi.ldap.LdapClient. -- 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 Oct 28 06:47:42 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 06:47:42 +0000 Subject: [Bug 3151] [IcedTea7] Zero build fails with pch disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3151 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #21 from Andrew John Hughes --- Fixed in 2.7.0pre08 and 2.6.8pre01. -- 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 Oct 28 06:48:57 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 06:48:57 +0000 Subject: [Bug 3160] [IcedTea7] Backport "8141491: Unaligned memory access in Bits.c" In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3160 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #9 from Andrew John Hughes --- Fixed in 2.7.0pre08 and 2.6.8pre01. -- 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 Oct 28 06:50:16 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 06:50:16 +0000 Subject: [Bug 3162] [IcedTea7] Include applicable backports listed as fixed in '7u95' In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3162 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #62 from Andrew John Hughes --- Fixed in 2.7.0pre08 and 2.6.8pre01. -- 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 Oct 28 06:50:37 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 06:50:37 +0000 Subject: [Bug 3204] [IcedTea7] Backport latest AArch64 fixes to release branch for 2.6.8 In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3204 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Andrew John Hughes --- Fixed in 2.6.8pre01. -- 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 Oct 28 06:50:50 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 06:50:50 +0000 Subject: [Bug 3207] [IcedTea7] lcms2: Out-of-bounds read in Type_MLU_Read() In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3207 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Andrew John Hughes --- Fixed in 2.7.0pre08 and 2.6.8pre01. -- 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 Oct 28 06:52:05 2016 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Fri, 28 Oct 2016 06:52:05 +0000 Subject: /hg/icedtea7-forest/hotspot: 2 new changesets Message-ID: changeset f23cc792224c in /hg/icedtea7-forest/hotspot details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=f23cc792224c author: andrew date: Thu Oct 27 06:57:51 2016 +0100 PR3211: AArch64 build fails with pre-compiled headers disabled Contributed-by: Tiago St?rmer Daitx changeset fff29c78ee40 in /hg/icedtea7-forest/hotspot details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=fff29c78ee40 author: andrew date: Thu Oct 27 18:25:25 2016 +0100 PR3209: Backed out changeset 3cc3ab869ccf diffstat: src/cpu/aarch64/vm/assembler_aarch64.cpp | 1 + src/cpu/aarch64/vm/vm_version_aarch64.cpp | 3 +++ src/share/vm/opto/lcm.cpp | 7 ++----- 3 files changed, 6 insertions(+), 5 deletions(-) diffs (44 lines): diff -r 76e61db96315 -r fff29c78ee40 src/cpu/aarch64/vm/assembler_aarch64.cpp --- a/src/cpu/aarch64/vm/assembler_aarch64.cpp Thu Oct 27 06:16:50 2016 +0100 +++ b/src/cpu/aarch64/vm/assembler_aarch64.cpp Thu Oct 27 18:25:25 2016 +0100 @@ -64,6 +64,7 @@ #include "gc_implementation/g1/heapRegion.hpp" #endif +#include "opto/compile.hpp" extern "C" void entry(CodeBuffer *cb); diff -r 76e61db96315 -r fff29c78ee40 src/cpu/aarch64/vm/vm_version_aarch64.cpp --- a/src/cpu/aarch64/vm/vm_version_aarch64.cpp Thu Oct 27 06:16:50 2016 +0100 +++ b/src/cpu/aarch64/vm/vm_version_aarch64.cpp Thu Oct 27 18:25:25 2016 +0100 @@ -25,6 +25,9 @@ */ #include "precompiled.hpp" +#include "asm/assembler.hpp" +#include "asm/assembler.inline.hpp" +#include "utilities/sizes.hpp" #include "assembler_aarch64.hpp" #include "memory/resourceArea.hpp" #include "runtime/java.hpp" diff -r 76e61db96315 -r fff29c78ee40 src/share/vm/opto/lcm.cpp --- a/src/share/vm/opto/lcm.cpp Thu Oct 27 06:16:50 2016 +0100 +++ b/src/share/vm/opto/lcm.cpp Thu Oct 27 18:25:25 2016 +0100 @@ -1068,14 +1068,11 @@ Block *sb = _succs[i]; // Clone the entire area; ignoring the edge fixup for now. for( uint j = end; j > beg; j-- ) { + // It is safe here to clone a node with anti_dependence + // since clones dominate on each path. Node *clone = _nodes[j-1]->clone(); sb->_nodes.insert( 1, clone ); bbs.map(clone->_idx,sb); -#ifdef AARCH64 - if (clone->needs_anti_dependence_check()) { - insert_anti_dependences(sb, clone); - } -#endif } } From bugzilla-daemon at icedtea.classpath.org Fri Oct 28 06:52:11 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 06:52:11 +0000 Subject: [Bug 3211] [IcedTea7] AArch64 build fails with pre-compiled headers disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3211 --- Comment #4 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/hotspot?cmd=changeset;node=f23cc792224c author: andrew date: Thu Oct 27 06:57:51 2016 +0100 PR3211: AArch64 build fails with pre-compiled headers disabled Contributed-by: Tiago St?rmer Daitx -- 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 Oct 28 06:52:17 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 06:52:17 +0000 Subject: [Bug 3209] [IcedTea7] Backport "8157306: Random infrequent null pointer exceptions in javac" In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3209 --- Comment #8 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea7-forest/hotspot?cmd=changeset;node=fff29c78ee40 author: andrew date: Thu Oct 27 18:25:25 2016 +0100 PR3209: Backed out changeset 3cc3ab869ccf -- 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 Oct 28 06:53:40 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 06:53:40 +0000 Subject: [Bug 3211] [IcedTea7] AArch64 build fails with pre-compiled headers disabled In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3211 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Andrew John Hughes --- Fixed in 2.7.0pre08 and 2.6.8pre01. -- 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 Oct 28 06:54:30 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 06:54:30 +0000 Subject: [Bug 3180] [IcedTea7] Support building without pre-compiled headers In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3180 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Andrew John Hughes --- Supported from 2.7.0pre08 on. -- 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 Oct 28 06:54:31 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 06:54:31 +0000 Subject: [Bug 2393] [TRACKER] IcedTea 2.7.0 Release In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2393 Bug 2393 depends on bug 3180, which changed state. Bug 3180 Summary: [IcedTea7] Support building without pre-compiled headers http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3180 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 Oct 28 09:25:28 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 09:25:28 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 --- Comment #13 from Shilpy --- Hi Andrew, I have upgraded Java/JDK to the latest version but still we see the same issue. Jenkins Applications are crashing automatically mostly at 09:40AM IST. I'm attaching crash report as well as catalina log..Please have a look into it. -- 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 Oct 28 09:32:14 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 09:32:14 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 --- Comment #14 from Shilpy --- File is greater than 1024KB, please let know any URL where I can copy it. -- 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 Oct 28 09:33:09 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 09:33:09 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 --- Comment #15 from Shilpy --- Created attachment 1568 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1568&action=edit hs error -- 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 Oct 28 15:17:30 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 15:17:30 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |2.6.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 bugzilla-daemon at icedtea.classpath.org Fri Oct 28 15:30:38 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 15:30:38 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 corey.carvalho at dell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |corey.carvalho at dell.com --- Comment #16 from corey.carvalho at dell.com --- All core dump files are consistently indicating a particular call that is causing the crash: com.kenai.jffi.Foreign.invokeN2O1(JJJJLjava/lang/Object;III)J+0 The documentation on this particular method is not very clear. Could you provide any insight on how this could be causing the problem? I will attach multiple files that demonstrate this point. -- 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 Oct 28 15:32:07 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 15:32:07 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 --- Comment #17 from corey.carvalho at dell.com --- Created attachment 1569 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1569&action=edit core dump file -- 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 Oct 28 15:32:50 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 15:32:50 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 --- Comment #18 from corey.carvalho at dell.com --- Created attachment 1570 --> http://icedtea.classpath.org/bugzilla/attachment.cgi?id=1570&action=edit core dump file2 -- 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 Oct 28 15:38:04 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 15:38:04 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 --- Comment #19 from Andrew Haley --- (In reply to corey.carvalho from comment #16) > All core dump files are consistently indicating a particular call that is > causing the crash: > com.kenai.jffi.Foreign.invokeN2O1(JJJJLjava/lang/Object;III)J+0 > > The documentation on this particular method is not very clear. Could you > provide any insight on how this could be causing the problem? I will attach > multiple files that demonstrate this point. This method calls some C code outside the Java virtual machine. It is that C code which is crashing. -- 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 Oct 28 15:49:57 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 15:49:57 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 --- Comment #20 from corey.carvalho at dell.com --- Is there any good way to debug the C code that is causing this? This is causing 6 of our 11 Jenkins servers to crash in the exact same way. -- 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 Oct 28 16:12:52 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 16:12:52 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 --- Comment #21 from Andrew Haley --- (In reply to corey.carvalho from comment #20) > Is there any good way to debug the C code that is causing this? This is > causing 6 of our 11 Jenkins servers to crash in the exact same way. Well, I don't know what your Jenkins servers are doing. I'd start the JVM inside a debugger like GDB and wait for it to crash. Then I'd look at the GDB backtrace to see which library was causing it. But from your log I can see it's in data/ci/apache-tomcat-7.0.42/temp/jffi3533322348177806478.tmp which is one of the files that jffi generates to do thunking to native code. At this point I must say that this is not a bug in OpenJDK: your best chance is with jffi developers. -- 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 Oct 28 16:13:23 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 16:13:23 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 Andrew Haley changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |INVALID --- Comment #22 from Andrew Haley --- . -- 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 Oct 28 16:16:30 2016 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Oct 2016 16:16:30 +0000 Subject: [Bug 3203] Jenkins server crashes unexpctedly In-Reply-To: References: Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3203 --- Comment #23 from Andrew Haley --- Also, the Tomcat people might be able to tell you how to disable the use of the native 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 soho123.2012 at gmail.com Thu Oct 20 05:38:31 2016 From: soho123.2012 at gmail.com (Diaz Soho) Date: Thu, 20 Oct 2016 05:38:31 -0000 Subject: using openjdk for JamVM how to Message-ID: Hi all, Originally , I use GNU Classpath for JamVM when I run my Java application. But my Java application need new classpath like Java(TM) SE Runtime Environment (build 1.8.0_91-b14). My java application maynot workable with GNU Classpath. I would like to use openjdk for that. I use the command to run my java application on my embedded platform: jamvm -verbose -Xbootclasspath:/usr/share/jamvm/classes:/usr/share/classpath -jar ./my_java_app.jar Does anyone have idea: if I would like to use openjdk to do the same thing above, is it possible? then how to get workable if possible? Thanks! Best Regards, DiazSoho