From jvanek at redhat.com Mon Dec 3 12:53:58 2018 From: jvanek at redhat.com (Jiri Vanek) Date: Mon, 3 Dec 2018 13:53:58 +0100 Subject: [rfe] multiple installs of IcedTea-Web configuration issue - shared configs In-Reply-To: <4f82e4f6-8df1-ec41-7c57-8bf522377bcc@redhat.com> References: <4f82e4f6-8df1-ec41-7c57-8bf522377bcc@redhat.com> Message-ID: Hi! Had this worked for you? On 11/20/18 3:01 PM, Jiri Vanek wrote: > On 11/20/18 11:01 AM, Arturs Andersons wrote: >> Hi, >> >> ? >> >> We have two versions of iceadtea-web provided: one based on JDK8 and another on JDK11. >> >> ? >> >> Both applications generates configuration files in "c:\users\%username%\.config\icedtea-web" folder >> >> If we are about to install both versions of IcedTea-web on the same pc, config files will be >> overwritten by latest version installed. >> >> ? >> >> Is it possible to amend the location of the .\config folder? For example create something like this: >> >> * "C:\Users\%username%\.config-openjdk8" for OpenJDK8 + IcedTea-web >> * "C:\Users\%username%\.config-openjdk11" for OpenJDK11 + IcedTea-web >> >> ? >> >> Where this configuration is located in the package? >> > > Hi! > > Ti is indeed tricky. itw do not have nay support for this. And the properties loading system is > already terribly complex to make it even more complictaed:( > > Fro top of head I do not have idea how to make this working for you. In linux world alternatives > would go play most likely. > > Ha! Idea! > > Itw *should* support properties located *inside* jre. This would solve your problem. > Are yo able to play with it? > Are you able to look ITW sources for this? > As I have never myself tried, nor tested this feature. Do not even know the state of the codebase > for this case, as it is nearly impossioble to test in unittest (mock enviroment). > > J. > > My ITW build seems to at least be aware about So it looks promissing: > ~/icedtea-web-image/bin/javaws.sh -verbose -help > ... > FILES > /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-8.fc29.x86_64/jre/lib/deployment.config > - java-global deployment properties file. May be affected by deployment.jre.dir. > > > >> ? >> >> Kind regards, >> >> *Arturs Andersons**| External Staff**| Contractor**| Information Technology** >> Swiss Re Management Ltd| GENERIC LOCATION STOKE ON TRENT, UNITED KINGDOM >> E-mail: Arturs_Andersons at rcomext.com * >> >> >> This e-mail, including attachments, is intended for the person(s) or company named and may contain >> confidential and/or legally privileged information. >> Unauthorized disclosure, copying or use of this information may be unlawful and is prohibited. If >> you are not the intended recipient, please delete this message and notify the sender. >> All incoming and outgoing e-mail messages are stored in the Swiss Re Electronic Message Repository. >> If you do not wish the retention of potentially private e-mails by Swiss Re, we strongly advise you >> not to use the Swiss Re e-mail account for any private, non-business related communications. > > -- Jiri Vanek Senior QE engineer, OpenJDK QE lead, Mgr. Red Hat Czech jvanek at redhat.com M: +420775390109 From Arturs_Andersons at rcomext.com Mon Dec 3 13:40:58 2018 From: Arturs_Andersons at rcomext.com (Arturs Andersons) Date: Mon, 3 Dec 2018 13:40:58 +0000 Subject: [rfe] multiple installs of IcedTea-Web configuration issue - shared configs In-Reply-To: References: <4f82e4f6-8df1-ec41-7c57-8bf522377bcc@redhat.com> Message-ID: <305139eb57844078bbc0257c999074c0@CHRP5000.corp.gwpnet.com> Hi Jiri, No, I stopped looking into this. Just made a note not to have the side by side on one pc Arturs Andersons | External Staff | Contractor | Information Technology Swiss Re Management Ltd | GENERIC LOCATION, STOKE ON TRENT, UNITED KINGDOM Email: Arturs_Andersons at rcomext.com -----Original Message----- From: Jiri Vanek [mailto:jvanek at redhat.com] Sent: Monday, December 03, 2018 12:54 PM To: Arturs Andersons ; 'distro-pkg-dev at openjdk.java.net' Subject: Re: [rfe] multiple installs of IcedTea-Web configuration issue - shared configs Hi! Had this worked for you? On 11/20/18 3:01 PM, Jiri Vanek wrote: > On 11/20/18 11:01 AM, Arturs Andersons wrote: >> Hi, >> >> ? >> >> We have two versions of iceadtea-web provided: one based on JDK8 and another on JDK11. >> >> ? >> >> Both applications generates configuration files in >> "c:\users\%username%\.config\icedtea-web" folder >> >> If we are about to install both versions of IcedTea-web on the same >> pc, config files will be overwritten by latest version installed. >> >> ? >> >> Is it possible to amend the location of the .\config folder? For example create something like this: >> >> * "C:\Users\%username%\.config-openjdk8" for OpenJDK8 + IcedTea-web >> * "C:\Users\%username%\.config-openjdk11" for OpenJDK11 + >> IcedTea-web >> >> ? >> >> Where this configuration is located in the package? >> > > Hi! > > Ti is indeed tricky. itw do not have nay support for this. And the > properties loading system is already terribly complex to make it even > more complictaed:( > > Fro top of head I do not have idea how to make this working for you. > In linux world alternatives would go play most likely. > > Ha! Idea! > > Itw *should* support properties located *inside* jre. This would solve your problem. > Are yo able to play with it? > Are you able to look ITW sources for this? > As I have never myself tried, nor tested this feature. Do not even > know the state of the codebase for this case, as it is nearly impossioble to test in unittest (mock enviroment). > > J. > > My ITW build seems to at least be aware about So it looks promissing: > ~/icedtea-web-image/bin/javaws.sh -verbose -help ... > FILES > > /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-8.fc29.x86_64/jre/lib/de > ployment.config > - java-global deployment properties file. May be affected by deployment.jre.dir. > > > >> ? >> >> Kind regards, >> >> *Arturs Andersons**| External Staff**| Contractor**| Information >> Technology** Swiss Re Management Ltd| GENERIC LOCATION STOKE ON >> TRENT, UNITED KINGDOM >> E-mail: Arturs_Andersons at rcomext.com >> * >> >> >> This e-mail, including attachments, is intended for the person(s) or >> company named and may contain confidential and/or legally privileged information. >> Unauthorized disclosure, copying or use of this information may be >> unlawful and is prohibited. If you are not the intended recipient, please delete this message and notify the sender. >> All incoming and outgoing e-mail messages are stored in the Swiss Re Electronic Message Repository. >> If you do not wish the retention of potentially private e-mails by >> Swiss Re, we strongly advise you not to use the Swiss Re e-mail account for any private, non-business related communications. > > -- Jiri Vanek Senior QE engineer, OpenJDK QE lead, Mgr. Red Hat Czech jvanek at redhat.com M: +420775390109 This e-mail, including attachments, is intended for the person(s) or company named and may contain confidential and/or legally privileged information. Unauthorized disclosure, copying or use of this information may be unlawful and is prohibited. If you are not the intended recipient, please delete this message and notify the sender. All incoming and outgoing e-mail messages are stored in the Swiss Re Electronic Message Repository. If you do not wish the retention of potentially private e-mails by Swiss Re, we strongly advise you not to use the Swiss Re e-mail account for any private, non-business related communications. From jvanek at redhat.com Mon Dec 3 14:33:47 2018 From: jvanek at redhat.com (Jiri Vanek) Date: Mon, 3 Dec 2018 15:33:47 +0100 Subject: [rfc][icedtea-web] improved home finding to use variables first In-Reply-To: <59986a57-60b0-9574-c0dc-285155d0040c@redhat.com> References: <59986a57-60b0-9574-c0dc-285155d0040c@redhat.com> Message-ID: On 11/30/18 5:41 PM, Alex Kashchenko wrote: > Hi, > > On 11/29/2018 12:32 PM, Jiri Vanek wrote: >> > > env::home_dir is deprecated since 1.29, it should not be used in get_home. > > Probing for HOME and USERPROFILE should be OS-specific (to not pickup HOME on windows). > Here you go! The number of os-specific functions is growing :( -- Jiri Vanek Senior QE engineer, OpenJDK QE lead, Mgr. Red Hat Czech jvanek at redhat.com M: +420775390109 -------------- next part -------------- A non-text attachment was scrubbed... Name: osDepndentHome.patch Type: text/x-patch Size: 8788 bytes Desc: not available URL: From bugzilla-daemon at icedtea.classpath.org Mon Dec 3 19:51:47 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 03 Dec 2018 19:51:47 +0000 Subject: [Bug 3659] New: [IcedTea7] Support RHEL multilib installations which use the /usr/lib/jvm/java-1.x.0-openjdk.${arch} naming Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3659 Bug ID: 3659 Summary: [IcedTea7] Support RHEL multilib installations which use the /usr/lib/jvm/java-1.x.0-openjdk.${arch} naming Product: IcedTea Version: 2.x-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 3301 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 Dec 3 19:54:06 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 03 Dec 2018 19:54:06 +0000 Subject: [Bug 3659] [IcedTea7] Support RHEL multilib installations which use the /usr/lib/jvm/java-1.x.0-openjdk.${arch} naming In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3659 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Target Milestone|--- |2.6.15 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jtesdall at mapcon.com Mon Dec 3 20:10:49 2018 From: jtesdall at mapcon.com (jtesdall) Date: Mon, 3 Dec 2018 13:10:49 -0700 (MST) Subject: macOS xdg-desktop-icon In-Reply-To: References: <75CDE0F1-A44A-4906-B941-BE9F37861E2C@mac.com> <1522c578-ef54-6cfc-862b-27404c6297da@redhat.com> <5011413F-3988-45BF-91D9-BF8988420780@mac.com> <1543339483075-0.post@n7.nabble.com> <1543514389524-0.post@n7.nabble.com> Message-ID: <1543867849724-0.post@n7.nabble.com> Thanks Jiri, those changesets did fix the issue. However, now I get an error when trying to debug that says it cannot read the jnlp?? I also get the same error if a build a new jar file from eclipse with the latest source downloaded saturday. I know you said I can't build from eclipse without cygwin. Do I need cygwin setup to debug as well? net.sourceforge.jnlp.LaunchException: Fatal: Read Error: Could not read or parse the JNLP file. You can try to download this file manually and send it as bug report to IcedTea-Web team. at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:487) at net.sourceforge.jnlp.Launcher.launch(Launcher.java:287) at net.sourceforge.jnlp.runtime.JnlpBoot.run(JnlpBoot.java:67) at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:264) at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:1) at java.security.AccessController.doPrivileged(Native Method) at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:204) Caused by: net.sourceforge.jnlp.ParseException: Broken Malformed parser. You may have missing tagsoup installation or your ITW was not built against it. Check your installation and/or consult distribution. Invalid XML document syntax. at net.sourceforge.jnlp.XMLParser.getRootNode(XmlParser.java:118) at net.sourceforge.jnlp.MalformedXMLParser.getRootNode(MalformedXMLParser.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.sourceforge.jnlp.Parser.getRootNode(Parser.java:1392) at net.sourceforge.jnlp.JNLPFile.parse(JNLPFile.java:815) at net.sourceforge.jnlp.JNLPFile.(JNLPFile.java:233) at net.sourceforge.jnlp.JNLPFile.(JNLPFile.java:215) at net.sourceforge.jnlp.JNLPFile.(JNLPFile.java:200) at net.sourceforge.jnlp.JNLPFile.(JNLPFile.java:186) at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:451) ... 6 more Caused by: net.sourceforge.nanoxml.XMLParseException: XML Parse Exception during parsing of the XML definition at line 1: Expected: '<' but got: ' ' at net.sourceforge.nanoxml.XMLElement.expectedInput(XMLElement.java:1202) at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:505) at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:466) at net.sourceforge.jnlp.XMLParser.getRootNode(XmlParser.java:114) ... 18 more -- Sent from: http://openjdk.5641.n7.nabble.com/OpenJDK-Distribution-specific-Packaging-f25548.html From bugzilla-daemon at icedtea.classpath.org Tue Dec 4 00:06:44 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 04 Dec 2018 00:06:44 +0000 Subject: [Bug 3660] New: Exception throw when trying to initialize com.sun.crypto.provider.DHKeyPairGenerator Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3660 Bug ID: 3660 Summary: Exception throw when trying to initialize com.sun.crypto.provider.DHKeyPairGenerator Product: IcedTea-Web Version: 1.7 Hardware: 64-bit OS: Windows Status: NEW Severity: critical Priority: P5 Component: NetX (javaws) Assignee: jvanek at redhat.com Reporter: cdecker at currenex.com CC: unassigned at icedtea.classpath.org Created attachment 1713 --> https://icedtea.classpath.org/bugzilla/attachment.cgi?id=1713&action=edit Side by side, signed jar, source code, jnlp to local launch When an application is launched used IcedTeaWeb and the following line is called: DHKeyPairGenerator gen = new DHKeyPairGenerator(); The following trace occurs in the IcedTeaWeb JNLP Class loader. - Jar is self signed - JNLP is launching locally (codebase = file:// YOUR_DOWNLOAD_PATH), but this isn't an issue, this is to just demo the issue. Error: No security instance for file:/C:/Program%20Files/Java/jdk1.8.0_191/jre/lib/ext/sunjce_provider.jar. The application may have trouble continuing Error: No security instance for file:/C:/Program%20Files/Java/jdk1.8.0_191/jre/lib/ext/sunjce_provider.jar. The application may have trouble continuing java.lang.NullPointerException: Code source security was null at net.sourceforge.jnlp.runtime.JNLPClassLoader.getPermissions(JNLPClass Loader.java:1156) at net.sourceforge.jnlp.runtime.JNLPPolicy.getPermissions(JNLPPolicy.jav a:88) at net.sourceforge.jnlp.runtime.JNLPPolicy.implies(JNLPPolicy.java:199) at java.security.ProtectionDomain.implies(ProtectionDomain.java:279) at java.security.AccessControlContext.checkPermission(AccessControlConte xt.java:450) at java.security.AccessController.checkPermission(AccessController.java: 884) at java.lang.SecurityManager.checkPermission(SecurityManager.java:549) at net.sourceforge.jnlp.runtime.JNLPSecurityManager.checkPermission(JNLP SecurityManager.java:291) at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:156 4) at java.lang.ClassLoader$1.run(ClassLoader.java:502) at java.lang.ClassLoader$1.run(ClassLoader.java:500) at java.security.AccessController.doPrivileged(Native Method) at java.lang.ClassLoader.checkPackageAccess(ClassLoader.java:500) at com.sun.crypto.provider.DHKeyPairGenerator.(DHKeyPairGenerator. java:71) at webstart.SelfSignedWebstartApp.generateDHKeyPair(SelfSignedWebstartAp p.java:41) at webstart.SelfSignedWebstartApp.access$100(SelfSignedWebstartApp.java: -- You are receiving this mail because: 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 Dec 4 00:07:41 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 04 Dec 2018 00:07:41 +0000 Subject: [Bug 3660] Exception throw when trying to initialize com.sun.crypto.provider.DHKeyPairGenerator In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3660 --- Comment #1 from Chad Decker --- Note: click on generateGHKeyPair within sample application to reproduce. -- You are receiving this mail because: 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 Dec 4 04:39:07 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 04 Dec 2018 04:39:07 +0000 Subject: [Bug 3661] New: [IcedTea6] Support RHEL multilib installations which use the /usr/lib/jvm/java-1.x.0-openjdk.${arch} naming Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3661 Bug ID: 3661 Summary: [IcedTea6] Support RHEL multilib installations which use the /usr/lib/jvm/java-1.x.0-openjdk.${arch} naming Product: IcedTea Version: 1.x-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 3301 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 Dec 4 04:53:57 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 04 Dec 2018 04:53:57 +0000 Subject: [Bug 1503] [TRACKER] IcedTea6 1.14 Release In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1503 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |3661 -- You are receiving this mail because: 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 Dec 4 04:53:57 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 04 Dec 2018 04:53:57 +0000 Subject: [Bug 3661] [IcedTea6] Support RHEL multilib installations which use the /usr/lib/jvm/java-1.x.0-openjdk.${arch} naming In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3661 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Blocks| |1503 Target Milestone|--- |6-1.14.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 Dec 4 07:51:11 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 04 Dec 2018 07:51:11 +0000 Subject: [Bug 3649] JamVM 2.0.0 openjdk8 icedtea-3.9.0 In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3649 --- Comment #3 from somshekar --- Hi Andrew, Xerxes So its safe to assume, that jamVM is not supported on Icedtea 3.9.0. Correct if I am wrong, or else its broken ? just wanted to summarise this and close this bug thanks in advance regards Somshekar -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jvanek at redhat.com Tue Dec 4 11:03:37 2018 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 4 Dec 2018 12:03:37 +0100 Subject: macOS xdg-desktop-icon In-Reply-To: <1543867849724-0.post@n7.nabble.com> References: <75CDE0F1-A44A-4906-B941-BE9F37861E2C@mac.com> <1522c578-ef54-6cfc-862b-27404c6297da@redhat.com> <5011413F-3988-45BF-91D9-BF8988420780@mac.com> <1543339483075-0.post@n7.nabble.com> <1543514389524-0.post@n7.nabble.com> <1543867849724-0.post@n7.nabble.com> Message-ID: On 12/3/18 9:10 PM, jtesdall wrote: > Thanks Jiri, those changesets did fix the issue. However, now I get an error > when trying to debug that says it cannot read the jnlp?? I also get the same > error if a build a new jar file from eclipse with the latest source > downloaded saturday. I know you said I can't build from eclipse without > cygwin. Do I need cygwin setup to debug as well? Nope. For debugging you should not need cygwin. Ithink the exception is clear,isnt it:) You are reading malformed jnlp - it loosk like it is not xml at all. Tagsoup.jar is used by ITW to readmalfromed XMLs, but in your case, it may be that you are reading non-existing file, or getting some nice 404/503/whatever html repsonse. Without traces how you get to the exception (comandline?) I cna only gaze to crystallball. > > net.sourceforge.jnlp.LaunchException: Fatal: Read Error: Could not read or > parse the JNLP file. You can try to download this file manually and send it > as bug report to IcedTea-Web team. > at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:487) > at net.sourceforge.jnlp.Launcher.launch(Launcher.java:287) > at net.sourceforge.jnlp.runtime.JnlpBoot.run(JnlpBoot.java:67) > at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:264) > at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:1) > at java.security.AccessController.doPrivileged(Native Method) > at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:204) > Caused by: net.sourceforge.jnlp.ParseException: Broken Malformed parser. You > may have missing tagsoup installation or your ITW was not built against it. > Check your installation and/or consult distribution. Invalid XML document > syntax. > at net.sourceforge.jnlp.XMLParser.getRootNode(XmlParser.java:118) > at > net.sourceforge.jnlp.MalformedXMLParser.getRootNode(MalformedXMLParser.java:79) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at net.sourceforge.jnlp.Parser.getRootNode(Parser.java:1392) > at net.sourceforge.jnlp.JNLPFile.parse(JNLPFile.java:815) > at net.sourceforge.jnlp.JNLPFile.(JNLPFile.java:233) > at net.sourceforge.jnlp.JNLPFile.(JNLPFile.java:215) > at net.sourceforge.jnlp.JNLPFile.(JNLPFile.java:200) > at net.sourceforge.jnlp.JNLPFile.(JNLPFile.java:186) > at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:451) > ... 6 more > Caused by: net.sourceforge.nanoxml.XMLParseException: XML Parse Exception > during parsing of the XML definition at line 1: Expected: '<' but got: ' > ' > at net.sourceforge.nanoxml.XMLElement.expectedInput(XMLElement.java:1202) > at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:505) > at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:466) > at net.sourceforge.jnlp.XMLParser.getRootNode(XmlParser.java:114) > ... 18 more > > > > > -- > Sent from: http://openjdk.5641.n7.nabble.com/OpenJDK-Distribution-specific-Packaging-f25548.html > -- Jiri Vanek Senior QE engineer, OpenJDK QE lead, Mgr. Red Hat Czech jvanek at redhat.com M: +420775390109 From akashche at redhat.com Tue Dec 4 12:44:11 2018 From: akashche at redhat.com (Alex Kashchenko) Date: Tue, 4 Dec 2018 12:44:11 +0000 Subject: [rfc][icedtea-web] improved home finding to use variables first In-Reply-To: References: <59986a57-60b0-9574-c0dc-285155d0040c@redhat.com> Message-ID: <47e28a73-6c86-97cc-732d-20e0350553a3@redhat.com> On 12/03/2018 02:33 PM, Jiri Vanek wrote: > On 11/30/18 5:41 PM, Alex Kashchenko wrote: >> Hi, >> >> On 11/29/2018 12:32 PM, Jiri Vanek wrote: >>> >> >> env::home_dir is deprecated since 1.29, it should not be used in get_home. >> >> Probing for HOME and USERPROFILE should be OS-specific (to not pickup HOME on windows). >> > > > Here you go! > > The number of os-specific functions is growing :( Looks good, except the usage of a deprecated env::home_dir inside get_home, please use something like this instead: type c_char = i8; type uid_t = u32; type gid_t = u32; #[repr(C)] struct passwd { pub pw_name: *mut c_char, pub pw_passwd: *mut c_char, pub pw_uid: uid_t, pub pw_gid: gid_t, pub pw_gecos: *mut c_char, pub pw_dir: *mut c_char, pub pw_shell: *mut c_char, } extern { fn getuid() -> uid_t; fn getpwuid(uid: uid_t) -> *mut passwd; } fn pw_home() -> Option { unsafe { let uid = getuid(); let pwd = getpwuid(uid); if !pwd.is_null() { let ptr = (*pwd).pw_dir; let cstr = std::ffi::CStr::from_ptr(ptr); let st = cstr.to_str().expect("Invalid pw_dir entry"); Some(st.to_string()) } else { None } } } -- -Alex From jvanek at redhat.com Tue Dec 4 13:46:30 2018 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 4 Dec 2018 14:46:30 +0100 Subject: [rfc][icedtea-web] improved home finding to use variables first In-Reply-To: <47e28a73-6c86-97cc-732d-20e0350553a3@redhat.com> References: <59986a57-60b0-9574-c0dc-285155d0040c@redhat.com> <47e28a73-6c86-97cc-732d-20e0350553a3@redhat.com> Message-ID: On 12/4/18 1:44 PM, Alex Kashchenko wrote: > On 12/03/2018 02:33 PM, Jiri Vanek wrote: >> On 11/30/18 5:41 PM, Alex Kashchenko wrote: >>> Hi, >>> >>> On 11/29/2018 12:32 PM, Jiri Vanek wrote: >>>> >>> >>> env::home_dir is deprecated since 1.29, it should not be used in get_home. >>> >>> Probing for HOME and USERPROFILE should be OS-specific (to not pickup HOME on windows). >>> >> >> >> Here you go! >> >> The number of os-specific functions is growing :( > > Looks good, except the usage of a deprecated env::home_dir inside get_home, please use something > like this instead: Oh pleeeease.... I think it is much nicer to survive one deprecation, especially when the direction was made clear exactly by following the deprection pointers. Are you sure you want this duplicate from env::home_dir instead of callto env::home_dir? How will windows counterpart handle home? > > type c_char = i8; > type uid_t = u32; > type gid_t = u32; > #[repr(C)] > struct passwd { > ??? pub pw_name: *mut c_char, > ??? pub pw_passwd: *mut c_char, > ??? pub pw_uid: uid_t, > ??? pub pw_gid: gid_t, > ??? pub pw_gecos: *mut c_char, > ??? pub pw_dir: *mut c_char, > ??? pub pw_shell: *mut c_char, > } > extern { > ??? fn getuid() -> uid_t; > ??? fn getpwuid(uid: uid_t) -> *mut passwd; > } > fn pw_home() -> Option { > ??? unsafe { > ??????? let uid = getuid(); > ??????? let pwd = getpwuid(uid); > ??????? if !pwd.is_null() { > ??????????? let ptr = (*pwd).pw_dir; > ??????????? let cstr = std::ffi::CStr::from_ptr(ptr); > ??????????? let st = cstr.to_str().expect("Invalid pw_dir entry"); > ??????????? Some(st.to_string()) > ??????? } else { > ??????????? None > ??????? } > ??? } > } > -- Jiri Vanek Senior QE engineer, OpenJDK QE lead, Mgr. Red Hat Czech jvanek at redhat.com M: +420775390109 From jtesdall at mapcon.com Tue Dec 4 14:41:34 2018 From: jtesdall at mapcon.com (jtesdall) Date: Tue, 4 Dec 2018 07:41:34 -0700 (MST) Subject: macOS xdg-desktop-icon In-Reply-To: References: <6211AFCF-3E99-4AF9-9581-FAA4A62AA188@mac.com> <6231c04c-113d-a30d-f091-7cbbff65dee2@redhat.com> <5694EBFE-5DB1-4EA5-AC2F-B8AFD1AD941E@mac.com> <00582180-53BC-4164-B2E8-42FACB002EF3@mac.com> Message-ID: <1543934494962-0.post@n7.nabble.com> Yes the exception is clear but my jnlp is fine and working just great with ITW and Webstart. Its the same jnlp in production on 100's of systems using Oracle Webstart. It only happens with debugging or using a new eclipse jar I get the exception. I assume I am doing something wrong with tha params/bootclasspath but I am progressing nicely without it. I am just compiling the classes and copying them into the netx jar with a batch file. I am using OutputController.getLogger().log for debugging. I have a Windows desktop shortcut and Start menu folder/shortcut being created. I also have them both being deleted when cache is cleared. I am using a jar library called mslinks to create the Windows shortcuts sicne it is a bin file. I am also writing a list of shortcuts and menu items to a text file in cache so CacheUtils can read and delete them when clearing cache. All of this should be defined dynamically from the jnlp with hopefully no assumptions or hard coding (maybe ;0)). Today I hope to work on creating an Add/Remove Program item in the wiindows registry. After that I will test more, cleanup my code some and analyze some of the expected pitfalls to tighten things up. Since I am not a Java programmer (.Net mostly sorry :() I will have an experienced Java Programmer I work with look over my code for obvious errors. Then I will be ready to get code to you. I will investigate how to post code on classpath but I have never done it. If I just copy and paste or upload the .java files thats easy enough. I will read on classpath and see if it tells me how. -- Sent from: http://openjdk.5641.n7.nabble.com/OpenJDK-Distribution-specific-Packaging-f25548.html From bugzilla-daemon at icedtea.classpath.org Tue Dec 4 17:51:08 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 04 Dec 2018 17:51:08 +0000 Subject: [Bug 3662] [IcedTea6] Sync desktop files with Fedora/RHEL versions again In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3662 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Target Milestone|--- |6-1.14.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 Dec 4 17:51:24 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 04 Dec 2018 17:51:24 +0000 Subject: [Bug 1503] [TRACKER] IcedTea6 1.14 Release In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1503 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |3662 -- You are receiving this mail because: 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 Dec 4 17:50:50 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 04 Dec 2018 17:50:50 +0000 Subject: [Bug 3662] New: [IcedTea6] Sync desktop files with Fedora/RHEL versions again Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3662 Bug ID: 3662 Summary: [IcedTea6] Sync desktop files with Fedora/RHEL versions again Product: IcedTea Version: 1.x-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 3624 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 Dec 4 17:51:24 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 04 Dec 2018 17:51:24 +0000 Subject: [Bug 3662] [IcedTea6] Sync desktop files with Fedora/RHEL versions again In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3662 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1503 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From akashche at redhat.com Wed Dec 5 10:48:32 2018 From: akashche at redhat.com (Alex Kashchenko) Date: Wed, 5 Dec 2018 10:48:32 +0000 Subject: [rfc][icedtea-web] improved home finding to use variables first In-Reply-To: References: <59986a57-60b0-9574-c0dc-285155d0040c@redhat.com> <47e28a73-6c86-97cc-732d-20e0350553a3@redhat.com> Message-ID: <32a43e9f-bce4-6f7d-722f-2128314dccee@redhat.com> On 12/04/2018 01:46 PM, Jiri Vanek wrote: > On 12/4/18 1:44 PM, Alex Kashchenko wrote: >> On 12/03/2018 02:33 PM, Jiri Vanek wrote: >>> On 11/30/18 5:41 PM, Alex Kashchenko wrote: >>>> Hi, >>>> >>>> On 11/29/2018 12:32 PM, Jiri Vanek wrote: >>>>> >>>> >>>> env::home_dir is deprecated since 1.29, it should not be used in get_home. >>>> >>>> Probing for HOME and USERPROFILE should be OS-specific (to not pickup HOME on windows). >>>> >>> >>> >>> Here you go! >>> >>> The number of os-specific functions is growing :( >> >> Looks good, except the usage of a deprecated env::home_dir inside get_home, please use something >> like this instead: > > Oh pleeeease.... I think it is much nicer to survive one deprecation, especially when the direction > was made clear exactly by following the deprection pointers. > Are you sure you want this duplicate from env::home_dir instead of callto env::home_dir? I think it is better to avoid using deprecated API in a new code, especially with Rust fast pacing release cycle. > How will windows counterpart handle home? With GetUserProfileDirectoryW [1] or SHGetKnownFolderPath [2]. [1] https://docs.microsoft.com/en-us/windows/desktop/api/userenv/nf-userenv-getuserprofiledirectoryw [2] https://docs.microsoft.com/en-us/windows/desktop/api/shlobj_core/nf-shlobj_core-shgetknownfolderpath > > [...] > -- -Alex From bugzilla-daemon at icedtea.classpath.org Wed Dec 5 11:35:49 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 11:35:49 +0000 Subject: [Bug 3650] net.sourceforge.jnlp.runtime.AppletEnvironment.startApplet In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3650 --- Comment #18 from Radhadatta --- We checked the steps provided on the IcedWeb but it is not feasible for our application to create the reproducer. Do you have any other simple steps where we can create the reproducer. -- You are receiving this mail because: 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 Dec 5 11:54:35 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 11:54:35 +0000 Subject: [Bug 3650] net.sourceforge.jnlp.runtime.AppletEnvironment.startApplet In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3650 JiriVanek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |WONTFIX --- Comment #19 from JiriVanek --- Crap. Are you engineer or not? if you re unable to extract logic to simple reproducer, so somebody else can debug *for* *you*. then you have to debug itw itself on your own. Note, that it ie easy to debug ITW, and many maintaners of proprietary software did it, and provided valuable fixes for ITW. In last half a year I can count about 30 contributions with problems like you have - theirs app do not run, cant provide reproducer as it is proprietary app, debugged ITW, posted patch. I reviwed, and pushed for them. Usualy with test (== reproducer). All information to debugging are on http://icedtea.classpath.org/wiki/IcedTea-Web and pages it links. Also on http://mail.openjdk.java.net/pipermail/distro-pkg-dev/ you will find advices from many peole debugging ITW. Both in archives and in present. -- You are receiving this mail because: 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 Dec 5 17:59:49 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 17:59:49 +0000 Subject: [Bug 3655] [IcedTea8] Allow use of system crypto policy to be disabled by the user In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3655 JiriVanek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jvanek at redhat.com --- Comment #1 from JiriVanek --- Hmm. There is https://src.fedoraproject.org/rpms/java-1.8.0-openjdk/blob/master/f/pr3183-rh1340845-support_fedora_rhel_system_crypto_policy.patch#_101 or not? See also: https://bugzilla.redhat.com/show_bug.cgi?id=1456416#c24 -- You are receiving this mail because: 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 Dec 5 18:06:11 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 18:06:11 +0000 Subject: [Bug 3663] New: [IcedTea7] IcedTea installing symlinks to SystemTap directory rather than individual tapsets Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3663 Bug ID: 3663 Summary: [IcedTea7] IcedTea installing symlinks to SystemTap directory rather than individual tapsets Product: IcedTea Version: 2.x-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 3632 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 jvanek at redhat.com Wed Dec 5 18:15:15 2018 From: jvanek at redhat.com (Jiri Vanek) Date: Wed, 5 Dec 2018 19:15:15 +0100 Subject: [rfc][icedtea-web] improved home finding to use variables first In-Reply-To: <32a43e9f-bce4-6f7d-722f-2128314dccee@redhat.com> References: <59986a57-60b0-9574-c0dc-285155d0040c@redhat.com> <47e28a73-6c86-97cc-732d-20e0350553a3@redhat.com> <32a43e9f-bce4-6f7d-722f-2128314dccee@redhat.com> Message-ID: <312fc951-fa2d-a3be-56b3-24baeb6d8cae@redhat.com> On 12/5/18 11:48 AM, Alex Kashchenko wrote: > On 12/04/2018 01:46 PM, Jiri Vanek wrote: >> On 12/4/18 1:44 PM, Alex Kashchenko wrote: >>> On 12/03/2018 02:33 PM, Jiri Vanek wrote: >>>> On 11/30/18 5:41 PM, Alex Kashchenko wrote: >>>>> Hi, >>>>> >>>>> On 11/29/2018 12:32 PM, Jiri Vanek wrote: >>>>>> >>>>> >>>>> env::home_dir is deprecated since 1.29, it should not be used in get_home. >>>>> >>>>> Probing for HOME and USERPROFILE should be OS-specific (to not pickup HOME on windows). >>>>> >>>> >>>> >>>> Here you go! >>>> >>>> The number of os-specific functions is growing :( >>> >>> Looks good, except the usage of a deprecated env::home_dir inside get_home, please use something >>> like this instead: >> >> Oh pleeeease.... I think it is much nicer to survive one deprecation, especially when the direction >> was made clear exactly by following the deprection pointers. >> Are you sure you want this duplicate from env::home_dir? instead of? callto env::home_dir? > > I think it is better to avoid using deprecated API in a new code, especially with Rust fast pacing > release cycle. Thsi is very very bad idea... We replaced one waring by six warnings... Udated patch attached... But I heavily vote for initial env::home_dir > > >> How will windows counterpart handle home? > > With GetUserProfileDirectoryW [1] or SHGetKnownFolderPath [2]. So you will be calling directly those , similar to sugested: fn getuid() -> uid_t; fn getpwuid(uid: uid_t) -> *mut passwd; > > [1] https://docs.microsoft.com/en-us/windows/desktop/api/userenv/nf-userenv-getuserprofiledirectoryw > [2] > https://docs.microsoft.com/en-us/windows/desktop/api/shlobj_core/nf-shlobj_core-shgetknownfolderpath > I'm not sure how good this approach is... Thanx! J. -------------- next part -------------- A non-text attachment was scrubbed... Name: osDepndentHome2.patch Type: text/x-patch Size: 9809 bytes Desc: not available URL: From bugzilla-daemon at icedtea.classpath.org Wed Dec 5 18:16:34 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 18:16:34 +0000 Subject: [Bug 3663] [IcedTea7] IcedTea installing symlinks to SystemTap directory rather than individual tapsets In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3663 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Target Milestone|--- |2.6.15 -- You are receiving this mail because: 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 Dec 5 19:11:29 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 19:11:29 +0000 Subject: [Bug 3664] New: [IcedTea6] Install symlinks to tapsets in SystemTap directory Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3664 Bug ID: 3664 Summary: [IcedTea6] Install symlinks to tapsets in SystemTap directory Product: IcedTea Version: 1.x-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 3628 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 Wed Dec 5 19:11:45 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 19:11:45 +0000 Subject: [Bug 3664] [IcedTea6] Install symlinks to tapsets in SystemTap directory In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3664 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Blocks| |1503 Target Milestone|--- |6-1.14.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 Dec 5 19:11:45 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 19:11:45 +0000 Subject: [Bug 1503] [TRACKER] IcedTea6 1.14 Release In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1503 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |3664 -- You are receiving this mail because: 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 Dec 5 19:12:32 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 19:12:32 +0000 Subject: [Bug 3665] New: [IcedTea6] IcedTea installing symlinks to SystemTap directory rather than individual tapsets Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3665 Bug ID: 3665 Summary: [IcedTea6] IcedTea installing symlinks to SystemTap directory rather than individual tapsets Product: IcedTea Version: 1.x-hg Hardware: x86_64 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 3632 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 Wed Dec 5 19:12:37 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 19:12:37 +0000 Subject: [Bug 3664] [IcedTea6] Install symlinks to tapsets in SystemTap directory In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3664 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |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 bugzilla-daemon at icedtea.classpath.org Wed Dec 5 19:12:52 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 19:12:52 +0000 Subject: [Bug 3665] [IcedTea6] IcedTea installing symlinks to SystemTap directory rather than individual tapsets In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3665 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Blocks| |1503 Target Milestone|--- |6-1.14.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 Dec 5 19:12:52 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 19:12:52 +0000 Subject: [Bug 1503] [TRACKER] IcedTea6 1.14 Release In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1503 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |3665 -- You are receiving this mail because: 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 Dec 5 19:33:09 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 19:33:09 +0000 Subject: [Bug 3634] [IcedTea8] Shenandoah still broken on s390 with aarch64-shenandoah-jdk8u181-b16 In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3634 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Andrew John Hughes --- Fixed in icedtea-3.10.0pre01. -- You are receiving this mail because: 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 Dec 5 19:33:12 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 19:33:12 +0000 Subject: [Bug 3618] [TRACKER] IcedTea 3.10.0 Release In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3618 Bug 3618 depends on bug 3634, which changed state. Bug 3634 Summary: [IcedTea8] Shenandoah still broken on s390 with aarch64-shenandoah-jdk8u181-b16 https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3634 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Dec 5 19:33:34 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 19:33:34 +0000 Subject: [Bug 3625] [IcedTea8] [SystemTap 3.2] arc_priority representation creates an implicit limit on character sequence within regexp In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3625 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Andrew John Hughes --- Fixed in icedtea-3.10.0pre01. -- You are receiving this mail because: 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 Dec 5 19:33:35 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 19:33:35 +0000 Subject: [Bug 3618] [TRACKER] IcedTea 3.10.0 Release In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3618 Bug 3618 depends on bug 3625, which changed state. Bug 3625 Summary: [IcedTea8] [SystemTap 3.2] arc_priority representation creates an implicit limit on character sequence within regexp https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3625 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Dec 5 19:35:16 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 19:35:16 +0000 Subject: [Bug 3639] [IcedTea8] Backport "CVE-2018-16435 lcms2: heap-based buffer overflow in SetData function in cmsIT8LoadFromFile" to in-tree LCMS In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3639 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Andrew John Hughes --- Fixed in icedtea-3.10.0pre01. -- You are receiving this mail because: 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 Dec 5 19:35:17 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 19:35:17 +0000 Subject: [Bug 3618] [TRACKER] IcedTea 3.10.0 Release In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3618 Bug 3618 depends on bug 3639, which changed state. Bug 3639 Summary: [IcedTea8] Backport "CVE-2018-16435 lcms2: heap-based buffer overflow in SetData function in cmsIT8LoadFromFile" to in-tree LCMS https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3639 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Dec 5 19:36:25 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 19:36:25 +0000 Subject: [Bug 3642] [IcedTea8] Backport "8029661: Support TLS v1.2 algorithm in SunPKCS11 provider" In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3642 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Andrew John Hughes --- Fixed in icedtea-3.10.0pre01. -- You are receiving this mail because: 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 Dec 5 19:36:26 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 19:36:26 +0000 Subject: [Bug 3618] [TRACKER] IcedTea 3.10.0 Release In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3618 Bug 3618 depends on bug 3642, which changed state. Bug 3642 Summary: [IcedTea8] Backport "8029661: Support TLS v1.2 algorithm in SunPKCS11 provider" https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3642 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Dec 5 19:37:04 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 19:37:04 +0000 Subject: [Bug 3643] [IcedTea8] Backport "8209639: assert failure in coalesce.cpp: attempted to spill a non-spillable item" In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3643 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Andrew John Hughes --- Fixed in icedtea-3.10.0pre01. -- You are receiving this mail because: 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 Dec 5 19:37:05 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 19:37:05 +0000 Subject: [Bug 3618] [TRACKER] IcedTea 3.10.0 Release In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3618 Bug 3618 depends on bug 3643, which changed state. Bug 3643 Summary: [IcedTea8] Backport "8209639: assert failure in coalesce.cpp: attempted to spill a non-spillable item" https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3643 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Dec 5 19:37:10 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 19:37:10 +0000 Subject: [Bug 3646] [IcedTea8] Revert fix for PR2304 as original issue is unclear In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3646 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Andrew John Hughes --- Fixed in icedtea-3.10.0pre01. -- You are receiving this mail because: 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 Dec 5 19:37:11 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 19:37:11 +0000 Subject: [Bug 3618] [TRACKER] IcedTea 3.10.0 Release In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3618 Bug 3618 depends on bug 3646, which changed state. Bug 3646 Summary: [IcedTea8] Revert fix for PR2304 as original issue is unclear https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3646 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Wed Dec 5 19:46:58 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 19:46:58 +0000 Subject: [Bug 3666] New: [IcedTea8] Add latest updates from AArch64 port for 3.10.0 Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3666 Bug ID: 3666 Summary: [IcedTea8] Add latest updates from AArch64 port for 3.10.0 Product: IcedTea Version: 3.x-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 Same as bug 3078, bug 3220, bug 3280, bug 3372, bug 3423, bug 3488, bug 3519 and bug 3626 for previous releases. -- You are receiving this mail because: 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 Dec 5 19:47:20 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 19:47:20 +0000 Subject: [Bug 3666] [IcedTea8] Add latest updates from AArch64 port for 3.10.0 In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3666 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Blocks| |3618 Target Milestone|--- |3.10.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 Dec 5 19:47:20 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2018 19:47:20 +0000 Subject: [Bug 3618] [TRACKER] IcedTea 3.10.0 Release In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3618 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |3666 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From akashche at redhat.com Wed Dec 5 22:47:40 2018 From: akashche at redhat.com (Alex Kashchenko) Date: Wed, 5 Dec 2018 22:47:40 +0000 Subject: [rfc][icedtea-web] improved home finding to use variables first In-Reply-To: <312fc951-fa2d-a3be-56b3-24baeb6d8cae@redhat.com> References: <59986a57-60b0-9574-c0dc-285155d0040c@redhat.com> <47e28a73-6c86-97cc-732d-20e0350553a3@redhat.com> <32a43e9f-bce4-6f7d-722f-2128314dccee@redhat.com> <312fc951-fa2d-a3be-56b3-24baeb6d8cae@redhat.com> Message-ID: <35909636-4e29-f7c5-c994-4a54cbf51e71@redhat.com> On 12/05/2018 06:15 PM, Jiri Vanek wrote: > On 12/5/18 11:48 AM, Alex Kashchenko wrote: >> On 12/04/2018 01:46 PM, Jiri Vanek wrote: >>> On 12/4/18 1:44 PM, Alex Kashchenko wrote: >>>> On 12/03/2018 02:33 PM, Jiri Vanek wrote: >>>>> On 11/30/18 5:41 PM, Alex Kashchenko wrote: >>>>>> Hi, >>>>>> >>>>>> On 11/29/2018 12:32 PM, Jiri Vanek wrote: >>>>>>> >>>>>> >>>>>> env::home_dir is deprecated since 1.29, it should not be used in get_home. >>>>>> >>>>>> Probing for HOME and USERPROFILE should be OS-specific (to not pickup HOME on windows). >>>>>> >>>>> >>>>> >>>>> Here you go! >>>>> >>>>> The number of os-specific functions is growing :( >>>> >>>> Looks good, except the usage of a deprecated env::home_dir inside get_home, please use something >>>> like this instead: >>> >>> Oh pleeeease.... I think it is much nicer to survive one deprecation, especially when the direction >>> was made clear exactly by following the deprection pointers. >>> Are you sure you want this duplicate from env::home_dir? instead of? callto env::home_dir? >> >> I think it is better to avoid using deprecated API in a new code, especially with Rust fast pacing >> release cycle. > > Thsi is very very bad idea... We replaced one waring by six warnings... Why not fix the warnings which can be fixed and suppress others? > Udated patch attached... But I heavily vote for initial env::home_dir linux_pwd module uses linux-specific calls and is not compilable on windows. Please guard it with #[cfg(unix)] where appropriate. Even if we use env::home_dir (that I think is a bad idea) in this patch, we are going to have some platform-specific code anyway that needs to be conditionally excluded. >>> How will windows counterpart handle home? >> >> With GetUserProfileDirectoryW [1] or SHGetKnownFolderPath [2]. > So you will be calling directly those , similar to sugested: > fn getuid() -> uid_t; > fn getpwuid(uid: uid_t) -> *mut passwd; Yes, they are similar. > > [...] > -- -Alex From andrew at icedtea.classpath.org Thu Dec 6 00:24:11 2018 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 06 Dec 2018 00:24:11 +0000 Subject: /hg/release/icedtea7-2.6: 6 new changesets Message-ID: changeset 6941de3a5f8c in /hg/release/icedtea7-2.6 details: http://icedtea.classpath.org/hg/release/icedtea7-2.6?cmd=changeset;node=6941de3a5f8c author: Andrew John Hughes date: Sat Nov 24 02:28:03 2018 +0000 Start 2.6.15 release cycle. 2018-11-23 Andrew John Hughes * NEWS: Add section for 2.6.15. * configure.ac: Bump to 2.6.15pre00. changeset 9615e77f53ef in /hg/release/icedtea7-2.6 details: http://icedtea.classpath.org/hg/release/icedtea7-2.6?cmd=changeset;node=9615e77f53ef author: Andrew John Hughes date: Sat Nov 24 03:43:26 2018 +0000 PR3652: Detect whether -Xprefer:source and -J-Xmx can be used, rather than assuming 2018-11-23 Andrew John Hughes PR3652: Detect whether -Xprefer:source and -J-Xmx can be used, rather than assuming * Makefile.am: (PREFER_SOURCE): Define if COMPILER_SUPPORTS_XPREFERSOURCE is set by configure. (MEMORY_LIMIT): Define if COMPILER_SUPPORTS_MAX_HEAP_SIZE is set by configure. * NEWS: Updated. * acinclude.m4: (IT_DIAMOND_CHECK): Use 'the Java compiler' rather than 'javac' to avoid confusion with the OpenJDK command. (IT_UNDERSCORE_CHECK): Likewise. (IT_JAVAC_OPTIONS_CHECK): Check whether the selected Java compiler supports -Xprefer:source and -J-Xmx. * configure.ac: Invoke IT_JAVAC_OPTIONS_CHECK. changeset 250a19341b85 in /hg/release/icedtea7-2.6 details: http://icedtea.classpath.org/hg/release/icedtea7-2.6?cmd=changeset;node=250a19341b85 author: Andrew John Hughes date: Thu Nov 29 21:31:50 2018 +0000 Bump to 2.6.15pre01. Upstream changes: - Bump to icedtea-2.6.15pre01 - PR3606: jni_util.c does not import header file which declares getLastErrorString - S8075942, PR3605: ArrayIndexOutOfBoundsException in sun.java2d.pisces.Dasher.goTo ChangeLog: 2018-11-28 Andrew John Hughes Bump to 2.6.15pre01. * Makefile.am: (CORBA_CHANGESET): Update to icedtea-2.6.15pre01. (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.15pre01. * hotspot.map.in: Update to icedtea-2.6.15pre01. changeset c1b0859ec2eb in /hg/release/icedtea7-2.6 details: http://icedtea.classpath.org/hg/release/icedtea7-2.6?cmd=changeset;node=c1b0859ec2eb author: Andrew John Hughes date: Wed Dec 05 02:54:49 2018 +0000 PR3659: Support RHEL multilib installations which use the /usr/lib/jvm/java-1.x.0-openjdk.${arch} naming 2017-01-25 Andrew John Hughes PR3659: Support RHEL multilib installations which use the /usr/lib/jvm/java-1.x.0-openjdk.${arch} naming * NEWS: Updated. * acinclude.m4: (IT_SET_ARCH_SETTINGS): Set RPM_ARCH where the RPM architecture name is known (Fedora/RHEL build platforms). Remove unused CROSS_TARGET_ARCH from sparc, s390x and sh. (IT_CHECK_FOR_JDK): Depend on IT_SET_ARCH_SETTINGS. Use ${RPM_ARCH} instead of explicit 'x86_64'. changeset 86bc30befad5 in /hg/release/icedtea7-2.6 details: http://icedtea.classpath.org/hg/release/icedtea7-2.6?cmd=changeset;node=86bc30befad5 author: Andrew John Hughes date: Wed Dec 05 07:16:39 2018 +0000 PR3629: Install symlinks to tapsets in SystemTap directory 2018-09-23 Andrew John Hughes PR3629: Install symlinks to tapsets in SystemTap directory * INSTALL: Updated and synced with IcedTea 3.x. * Makefile.am: (install-exec-local): Add symlinks to tapsets in system tapset directory. * NEWS: Updated. * acinclude.m4: (IT_SET_ARCH_SETTINGS): Set SYSTEMTAP_ARCH_DIR appropriately for each architecture. Move aarch64/arm64 before arm* as in IcedTea 3.x. (IT_WITH_TAPSET_DIR): Add option --with-tapset-dir to allow SystemTap tapset directory to be specified (defaults to ${datadir}/systemtap/tapset) * configure.ac: Invoke IT_WITH_TAPSET_DIR. changeset b0e507383a9c in /hg/release/icedtea7-2.6 details: http://icedtea.classpath.org/hg/release/icedtea7-2.6?cmd=changeset;node=b0e507383a9c author: Andrew John Hughes date: Thu Dec 06 00:23:09 2018 +0000 PR3663: IcedTea installing symlinks to SystemTap directory rather than individual tapsets 2018-09-27 Andrew John Hughes PR3663: IcedTea installing symlinks to SystemTap directory rather than individual tapsets * Makefile.am: (install-exec-local): Add missing '$' so that ${tapname} is correctly expanded. * NEWS: Updated. diffstat: ChangeLog | 87 +++++++++++++++++++++++++++++++++++ INSTALL | 27 +++++----- Makefile.am | 52 ++++++++++++-------- NEWS | 13 +++++ acinclude.m4 | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++----- configure.ac | 4 +- hotspot.map.in | 2 +- 7 files changed, 275 insertions(+), 49 deletions(-) diffs (truncated from 603 to 500 lines): diff -r 6327cf1cea9e -r b0e507383a9c ChangeLog --- a/ChangeLog Thu May 24 05:28:07 2018 +0100 +++ b/ChangeLog Thu Dec 06 00:23:09 2018 +0000 @@ -1,3 +1,90 @@ +2018-09-27 Andrew John Hughes + + PR3663: IcedTea installing symlinks to SystemTap + directory rather than individual tapsets + * Makefile.am: + (install-exec-local): Add missing '$' so that + ${tapname} is correctly expanded. + * NEWS: Updated. + +2018-09-23 Andrew John Hughes + + PR3629: Install symlinks to tapsets in SystemTap directory + * INSTALL: Updated and synced with IcedTea 3.x. + * Makefile.am: + (install-exec-local): + Add symlinks to tapsets in system tapset directory. + * NEWS: Updated. + * acinclude.m4: + (IT_SET_ARCH_SETTINGS): Set SYSTEMTAP_ARCH_DIR + appropriately for each architecture. Move aarch64/arm64 + before arm* as in IcedTea 3.x. + (IT_WITH_TAPSET_DIR): Add option --with-tapset-dir + to allow SystemTap tapset directory to be + specified (defaults to ${datadir}/systemtap/tapset) + * configure.ac: + Invoke IT_WITH_TAPSET_DIR. + +2017-01-25 Andrew John Hughes + + PR3659: Support RHEL multilib installations which + use the /usr/lib/jvm/java-1.x.0-openjdk.${arch} naming + * NEWS: Updated. + * acinclude.m4: + (IT_SET_ARCH_SETTINGS): Set RPM_ARCH where the + RPM architecture name is known (Fedora/RHEL build + platforms). Remove unused CROSS_TARGET_ARCH from + sparc, s390x and sh. + (IT_CHECK_FOR_JDK): Depend on IT_SET_ARCH_SETTINGS. + Use ${RPM_ARCH} instead of explicit 'x86_64'. + +2018-11-28 Andrew John Hughes + + Bump to 2.6.15pre01. + * Makefile.am: + (CORBA_CHANGESET): Update to icedtea-2.6.15pre01. + (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.15pre01. + * hotspot.map.in: Update to icedtea-2.6.15pre01. + +2018-11-23 Andrew John Hughes + + PR3652: Detect whether -Xprefer:source + and -J-Xmx can be used, rather than assuming + * Makefile.am: + (PREFER_SOURCE): Define if + COMPILER_SUPPORTS_XPREFERSOURCE is set + by configure. + (MEMORY_LIMIT): Define if + COMPILER_SUPPORTS_MAX_HEAP_SIZE is set + by configure. + * NEWS: Updated. + * acinclude.m4: + (IT_DIAMOND_CHECK): Use 'the Java compiler' + rather than 'javac' to avoid confusion with + the OpenJDK command. + (IT_UNDERSCORE_CHECK): Likewise. + (IT_JAVAC_OPTIONS_CHECK): Check whether the + selected Java compiler supports -Xprefer:source + and -J-Xmx. + * configure.ac: Invoke IT_JAVAC_OPTIONS_CHECK. + +2018-11-23 Andrew John Hughes + + * NEWS: Add section for 2.6.15. + * configure.ac: Bump to 2.6.15pre00. + 2018-04-12 Andrew John Hughes PR3551: Additional category used in jconsole.desktop.in is incorrect diff -r 6327cf1cea9e -r b0e507383a9c INSTALL --- a/INSTALL Thu May 24 05:28:07 2018 +0100 +++ b/INSTALL Thu Dec 06 00:23:09 2018 +0000 @@ -29,7 +29,7 @@ libjpeg-devel >= 6b (for --enable-system-jpeg) zlib-devel (for --enable-system-zlib) lcms2-devel (for --enable-system-lcms) -fontconfig (for --enable-system-fontconfig) +fontconfig (for --enable-system-fontconfig & --enable-improved-font-rendering) libc6-dev & libattr-devel/libattr1-dev (for --enable-compile-against-syscalls) libpcsclite (for --enable-system-pcsc) lksctp-tools (for --enable-system-sctp) @@ -218,9 +218,10 @@ tarball to be used instead of the standard versions. * --with-hg-revision: Specify a hg revision to use (as opposed to tip) with the --enable-hg option. * --with-tzdata-dir: Specify the location of Java timezone data, defaulting to /usr/share/javazi. +* --with-tapset-dir: Specify the location of system SystemTap tapsets, defaulting to ${datarootdir}/systemtap/tapset. * --with-llvm-config: Specify the location of the llvm-config binary. * --with-version-suffix: Appends the given text to the JDK version output. -* --with-hotspot-build: The HotSpot to use, defaulting to 'original' i.e. hs14 as bundled with OpenJDK. +* --with-hotspot-build: The HotSpot to use, as listed in hotspot.map.in. * --with-pax: The command used to PaX-mark built binaries. * --enable-Werror: Turn gcc & javac warnings into errors. * --disable-jar-compression: Don't compress the OpenJDK JAR files. @@ -285,7 +286,7 @@ SystemTap ========= -IcedTea7 includes work to allow the existing DTrace probes included in +IcedTea includes work to allow the existing DTrace probes included in OpenJDK to be used with SystemTap. This requires version 0.9.5 or later (0.9.9 or later if you want Java method tracing). The tapset needs to know the final install location of the JDK, so the --prefix option @@ -293,8 +294,8 @@ in-tree location of openjdk.build/j2sdk-image and requires manual changes to tapset/hotspot.stp to work from elsewhere. For example, if you plan to install the resulting build in -/usr/lib/jvm/java-1.6.0-openjdk, then you should specify ---prefix=/usr/lib/jvm/java-1.6.0-openjdk. +/usr/lib/jvm/java-1.7.0-openjdk, then you should specify +--prefix=/usr/lib/jvm/java-1.7.0-openjdk. The NSS PKCS11 Security Provider and Elliptic Curve Cryptography ================================================================ @@ -319,7 +320,7 @@ CACAO ===== -IcedTea7 can use CACAO as the virtual machine, as opposed to HotSpot. +IcedTea can use CACAO as the virtual machine, as opposed to HotSpot. One advantage of this is that CACAO has a JIT implementation for more platforms than HotSpot, including ppc, arm and mips. When --enable-cacao is specified, CACAO will be downloaded and built, @@ -332,7 +333,7 @@ JamVM ===== -IcedTea6 can use JamVM as the virtual machine, as opposed to HotSpot. +IcedTea can use JamVM as the virtual machine, as opposed to HotSpot. When --enable-jamvm is specified, JamVM will be downloaded and built, followed by the JDK portion of OpenJDK resulting in a JamVM+OpenJDK image in openjdk.build/j2sdk-image. The --with-jamvm-src-zip option @@ -341,19 +342,19 @@ Zero & Shark ============ -IcedTea7 includes a zero assembler port of HotSpot, which avoids +IcedTea includes a zero assembler port of HotSpot, which avoids architecture-specific code as much as possible, allowing an interpreter to be built and run on most platforms (albeit very -slowly). As HotSpot only includes JITs for x86, x86_64, AArch64, -ppc64, ppc64le and SPARC, the zero assembler port is automatically -enabled on all other architectures. On HotSpot architectures, it may +slowly). As HotSpot only includes JITs for aarch64, ppc64, ppc64le, +x86, x86_64 and SPARC, the zero assembler port is automatically enabled +on all other architectures. On HotSpot-supported architectures, it may be built using --enable-zero. To overcome the performance issues inherent in zero, a LLVM-based JIT called Shark has been developed. This performs Just-In-Time compilation on any architecture supported by LLVM. To enable it, pass the option ---enable-shark to configure. Please note that Shark is still in -development and builds are still likely to fail at present. +--enable-shark to configure. Please note that work on Shark is now +abandoned and builds may fail. On ARM32, there is also a native JIT port built on top of Zero, which is built on this platform by default. diff -r 6327cf1cea9e -r b0e507383a9c Makefile.am --- a/Makefile.am Thu May 24 05:28:07 2018 +0100 +++ b/Makefile.am Thu Dec 06 00:23:09 2018 +0000 @@ -4,19 +4,19 @@ BUILD_VERSION = b01 COMBINED_VERSION = $(JDK_UPDATE_VERSION)-$(BUILD_VERSION) -CORBA_CHANGESET = 8931f7345917 -JAXP_CHANGESET = 71fb2bb2ccdf -JAXWS_CHANGESET = 46e5171dd4ab -JDK_CHANGESET = 581773232054 -LANGTOOLS_CHANGESET = 3633e24edab7 -OPENJDK_CHANGESET = 474d8c372eca - -CORBA_SHA256SUM = 666c1d42bad6d9465c0684673d3a82f9a3bdf2590291784133200ae8c2a8ce98 -JAXP_SHA256SUM = 3b5a9922584b88b9ab1add1254b60fc1adbe0bc77a96792c70ea0897d4cae7f2 -JAXWS_SHA256SUM = 10e3faee46767afe035f38e43b52de36bd21b12e85193204dcd5151b4bdf58f1 -JDK_SHA256SUM = 0bf1abcbc3e24f79ada234c10421e05bdc5e1fb1662a114db2437e1f6967e68e -LANGTOOLS_SHA256SUM = 4892a4c0beab6b9758e907ec92f49057711bf1152da99e04ef3318e809dc295b -OPENJDK_SHA256SUM = c20078bf70f84e0c84948e7c2d813f6e415151ac42c16663cb93b84e2b8b018d +CORBA_CHANGESET = 1ed1155692c8 +JAXP_CHANGESET = 8ddbfae3207e +JAXWS_CHANGESET = 37868584eef3 +JDK_CHANGESET = 384dd407114d +LANGTOOLS_CHANGESET = 7c19cbad9291 +OPENJDK_CHANGESET = 3cf747ef8b14 + +CORBA_SHA256SUM = 42e01b319b206ca7bd5fae0c910830853f865459ce63f21e16ae860db7fcc45e +JAXP_SHA256SUM = eb28e7e7e271e27155f21a48fd81ba58a8be577e32a350bfcd7bb65e4fa40202 +JAXWS_SHA256SUM = 9e6b4ed782df9c7be26027589b58002ac06940d82bb0b5120e85fedd727abd05 +JDK_SHA256SUM = b747fd71a8037a30b8ddf73d7182b6a1eab670b6f0bcdd8cb878aa0a6a31fda9 +LANGTOOLS_SHA256SUM = f3beac312b83dad3ae0d783da291e2fd0752a15a723f870083a4977906b94545 +OPENJDK_SHA256SUM = 6a993ad99d0f7f226a07fb7549659e9e340839ec560609f25c2abc4d93051ca4 DROP_URL = http://icedtea.classpath.org/download/drops @@ -287,15 +287,16 @@ REV_ARG = -r $(HGREV) endif -# This should not depend on bootstrapping -# but on whether MEMORY_LIMIT is accepted -# as an argument to javac -if BOOTSTRAPPING +if COMPILER_SUPPORTS_XPREFERSOURCE + PREFER_SOURCE = -Xprefer:source +else + PREFER_SOURCE = +endif + +if COMPILER_SUPPORTS_MAX_HEAP_SIZE + MEMORY_LIMIT = -J-Xmx1024m +else MEMORY_LIMIT = - PREFER_SOURCE = -else - MEMORY_LIMIT = -J-Xmx1024m - PREFER_SOURCE = -Xprefer:source endif if ENABLE_CACAO @@ -3260,9 +3261,18 @@ for files in $(BUILD_SDK_DIR)/jre/lib/ext/*.jar; do \ $(call install_file,$${files},$(DESTDIR)${prefix}/jre/lib/ext,$(INSTALL_DATA));\ done +if ENABLE_SYSTEMTAP +if WITH_TAPSET_DIR + stapdest="$(DESTDIR)$(TAPSET_DIR)/$(SYSTEMTAP_ARCH_DIR)" ; \ for files in $(BUILD_SDK_DIR)/tapset/*.stp; do \ $(call install_file,$${files},$(DESTDIR)${prefix}/tapset,$(INSTALL_DATA));\ + ${mkinstalldirs} $${stapdest} ; \ + tapname=$$(basename $${files}); \ + destname=$${tapname/./- at JAVA_VER@.} ; \ + ln -s ${prefix}/tapset/$${tapname} $${stapdest}/$${destname} ; \ done +endif +endif $(abs_top_builddir)/pax-mark-vm $(DESTDIR)${prefix} false install-data-local: diff -r 6327cf1cea9e -r b0e507383a9c NEWS --- a/NEWS Thu May 24 05:28:07 2018 +0100 +++ b/NEWS Thu Dec 06 00:23:09 2018 +0000 @@ -12,6 +12,17 @@ CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY +New in release 2.6.15 (2018-11-XX): + +* New features + - PR3659: Support RHEL multilib installations which use the /usr/lib/jvm/java-1.x.0-openjdk.${arch} naming +* Backports + - S8075942, PR3605: ArrayIndexOutOfBoundsException in sun.java2d.pisces.Dasher.goTo +* Bug fixes + - PR3606: jni_util.c does not import header file which declares getLastErrorString + - PR3652: Detect whether -Xprefer:source and -J-Xmx can be used, rather than assuming + - PR3663: IcedTea installing symlinks to SystemTap directory rather than individual tapsets + New in release 2.6.14 (2018-05-23): * Security fixes @@ -2023,6 +2034,8 @@ New in release 2.5.2 (2014-08-29): +* New features + - PR3629: Install symlinks to tapsets in SystemTap directory * Backports - S8049480: Current versions of Java can't verify jars signed and timestamped with Java 9 - S8051012, LP1360392: Regression in verifier for method call from inside of a branch diff -r 6327cf1cea9e -r b0e507383a9c acinclude.m4 --- a/acinclude.m4 Thu May 24 05:28:07 2018 +0100 +++ b/acinclude.m4 Thu Dec 06 00:23:09 2018 +0000 @@ -5,12 +5,16 @@ BUILD_ARCH_DIR=amd64 INSTALL_ARCH_DIR=amd64 JRE_ARCH_DIR=amd64 + RPM_ARCH=x86_64 + SYSTEMTAP_ARCH_DIR=x86_64 ARCHFLAG="-m64" ;; i?86) BUILD_ARCH_DIR=i586 INSTALL_ARCH_DIR=i386 JRE_ARCH_DIR=i386 + RPM_ARCH=i686 + SYSTEMTAP_ARCH_DIR=i386 ARCH_PREFIX=${LINUX32} ARCHFLAG="-m32" ;; @@ -18,33 +22,42 @@ BUILD_ARCH_DIR=alpha INSTALL_ARCH_DIR=alpha JRE_ARCH_DIR=alpha + SYSTEMTAP_ARCH_DIR=alpha + ;; + arm64|aarch64) + BUILD_ARCH_DIR=aarch64 + INSTALL_ARCH_DIR=aarch64 + JRE_ARCH_DIR=aarch64 + RPM_ARCH=aarch64 + SYSTEMTAP_ARCH_DIR=arm64 + ARCHFLAG="-D_LITTLE_ENDIAN" ;; arm*) BUILD_ARCH_DIR=arm INSTALL_ARCH_DIR=arm JRE_ARCH_DIR=arm - ARCHFLAG="-D_LITTLE_ENDIAN" - ;; - arm64|aarch64) - BUILD_ARCH_DIR=aarch64 - INSTALL_ARCH_DIR=aarch64 - JRE_ARCH_DIR=aarch64 + RPM_ARCH=armv7hl + SYSTEMTAP_ARCH_DIR=arm ARCHFLAG="-D_LITTLE_ENDIAN" ;; mips) BUILD_ARCH_DIR=mips INSTALL_ARCH_DIR=mips JRE_ARCH_DIR=mips + SYSTEMTAP_ARCH_DIR=mips ;; mipsel) BUILD_ARCH_DIR=mipsel INSTALL_ARCH_DIR=mipsel JRE_ARCH_DIR=mipsel + SYSTEMTAP_ARCH_DIR=mips ;; powerpc) BUILD_ARCH_DIR=ppc INSTALL_ARCH_DIR=ppc JRE_ARCH_DIR=ppc + RPM_ARCH=ppc + SYSTEMTAP_ARCH_DIR=powerpc ARCH_PREFIX=${LINUX32} ARCHFLAG="-m32" ;; @@ -52,19 +65,23 @@ BUILD_ARCH_DIR=ppc64 INSTALL_ARCH_DIR=ppc64 JRE_ARCH_DIR=ppc64 + RPM_ARCH=ppc64 + SYSTEMTAP_ARCH_DIR=powerpc ARCHFLAG="-m64" ;; powerpc64le) BUILD_ARCH_DIR=ppc64le INSTALL_ARCH_DIR=ppc64le JRE_ARCH_DIR=ppc64le + RPM_ARCH=ppc64le + SYSTEMTAP_ARCH_DIR=powerpc ARCHFLAG="-m64" ;; sparc) BUILD_ARCH_DIR=sparc INSTALL_ARCH_DIR=sparc JRE_ARCH_DIR=sparc - CROSS_TARGET_ARCH=sparc + SYSTEMTAP_ARCH_DIR=sparc ARCH_PREFIX=${LINUX32} ARCHFLAG="-m32" ;; @@ -72,12 +89,15 @@ BUILD_ARCH_DIR=sparcv9 INSTALL_ARCH_DIR=sparcv9 JRE_ARCH_DIR=sparc64 + SYSTEMTAP_ARCH_DIR=sparc ARCHFLAG="-m64" ;; s390) BUILD_ARCH_DIR=s390 INSTALL_ARCH_DIR=s390 JRE_ARCH_DIR=s390 + RPM_ARCH=s390 + SYSTEMTAP_ARCH_DIR=s390 ARCH_PREFIX=${LINUX32} ARCHFLAG="-m31" ;; @@ -85,24 +105,27 @@ BUILD_ARCH_DIR=s390x INSTALL_ARCH_DIR=s390x JRE_ARCH_DIR=s390x - CROSS_TARGET_ARCH=s390x + RPM_ARCH=s390x + SYSTEMTAP_ARCH_DIR=s390 ARCHFLAG="-m64" ;; sh*) BUILD_ARCH_DIR=sh INSTALL_ARCH_DIR=sh JRE_ARCH_DIR=sh - CROSS_TARGET_ARCH=sh + SYSTEMTAP_ARCH_DIR=sh ;; *) BUILD_ARCH_DIR=`uname -m` INSTALL_ARCH_DIR=$BUILD_ARCH_DIR JRE_ARCH_DIR=$INSTALL_ARCH_DIR + SYSTEMTAP_ARCH_DIR=$INSTALL_ARCH_DIR ;; esac AC_SUBST(BUILD_ARCH_DIR) AC_SUBST(INSTALL_ARCH_DIR) AC_SUBST(JRE_ARCH_DIR) + AC_SUBST(SYSTEMTAP_ARCH_DIR) AC_SUBST(ARCH_PREFIX) AC_SUBST(ARCHFLAG) ]) @@ -1148,6 +1171,7 @@ AC_DEFUN_ONCE([IT_CHECK_FOR_JDK], [ + AC_REQUIRE([IT_SET_ARCH_SETTINGS]) AC_MSG_CHECKING([for a JDK home directory]) AC_ARG_WITH([jdk-home], [AS_HELP_STRING([--with-jdk-home[[=PATH]]], @@ -1172,10 +1196,10 @@ BOOTSTRAP_VMS="/usr/lib/jvm/java-gcj /usr/lib/jvm/gcj-jdk /usr/lib/jvm/cacao"; fi ICEDTEA6_VMS="/usr/lib/jvm/icedtea-6 /usr/lib/jvm/icedtea6 /usr/lib/jvm/java-6-openjdk - /usr/lib/jvm/java-1.6.0-openjdk /usr/lib/jvm/java-1.6.0-openjdk.x86_64 + /usr/lib/jvm/java-1.6.0-openjdk /usr/lib/jvm/java-1.6.0-openjdk.${RPM_ARCH} /usr/lib64/jvm/java-1.6.0-openjdk /usr/lib/jvm/java-1.6.0" ICEDTEA7_VMS="/usr/lib/jvm/icedtea-7 /usr/lib/jvm/icedtea7 /usr/lib/jvm/java-7-openjdk - /usr/lib/jvm/java-1.7.0-openjdk /usr/lib/jvm/java-1.7.0-openjdk.x86_64 + /usr/lib/jvm/java-1.7.0-openjdk /usr/lib/jvm/java-1.7.0-openjdk.${RPM_ARCH} /usr/lib64/jvm/java-1.7.0-openjdk /usr/lib/jvm/java-1.7.0" for dir in ${BOOTSTRAP_VMS} ${ICEDTEA7_VMS} ${ICEDTEA6_VMS} \ /usr/lib/jvm/java-openjdk /usr/lib/jvm/openjdk /usr/lib/jvm/java-icedtea \ @@ -1797,7 +1821,7 @@ AC_DEFUN([IT_DIAMOND_CHECK],[ AC_REQUIRE([IT_CHECK_JAVA_AND_JAVAC_WORK]) - AC_CACHE_CHECK([if javac lacks support for the diamond operator], it_cv_diamond, [ + AC_CACHE_CHECK([if the Java compiler lacks support for the diamond operator], it_cv_diamond, [ CLASS=Test.java BYTECODE=$(echo $CLASS|sed 's#\.java##') mkdir tmp.$$ @@ -2879,6 +2903,33 @@ fi ]) +AC_DEFUN([IT_WITH_TAPSET_DIR], +[ + TAPSET_DEFAULT="${datadir}/systemtap/tapset" + AC_MSG_CHECKING([which SystemTap tapset directory to use]) + AC_ARG_WITH([tapset-dir], + [AS_HELP_STRING(--with-tapset-dir,set the SystemTap tapset directory [[default=DATAROOTDIR/systemtap/tapset]])], + [ + if test "x${withval}" = x || test "x${withval}" = xyes; then + TAPSET_DIR="${TAPSET_DEFAULT}" + else + TAPSET_DIR="${withval}" + fi + ], + [ + TAPSET_DIR="${TAPSET_DEFAULT}" + ]) + if test "x${TAPSET_DIR}" = "xno"; then + TAPSET_DIR=none + TAPSET_DIR_SET=no + else + TAPSET_DIR_SET=yes + fi + AC_MSG_RESULT([${TAPSET_DIR}]) + AC_SUBST([TAPSET_DIR]) + AM_CONDITIONAL(WITH_TAPSET_DIR, test "x${TAPSET_DIR_SET}" = "xyes") +]) + AC_DEFUN_ONCE([IT_HAS_NATIVE_HOTSPOT_PORT], [ AC_MSG_CHECKING([if a native HotSpot port is available for this architecture]) @@ -2979,7 +3030,7 @@ AC_DEFUN([IT_UNDERSCORE_CHECK],[ AC_REQUIRE([IT_CHECK_JAVA_AND_JAVAC_WORK]) From bugzilla-daemon at icedtea.classpath.org Thu Dec 6 00:24:22 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 06 Dec 2018 00:24:22 +0000 Subject: [Bug 3652] [IcedTea7] Detect whether -Xprefer:source and -J-Xmx can be used, rather than assuming In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3652 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-2.6?cmd=changeset;node=9615e77f53ef author: Andrew John Hughes date: Sat Nov 24 03:43:26 2018 +0000 PR3652: Detect whether -Xprefer:source and -J-Xmx can be used, rather than assuming 2018-11-23 Andrew John Hughes PR3652: Detect whether -Xprefer:source and -J-Xmx can be used, rather than assuming * Makefile.am: (PREFER_SOURCE): Define if COMPILER_SUPPORTS_XPREFERSOURCE is set by configure. (MEMORY_LIMIT): Define if COMPILER_SUPPORTS_MAX_HEAP_SIZE is set by configure. * NEWS: Updated. * acinclude.m4: (IT_DIAMOND_CHECK): Use 'the Java compiler' rather than 'javac' to avoid confusion with the OpenJDK command. (IT_UNDERSCORE_CHECK): Likewise. (IT_JAVAC_OPTIONS_CHECK): Check whether the selected Java compiler supports -Xprefer:source and -J-Xmx. * configure.ac: Invoke IT_JAVAC_OPTIONS_CHECK. -- You are receiving this mail because: 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 Dec 6 00:24:37 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 06 Dec 2018 00:24:37 +0000 Subject: [Bug 3606] [IcedTea7] jni_util.c does not import header file which declares getLastErrorString In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3606 --- Comment #2 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-2.6?cmd=changeset;node=250a19341b85 author: Andrew John Hughes date: Thu Nov 29 21:31:50 2018 +0000 Bump to 2.6.15pre01. Upstream changes: - Bump to icedtea-2.6.15pre01 - PR3606: jni_util.c does not import header file which declares getLastErrorString - S8075942, PR3605: ArrayIndexOutOfBoundsException in sun.java2d.pisces.Dasher.goTo ChangeLog: 2018-11-28 Andrew John Hughes Bump to 2.6.15pre01. * Makefile.am: (CORBA_CHANGESET): Update to icedtea-2.6.15pre01. (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.15pre01. * hotspot.map.in: Update to icedtea-2.6.15pre01. -- You are receiving this mail because: 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 Dec 6 00:24:59 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 06 Dec 2018 00:24:59 +0000 Subject: [Bug 3663] [IcedTea7] IcedTea installing symlinks to SystemTap directory rather than individual tapsets In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3663 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-2.6?cmd=changeset;node=b0e507383a9c author: Andrew John Hughes date: Thu Dec 06 00:23:09 2018 +0000 PR3663: IcedTea installing symlinks to SystemTap directory rather than individual tapsets 2018-09-27 Andrew John Hughes PR3663: IcedTea installing symlinks to SystemTap directory rather than individual tapsets * Makefile.am: (install-exec-local): Add missing '$' so that ${tapname} is correctly expanded. * NEWS: Updated. -- You are receiving this mail because: 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 Dec 6 00:24:34 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 06 Dec 2018 00:24:34 +0000 Subject: [Bug 3605] [IcedTea7] Backport "8075942: ArrayIndexOutOfBoundsException in sun.java2d.pisces.Dasher.goTo" In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3605 --- Comment #2 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-2.6?cmd=changeset;node=250a19341b85 author: Andrew John Hughes date: Thu Nov 29 21:31:50 2018 +0000 Bump to 2.6.15pre01. Upstream changes: - Bump to icedtea-2.6.15pre01 - PR3606: jni_util.c does not import header file which declares getLastErrorString - S8075942, PR3605: ArrayIndexOutOfBoundsException in sun.java2d.pisces.Dasher.goTo ChangeLog: 2018-11-28 Andrew John Hughes Bump to 2.6.15pre01. * Makefile.am: (CORBA_CHANGESET): Update to icedtea-2.6.15pre01. (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.15pre01. * hotspot.map.in: Update to icedtea-2.6.15pre01. -- You are receiving this mail because: 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 Dec 6 00:24:44 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 06 Dec 2018 00:24:44 +0000 Subject: [Bug 3659] [IcedTea7] Support RHEL multilib installations which use the /usr/lib/jvm/java-1.x.0-openjdk.${arch} naming In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3659 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-2.6?cmd=changeset;node=c1b0859ec2eb author: Andrew John Hughes date: Wed Dec 05 02:54:49 2018 +0000 PR3659: Support RHEL multilib installations which use the /usr/lib/jvm/java-1.x.0-openjdk.${arch} naming 2017-01-25 Andrew John Hughes PR3659: Support RHEL multilib installations which use the /usr/lib/jvm/java-1.x.0-openjdk.${arch} naming * NEWS: Updated. * acinclude.m4: (IT_SET_ARCH_SETTINGS): Set RPM_ARCH where the RPM architecture name is known (Fedora/RHEL build platforms). Remove unused CROSS_TARGET_ARCH from sparc, s390x and sh. (IT_CHECK_FOR_JDK): Depend on IT_SET_ARCH_SETTINGS. Use ${RPM_ARCH} instead of explicit 'x86_64'. -- You are receiving this mail because: 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 Dec 6 00:24:52 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 06 Dec 2018 00:24:52 +0000 Subject: [Bug 3629] [IcedTea7] Install symlinks to tapsets in SystemTap directory In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3629 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-2.6?cmd=changeset;node=86bc30befad5 author: Andrew John Hughes date: Wed Dec 05 07:16:39 2018 +0000 PR3629: Install symlinks to tapsets in SystemTap directory 2018-09-23 Andrew John Hughes PR3629: Install symlinks to tapsets in SystemTap directory * INSTALL: Updated and synced with IcedTea 3.x. * Makefile.am: (install-exec-local): Add symlinks to tapsets in system tapset directory. * NEWS: Updated. * acinclude.m4: (IT_SET_ARCH_SETTINGS): Set SYSTEMTAP_ARCH_DIR appropriately for each architecture. Move aarch64/arm64 before arm* as in IcedTea 3.x. (IT_WITH_TAPSET_DIR): Add option --with-tapset-dir to allow SystemTap tapset directory to be specified (defaults to ${datadir}/systemtap/tapset) * configure.ac: Invoke IT_WITH_TAPSET_DIR. -- You are receiving this mail because: 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 Dec 6 03:56:14 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 06 Dec 2018 03:56:14 +0000 Subject: [Bug 3667] New: [IcedTea8] Use the internal copy of the SunEC library rather than statically linking against NSS Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3667 Bug ID: 3667 Summary: [IcedTea8] Use the internal copy of the SunEC library rather than statically linking against NSS Product: IcedTea Version: 3.x-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 For a long time, we've been carrying a rather inelegant solution to providing ECC support and I'd like us to move to something closer to what is present upstream. The current situation is that OpenJDK includes a copy of the SunEC C library, which was also contributed to NSS at some point in the past: https://icedtea.classpath.org/hg/icedtea8-forest/jdk/file/tip/src/share/native/sun/security/ec/impl The main way this differs from the version in NSS is that they include a lot more curves: https://icedtea.classpath.org/hg/icedtea8-forest/jdk/file/tip/src/share/native/sun/security/ec/impl/ecl-curve.h At present, we go to the length of deleting and not building any of the in-tree copy of the SunEC code via fsg.sh, and instead patch the Oracle native provider code to build against the system NSS library: https://icedtea.classpath.org/hg/icedtea8-forest/jdk/file/tip/src/share/native/sun/security/ec/ECC_JNI.cpp This is messy, because we have to link against some functions that are only available statically. That means that our builds end up depending on the specific version of NSS they were built against and can break if someone upgrades NSS but not OpenJDK. I propose to still remove the curves from both the Java code (as we do now) and the restored in-tree SunEC code when ENABLE_NON_NSS_CURVES is not set, and drop the collection of patches used to provide SunEC+NSS. -- You are receiving this mail because: 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 Dec 6 03:56:31 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 06 Dec 2018 03:56:31 +0000 Subject: [Bug 3667] [IcedTea8] Use the internal copy of the SunEC library rather than statically linking against NSS In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3667 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Blocks| |3641 Target Milestone|--- |3.11.0 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Thu Dec 6 03:56:31 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 06 Dec 2018 03:56:31 +0000 Subject: [Bug 3641] [TRACKER] IcedTea 3.11.0 Release In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3641 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |3667 -- You are receiving this mail because: 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 Dec 6 04:01:04 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 06 Dec 2018 04:01:04 +0000 Subject: [Bug 3668] New: [IcedTea7] Use the internal copy of the SunEC library rather than statically linking against NSS Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3668 Bug ID: 3668 Summary: [IcedTea7] Use the internal copy of the SunEC library rather than statically linking against NSS Product: IcedTea Version: 2.x-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 3667 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 Thu Dec 6 04:01:18 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 06 Dec 2018 04:01:18 +0000 Subject: [Bug 3668] [IcedTea7] Use the internal copy of the SunEC library rather than statically linking against NSS In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3668 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Target Milestone|--- |2.6.17 -- You are receiving this mail because: 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 Dec 6 04:28:49 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 06 Dec 2018 04:28:49 +0000 Subject: [Bug 3669] New: [IcedTea7] Backport latest AArch64 fixes to release branch for 2.6.17 Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3669 Bug ID: 3669 Summary: [IcedTea7] Backport latest AArch64 fixes to release branch for 2.6.17 Product: IcedTea Version: 2.x-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 Recent 8u backports are applicable to the 7 code as well: changeset: 10648:96d806855d19 parent: 10640:67c63384e5e9 user: aph date: Tue Oct 02 09:16:20 2018 -0400 summary: 8211064: [AArch64] Interpreter and c1 don't correctly handle jboolean results in native calls changeset: 10649:c763810a9bf5 user: fyang date: Fri Sep 28 08:48:26 2018 +0800 summary: 8207838: AArch64: Float registers incorrectly restored in JNI call changeset: 10652:e333239d5e9c user: aph date: Tue Nov 13 11:21:32 2018 -0500 summary: 8209415: Fix JVMTI test failure HS202 Equivalent of bug 2852, bug 3204, bug 3320 and bug 3521 for IcedTea 2.6.17. -- You are receiving this mail because: 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 Dec 6 04:29:09 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 06 Dec 2018 04:29:09 +0000 Subject: [Bug 3669] [IcedTea7] Backport latest AArch64 fixes to release branch for 2.6.17 In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3669 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Target Milestone|--- |2.6.17 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jvanek at redhat.com Fri Dec 7 09:10:28 2018 From: jvanek at redhat.com (Jiri Vanek) Date: Fri, 7 Dec 2018 10:10:28 +0100 Subject: [rfc][icedtea-web] improved home finding to use variables first In-Reply-To: <35909636-4e29-f7c5-c994-4a54cbf51e71@redhat.com> References: <59986a57-60b0-9574-c0dc-285155d0040c@redhat.com> <47e28a73-6c86-97cc-732d-20e0350553a3@redhat.com> <32a43e9f-bce4-6f7d-722f-2128314dccee@redhat.com> <312fc951-fa2d-a3be-56b3-24baeb6d8cae@redhat.com> <35909636-4e29-f7c5-c994-4a54cbf51e71@redhat.com> Message-ID: On 12/5/18 11:47 PM, Alex Kashchenko wrote: > On 12/05/2018 06:15 PM, Jiri Vanek wrote: >> On 12/5/18 11:48 AM, Alex Kashchenko wrote: >>> On 12/04/2018 01:46 PM, Jiri Vanek wrote: >>>> On 12/4/18 1:44 PM, Alex Kashchenko wrote: >>>>> On 12/03/2018 02:33 PM, Jiri Vanek wrote: >>>>>> On 11/30/18 5:41 PM, Alex Kashchenko wrote: >>>>>>> Hi, >>>>>>> >>>>>>> On 11/29/2018 12:32 PM, Jiri Vanek wrote: >>>>>>>> >>>>>>> >>>>>>> env::home_dir is deprecated since 1.29, it should not be used in get_home. >>>>>>> >>>>>>> Probing for HOME and USERPROFILE should be OS-specific (to not pickup HOME on windows). >>>>>>> >>>>>> >>>>>> >>>>>> Here you go! >>>>>> >>>>>> The number of os-specific functions is growing :( >>>>> >>>>> Looks good, except the usage of a deprecated env::home_dir inside get_home, please use something >>>>> like this instead: >>>> >>>> Oh pleeeease.... I think it is much nicer to survive one deprecation, especially when the direction >>>> was made clear exactly by following the deprection pointers. >>>> Are you sure you want this duplicate from env::home_dir? instead of? callto env::home_dir? >>> >>> I think it is better to avoid using deprecated API in a new code, especially with Rust fast pacing >>> release cycle. >> >> Thsi is very very bad idea... We replaced one waring by six warnings... > > Why not fix the warnings which can be fixed and suppress others? The fix is the same as for env:home_dir - to use implementation from crates.io > > >> Udated patch attached... But I heavily vote for initial env::home_dir > > linux_pwd module uses linux-specific calls and is not compilable on windows. Please guard it with > #[cfg(unix)] where appropriate. Even if we use env::home_dir (that I think is a bad idea) in this > patch, we are going to have some platform-specific code anyway that needs to be conditionally excluded. I'm still not sure how will be handled OsAccess = new Linux() x new Windows() Theoretically this should be the onl palce where any #[cfg(unix)] shouldbe used. Eh both GetUserProfileDirectoryW [1] or SHGetKnownFolderPath [2]. and getuid(), getpwuid(uid: uid_t) Are compilable on both platforms, but failing in runtime if architecture goes wrong. So if the getuid(), getpwuid(uid: uid_t) aar ehidne in Linux() then it should be ok. Jsut thoughts... > > >>>> How will windows counterpart handle home? >>> >>> With GetUserProfileDirectoryW [1] or SHGetKnownFolderPath [2]. >> So you will be calling directly those , similar to sugested: >> ?????? fn getuid() -> uid_t; >> ?????? fn getpwuid(uid: uid_t) -> *mut passwd; > > Yes, they are similar. > >> >> [...] >> > -- Jiri Vanek Senior QE engineer, OpenJDK QE lead, Mgr. Red Hat Czech jvanek at redhat.com M: +420775390109 From akashche at redhat.com Fri Dec 7 11:13:20 2018 From: akashche at redhat.com (Alex Kashchenko) Date: Fri, 7 Dec 2018 11:13:20 +0000 Subject: [rfc][icedtea-web] improved home finding to use variables first In-Reply-To: References: <59986a57-60b0-9574-c0dc-285155d0040c@redhat.com> <47e28a73-6c86-97cc-732d-20e0350553a3@redhat.com> <32a43e9f-bce4-6f7d-722f-2128314dccee@redhat.com> <312fc951-fa2d-a3be-56b3-24baeb6d8cae@redhat.com> <35909636-4e29-f7c5-c994-4a54cbf51e71@redhat.com> Message-ID: <70484deb-3249-ebc5-c1b4-d0f20f308c39@redhat.com> On 12/07/2018 09:10 AM, Jiri Vanek wrote: >>>>> >>>>> [...] >>>>> >>>> >>>> I think it is better to avoid using deprecated API in a new code, especially with Rust fast pacing >>>> release cycle. >>> >>> Thsi is very very bad idea... We replaced one waring by six warnings... >> >> Why not fix the warnings which can be fixed and suppress others? > > The fix is the same as for env:home_dir - to use implementation from crates.io I am talking about the warnings in a launcher code, currently (without the patch) there are 11 warnings. They are all harmless ("dead_code" type), but they produce a lot of garbage output that makes it easy to miss possibly important new ones. It should be trivial to suppress harmless warnings with #[allow(dead_code)], #[allow(non_camel_case_types)] and similar annotations. >>> Udated patch attached... But I heavily vote for initial env::home_dir >> >> linux_pwd module uses linux-specific calls and is not compilable on windows. Please guard it with >> #[cfg(unix)] where appropriate. Even if we use env::home_dir (that I think is a bad idea) in this >> patch, we are going to have some platform-specific code anyway that needs to be conditionally excluded. > > I'm still not sure how will be handled OsAccess = new Linux() x new Windows() > Theoretically this should be the onl palce where any #[cfg(unix)] shouldbe used. > Eh both > GetUserProfileDirectoryW [1] or SHGetKnownFolderPath [2]. > and > getuid(), getpwuid(uid: uid_t) > > Are compilable on both platforms, but failing in runtime if architecture goes wrong. They are not compilable, even removing usage of "std::os::unix" package (that doesn't exist on windows), build will fail on linking stage. GCC linker (that is used in x86_64-pc-windows-gnu Rust) fails with "undefined reference to `getuid'". > > [...] > -- -Alex From jvanek at redhat.com Fri Dec 7 18:29:29 2018 From: jvanek at redhat.com (jiri Vanek) Date: Fri, 7 Dec 2018 13:29:29 -0500 (EST) Subject: [rfc][icedtea-web] improved home finding to use variables first In-Reply-To: <70484deb-3249-ebc5-c1b4-d0f20f308c39@redhat.com> References: <47e28a73-6c86-97cc-732d-20e0350553a3@redhat.com> <32a43e9f-bce4-6f7d-722f-2128314dccee@redhat.com> <312fc951-fa2d-a3be-56b3-24baeb6d8cae@redhat.com> <35909636-4e29-f7c5-c994-4a54cbf51e71@redhat.com> <70484deb-3249-ebc5-c1b4-d0f20f308c39@redhat.com> Message-ID: <1110416979.83387775.1544207369929.JavaMail.zimbra@redhat.com> ----- Original Message ----- From: "Alex Kashchenko" To: "Jiri Vanek" Cc: "IcedTea Distro List" Sent: Friday, December 7, 2018 12:13:20 PM Subject: Re: [rfc][icedtea-web] improved home finding to use variables first On 12/07/2018 09:10 AM, Jiri Vanek wrote: >>>>>> >>>>>> [...] >>>>>> >>>>>> >>>>> I think it is better to avoid using deprecated API in a new code, especially with Rust fast pacing >>>>> release cycle. >>>> >>>> Thsi is very very bad idea... We replaced one waring by six warnings... >>> >>> Why not fix the warnings which can be fixed and suppress others? >> >> The fix is the same as for env:home_dir - to use implementation from crates.io > > I am talking about the warnings in a launcher code, currently (without > the patch) there are 11 warnings. They are all harmless ("dead_code" > type), but they produce a lot of garbage output that makes it easy to > miss possibly important new ones. It should be trivial to suppress > harmless warnings with #[allow(dead_code)], > #[allow(non_camel_case_types)] and similar annotations. Interesting. That is not what I do see. [1] 10 | match env::home_dir() { = note: #[warn(deprecated)] on by default -> this is discussed right now warning: unused variable: `jre_dir` 103 | fn spawn_java_process(&self, jre_dir: &std::path::PathBuf, args: &Vec) -> std::process::Child { | ^^^^^^^ help: consider using `_jre_dir` instead = note: #[warn(unused_variables)] on by default Introduced freshly. jre_dir will be used in future development warning: unused variable: `args` 103 | fn spawn_java_process(&self, jre_dir: &std::path::PathBuf, args: &Vec) -> std::process::Child { | ^^^^ help: consider using `_args` instead args will be used in future development warning: constant item is never used: `LAUNCHER_BOOTCLASSPATH` --> src/hardcoded_paths.rs:3:1 3 | const LAUNCHER_BOOTCLASSPATH: Option<&'static str> = option_env!("LAUNCHER_BOOTCLASSPATH"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 times same: #[warn(dead_code)], leading from constant never used. All those constants will be used in future development or removed. So you can not say that there are any real warnings right now. On contrary the new implementation of get_home is bringing many nasty warnings :( >>>> Udated patch attached... But I heavily vote for initial env::home_dir >>> >>> linux_pwd module uses linux-specific calls and is not compilable on windows. Please guard it with >>> #[cfg(unix)] where appropriate. Even if we use env::home_dir (that I think is a bad idea) in this >>> patch, we are going to have some platform-specific code anyway that needs to be conditionally excluded. >> >> I'm still not sure how will be handled OsAccess = new Linux() x new Windows() >> Theoretically this should be the onl palce where any #[cfg(unix)] shouldbe used. >> Eh both >> GetUserProfileDirectoryW [1] or SHGetKnownFolderPath [2]. >> and >> getuid(), getpwuid(uid: uid_t) >> >> Are compilable on both platforms, but failing in runtime if architecture goes wrong. > > They are not compilable, even removing usage of "std::os::unix" package > (that doesn't exist on windows), build will fail on linking stage. GCC > linker (that is used in x86_64-pc-windows-gnu Rust) fails with > "undefined reference to `getuid'". Thanx. noted. j. [1] Compiling launcher v1.8.0 (file:///home/jvanek/Desktop/icedtea-web/launcher.in.javaws) warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. --> src/dirs_paths_helper.rs:10:11 | 10 | match env::home_dir() { | ^^^^^^^^^^^^^ | = note: #[warn(deprecated)] on by default warning: unused variable: `jre_dir` --> src/property_from_files_resolver.rs:103:38 | 103 | fn spawn_java_process(&self, jre_dir: &std::path::PathBuf, args: &Vec) -> std::process::Child { | ^^^^^^^ help: consider using `_jre_dir` instead | = note: #[warn(unused_variables)] on by default warning: unused variable: `args` --> src/property_from_files_resolver.rs:103:68 | 103 | fn spawn_java_process(&self, jre_dir: &std::path::PathBuf, args: &Vec) -> std::process::Child { | ^^^^ help: consider using `_args` instead warning: constant item is never used: `LAUNCHER_BOOTCLASSPATH` --> src/hardcoded_paths.rs:3:1 | 3 | const LAUNCHER_BOOTCLASSPATH: Option<&'static str> = option_env!("LAUNCHER_BOOTCLASSPATH"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: #[warn(dead_code)] on by default warning: constant item is never used: `JAVAWS_SPLASH_LOCATION` --> src/hardcoded_paths.rs:4:1 | 4 | const JAVAWS_SPLASH_LOCATION: Option<&'static str> = option_env!("JAVAWS_SPLASH_LOCATION"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant item is never used: `NETX_JAR` --> src/hardcoded_paths.rs:9:1 | 9 | const NETX_JAR: Option<&'static str> = option_env!("NETX_JAR"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant item is never used: `PLUGIN_JAR` --> src/hardcoded_paths.rs:10:1 | 10 | const PLUGIN_JAR: Option<&'static str> = option_env!("PLUGIN_JAR"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant item is never used: `JSOBJECT_JAR` --> src/hardcoded_paths.rs:11:1 | 11 | const JSOBJECT_JAR: Option<&'static str> = option_env!("JSOBJECT_JAR"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Finished dev [unoptimized + debuginfo] target(s) in 3.14s Running target/debug/deps/launcher-77c219f2162556a5 From akashche at redhat.com Sat Dec 8 14:12:57 2018 From: akashche at redhat.com (Alex Kashchenko) Date: Sat, 8 Dec 2018 14:12:57 +0000 Subject: [rfc][icedtea-web] improved home finding to use variables first In-Reply-To: <1110416979.83387775.1544207369929.JavaMail.zimbra@redhat.com> References: <47e28a73-6c86-97cc-732d-20e0350553a3@redhat.com> <32a43e9f-bce4-6f7d-722f-2128314dccee@redhat.com> <312fc951-fa2d-a3be-56b3-24baeb6d8cae@redhat.com> <35909636-4e29-f7c5-c994-4a54cbf51e71@redhat.com> <70484deb-3249-ebc5-c1b4-d0f20f308c39@redhat.com> <1110416979.83387775.1544207369929.JavaMail.zimbra@redhat.com> Message-ID: On 12/07/2018 06:29 PM, jiri Vanek wrote: > > [...] > >> I am talking about the warnings in a launcher code, currently (without >> the patch) there are 11 warnings. They are all harmless ("dead_code" >> type), but they produce a lot of garbage output that makes it easy to >> miss possibly important new ones. It should be trivial to suppress >> harmless warnings with #[allow(dead_code)], >> #[allow(non_camel_case_types)] and similar annotations. > > Interesting. That is not what I do see. [1] You are likely using newer version of Rust than me. > > [...] > > > 6 times same: #[warn(dead_code)], leading from constant never used. > All those constants will be used in future development or removed. Until that time these constants may be annotated to not produce warnings. > So you can not say that there are any real warnings right now. I suggest fixing/suppressing all the warnings in existing code. > On contrary the new implementation of get_home is bringing many nasty warnings :( I suggest fixing/suppressing all the warnings in new get_home. > [...] > -- -Alex From bugzilla-daemon at icedtea.classpath.org Sun Dec 9 04:08:01 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Sun, 09 Dec 2018 04:08:01 +0000 Subject: [Bug 3670] New: NativeMemoryTracking=detail causes segmentation fault on startup Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3670 Bug ID: 3670 Summary: NativeMemoryTracking=detail causes segmentation fault on startup Product: IcedTea Version: 1.x-hg Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P5 Component: IcedTea Assignee: gnu.andrew at redhat.com Reporter: bayetovsky at gmail.com CC: unassigned at icedtea.classpath.org Enabling NativeMemory Tracking caused our application to fail to start-up due to segmentation fault. This behaviour is reproducible 100% of the times by running "java -XX:NativeMemoryTracking=detail -version" It appears as if the Java argument parser is causing a Segmentation Fault when NMT "detail" flag only as "summary" is able to start the JVM. This was observed affecting versions 1.8.0_171 and 1.8.0_181 in Alpine Linux. REPRODUCING THE ERROR: / # java -XX:NativeMemoryTracking=detail -version Segmentation fault / # java -XX:NativeMemoryTracking=summary -version openjdk version "1.8.0_171" OpenJDK Runtime Environment (IcedTea 3.8.0) (Alpine 8.171.11-r0) OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode) ADDITIONAL SYSTEM INFORMATION : Linux 8f64da1a8018 4.14.77-69.57.amzn1.x86_64 #1 SMP Tue Nov 6 21:32:55 UTC 2018 x86_64 Linux openjdk version "1.8.0_171" OpenJDK Runtime Environment (IcedTea 3.8.0) (Alpine 8.171.11-r0) OpenJDK 64-Bit Server VM (build 25.171-b11, 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 Sun Dec 9 07:42:26 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Sun, 09 Dec 2018 07:42:26 +0000 Subject: [Bug 3670] NativeMemoryTracking=detail causes segmentation fault on startup In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3670 bayetovsky at gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Version|1.x-hg |3.8.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 jvanek at redhat.com Mon Dec 10 09:40:04 2018 From: jvanek at redhat.com (Jiri Vanek) Date: Mon, 10 Dec 2018 10:40:04 +0100 Subject: Q: IcedTea-Web Plugin? In-Reply-To: References: Message-ID: <1c5b8244-edc5-4a1f-6046-6d7371d9f585@redhat.com> Hi. Plugin shared object is now removed. NPAPI support was removed from all serious distributions. Our upstream still have it, and will have it also for 1.8 release, but you can not even build it on f28. Give up on java applets., they are dead. ITW can still somehow use plugin.jar by javaws -html, but it is known to mostly not work. So you are not missing anything. Please CC distro-pkg-dev at openjdk.java.net if you ahve any further inquiries. HTH J. On 12/7/18 4:43 PM, Andy Boden wrote: > Hi Mr. (Ms?) Vanek, > > Please forgive the "cold-call", but I saw your name seemingly listed as > a maintainer of the IcedTea-Web package -- I hope you can help me with > what might be a stupid question on that same package... > > > [To support a legacy system] I am trying to use IcedTea-Web to provide > java browser plugin functionality (on an old version of Firefox) > running on a Fedora28 system. > > I have the IcedTea-Web package installed: > >> [bode at hydra ~]$ rpm -q --all | grep iced >> icedtea-web-1.7.1-10.fc28.noarch > > The IcedTea documentation gives instructions for linking in the plugin > (a file designated IcedTeaPlugin.so) into the broswer: > > https://icedtea.classpath.org/wiki/IcedTea-Web#Plugin > > However no such file is among the files provided by the icedtea rpm: > > https://fedora.pkgs.org/28/fedora-i386/icedtea-web-1.7.1-10.fc28.noarch.rpm.html > > There must be something simple that I am missing. Is there some post- > installation build step that I need to do to build the shared object > file??? Something else? > > Help (or a pointer to same) would be most appreciated. Thanks in > advance. With every best wish from Pasadena CA... > > - Andy > > -- Jiri Vanek Senior QE engineer, OpenJDK QE lead, Mgr. Red Hat Czech jvanek at redhat.com M: +420775390109 From Bernhard.Treutwein at Verwaltung.Uni-Muenchen.DE Mon Dec 10 12:14:09 2018 From: Bernhard.Treutwein at Verwaltung.Uni-Muenchen.DE (Treutwein Bernhard) Date: Mon, 10 Dec 2018 12:14:09 +0000 Subject: Q: IcedTea-Web Plugin? In-Reply-To: <1c5b8244-edc5-4a1f-6046-6d7371d9f585@redhat.com> References: <1c5b8244-edc5-4a1f-6046-6d7371d9f585@redhat.com> Message-ID: <78A8BD6765DCF048A628A51C3FBD1D7659BD4EA6@MXS2.zuv.uni-muenchen.de> Hi Andy, >-----Original Message----- >From: Jiri Vanek [mailto:jvanek at redhat.com] [...] > >Give up on java applets., they are dead. > Jiri is right. The usable alternative to plugins is JNLP. You should convert your legacy app to make use of JNLP/webstart, which is supported by ITW (and as far as I understand Jiri Vanek, will stay supported in the future) ... -- Bernhard From jvanek at icedtea.classpath.org Mon Dec 10 13:44:44 2018 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Mon, 10 Dec 2018 13:44:44 +0000 Subject: /hg/icedtea-web: Made get_home os dependent. Message-ID: changeset 99b77a265f54 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=99b77a265f54 author: Jiri Vanek date: Mon Dec 10 14:44:28 2018 +0100 Made get_home os dependent. * rust-launcher/src/dirs_paths_helper.rs: removed get_home; used os.get_home where appropriate. Introduced is_dir, and moved is_file here and theirs tests. * rust-launcher/src/os_access.rs: prescribed get_home and implemeted for Linux, solemnly on HOME variable * rust-launcher/src/property_from_file.rs: adapted to new location of is_file * rust-launcher/src/property_from_files_resolver.rs: implemented get_home doing nothing for testing stub diffstat: ChangeLog | 9 +++ rust-launcher/src/dirs_paths_helper.rs | 68 ++++++++++++++++++++-- rust-launcher/src/os_access.rs | 35 +++++++++-- rust-launcher/src/property_from_file.rs | 24 +------ rust-launcher/src/property_from_files_resolver.rs | 6 +- 5 files changed, 106 insertions(+), 36 deletions(-) diffs (282 lines): diff -r 9bac379fb97e -r 99b77a265f54 ChangeLog --- a/ChangeLog Fri Nov 30 19:12:09 2018 +0100 +++ b/ChangeLog Mon Dec 10 14:44:28 2018 +0100 @@ -1,3 +1,12 @@ +2018-12-10 Jiri Vanek + + Made get_home os dependent. + * rust-launcher/src/dirs_paths_helper.rs: removed get_home; used os.get_home where appropriate. + Introduced is_dir, and moved is_file here and theirs tests. + * rust-launcher/src/os_access.rs: prescribed get_home and implemeted for Linux, solemnly on HOME variable + * rust-launcher/src/property_from_file.rs: adapted to new location of is_file + * rust-launcher/src/property_from_files_resolver.rs: implemented get_home doing nothing for testing stub + 2018-11-30 Jiri Vanek verbose also from deployment.properties diff -r 9bac379fb97e -r 99b77a265f54 rust-launcher/src/dirs_paths_helper.rs --- a/rust-launcher/src/dirs_paths_helper.rs Fri Nov 30 19:12:09 2018 +0100 +++ b/rust-launcher/src/dirs_paths_helper.rs Mon Dec 10 14:44:28 2018 +0100 @@ -6,20 +6,14 @@ pub static ICEDTEA_WEB: &'static str = "icedtea-web"; pub static DEPLOYMENT_PROPERTIES: &'static str = "deployment.properties"; -pub fn get_home() -> Option { - match env::home_dir() { - Some(p) => Some(p), - None => None - } -} -pub fn get_xdg_config_dir() -> Option { +pub fn get_xdg_config_dir(os: &os_access::Os) -> Option { match env::var("XDG_CONFIG_HOME") { Ok(war) => { Some(std::path::PathBuf::from(war)) } Err(_) => { - match get_home() { + match os.get_home() { Some(mut p) => { p.push(".config"); Some(p) @@ -58,11 +52,21 @@ append_deployment_file(os.get_system_config_javadir()) } +pub fn is_file(path: &std::path::PathBuf) -> bool { + path.metadata().map(|md| md.is_file()).unwrap_or(false) +} + +pub fn is_dir(path: &std::path::PathBuf) -> bool { + path.metadata().map(|md| md.is_dir()).unwrap_or(false) +} /*tests*/ #[cfg(test)] mod tests { + use std; + use std::fs; use os_access; + use utils::tests_utils as tu; #[test] fn check_config_files_paths() { @@ -92,4 +96,52 @@ assert_eq!(true, p5.clone().expect("unwrap failed").display().to_string().contains("deployment")); assert_eq!(true, p6.clone().expect("unwrap failed").display().to_string().ends_with("deployment.properties")); } + + #[test] + fn is_not_file() { + let r = super::is_file(&std::path::PathBuf::from("/definitely/not/existing/file")); + assert_eq!(false, r); + } + + #[test] + fn is_not_file_is_dir() { + let dir = tu::create_tmp_file(); + tu::debuggable_remove_file(&dir); + let _cd = fs::create_dir(&dir); //silenting compiler worning + let r = super::is_file(&dir); + tu::debuggable_remove_dir(&dir); + assert_eq!(false, r); + } + + #[test] + fn is_file() { + let file = tu::create_tmp_file(); + let r = super::is_file(&file); + tu::debuggable_remove_file(&file); + assert_eq!(true, r); + } + + #[test] + fn is_not_dir() { + let r = super::is_dir(&std::path::PathBuf::from("/definitely/not/existing/file")); + assert_eq!(false, r); + } + + #[test] + fn is_dir() { + let dir = tu::create_tmp_file(); + tu::debuggable_remove_file(&dir); + let _cd = fs::create_dir(&dir); //silenting compiler worning + let r = super::is_dir(&dir); + tu::debuggable_remove_dir(&dir); + assert_eq!(true, r); + } + + #[test] + fn is_not_dir_is_file() { + let file = tu::create_tmp_file(); + let r = super::is_dir(&file); + tu::debuggable_remove_file(&file); + assert_eq!(false, r); + } } diff -r 9bac379fb97e -r 99b77a265f54 rust-launcher/src/os_access.rs --- a/rust-launcher/src/os_access.rs Fri Nov 30 19:12:09 2018 +0100 +++ b/rust-launcher/src/os_access.rs Mon Dec 10 14:44:28 2018 +0100 @@ -1,20 +1,25 @@ use std; use dirs_paths_helper; +use std::env; pub trait Os { - //logging "api" can change + // logging "api" can change fn log(&self, s: &str); fn info(&self, s: &str); fn get_registry_jdk(&self) -> Option; // next to system and home cfg dir, there is also by-jre config dir, but that do not need to be handled os-specific way - //https://docs.oracle.com/javase/7/docs/technotes/guides/jweb/jcp/properties.html + // https://docs.oracle.com/javase/7/docs/technotes/guides/jweb/jcp/properties.html fn get_system_config_javadir(&self) -> Option; fn get_user_config_dir(&self) -> Option; - //is valid only on linux, otherwise returns get_system_config_javadir + // is valid only on linux, otherwise returns get_system_config_javadir fn get_legacy_system_config_javadir(&self) -> Option; - //is valid only on linux, otherwise returns get_user_config_dir + // is valid only on linux, otherwise returns get_user_config_dir fn get_legacy_user_config_dir(&self) -> Option; fn spawn_java_process(&self, jre_dir: &std::path::PathBuf, args: &Vec) -> std::process::Child; + // should probe HOME on linux and USERPROFILE on windows. + // it should have fallback in env::home_dir as it is doing a bit more + // see https://doc.rust-lang.org/std/env/fn.home_dir.html + fn get_home(&self) -> Option; } pub struct Linux { @@ -48,7 +53,7 @@ } fn get_user_config_dir(&self) -> Option { - match dirs_paths_helper::get_xdg_config_dir() { + match dirs_paths_helper::get_xdg_config_dir(self) { Some(mut p) => { p.push(dirs_paths_helper::ICEDTEA_WEB); Some(p) @@ -63,7 +68,7 @@ } fn get_legacy_user_config_dir(&self) -> Option { - match dirs_paths_helper::get_home() { + match self.get_home() { Some(mut p) => { p.push(".icedtea"); Some(p) @@ -71,7 +76,7 @@ None => None } } - + fn spawn_java_process(&self, jre_dir: &std::path::PathBuf, args: &Vec) -> std::process::Child { let mut bin_java = jre_dir.clone(); bin_java.push("bin"); @@ -90,4 +95,20 @@ java executable: [{}], arguments: [{:?}]", bin_java.into_os_string().to_str().expect("path should unwrap"), args) } } + + fn get_home(&self) -> Option { + match env::var("HOME") { + Ok(war) => { + let home_var_path = std::path::PathBuf::from(war); + if dirs_paths_helper::is_dir(&home_var_path) { + return Some(home_var_path); + } + } + Err(_) => {} + } + // Not failing to env::get_home + // if this will ever be bugged, the fix should be to set HOME + // locally, or fix the distribution itslef + None + } } diff -r 9bac379fb97e -r 99b77a265f54 rust-launcher/src/property_from_file.rs --- a/rust-launcher/src/property_from_file.rs Fri Nov 30 19:12:09 2018 +0100 +++ b/rust-launcher/src/property_from_file.rs Mon Dec 10 14:44:28 2018 +0100 @@ -1,5 +1,6 @@ use property; use hardcoded_paths; +use dirs_paths_helper as dh; use std; use std::string::String; @@ -54,9 +55,6 @@ val.trim().to_lowercase() == "true" } -fn is_file(path: &std::path::PathBuf) -> bool { - path.metadata().map(|md| md.is_file()).unwrap_or(false) -} pub fn get_property_from_file(file: Option, key: &str) -> Option { @@ -71,7 +69,7 @@ fn get_property_from_file_direct(path: std::path::PathBuf, key: &str) -> Option { if !path.exists() { None - } else if !is_file(&path) { + } else if !dh::is_file(&path) { return None; } else { let fileresult = File::open(path); @@ -102,7 +100,7 @@ file.push("java"); if !file.exists() { false - } else if !is_file(&file) { + } else if !dh::is_file(&file) { false } else { true @@ -120,21 +118,7 @@ super::get_property_from_file(file, super::JRE_PROPERTY_NAME) } - #[test] - fn is_not_file_() { - let r = super::is_file(&std::path::PathBuf::from("/definitely/not/existing/file")); - assert_eq!(false, r); - } - - #[test] - fn is_file_() { - let dir = tu::create_tmp_file(); - let r = super::is_file(&dir); - tu::debuggable_remove_file(&dir); - assert_eq!(true, r); - } - - #[test] + #[test] fn check_file_for_property_jredir_not_found() { let path = tu::create_tmp_file(); let f = File::open(&path); diff -r 9bac379fb97e -r 99b77a265f54 rust-launcher/src/property_from_files_resolver.rs --- a/rust-launcher/src/property_from_files_resolver.rs Fri Nov 30 19:12:09 2018 +0100 +++ b/rust-launcher/src/property_from_files_resolver.rs Mon Dec 10 14:44:28 2018 +0100 @@ -100,7 +100,7 @@ None } - fn spawn_java_process(&self, jre_dir: &std::path::PathBuf, args: &Vec) -> std::process::Child { + fn spawn_java_process(&self, _jre_dir: &std::path::PathBuf, _args: &Vec) -> std::process::Child { panic!("not implemented"); } @@ -119,6 +119,10 @@ fn get_legacy_user_config_dir(&self) -> Option { panic!("not implemented"); } + + fn get_home(&self) -> Option { + panic!("not implemented"); + } } fn try_jdk_from_properties_files(logger: &os_access::Os, array: &[Option]) -> Option { From jvanek at redhat.com Mon Dec 10 14:42:47 2018 From: jvanek at redhat.com (Jiri Vanek) Date: Mon, 10 Dec 2018 15:42:47 +0100 Subject: Q: IcedTea-Web Plugin? In-Reply-To: <3fa6582addb3730b90a5d6ff9b6bfbd179033670.camel@gmail.com> References: <1c5b8244-edc5-4a1f-6046-6d7371d9f585@redhat.com> <3fa6582addb3730b90a5d6ff9b6bfbd179033670.camel@gmail.com> Message-ID: <785ae2e6-a3e3-c704-3ac1-f7ffa1c8e7d6@redhat.com> You need to find OS still supporting NPAPI. Let sey CentOS 6. Then you have to find a browser still offering NPAPI. I'm afraid even firefox in centos6 already could kill it. But may work. I think ICedTEaWeb+cento 6 can really do the job you needs. If not, you need to add npapi comaptible browser + self built ITW. On f28, you may give shot to javaws -html your_home_control_hrml_page_where_is_applet but it have less then 50/50 Read more in ITW docs. J. On 12/10/18 3:01 PM, Andy Boden wrote: > Hi Jiri, > > Thank you for your kind reply. While in the mean time I have found a > mostly-working work-around, long term I am pretty stuck. The legacy > device which controls my house automation system: > > https://www.universal-devices.com/residential/isy994i-series/ > > has it's administrative console built in a java browser applet, and > there doesn't seem to be any plan by the device provider to move away > from that codebase. I am looking for a drop-in replacement for this > control unit... > > As I said -- I appreciate your reply. With every best wish from > Pasadena, > > - Andy > > > On Mon, 2018-12-10 at 10:40 +0100, Jiri Vanek wrote: >> Hi. >> >> Plugin shared object is now removed. >> NPAPI support was removed from all serious distributions. >> Our upstream still have it, and will have it also for 1.8 release, >> but you can not even build it on f28. >> >> Give up on java applets., they are dead. >> >> ITW can still somehow use plugin.jar by javaws -html, but it is known >> to mostly not work. >> >> So you are not missing anything. >> >> Please CC distro-pkg-dev at openjdk.java.net if you ahve any further >> inquiries. >> >> HTH >> J. >> >> >> On 12/7/18 4:43 PM, Andy Boden wrote: >>> Hi Mr. (Ms?) Vanek, >>> >>> Please forgive the "cold-call", but I saw your name seemingly >>> listed as >>> a maintainer of the IcedTea-Web package -- I hope you can help me >>> with >>> what might be a stupid question on that same package... >>> >>> >>> [To support a legacy system] I am trying to use IcedTea-Web to >>> provide >>> java browser plugin functionality (on an old version of Firefox) >>> running on a Fedora28 system. >>> >>> I have the IcedTea-Web package installed: >>> >>>> [bode at hydra ~]$ rpm -q --all | grep iced >>>> icedtea-web-1.7.1-10.fc28.noarch >>> >>> The IcedTea documentation gives instructions for linking in the >>> plugin >>> (a file designated IcedTeaPlugin.so) into the broswer: >>> >>> https://icedtea.classpath.org/wiki/IcedTea-Web#Plugin >>> >>> However no such file is among the files provided by the icedtea >>> rpm: >>> >>> > https://fedora.pkgs.org/28/fedora-i386/icedtea-web-1.7.1-10.fc28.noarch.rpm.html >>> >>> There must be something simple that I am missing. Is there some >>> post- >>> installation build step that I need to do to build the shared >>> object >>> file??? Something else? >>> >>> Help (or a pointer to same) would be most appreciated. Thanks in >>> advance. With every best wish from Pasadena CA... >>> >>> - Andy >>> >>> >> >> -- Jiri Vanek Senior QE engineer, OpenJDK QE lead, Mgr. Red Hat Czech jvanek at redhat.com M: +420775390109 From jvanek at redhat.com Mon Dec 10 14:46:02 2018 From: jvanek at redhat.com (Jiri Vanek) Date: Mon, 10 Dec 2018 15:46:02 +0100 Subject: Q: IcedTea-Web Plugin? In-Reply-To: <785ae2e6-a3e3-c704-3ac1-f7ffa1c8e7d6@redhat.com> References: <1c5b8244-edc5-4a1f-6046-6d7371d9f585@redhat.com> <3fa6582addb3730b90a5d6ff9b6bfbd179033670.camel@gmail.com> <785ae2e6-a3e3-c704-3ac1-f7ffa1c8e7d6@redhat.com> Message-ID: <27c24dbf-ac3b-3857-9955-1398215ac92b@redhat.com> On 12/10/18 3:42 PM, Jiri Vanek wrote: > You need to find OS still supporting NPAPI. Let sey CentOS 6. > Then you have to find a browser still offering NPAPI. I'm afraid even firefox in centos6 already > could kill it. But may work. > > I think ICedTEaWeb+cento 6 can really do the job you needs. > > If not, you need to add npapi comaptible browser + self built ITW. > > On f28, you may give shot to javaws -html your_home_control_hrml_page_where_is_applet but it have > less then 50/50 > > Read more in ITW docs. > > J. > > > > On 12/10/18 3:01 PM, Andy Boden wrote: >> Hi Jiri, >> >> Thank you for your kind reply. While in the mean time I have found a >> mostly-working work-around, long term I am pretty stuck. The legacy >> device which controls my house automation system: >> >> https://www.universal-devices.com/residential/isy994i-series/ btw - this page clearly says: Browser-based Java Applet or Java Web Start Application So yo are ok to go with pure javaws. >> >> has it's administrative console built in a java browser applet, and >> there doesn't seem to be any plan by the device provider to move away >> from that codebase. I am looking for a drop-in replacement for this >> control unit... >> >> As I said -- I appreciate your reply. With every best wish from >> Pasadena, >> >> - Andy >> >> >> On Mon, 2018-12-10 at 10:40 +0100, Jiri Vanek wrote: >>> Hi. >>> >>> Plugin shared object is now removed. >>> NPAPI support was removed from all serious distributions. >>> Our upstream still have it, and will have it also for 1.8 release, >>> but you can not even build it on f28. >>> >>> Give up on java applets., they are dead. >>> >>> ITW can still somehow use plugin.jar by javaws -html, but it is known >>> to mostly not work. >>> >>> So you are not missing anything. >>> >>> Please CC distro-pkg-dev at openjdk.java.net if you ahve any further >>> inquiries. >>> >>> HTH >>> J. >>> >>> >>> On 12/7/18 4:43 PM, Andy Boden wrote: >>>> Hi Mr. (Ms?) Vanek, >>>> >>>> Please forgive the "cold-call", but I saw your name seemingly >>>> listed as >>>> a maintainer of the IcedTea-Web package -- I hope you can help me >>>> with >>>> what might be a stupid question on that same package... >>>> >>>> >>>> [To support a legacy system] I am trying to use IcedTea-Web to >>>> provide >>>> java browser plugin functionality (on an old version of Firefox) >>>> running on a Fedora28 system. >>>> >>>> I have the IcedTea-Web package installed: >>>> >>>>> [bode at hydra ~]$ rpm -q --all | grep iced >>>>> icedtea-web-1.7.1-10.fc28.noarch >>>> >>>> The IcedTea documentation gives instructions for linking in the >>>> plugin >>>> (a file designated IcedTeaPlugin.so) into the broswer: >>>> >>>> https://icedtea.classpath.org/wiki/IcedTea-Web#Plugin >>>> >>>> However no such file is among the files provided by the icedtea >>>> rpm: >>>> >>>> >> https://fedora.pkgs.org/28/fedora-i386/icedtea-web-1.7.1-10.fc28.noarch.rpm.html >>>> >>>> There must be something simple that I am missing. Is there some >>>> post- >>>> installation build step that I need to do to build the shared >>>> object >>>> file??? Something else? >>>> >>>> Help (or a pointer to same) would be most appreciated. Thanks in >>>> advance. With every best wish from Pasadena CA... >>>> >>>> - Andy >>>> >>>> >>> >>> > > -- Jiri Vanek Senior QE engineer, OpenJDK QE lead, Mgr. Red Hat Czech jvanek at redhat.com M: +420775390109 From jtesdall at mapcon.com Mon Dec 10 17:47:49 2018 From: jtesdall at mapcon.com (jtesdall) Date: Mon, 10 Dec 2018 10:47:49 -0700 (MST) Subject: Error Compiling ITW on Windows/Eclipse because of Byte Order Mark Message-ID: <1544464069247-0.post@n7.nabble.com> Compiling ITW on Eclipse for Windows gives an error on proximate line 632 of nanoxml\XMLElement.java because of a bad character string checking for a byte order mark. I have changed this to an escape sequence to be able to compile. This also caused problems in debugging if I just excluded it from compilation, it needed fixed to debug. Before: if (ch == '???') { After: if (ch == '\uFEFF') { -- Sent from: http://openjdk.5641.n7.nabble.com/OpenJDK-Distribution-specific-Packaging-f25548.html From jtesdall at mapcon.com Tue Dec 11 00:33:25 2018 From: jtesdall at mapcon.com (jtesdall) Date: Mon, 10 Dec 2018 17:33:25 -0700 (MST) Subject: Update on Windows shortcut features for ITW Message-ID: <1544488405870-0.post@n7.nabble.com> I have been through, many trials and tribulations mostly because I am not a Java programmer but rather normally use .Net. Getting the Eclipse debugger to work with ITW on Windows was quite a task and I hope to write a post about how to accomplish it in the near future. Although I am not really sure if I know how I got it working finally. ;0) I will require a bit of help on some core ITW areas for my code to work correctly in the framework. This I think will mainly be in the LRU area. Here is what I have working and then what I need some help on. 1. I have Windows shortcuts being created on the Windows desktop and a Menu created with the same shortcut and an uninstall shortcut as well. The shortcuts are created with a external opensource library (.jar) called mslinks since windows shortcuts are a binary file. I hope the ITW community will be ok with utilizing this external jar otherwise my work will not be able to be included. I keep track of shortcuts and menus created in a text file in the root of cache. This work is all done in runtime/ApplicationInstance.java calling the aformentioned jar classes to create the actual shortcut files. 2. I have modified the clear/purge cache function to also remove the windows shortcuts and menu. This is done in cache\CacheUtil.java. Like is the default in ITW this removes all cache and all ITW created windows shortcuts and menus. 3. The clear cache function and the need to have an uninstall feature in windows per app made me realize I was going to have to add the capability to remove one app at a time and call this from a new Uninstall shortcut and maybe someday from add/remove programs. So I did this by addding the capability of adding a codebase parameter to the -Xclearcache function in Boot.java. I have this working except when it comes to the LRU I have not been able to figure out how to mark a file for deletion so I can call cleanCache. The markfordelete function requires a version parameter I couldn't get figured out what to pass. So I just loop through the directories and delete the ones that match the codebase parameter I pass to -Xclearcache and then call clearLRUSortedEntries (which removes all entries for all apps). I know these two things are bad but it is working right now for me so ..... I could use some help here to get it right. 4. The other thing I need help with is building a netx.jar I can use to do some more testing on other windows machines. All functions, up until removing one app at a time, I could build a netx.jar by just copying in the new class files over top of the jar classes. But copying in Boot.class doesn't work. Jiri mentioned I would have to use cygwin but I have no idea how to do this. So I need help building a jar with my updated classes, can I do this on windows? Exporting the jar normally from eclipse also does not work. No linux available so I need to do this on windows if possible. I think my work is useful if I can get by these two walls and do more testing. Then I can cleanup my code and submit it to the project. Can someone versed in ITW please lend a tired prograammer a hand! Jiri?!? -- Sent from: http://openjdk.5641.n7.nabble.com/OpenJDK-Distribution-specific-Packaging-f25548.html From Bernhard.Treutwein at Verwaltung.Uni-Muenchen.DE Tue Dec 11 10:14:09 2018 From: Bernhard.Treutwein at Verwaltung.Uni-Muenchen.DE (Treutwein Bernhard) Date: Tue, 11 Dec 2018 10:14:09 +0000 Subject: Q: IcedTea-Web Plugin? In-Reply-To: <785ae2e6-a3e3-c704-3ac1-f7ffa1c8e7d6@redhat.com> References: <1c5b8244-edc5-4a1f-6046-6d7371d9f585@redhat.com> <3fa6582addb3730b90a5d6ff9b6bfbd179033670.camel@gmail.com> <785ae2e6-a3e3-c704-3ac1-f7ffa1c8e7d6@redhat.com> Message-ID: <78A8BD6765DCF048A628A51C3FBD1D7659BD5874@MXS2.zuv.uni-muenchen.de> Hi Andy, >-----Original Message----- >From: Jiri Vanek [mailto:jvanek at redhat.com] >Sent: Monday, December 10, 2018 3:46 PM >To: aboden460 at gmail.com; IcedTea Distro List >Subject: Re: Q: IcedTea-Web Plugin? [...] >>> >>> https://www.universal-devices.com/residential/isy994i-series/ > >btw - this page clearly says: Browser-based Java Applet or Java Web Start >Application > >So yo are ok to go with pure javaws. you can find some information about the conversion applet -> jnlp at Oracle's Java SE Documentation site: https://docs.oracle.com/javase/7/docs/technotes/guides/jweb/applet_migration.html hope this helps. Regards -- Bernhard From jvanek at redhat.com Wed Dec 12 16:48:31 2018 From: jvanek at redhat.com (Jiri Vanek) Date: Wed, 12 Dec 2018 17:48:31 +0100 Subject: Error Compiling ITW on Windows/Eclipse because of Byte Order Mark In-Reply-To: <1544464069247-0.post@n7.nabble.com> References: <1544464069247-0.post@n7.nabble.com> Message-ID: <754d96e9-4bdf-7eb9-1aa4-527e5d104bd8@redhat.com> On 12/10/18 6:47 PM, jtesdall wrote: > Compiling ITW on Eclipse for Windows gives an error on proximate line 632 of > nanoxml\XMLElement.java because of a bad character string checking for a > byte order mark. I have changed this to an escape sequence to be able to > compile. This also caused problems in debugging if I just excluded it from > compilation, it needed fixed to debug. > > Before: > if (ch == '???') { > > After: > if (ch == '\uFEFF') { > It could hapen that your windows did not understand weird utf character. One would hope such issues already disapeared.... Are you using tagsoup or not? J. > > > > -- > Sent from: http://openjdk.5641.n7.nabble.com/OpenJDK-Distribution-specific-Packaging-f25548.html > -- Jiri Vanek Senior QE engineer, OpenJDK QE lead, Mgr. Red Hat Czech jvanek at redhat.com M: +420775390109 From jtesdall at mapcon.com Wed Dec 12 17:24:09 2018 From: jtesdall at mapcon.com (jtesdall) Date: Wed, 12 Dec 2018 10:24:09 -0700 (MST) Subject: Error Compiling ITW on Windows/Eclipse because of Byte Order Mark In-Reply-To: <754d96e9-4bdf-7eb9-1aa4-527e5d104bd8@redhat.com> References: <1544464069247-0.post@n7.nabble.com> <754d96e9-4bdf-7eb9-1aa4-527e5d104bd8@redhat.com> Message-ID: <1544635449352-0.post@n7.nabble.com> Jiri Vanek wrote > On 12/10/18 6:47 PM, jtesdall wrote: >> Compiling ITW on Eclipse for Windows gives an error on proximate line 632 >> of >> nanoxml\XMLElement.java because of a bad character string checking for a >> byte order mark. I have changed this to an escape sequence to be able to >> compile. This also caused problems in debugging if I just excluded it >> from >> compilation, it needed fixed to debug. >> >> Before: >> if (ch == '???') { >> >> After: >> if (ch == '\uFEFF') { >> > > It could hapen that your windows did not understand weird utf character. > One would hope such issues > already disapeared.... > > Are you using tagsoup or not? > > -- > Jiri Vanek > Senior QE engineer, OpenJDK QE lead, Mgr. > Red Hat Czech > jvanek@ > M: +420775390109 If by using Tagsoup you mean I am including it in the VM args then yes: D:\Downloads\Java-OpenJDK\IcedTea-Web\icedtea-web-1.7.1.win.bin\icedtea-web-1.7.1-image/win-deps-runtime/tagsoup.jar; I don't really know what that library does, just that I need to include it. Should this be included as a bug or fix to ITW? Changing to '\uFEFF' allows it to compile with Eclipse/Windows, I assume it will work with other configs as well. If you tell me how to submit this appropriately I will. -- Sent from: http://openjdk.5641.n7.nabble.com/OpenJDK-Distribution-specific-Packaging-f25548.html From jvanek at redhat.com Wed Dec 12 17:38:46 2018 From: jvanek at redhat.com (Jiri Vanek) Date: Wed, 12 Dec 2018 18:38:46 +0100 Subject: Error Compiling ITW on Windows/Eclipse because of Byte Order Mark In-Reply-To: <1544635449352-0.post@n7.nabble.com> References: <1544464069247-0.post@n7.nabble.com> <754d96e9-4bdf-7eb9-1aa4-527e5d104bd8@redhat.com> <1544635449352-0.post@n7.nabble.com> Message-ID: On 12/12/18 6:24 PM, jtesdall wrote: > Jiri Vanek wrote >> On 12/10/18 6:47 PM, jtesdall wrote: >>> Compiling ITW on Eclipse for Windows gives an error on proximate line 632 >>> of >>> nanoxml\XMLElement.java because of a bad character string checking for a >>> byte order mark. I have changed this to an escape sequence to be able to >>> compile. This also caused problems in debugging if I just excluded it >>> from >>> compilation, it needed fixed to debug. >>> >>> Before: >>> if (ch == '???') { >>> >>> After: >>> if (ch == '\uFEFF') { >>> >> >> It could hapen that your windows did not understand weird utf character. >> One would hope such issues >> already disapeared.... >> >> Are you using tagsoup or not? >> >> -- >> Jiri Vanek >> Senior QE engineer, OpenJDK QE lead, Mgr. >> Red Hat Czech > >> jvanek@ > >> M: +420775390109 > > If by using Tagsoup you mean I am including it in the VM args then yes: > D:\Downloads\Java-OpenJDK\IcedTea-Web\icedtea-web-1.7.1.win.bin\icedtea-web-1.7.1-image/win-deps-runtime/tagsoup.jar; > > I don't really know what that library does, just that I need to include it. > > Should this be included as a bug or fix to ITW? Changing to '\uFEFF' allows > it to compile with Eclipse/Windows, I assume it will work with other configs > as well. If you tell me how to submit this appropriately I will. That is a bug and shoudl be fixed. Imho yours fix is good. I have created for you: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3671 and will get it fixed. Will it not colide with your current work? But that is liekly easy to fix. Would be nice to have some test for this case:( Thanxz! > > > > > -- > Sent from: http://openjdk.5641.n7.nabble.com/OpenJDK-Distribution-specific-Packaging-f25548.html > -- Jiri Vanek Senior QE engineer, OpenJDK QE lead, Mgr. Red Hat Czech jvanek at redhat.com M: +420775390109 From jvanek at redhat.com Wed Dec 12 17:49:35 2018 From: jvanek at redhat.com (Jiri Vanek) Date: Wed, 12 Dec 2018 18:49:35 +0100 Subject: Update on Windows shortcut features for ITW In-Reply-To: <1544488405870-0.post@n7.nabble.com> References: <1544488405870-0.post@n7.nabble.com> Message-ID: On 12/11/18 1:33 AM, jtesdall wrote: > I have been through, many trials and tribulations mostly because I am not a > Java programmer but rather normally use .Net. Getting the Eclipse debugger > to work with ITW on Windows was quite a task and I hope to write a post > about how to accomplish it in the near future. Although I am not really sure > if I know how I got it working finally. ;0) > > I will require a bit of help on some core ITW areas for my code to work > correctly in the framework. This I think will mainly be in the LRU area. > Here is what I have working and then what I need some help on. > > 1. I have Windows shortcuts being created on the Windows desktop and a Menu > created with the same shortcut and an uninstall shortcut as well. The > shortcuts are created with a external opensource library (.jar) called > mslinks since windows shortcuts are a binary file. I hope the ITW community > will be ok with utilizing this external jar otherwise my work will not be > able to be included. I keep track of shortcuts and menus created in a text > file in the root of cache. This work is all done in > runtime/ApplicationInstance.java calling the aformentioned jar classes to > create the actual shortcut files. > > 2. I have modified the clear/purge cache function to also remove the windows > shortcuts and menu. This is done in cache\CacheUtil.java. Like is the > default in ITW this removes all cache and all ITW created windows shortcuts > and menus. > > 3. The clear cache function and the need to have an uninstall feature in > windows per app made me realize I was going to have to add the capability to > remove one app at a time and call this from a new Uninstall shortcut and > maybe someday from add/remove programs. So I did this by addding the > capability of adding a codebase parameter to the -Xclearcache function in > Boot.java. I have this working except when it comes to the LRU I have not > been able to figure out how to mark a file for deletion so I can call > cleanCache. The markfordelete function requires a version parameter I > couldn't get figured out what to pass. So I just loop through the > directories and delete the ones that match the codebase parameter I pass to > -Xclearcache and then call clearLRUSortedEntries (which removes all entries > for all apps). I know these two things are bad but it is working right now > for me so ..... I could use some help here to get it right. > > 4. The other thing I need help with is building a netx.jar I can use to do > some more testing on other windows machines. All functions, up until > removing one app at a time, I could build a netx.jar by just copying in the > new class files over top of the jar classes. But copying in Boot.class > doesn't work. Jiri mentioned I would have to use cygwin but I have no idea > how to do this. So I need help building a jar with my updated classes, can I > do this on windows? Exporting the jar normally from eclipse also does not > work. No linux available so I need to do this on windows if possible. > > I think my work is useful if I can get by these two walls and do more > testing. Then I can cleanup my code and submit it to the project. Can > someone versed in ITW please lend a tired prograammer a hand! Jiri?!? > > That is really a lot of work... I had to read it twice and still not 100% in it. Congratualtions for jumping onto java so quckly :) Can you Share your work somehow? I can at least start to work on proper inegration of it alongside with linux world. As you mentioned earlier, you had modified the XDEsktopeEntry and similar. Also it wilneed some tuning in maklefiles, as the library you are using is not mandatory on linux. My experience with cygwin is scare. I got setup environment few years ago and it is the builder for ITW since then. I remember it installed cygwin, and then was clicking those checkboxes (in cygwin setup) to install some SW. Then added rust and jdk via "normal process" (some msi/zips), and placed tagsoup and friends on locate-abnle place.... Crap.. This is help I would not be happy to hear. Added my colleague Michal to CC. He knows this much better then me. When in cygwin, https://icedtea.classpath.org/wiki/IcedTea-Web#Building_IcedTea-Web should be up to date. Maybe you can for ITW to github for a while? I doubt this will be finished in few iterations... I'm still on board with this feature, and would liek to see it pushed. Unluckily I'm really on wrong relationship with windows, so sory for not being able to help you more with itw-on -win. I really look forward to clean up your code and ensure it works fine in linux. Thanx a lot for bravery to step into it. J. > > -- > Sent from: http://openjdk.5641.n7.nabble.com/OpenJDK-Distribution-specific-Packaging-f25548.html > -- Jiri Vanek Senior QE engineer, OpenJDK QE lead, Mgr. Red Hat Czech jvanek at redhat.com M: +420775390109 From jvanek at redhat.com Wed Dec 12 18:12:27 2018 From: jvanek at redhat.com (Jiri Vanek) Date: Wed, 12 Dec 2018 19:12:27 +0100 Subject: IcedTeaWeb: using java 9 run args ? In-Reply-To: <8429b16d-8165-3e03-72d7-7253491239e1@redhat.com> References: <8321de42-a69a-13b2-c5a4-e5dc0b6764d1@redhat.com> <8429b16d-8165-3e03-72d7-7253491239e1@redhat.com> Message-ID: <08ccbfc0-b0d4-f7c9-83e7-1c78ed7e5b29@redhat.com> Hi Laurent, As I'm continuing with rust-luncher, we should agree on this file. Especially iun its location. For both shell and rust (but not for bats) there is mechanism how to get it form deployment.properties, whcih are already complicated enough. I would like to introduce new property, which will point to the file with those switches. Teh fallback, then can be Location_of_exe in case of windows, and install path in case distribution build for windows. Generally it is tricky resource. Thanx. J. On 11/23/18 5:15 PM, Jiri Vanek wrote: > I like the idea. > > Maybe for current shell luncher, it is to distubive change. But for rust lunchers - it is more > necessary as one will not be abel simply mofify those. So +1 for approach. > > Where I'm hesitating a bit is the install folder you used. > I would rather follow the deployment.configuration paths. Rust lunchers should be ready for this. > > WDYT? > > Thanx! > And sorry for dealyed reply. HAd to turn focus to another projects. > j. > > On 10/18/18 11:05 PM, Laurent Bourg?s wrote: >> Jiri, >> I took some time to illustrate my proposal about simplifying shell scripts to work on OpenJDK11 and 8: >> >> I need the install directory for ITW: >> +ITW_INS=/home/bourgesl/libs/icedtea-web-1.7-HEAD/install >> >> Then I removed all add-reads / add-exports (except patch-module) and added argument to use arg file: >> *+? # add JDK9 arg file: >> +? COMMAND[k]="@$ITW_INS/bin/itw-run.args" >> +? k=$((k+1))* >> >> Arg File named itw-run.args in the same folder as shell scripts (sh/bat)? : >> --add-reads=java.base=ALL-UNNAMED,java.desktop >> --add-reads=java.desktop=ALL-UNNAMED,java.naming >> --add-reads=java.naming=ALL-UNNAMED,java.desktop >> >> --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop >> --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop >> >> --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop >> --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop >> --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop >> --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop >> --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop >> --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop >> --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop >> --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop >> --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop >> >> --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop >> --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop >> --add-exports=java.desktop/sun.applet=ALL-UNNAMED,jdk.jsobject >> >> --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop >> >> It is simpler to me to gather all add-reads/add-exports declaration in such arg file (less >> obfuscated) and it will be reused by windows script too. >> >> What do you think ? >> I will go on modifying the Makefile generating such shells from templates launchers.in >> (sed ...) >> >> Laurent >> >> PS: diff for my javaws / javaws11 installed scripts (generated):* >> * >> --- /home/icedtea/icedtea-web-1.7-HEAD/install/bin/javaws >> +++ /home/icedtea/icedtea-web-1.7-HEAD/install/bin/javaws11 >> @@ -1,14 +1,16 @@ >> ?#!/bin/bash >> ? >> +ITW_INS=/home/bourgesl/libs/icedtea-web-1.7-HEAD/install >> +ITW_SHARE=$ITW_INS/share >> + >> ?NASHORN=lib/ext/nashorn.jar >> -JAVA=/home/bourgesl/apps/ojdk8//jre/bin/java >> -LAUNCHER_BOOTCLASSPATH='-Xbootclasspath/a:/home/bourgesl/libs/icedtea-web-1.7-HEAD/install/share/icedtea-web/netx.jar' >> +JAVA_BASE=/home/bourgesl/apps/openjdk-11+28_linux-x64_bin >> +LAUNCHER_BOOTCLASSPATH="-Xbootclasspath/a:$ITW_SHARE/icedtea-web/netx.jar" >> ?LAUNCHER_FLAGS=-Xms8m >> ?CLASSNAME=net.sourceforge.jnlp.runtime.Boot >> -BINARY_LOCATION=/home/bourgesl/libs/icedtea-web-1.7-HEAD/install/bin/javaws >> -SPLASH_LOCATION=/home/bourgesl/libs/icedtea-web-1.7-HEAD/install/share/icedtea-web/javaws_splash.png >> +BINARY_LOCATION=$ITW_INS/bin/javaws11 >> +SPLASH_LOCATION=$ITW_SHARE/icedtea-web/javaws_splash.png >> ?PROGRAM_NAME=javaws >> -CP=/home/bourgesl/apps/ojdk8//jre/lib/rt.jar:/home/bourgesl/apps/ojdk8//jre/lib/jfxrt.jar >> ? >> ?CONFIG_HOME=$XDG_CONFIG_HOME >> ?if [ "x$CONFIG_HOME" = "x" ] ; then >> @@ -27,15 +29,14 @@ >> ?fi; >> ?if [ "x$CUSTOM_JRE" != "x" ] ; 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 >> -??? LAUNCHER_BOOTCLASSPATH=$LAUNCHER_BOOTCLASSPATH:$CUSTOM_JRE/$NASHORN >> +??? JAVA_BASE=$CUSTOM_JRE >> ?? else >> -??? echo "Your custom JRE $CUSTOM_JRE read from deployment.properties under key $PROPERTY_NAME as >> $CUSTOM_JRE is not valid. Using default ($JAVA, $CP) in attempt to start. Please fix this." >> +??? echo "Your custom JRE $CUSTOM_JRE read from deployment.properties under key $PROPERTY_NAME as >> $CUSTOM_JRE is not valid. Using default ($JAVA) in attempt to start. Please fix this." >> ?? fi >> -else >> -? LAUNCHER_BOOTCLASSPATH="$LAUNCHER_BOOTCLASSPATH:/home/bourgesl/apps/ojdk8//jre/$NASHORN" >> ?fi; >> + >> +JAVA=$JAVA_BASE/bin/java >> +echo "JAVA: $JAVA" >> ? >> ?MODULAR_JDK="NO" >> ?version=`${JAVA} -version 2>&1 | head -n 1 | cut -d'-' -f1 | cut -d'"' -f2 | cut -d'.' -f1` >> @@ -44,6 +45,9 @@ >> ?fi >> ?if [ $version -ge "9" ]; then >> ?? MODULAR_JDK="YES" >> +else >> +? CP=$JAVA_BASE/lib/rt.jar:$JAVA_BASE/lib/jfxrt.jar >> +? LAUNCHER_BOOTCLASSPATH=$LAUNCHER_BOOTCLASSPATH:$JAVA_BASE/$NASHORN >> ?fi >> ? >> ?JAVA_ARGS=( ) >> @@ -55,7 +59,7 @@ >> ? >> ?SPLASH="false" >> ?if [ "x$ICEDTEA_WEB_SPLASH" = "x" ] ; then >> -SPLASH="true" >> +? SPLASH="true" >> ?fi; >> ?while [ "$#" -gt "0" ]; do >> ?? case "$1" in >> @@ -78,8 +82,8 @@ >> ?COMMAND[k]="${JAVA}" >> ?k=$((k+1)) >> ?if [ "$SPLASH" = "true" ] ; then >> -COMMAND[k]="-splash:${SPLASH_LOCATION}" >> -k=$((k+1)) >> +? COMMAND[k]="-splash:${SPLASH_LOCATION}" >> +? k=$((k+1)) >> ?fi; >> ?COMMAND[k]="${LAUNCHER_BOOTCLASSPATH}" >> ?k=$((k+1)) >> @@ -87,96 +91,30 @@ >> ?k=$((k+1)) >> ? >> ?if [ "x$MODULAR_JDK" == "xYES" ] ; then >> -COMMAND[k]="--patch-module" >> -k=$((k+1)) >> -COMMAND[k]="java.desktop=:/home/bourgesl/libs/icedtea-web-1.7-HEAD/install/share/icedtea-web/netx.jar" >> -k=$((k+1)) >> -# jsobject must be pathched separately from plugin >> -# otherwise netscape pkg would be shared by two modules, which is forbiden >> -JSOBJECT_JAR= >> -# plugin jar may not be built >> -if [ ! "x$JSOBJECT_JAR" == "x" ] ; then >> ?? COMMAND[k]="--patch-module" >> ?? k=$((k+1)) >> -? COMMAND[k]="jdk.jsobject=$JSOBJECT_JAR" >> +? COMMAND[k]="java.desktop=$ITW_SHARE/icedtea-web/netx.jar" >> +? k=$((k+1)) >> +? # jsobject must be patched separately from plugin >> +? # otherwise netscape pkg would be shared by two modules, which is forbiden >> +? JSOBJECT_JAR= >> +? # plugin jar may not be built >> +? if [ ! "x$JSOBJECT_JAR" == "x" ] ; then >> +??? COMMAND[k]="--patch-module" >> +??? k=$((k+1)) >> +??? COMMAND[k]="jdk.jsobject=$JSOBJECT_JAR" >> +??? k=$((k+1)) >> +? fi >> + >> *+? # add JDK9 arg file: >> +? COMMAND[k]="@$ITW_INS/bin/itw-run.args" >> +? k=$((k+1))* >> +else >> +? COMMAND[k]="-classpath" >> +? k=$((k+1)) >> +? COMMAND[k]="${CP}" >> ?? k=$((k+1)) >> ?fi >> - >> -COMMAND[k]="--add-reads" >> -k=$((k+1)) >> -COMMAND[k]="java.base=ALL-UNNAMED,java.desktop" >> -k=$((k+1)) >> -COMMAND[k]="--add-reads" >> -k=$((k+1)) >> -COMMAND[k]="java.desktop=ALL-UNNAMED,java.naming" >> -k=$((k+1)) >> -COMMAND[k]="--add-reads" >> -k=$((k+1)) >> -COMMAND[k]="java.naming=ALL-UNNAMED,java.desktop" >> -k=$((k+1)) >> - >> -COMMAND[k]="--add-exports" >> -k=$((k+1)) >> -COMMAND[k]="java.desktop/sun.awt=ALL-UNNAMED,java.desktop" >> -k=$((k+1)) >> -COMMAND[k]="--add-exports" >> -k=$((k+1)) >> -COMMAND[k]="java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop" >> -k=$((k+1)) >> -COMMAND[k]="--add-exports" >> -k=$((k+1)) >> -COMMAND[k]="java.base/sun.security.provider=ALL-UNNAMED,java.desktop" >> -k=$((k+1)) >> -COMMAND[k]="--add-exports" >> -k=$((k+1)) >> -COMMAND[k]="java.base/sun.security.util=ALL-UNNAMED,java.desktop" >> -k=$((k+1)) >> -COMMAND[k]="--add-exports" >> -k=$((k+1)) >> -COMMAND[k]="java.base/sun.security.x509=ALL-UNNAMED,java.desktop" >> -k=$((k+1)) >> -COMMAND[k]="--add-exports" >> -k=$((k+1)) >> -COMMAND[k]="java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop" >> -k=$((k+1)) >> -COMMAND[k]="--add-exports" >> -k=$((k+1)) >> -COMMAND[k]="java.base/sun.security.validator=ALL-UNNAMED,java.desktop" >> -k=$((k+1)) >> -COMMAND[k]="--add-exports" >> -k=$((k+1)) >> -COMMAND[k]="java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop" >> -k=$((k+1)) >> -COMMAND[k]="--add-exports" >> -k=$((k+1)) >> -COMMAND[k]="java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop" >> -k=$((k+1)) >> -COMMAND[k]="--add-exports" >> -k=$((k+1)) >> -COMMAND[k]="java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop" >> -k=$((k+1)) >> -COMMAND[k]="--add-exports" >> -k=$((k+1)) >> -COMMAND[k]="java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop" >> -k=$((k+1)) >> -COMMAND[k]="--add-exports" >> -k=$((k+1)) >> -COMMAND[k]="java.desktop/sun.applet=ALL-UNNAMED,java.desktop" >> -k=$((k+1)) >> -COMMAND[k]="--add-exports" >> -k=$((k+1)) >> -COMMAND[k]="java.base/sun.security.action=ALL-UNNAMED,java.desktop" >> -k=$((k+1)) >> -COMMAND[k]="--add-exports" >> -k=$((k+1)) >> -COMMAND[k]="java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop" >> -k=$((k+1)) >> -COMMAND[k]="--add-exports" >> -k=$((k+1)) >> -COMMAND[k]="java.desktop/sun.applet=ALL-UNNAMED,jdk.jsobject" >> -k=$((k+1)) >> -fi >> - >> ? >> ?i=0 >> ?while [ "$i" -lt "${#JAVA_ARGS[@]}" ]; do >> @@ -184,14 +122,20 @@ >> ?? i=$((i+1)) >> ?? k=$((k+1)) >> ?done >> -COMMAND[k]="-classpath" >> -k=$((k+1)) >> -COMMAND[k]="${CP}" >> -k=$((k+1)) >> + >> ?COMMAND[k]="-Dicedtea-web.bin.name =${PROGRAM_NAME}" >> ?k=$((k+1)) >> ?COMMAND[k]="-Dicedtea-web.bin.location=${BINARY_LOCATION}" >> ?k=$((k+1)) >> + >> +# icedtea-web.edt.debug >> +#COMMAND[k]="-Dicedtea-web.edt.debug=true" >> +#k=$((k+1)) >> >> ?COMMAND[k]="${CLASSNAME}" >> ?k=$((k+1)) >> ?j=0 >> @@ -201,6 +145,7 @@ >> ?? k=$((k+1)) >> ?done >> ? >> +echo "CLI: '${COMMAND[@]}' " >> ?exec -a "$PROGRAM_NAME" "${COMMAND[@]}" >> ? >> ?exit $? >> >> >> Le?mar. 9 oct. 2018 ??12:20, Jiri Vanek > a ?crit?: >> >> On 10/9/18 9:24 AM, Laurent Bourg?s wrote: >> > Jiri, >> > >> > I will prototype moving all java9 args from linux launchers into a common arg file: itw.args. >> > >> > It will reduce the size and complexity and allow its reuse in windows launchers. >> > I suppose it will simplify rust launchers too. >> >> Major issue is I guess to find that file. The global x user configurations are different. Also it >> can use per-vm? configurations and in addition (linux x? window) x (installed x selfbuild x >> unpacked) locations are different. >> >> Maybe more friendly will be to include that in deployment properties? Maybe path to this file >> can be >> in deplyment properties? >> >> >> This complication was the actual reason I had it hardcoded.? (especilly with duplicated hardcoding >> in plugin,? but htat issue is mos likely gone by plugin being deprecatyed in 1.8 and removed in >> 1.9). >> >> Now, if this file will be used for -add-provides and friends, should it serve also for other java >> params? We already ahve this covered via -J and via one deployment property (whih is I'm afraid >> untested, unknow and never tempted out of the plugin). >> >> Thoughts? >> ? ?J. >> > >> > >> >? ? ? > I wonder if you would agree giving java 9 add-reads, add-export args as argument files ? >> >? ? ? > See >> >? ? ? > >> >? ? >> ?https://blog.codefx.org/java/five-command-line-options-hack-java-module-system/#Thoughts-On-Command-Line-Options >> >? ? ? > >> >? ? ? > It would simplify a lot the linux / windows shell scripts and possibly rust launchers >> (1.8) and >> >? ? ? > allow using the same arg file for both win/unix launcher (unified). >> >? ? ? > >> > >> >? ? ?Hi! >> > >> >? ? ?Interesting idea... >> > >> >? ? ?Isnt it already achievable via -J ? >> >? ? ?/me not tried >> > >> > >> > This work is dedicated to improving existing shell scripts, not using arg file for the jnlp >> > application (out of scope). >> > >> > Cheers, >> > Laurent >> >> >> -- >> Jiri Vanek >> Senior QE engineer, OpenJDK QE lead, Mgr. >> Red Hat Czech >> jvanek at redhat.com ? ? M: +420775390109 >> >> >> >> -- >> -- >> Laurent Bourg?s > > -- Jiri Vanek Senior QE engineer, OpenJDK QE lead, Mgr. Red Hat Czech jvanek at redhat.com M: +420775390109 From jtesdall at mapcon.com Wed Dec 12 18:19:14 2018 From: jtesdall at mapcon.com (jtesdall) Date: Wed, 12 Dec 2018 11:19:14 -0700 (MST) Subject: Error Compiling ITW on Windows/Eclipse because of Byte Order Mark In-Reply-To: References: <1544464069247-0.post@n7.nabble.com> <754d96e9-4bdf-7eb9-1aa4-527e5d104bd8@redhat.com> <1544635449352-0.post@n7.nabble.com> Message-ID: <1544638754052-0.post@n7.nabble.com> Jiri Vanek wrote > On 12/12/18 6:24 PM, jtesdall wrote: >> Jiri Vanek wrote >>> On 12/10/18 6:47 PM, jtesdall wrote: >>>> Compiling ITW on Eclipse for Windows gives an error on proximate line >>>> 632 >>>> of >>>> nanoxml\XMLElement.java because of a bad character string checking for >>>> a >>>> byte order mark. I have changed this to an escape sequence to be able >>>> to >>>> compile. This also caused problems in debugging if I just excluded it >>>> from >>>> compilation, it needed fixed to debug. >>>> >>>> Before: >>>> if (ch == '???') { >>>> >>>> After: >>>> if (ch == '\uFEFF') { >>>> >>> >>> It could hapen that your windows did not understand weird utf character. >>> One would hope such issues >>> already disapeared.... >>> >>> Are you using tagsoup or not? >>> >>> -- >>> Jiri Vanek >>> Senior QE engineer, OpenJDK QE lead, Mgr. >>> Red Hat Czech >> >>> jvanek@ >> >>> M: +420775390109 >> >> If by using Tagsoup you mean I am including it in the VM args then yes: >> D:\Downloads\Java-OpenJDK\IcedTea-Web\icedtea-web-1.7.1.win.bin\icedtea-web-1.7.1-image/win-deps-runtime/tagsoup.jar; >> >> I don't really know what that library does, just that I need to include >> it. >> >> Should this be included as a bug or fix to ITW? Changing to '\uFEFF' >> allows >> it to compile with Eclipse/Windows, I assume it will work with other >> configs >> as well. If you tell me how to submit this appropriately I will. > > That is a bug and shoudl be fixed. Imho yours fix is good. > I have created for you: > https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3671 and will get > it > fixed. > > Will it not colide with your current work? But that is liekly easy to fix. > > Would be nice to have some test for this case:( > > Thanxz! >> >> >> >> >> -- >> Sent from: >> http://openjdk.5641.n7.nabble.com/OpenJDK-Distribution-specific-Packaging-f25548.html >> > > > -- > Jiri Vanek > Senior QE engineer, OpenJDK QE lead, Mgr. > Red Hat Czech > jvanek@ > M: +420775390109 Thanks Jiri. I have it fixed in my code so I should be fine I think. -- Sent from: http://openjdk.5641.n7.nabble.com/OpenJDK-Distribution-specific-Packaging-f25548.html From jtesdall at mapcon.com Wed Dec 12 19:39:26 2018 From: jtesdall at mapcon.com (jtesdall) Date: Wed, 12 Dec 2018 12:39:26 -0700 (MST) Subject: Update on Windows shortcut features for ITW In-Reply-To: References: <1544488405870-0.post@n7.nabble.com> Message-ID: <1544643566268-0.post@n7.nabble.com> Jiri Vanek wrote > On 12/11/18 1:33 AM, jtesdall wrote: >> I have been through, many trials and tribulations mostly because I am not >> a >> Java programmer but rather normally use .Net. Getting the Eclipse >> debugger >> to work with ITW on Windows was quite a task and I hope to write a post >> about how to accomplish it in the near future. Although I am not really >> sure >> if I know how I got it working finally. ;0) >> >> I will require a bit of help on some core ITW areas for my code to work >> correctly in the framework. This I think will mainly be in the LRU area. >> Here is what I have working and then what I need some help on. >> >> 1. I have Windows shortcuts being created on the Windows desktop and a >> Menu >> created with the same shortcut and an uninstall shortcut as well. The >> shortcuts are created with a external opensource library (.jar) called >> mslinks since windows shortcuts are a binary file. I hope the ITW >> community >> will be ok with utilizing this external jar otherwise my work will not be >> able to be included. I keep track of shortcuts and menus created in a >> text >> file in the root of cache. This work is all done in >> runtime/ApplicationInstance.java calling the aformentioned jar classes to >> create the actual shortcut files. >> >> 2. I have modified the clear/purge cache function to also remove the >> windows >> shortcuts and menu. This is done in cache\CacheUtil.java. Like is the >> default in ITW this removes all cache and all ITW created windows >> shortcuts >> and menus. >> >> 3. The clear cache function and the need to have an uninstall feature in >> windows per app made me realize I was going to have to add the capability >> to >> remove one app at a time and call this from a new Uninstall shortcut and >> maybe someday from add/remove programs. So I did this by addding the >> capability of adding a codebase parameter to the -Xclearcache function in >> Boot.java. I have this working except when it comes to the LRU I have not >> been able to figure out how to mark a file for deletion so I can call >> cleanCache. The markfordelete function requires a version parameter I >> couldn't get figured out what to pass. So I just loop through the >> directories and delete the ones that match the codebase parameter I pass >> to >> -Xclearcache and then call clearLRUSortedEntries (which removes all >> entries >> for all apps). I know these two things are bad but it is working right >> now >> for me so ..... I could use some help here to get it right. >> >> 4. The other thing I need help with is building a netx.jar I can use to >> do >> some more testing on other windows machines. All functions, up until >> removing one app at a time, I could build a netx.jar by just copying in >> the >> new class files over top of the jar classes. But copying in Boot.class >> doesn't work. Jiri mentioned I would have to use cygwin but I have no >> idea >> how to do this. So I need help building a jar with my updated classes, >> can I >> do this on windows? Exporting the jar normally from eclipse also does not >> work. No linux available so I need to do this on windows if possible. >> >> I think my work is useful if I can get by these two walls and do more >> testing. Then I can cleanup my code and submit it to the project. Can >> someone versed in ITW please lend a tired prograammer a hand! Jiri?!? >> >> > > That is really a lot of work... I had to read it twice and still not 100% > in it. Congratualtions for > jumping onto java so quckly :) > > Can you Share your work somehow? I can at least start to work on proper > inegration of it alongside > with linux world. As you mentioned earlier, you had modified the > XDEsktopeEntry and similar. > Also it wilneed some tuning in maklefiles, as the library you are using is > not mandatory on linux. > > My experience with cygwin is scare. I got setup environment few years ago > and it is the builder for > ITW since then. I remember it installed cygwin, and then was clicking > those checkboxes (in cygwin > setup) to install some SW. Then added rust and jdk via "normal process" > (some msi/zips), and placed > tagsoup and friends on locate-abnle place.... Crap.. This is help I would > not be happy to hear. > Added my colleague Michal to CC. He knows this much better then me. > When in cygwin, > https://icedtea.classpath.org/wiki/IcedTea-Web#Building_IcedTea-Web should > be up to > date. > > Maybe you can for ITW to github for a while? I doubt this will be finished > in few iterations... > I'm still on board with this feature, and would liek to see it pushed. > Unluckily I'm really on wrong > relationship with windows, so sory for not being able to help you more > with itw-on -win. I really > look forward to clean up your code and ensure it works fine in linux. > > Thanx a lot for bravery to step into it. > J. >> >> -- >> Sent from: >> http://openjdk.5641.n7.nabble.com/OpenJDK-Distribution-specific-Packaging-f25548.html >> > > > -- > Jiri Vanek > Senior QE engineer, OpenJDK QE lead, Mgr. > Red Hat Czech > jvanek@ > M: +420775390109 I would be happy to share code but would like to get it working 100% before you start working on it for Linux or we will get out synch. I ended up putting my code in ApplicationInstance.java and CacheUtil.java and left the XDesktop stuff alone. I would like to send you code snippets and ask you questions so you can help me work with the LRU and get cache files marked for deletion correctly. I would like to be able to create a new CacheEntry so I can call CacheEntry.markfordelete and then call cleanCache, but I haven't figured it out yet because of the Version parameter. I need help. Can I email you directly or post questions here which seems a bit cumbersome? Ya I have no idea how to proceed to get the jar file built so it works. Cygwin is a mstery to me and the instructions in the link on the ITW page I had read and are all about Linux. Hopefully someone can help me get it going with Eclispse/Windows or maybe you can build me a jar when we get far enough. -- Sent from: http://openjdk.5641.n7.nabble.com/OpenJDK-Distribution-specific-Packaging-f25548.html From jvanek at icedtea.classpath.org Thu Dec 13 09:52:07 2018 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Thu, 13 Dec 2018 09:52:07 +0000 Subject: /hg/icedtea-web: 2 new changesets Message-ID: changeset d6d1652a1837 in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=d6d1652a1837 author: Jiri Vanek date: Thu Dec 13 10:50:52 2018 +0100 Replaced hardcoded BOM character with utf representation (PR3671) * netx/net/sourceforge/nanoxml/XMLElement.java: (scanLeadingWhitespace) resolved PR3671, relaced ' ' by \\ufeff changeset 3202999ab80f in /hg/icedtea-web details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=3202999ab80f author: Jiri Vanek date: Thu Dec 13 10:51:17 2018 +0100 Fixed few javadoc issues. diffstat: ChangeLog | 6 ++ netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionStorage.java | 10 ++-- netx/net/sourceforge/jnlp/security/dialogs/ViwableDialog.java | 2 +- netx/net/sourceforge/jnlp/splashscreen/parts/InformationElement.java | 2 +- netx/net/sourceforge/jnlp/util/lockingfile/LockedFile.java | 6 +- netx/net/sourceforge/jnlp/util/lockingfile/LockingReaderWriter.java | 2 +- netx/net/sourceforge/jnlp/util/replacements/CharacterDecoder.java | 19 +++---- netx/net/sourceforge/jnlp/util/replacements/CharacterEncoder.java | 23 ++++----- netx/net/sourceforge/jnlp/util/ui/package-info.java | 2 +- netx/net/sourceforge/nanoxml/XMLElement.java | 4 +- netx/net/sourceforge/swing/ThreadCheckingRepaintManager.java | 2 +- tests/junit-runner/JunitLikeXmlOutputListener.java | 2 +- tests/test-extensions/net/sourceforge/jnlp/annotations/Bug.java | 2 +- tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java | 4 +- tests/test-extensions/net/sourceforge/jnlp/awt/imagesearch/ComponentFinder.java | 4 +- tests/test-extensions/net/sourceforge/jnlp/tools/MessageProperties.java | 3 +- tests/test-extensions/sun/applet/mock/PluginPipeMock.java | 2 +- 17 files changed, 49 insertions(+), 46 deletions(-) diffs (336 lines): diff -r 99b77a265f54 -r 3202999ab80f ChangeLog --- a/ChangeLog Mon Dec 10 14:44:28 2018 +0100 +++ b/ChangeLog Thu Dec 13 10:51:17 2018 +0100 @@ -1,3 +1,9 @@ +2018-12-10 Jiri Vanek + jtesdall + + Replaced hardcoded BOM character with utf representation (PR3671) + * netx/net/sourceforge/nanoxml/XMLElement.java: (scanLeadingWhitespace) resolved PR3671, relaced ' ' by \\ufeff + 2018-12-10 Jiri Vanek Made get_home os dependent. diff -r 99b77a265f54 -r 3202999ab80f netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionStorage.java --- a/netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionStorage.java Mon Dec 10 14:44:28 2018 +0100 +++ b/netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionStorage.java Thu Dec 13 10:51:17 2018 +0100 @@ -54,8 +54,8 @@ /** * This methods iterates through records in - * {@link net.sourceforge.jnlp.config.DeploymentConfiguration#getAppletTrustUserSettingsPath} or - * {@link net.sourceforge.jnlp.config.DeploymentConfiguration#getAppletTrustGlobalSettingsPath}, and is matching + * net.sourceforge.jnlp.config.DeploymentConfiguration#getAppletTrustUserSettingsPath or + * net.sourceforge.jnlp.config.DeploymentConfiguration#getAppletTrustGlobalSettingsPath, and is matching * regexes saved here against params. So parameters here are NOT regexes, * but are matched against saved regexes. *

@@ -103,12 +103,12 @@ /** * Will add new record. Note that regexes are stored for bases matching. *

- * eg {@link UnsignedAppletActionEntry} which will deny some applet no matter of - * page will be {@code new }{@link UnsignedAppletActionEntry#UnsignedAppletActionEntry UnsignedAppletActionEntry}{@code (}{@link ExecuteUnsignedApplet#NEVER}{@code , new }{@link java.util.Date#Date() Date()}{@code , null, null, someMain, someArchives)} + * eg UnsignedAppletActionEntry which will deny some applet no matter of + * page will be {@code new }{@link UnsignedAppletActionEntry#UnsignedAppletActionEntry UnsignedAppletActionEntry}{@code (} ExecuteUnsignedApplet#NEVER{@code , new }{@link java.util.Date#Date() Date()}{@code , null, null, someMain, someArchives)} *

*

* eg {@link UnsignedAppletActionEntry} which will - * allow all applets on page with same codebase will be {@code new }{@link UnsignedAppletActionEntry#UnsignedAppletActionEntry UnsignedAppletActionEntry}{@code (}{@link ExecuteUnsignedApplet#NEVER}{@code , new }{@link java.util.Date#Date() Date()}{@code , ".*", ".*", null, null);} + * allow all applets on page with same codebase will be {@code new }{@link UnsignedAppletActionEntry#UnsignedAppletActionEntry UnsignedAppletActionEntry}{@code (} ExecuteUnsignedApplet#NEVER {@code , new }{@link java.util.Date#Date() Date()}{@code , ".*", ".*", null, null);} *

* @param item */ diff -r 99b77a265f54 -r 3202999ab80f netx/net/sourceforge/jnlp/security/dialogs/ViwableDialog.java --- a/netx/net/sourceforge/jnlp/security/dialogs/ViwableDialog.java Mon Dec 10 14:44:28 2018 +0100 +++ b/netx/net/sourceforge/jnlp/security/dialogs/ViwableDialog.java Thu Dec 13 10:51:17 2018 +0100 @@ -147,7 +147,7 @@ /** * 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. + * getValue() to actually get the user's response. * * @param listener another action listener to be listen to */ diff -r 99b77a265f54 -r 3202999ab80f netx/net/sourceforge/jnlp/splashscreen/parts/InformationElement.java --- a/netx/net/sourceforge/jnlp/splashscreen/parts/InformationElement.java Mon Dec 10 14:44:28 2018 +0100 +++ b/netx/net/sourceforge/jnlp/splashscreen/parts/InformationElement.java Thu Dec 13 10:51:17 2018 +0100 @@ -48,7 +48,7 @@ import net.sourceforge.jnlp.util.logging.OutputController; /** - * This class is wrapper arround tag which should + * This class is wrapper arround the *information* tag element which should * javaws provide from source jnlp file */ public class InformationElement { diff -r 99b77a265f54 -r 3202999ab80f netx/net/sourceforge/jnlp/util/lockingfile/LockedFile.java --- a/netx/net/sourceforge/jnlp/util/lockingfile/LockedFile.java Mon Dec 10 14:44:28 2018 +0100 +++ b/netx/net/sourceforge/jnlp/util/lockingfile/LockedFile.java Thu Dec 13 10:51:17 2018 +0100 @@ -116,7 +116,8 @@ } /** - * Lock access to the file. Lock is reentrant. + * Lock access to the file.Lock is reentrant. + * @throws java.io.IOException */ public void lock() throws IOException { // Create if does not already exist, cannot lock non-existing file @@ -153,7 +154,8 @@ } /** - * Unlock access to the file. Lock is reentrant. Does not do anything if not holding the lock. + * Unlock access to the file.Lock is reentrant. Does not do anything if not holding the lock. + * @throws java.io.IOException */ public void unlock() throws IOException { if (!this.threadLock.isHeldByCurrentThread()) { diff -r 99b77a265f54 -r 3202999ab80f netx/net/sourceforge/jnlp/util/lockingfile/LockingReaderWriter.java --- a/netx/net/sourceforge/jnlp/util/lockingfile/LockingReaderWriter.java Mon Dec 10 14:44:28 2018 +0100 +++ b/netx/net/sourceforge/jnlp/util/lockingfile/LockingReaderWriter.java Thu Dec 13 10:51:17 2018 +0100 @@ -64,7 +64,7 @@ /** * Get the underlying file. - * Any access to this file should use lock() & unlock(). + * Any access to this file should use lock() and unlock(). * * @return the file */ diff -r 99b77a265f54 -r 3202999ab80f netx/net/sourceforge/jnlp/util/replacements/CharacterDecoder.java --- a/netx/net/sourceforge/jnlp/util/replacements/CharacterDecoder.java Mon Dec 10 14:44:28 2018 +0100 +++ b/netx/net/sourceforge/jnlp/util/replacements/CharacterDecoder.java Thu Dec 13 10:51:17 2018 +0100 @@ -38,7 +38,6 @@ * A character decoder is an algorithim for transforming 8 bit * binary data that has been encoded into text by a character * encoder, back into original binary form. - *

* The character encoders, in general, have been structured * around a central theme that binary data can be encoded into * text that has the form: @@ -47,7 +46,6 @@ * [Line Prefix][encoded data atoms][Line Suffix] * [Buffer Suffix] * - *

*

* Of course in the simplest encoding schemes, the buffer has no * distinct prefix of suffix, however all have some fixed relationship @@ -64,11 +62,11 @@ * abstract methods in this class. *

*
- *
bytesPerAtom which tells the decoder how many bytes to - * expect from decodeAtom - *
decodeAtom which decodes the bytes sent to it as text. - *
bytesPerLine which tells the encoder the maximum number of - * bytes per line. + *
bytesPerAtom which tells the decoder how many bytes to + * expect from decodeAtom
+ *
decodeAtom which decodes the bytes sent to it as text.
+ *
bytesPerLine which tells the encoder the maximum number of + * bytes per line.
*
*

* In general, the character decoders return error in the form of a @@ -123,7 +121,7 @@ /** * This method does an actual decode. It takes the decoded bytes and * writes them to the OutputStream. The integer l tells the - * method how many bytes are required. This is always <= bytesPerAtom(). + * method how many bytes are required. This is always less or equal to bytesPerAtom(). */ protected void decodeAtom(PushbackInputStream aStream, OutputStream bStream, int l) throws IOException { throw new CEStreamExhausted(); @@ -149,8 +147,7 @@ * Decode the text from the InputStream and write the decoded * octets to the OutputStream. This method runs until the stream * is exhausted. - * @exception CEFormatException An error has occured while decoding - * @exception CEStreamExhausted The input stream is unexpectedly out of data + * @exception IOException The input stream is unexpectedly out of data, An error has occured while decoding */ public void decodeBuffer(InputStream aStream, OutputStream bStream) throws IOException { int i; @@ -185,7 +182,7 @@ /** * Alternate decode interface that takes a String containing the encoded * buffer and returns a byte array containing the data. - * @exception CEFormatException An error has occured while decoding + * @exception IOException An error has occured while decoding */ public byte decodeBuffer(String inputString)[] throws IOException { byte inputBuffer[] = new byte[inputString.length()]; diff -r 99b77a265f54 -r 3202999ab80f netx/net/sourceforge/jnlp/util/replacements/CharacterEncoder.java --- a/netx/net/sourceforge/jnlp/util/replacements/CharacterEncoder.java Mon Dec 10 14:44:28 2018 +0100 +++ b/netx/net/sourceforge/jnlp/util/replacements/CharacterEncoder.java Thu Dec 13 10:51:17 2018 +0100 @@ -39,7 +39,7 @@ * A character encoder is an algorithim for transforming 8 bit binary * data into text (generally 7 bit ASCII or 8 bit ISO-Latin-1 text) * for transmition over text channels such as e-mail and network news. - *

+ * The character encoders have been structured around a central theme * that, in general, the encoded text has the form: *


@@ -47,25 +47,22 @@
  *      [Line Prefix][encoded data atoms][Line Suffix]
  *      [Buffer Suffix]
  * 
- *

- *

+ *

* In the {@code CharacterEncoder} and {@link CharacterDecoder} * classes, one complete chunk of data is referred to as a * buffer. Encoded buffers are all text, and decoded buffers * (sometimes just referred to as buffers) are binary octets. *

- *

- * To create a custom encoder, you must, at a minimum, overide three + * To create a custom encoder, you must, at a minimum, overide three * abstract methods in this class. *

- *
bytesPerAtom which tells the encoder how many bytes to - * send to encodeAtom - *
encodeAtom which encodes the bytes sent to it as text. - *
bytesPerLine which tells the encoder the maximum number of - * bytes per line. + *
bytesPerAtom which tells the encoder how many bytes to + * send to encodeAtom
+ *
encodeAtom which encodes the bytes sent to it as text.
+ *
bytesPerLine which tells the encoder the maximum number of + * bytes per line.
*
- *

- *

+ *

* Several useful encoders have already been written and are * referenced in the See Also list below. *

@@ -107,7 +104,7 @@ /** * Encode the suffix that ends every output line. By default - * this method just prints a into the output stream. + * this method just prints a newline into the output stream. */ protected void encodeLineSuffix(OutputStream aStream) throws IOException { pStream.println(); diff -r 99b77a265f54 -r 3202999ab80f netx/net/sourceforge/jnlp/util/ui/package-info.java --- a/netx/net/sourceforge/jnlp/util/ui/package-info.java Mon Dec 10 14:44:28 2018 +0100 +++ b/netx/net/sourceforge/jnlp/util/ui/package-info.java Thu Dec 13 10:51:17 2018 +0100 @@ -34,7 +34,7 @@ * Contains classes that deal with common and recurring UI tasks. *

* NOTE: Before adding new self-sufficient {@code public static} methods - * to this package please evaluate thier suitability for {@link UI} first.

+ * to this package please evaluate thier suitability for @link UI first.

* @since IcedTea-Web 1.5 */ package net.sourceforge.jnlp.util.ui; diff -r 99b77a265f54 -r 3202999ab80f netx/net/sourceforge/nanoxml/XMLElement.java --- a/netx/net/sourceforge/nanoxml/XMLElement.java Mon Dec 10 14:44:28 2018 +0100 +++ b/netx/net/sourceforge/nanoxml/XMLElement.java Thu Dec 13 10:51:17 2018 +0100 @@ -628,8 +628,8 @@ throws IOException { while(true) { char ch = this.readChar(); - //this is BOM , not space - if (ch == '???') { + //this is BOM , when used without \\u, appear like space, but causes issues on windows development + if (ch == '\uFEFF') { BOM = true; } else if (!isRegularWhiteSpace(ch)) { return ch; diff -r 99b77a265f54 -r 3202999ab80f netx/net/sourceforge/swing/ThreadCheckingRepaintManager.java --- a/netx/net/sourceforge/swing/ThreadCheckingRepaintManager.java Mon Dec 10 14:44:28 2018 +0100 +++ b/netx/net/sourceforge/swing/ThreadCheckingRepaintManager.java Thu Dec 13 10:51:17 2018 +0100 @@ -46,7 +46,7 @@ /** * Initially there was a rule that it is safe to create and use Swing components until they are realized but this * rule is not valid any more, and now it is recommended to interact with Swing from EDT only. - *

+ * * That's why completeCheck flag is used - if you test the old program switch it to false, but new applications * should be tested with completeCheck set to true* * diff -r 99b77a265f54 -r 3202999ab80f tests/junit-runner/JunitLikeXmlOutputListener.java --- a/tests/junit-runner/JunitLikeXmlOutputListener.java Mon Dec 10 14:44:28 2018 +0100 +++ b/tests/junit-runner/JunitLikeXmlOutputListener.java Thu Dec 13 10:51:17 2018 +0100 @@ -389,7 +389,7 @@ * * You just put eg @Bug(id="RH12345",id="http:/my.bukpage.com/terribleNew") * and RH12345 will be transalated as - * 123456 or + * 123456 or * similar, the url will be inclueded as is. Both added to proper tests or suites * * @return Strng[2]{nameToBeShown, hrefValue} diff -r 99b77a265f54 -r 3202999ab80f tests/test-extensions/net/sourceforge/jnlp/annotations/Bug.java --- a/tests/test-extensions/net/sourceforge/jnlp/annotations/Bug.java Mon Dec 10 14:44:28 2018 +0100 +++ b/tests/test-extensions/net/sourceforge/jnlp/annotations/Bug.java Thu Dec 13 10:51:17 2018 +0100 @@ -58,7 +58,7 @@ * and http://mail.openjdk.java.net/pipermail/ are proceed differently * You just put eg @Bug(id="RH12345",id="http:/my.bukpage.com/terribleNew") * and RH12345 will be transalated as - * 123456 or + * 123456 or * similar, the url will be inclueded as is. Both added to proper tests or suites * */ diff -r 99b77a265f54 -r 3202999ab80f tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java --- a/tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java Mon Dec 10 14:44:28 2018 +0100 +++ b/tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java Thu Dec 13 10:51:17 2018 +0100 @@ -337,8 +337,8 @@ * 4. sets screenCapture indicator to true (after tryKTimes unsuccessfull * tries an exception "ComponentNotFound" will be raised) * - * @throws AWTException - * @throws ComponentNotFoundException + * @throws ComponentNotFoundException + * @throws AWTFrameworkException * @throws AWTFrameworkException */ public void captureScreenAndFindAppletByIcon() throws ComponentNotFoundException, AWTFrameworkException { diff -r 99b77a265f54 -r 3202999ab80f tests/test-extensions/net/sourceforge/jnlp/awt/imagesearch/ComponentFinder.java --- a/tests/test-extensions/net/sourceforge/jnlp/awt/imagesearch/ComponentFinder.java Mon Dec 10 14:44:28 2018 +0100 +++ b/tests/test-extensions/net/sourceforge/jnlp/awt/imagesearch/ComponentFinder.java Thu Dec 13 10:51:17 2018 +0100 @@ -104,8 +104,8 @@ * * @param icon * @param iconPosition - * @param appletWidth - * @param appletHeight + * @param windowWidth + * @param windowHeight * @param screenshot * @return Rectangle rectangle where the applet resides */ diff -r 99b77a265f54 -r 3202999ab80f tests/test-extensions/net/sourceforge/jnlp/tools/MessageProperties.java --- a/tests/test-extensions/net/sourceforge/jnlp/tools/MessageProperties.java Mon Dec 10 14:44:28 2018 +0100 +++ b/tests/test-extensions/net/sourceforge/jnlp/tools/MessageProperties.java Thu Dec 13 10:51:17 2018 +0100 @@ -71,7 +71,8 @@ * @param locale the localization of Messages.properties to search * @param key * @return the message corresponding to the given key from the specified localization - * @throws IOException if the specified Messages localization is unavailable + * + * can throw wrapped IOException if the specified Messages localization is unavailable */ public static String getMessage(Locale locale, String key) { ResourceBundle bundle = PropertyResourceBundle.getBundle(resourcePath, locale); diff -r 99b77a265f54 -r 3202999ab80f tests/test-extensions/sun/applet/mock/PluginPipeMock.java --- a/tests/test-extensions/sun/applet/mock/PluginPipeMock.java Mon Dec 10 14:44:28 2018 +0100 +++ b/tests/test-extensions/sun/applet/mock/PluginPipeMock.java Thu Dec 13 10:51:17 2018 +0100 @@ -8,7 +8,7 @@ import java.util.concurrent.LinkedBlockingQueue; /** - * Helper for getting an input & output stream for use with PluginStreamHandler. + * Helper for getting an input and output stream for use with PluginStreamHandler. * Provides a convenient way of reading the Java requests and sending mocked * plugin responses. * From jvanek at redhat.com Thu Dec 13 10:25:25 2018 From: jvanek at redhat.com (Jiri Vanek) Date: Thu, 13 Dec 2018 11:25:25 +0100 Subject: Update on Windows shortcut features for ITW In-Reply-To: <1544643566268-0.post@n7.nabble.com> References: <1544488405870-0.post@n7.nabble.com> <1544643566268-0.post@n7.nabble.com> Message-ID: > > I would be happy to share code but would like to get it working 100% before > you start working on it for Linux or we will get out synch. I ended up sure. > putting my code in ApplicationInstance.java and CacheUtil.java and left the > XDesktop stuff alone. I would like to send you code snippets and ask you > questions so you can help me work with the LRU and get cache files marked > for deletion correctly. I would like to be able to create a new CacheEntry > so I can call CacheEntry.markfordelete and then call cleanCache, but I I'm really curious. > haven't figured it out yet because of the Version parameter. I need help. > Can I email you directly or post questions here which seems a bit > cumbersome? Sure. I do not difference direct email and thsi meiling list. Imho the list is better, as more people canhel[p (and many have greater windows expirinece). Still, as it fits to you. > > Ya I have no idea how to proceed to get the jar file built so it works. > Cygwin is a mstery to me and the instructions in the link on the ITW page I > had read and are all about Linux. Hopefully someone can help me get it going > with Eclispse/Windows or maybe you can build me a jar when we get far> enough. Yup. Should work for me. TYVM! J. > > > > -- > Sent from: http://openjdk.5641.n7.nabble.com/OpenJDK-Distribution-specific-Packaging-f25548.html > -- Jiri Vanek Senior QE engineer, OpenJDK QE lead, Mgr. Red Hat Czech jvanek at redhat.com M: +420775390109 From aboden460 at gmail.com Mon Dec 10 15:11:01 2018 From: aboden460 at gmail.com (Andy Boden) Date: Mon, 10 Dec 2018 07:11:01 -0800 Subject: Q: IcedTea-Web Plugin? In-Reply-To: <785ae2e6-a3e3-c704-3ac1-f7ffa1c8e7d6@redhat.com> References: <1c5b8244-edc5-4a1f-6046-6d7371d9f585@redhat.com> <3fa6582addb3730b90a5d6ff9b6bfbd179033670.camel@gmail.com> <785ae2e6-a3e3-c704-3ac1-f7ffa1c8e7d6@redhat.com> Message-ID: <84c03ef863a8de0890e7a90619ae197e5a0dc6bc.camel@gmail.com> The workaround I found is jnlp-based (separately suggested from the mailing list by Treutwein Bernhard -- thanks to him as well) works well enough to get me what I absolutely need in the short term. But I think the right long-term solution is either for my controller provider to provide a working admin application going forward, or for me to find an alternative controller provider going forward... Because as you say java applets are dead. Best wishes to all for the holidays and in the new year. - Andy On Mon, 2018-12-10 at 15:42 +0100, Jiri Vanek wrote: > You need to find OS still supporting NPAPI. Let sey CentOS 6. > Then you have to find a browser still offering NPAPI. I'm afraid even > firefox in centos6 already > could kill it. But may work. > > I think ICedTEaWeb+cento 6 can really do the job you needs. > > If not, you need to add npapi comaptible browser + self built ITW. > > On f28, you may give shot to javaws -html > your_home_control_hrml_page_where_is_applet but it have > less then 50/50 > > Read more in ITW docs. > > J. > > > > On 12/10/18 3:01 PM, Andy Boden wrote: > > Hi Jiri, > > > > Thank you for your kind reply. While in the mean time I have found > > a > > mostly-working work-around, long term I am pretty stuck. The > > legacy > > device which controls my house automation system: > > > > https://www.universal-devices.com/residential/isy994i-series/ > > > > has it's administrative console built in a java browser applet, and > > there doesn't seem to be any plan by the device provider to move > > away > > from that codebase. I am looking for a drop-in replacement for > > this > > control unit... > > > > As I said -- I appreciate your reply. With every best wish from > > Pasadena, > > > > - Andy > > > > > > On Mon, 2018-12-10 at 10:40 +0100, Jiri Vanek wrote: > > > Hi. > > > > > > Plugin shared object is now removed. > > > NPAPI support was removed from all serious distributions. > > > Our upstream still have it, and will have it also for 1.8 > > > release, > > > but you can not even build it on f28. > > > > > > Give up on java applets., they are dead. > > > > > > ITW can still somehow use plugin.jar by javaws -html, but it is > > > known > > > to mostly not work. > > > > > > So you are not missing anything. > > > > > > Please CC distro-pkg-dev at openjdk.java.net if you ahve any further > > > inquiries. > > > > > > HTH > > > J. > > > > > > > > > On 12/7/18 4:43 PM, Andy Boden wrote: > > > > Hi Mr. (Ms?) Vanek, > > > > > > > > Please forgive the "cold-call", but I saw your name seemingly > > > > listed as > > > > a maintainer of the IcedTea-Web package -- I hope you can help > > > > me > > > > with > > > > what might be a stupid question on that same package... > > > > > > > > > > > > [To support a legacy system] I am trying to use IcedTea-Web to > > > > provide > > > > java browser plugin functionality (on an old version of > > > > Firefox) > > > > running on a Fedora28 system. > > > > > > > > I have the IcedTea-Web package installed: > > > > > > > > > [bode at hydra ~]$ rpm -q --all | grep iced > > > > > icedtea-web-1.7.1-10.fc28.noarch > > > > > > > > The IcedTea documentation gives instructions for linking in the > > > > plugin > > > > (a file designated IcedTeaPlugin.so) into the broswer: > > > > > > > > https://icedtea.classpath.org/wiki/IcedTea-Web#Plugin > > > > > > > > However no such file is among the files provided by the icedtea > > > > rpm: > > > > > > > > > > > > https://fedora.pkgs.org/28/fedora-i386/icedtea-web-1.7.1-10.fc28.noarch.rpm.html > > > > > > > > There must be something simple that I am missing. Is there > > > > some > > > > post- > > > > installation build step that I need to do to build the shared > > > > object > > > > file??? Something else? > > > > > > > > Help (or a pointer to same) would be most appreciated. Thanks > > > > in > > > > advance. With every best wish from Pasadena CA... > > > > > > > > - Andy > > > > > > > > > > > > > > > > -- Andy Boden Caltech Astronomy From bourges.laurent at gmail.com Thu Dec 13 22:16:01 2018 From: bourges.laurent at gmail.com (=?UTF-8?Q?Laurent_Bourg=C3=A8s?=) Date: Thu, 13 Dec 2018 23:16:01 +0100 Subject: IcedTeaWeb: using java 9 run args ? In-Reply-To: <08ccbfc0-b0d4-f7c9-83e7-1c78ed7e5b29@redhat.com> References: <8321de42-a69a-13b2-c5a4-e5dc0b6764d1@redhat.com> <8429b16d-8165-3e03-72d7-7253491239e1@redhat.com> <08ccbfc0-b0d4-f7c9-83e7-1c78ed7e5b29@redhat.com> Message-ID: Hi Jiri, You're right, it is time for me to contribute back better launchers (shell/batch) to ITW 1.7... However it is quite difficult for me to understand the usual way to do it: - I mainly experimented fixes in generated scripts (install folder) to test changes. We should first agree on the final output: Do you agree adding a new class ParseVersion to perform the java version tests (compatible with linux / windows...) ? Do you agree adding itw-run.args for global jigsaw options as proposed ? For now I let this static file in the root itw folder. I still want to have windows / shell scripts working on both JDK8 & 11. It requires many small changes. For instance, JDK8 can use rt.jar, jfxrt.jar, nashorn but not jdk11 ... That's not clear to me how generic should stay these scripts (independent of JDK version) or customized by build or install scripts ... it is confusing me. I compared again win vs linux scripts and ITW_HOME is only defined in windows batch whereas it is a good variable to have in linux scripts too to avoid having many times to full path. How could we simplify all these paths / variables refering paths or relying on the deployment.properties ? - Today I quickly looked at the Makefile / configure scripts to see how it works (variable / path substitution, sed scripts ...) and I do not know how to proceed. Could you give me directions how to proceed with adding new variables (autoconf, configure, make ...) ? On my work-station, I made also few hacks in Makefile: - always generate/install windows launchers (bat files), not only when WINDOWS is defined. Would you agree adding another flag(s) to generate shelll / batch files in autoconf ? - ignore bash completion (failing on my setup) as I do not want to alter my linux install (no system integration): same question ? Finally I would like to achieve making on linux a linux + window build package having all necessary bits (jar, splash, scripts) that will work on win/linux platforms (without plugins, no native libs): it could be a minimal cross-platform package (redistribuable as a standalone zip file ~ 2mb) Thanks for your advices, I will take time to inspect my current local repo and try to figure out a way to simplify scripts. Laurent Le mer. 12 d?c. 2018 ? 19:12, Jiri Vanek a ?crit : > Hi Laurent, As I'm continuing with rust-luncher, we should agree on this > file. Especially iun its > location. > > For both shell and rust (but not for bats) there is mechanism how to get > it form > deployment.properties, whcih are already complicated enough. I would like > to introduce new property, > which will point to the file with those switches. > > Teh fallback, then can be Location_of_exe in case of windows, and install > path in case distribution > build for windows. Generally it is tricky resource. > > Thanx. > J. > On 11/23/18 5:15 PM, Jiri Vanek wrote: > > I like the idea. > > > > Maybe for current shell luncher, it is to distubive change. But for rust > lunchers - it is more > > necessary as one will not be abel simply mofify those. So +1 for > approach. > > > > Where I'm hesitating a bit is the install folder you used. > > I would rather follow the deployment.configuration paths. Rust lunchers > should be ready for this. > > > > WDYT? > > > > Thanx! > > And sorry for dealyed reply. HAd to turn focus to another projects. > > j. > > > > On 10/18/18 11:05 PM, Laurent Bourg?s wrote: > >> Jiri, > >> I took some time to illustrate my proposal about simplifying shell > scripts to work on OpenJDK11 and 8: > >> > >> I need the install directory for ITW: > >> +ITW_INS=/home/bourgesl/libs/icedtea-web-1.7-HEAD/install > >> > >> Then I removed all add-reads / add-exports (except patch-module) and > added argument to use arg file: > >> *+ # add JDK9 arg file: > >> + COMMAND[k]="@$ITW_INS/bin/itw-run.args" > >> + k=$((k+1))* > >> > >> Arg File named itw-run.args in the same folder as shell scripts > (sh/bat) : > >> --add-reads=java.base=ALL-UNNAMED,java.desktop > >> --add-reads=java.desktop=ALL-UNNAMED,java.naming > >> --add-reads=java.naming=ALL-UNNAMED,java.desktop > >> > >> --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop > >> --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop > >> > >> > --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop > >> > --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop > >> --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop > >> --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop > >> --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop > >> --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop > >> --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop > >> --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop > >> > --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop > >> > >> --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop > >> --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop > >> --add-exports=java.desktop/sun.applet=ALL-UNNAMED,jdk.jsobject > >> > >> > --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop > >> > >> It is simpler to me to gather all add-reads/add-exports declaration in > such arg file (less > >> obfuscated) and it will be reused by windows script too. > >> > >> What do you think ? > >> I will go on modifying the Makefile generating such shells from > templates launchers.in > >> (sed ...) > >> > >> Laurent > >> > >> PS: diff for my javaws / javaws11 installed scripts (generated):* > >> * > >> --- /home/icedtea/icedtea-web-1.7-HEAD/install/bin/javaws > >> +++ /home/icedtea/icedtea-web-1.7-HEAD/install/bin/javaws11 > >> @@ -1,14 +1,16 @@ > >> #!/bin/bash > >> > >> +ITW_INS=/home/bourgesl/libs/icedtea-web-1.7-HEAD/install > >> +ITW_SHARE=$ITW_INS/share > >> + > >> NASHORN=lib/ext/nashorn.jar > >> -JAVA=/home/bourgesl/apps/ojdk8//jre/bin/java > >> > -LAUNCHER_BOOTCLASSPATH='-Xbootclasspath/a:/home/bourgesl/libs/icedtea-web-1.7-HEAD/install/share/icedtea-web/netx.jar' > >> +JAVA_BASE=/home/bourgesl/apps/openjdk-11+28_linux-x64_bin > >> > +LAUNCHER_BOOTCLASSPATH="-Xbootclasspath/a:$ITW_SHARE/icedtea-web/netx.jar" > >> LAUNCHER_FLAGS=-Xms8m > >> CLASSNAME=net.sourceforge.jnlp.runtime.Boot > >> > -BINARY_LOCATION=/home/bourgesl/libs/icedtea-web-1.7-HEAD/install/bin/javaws > >> > -SPLASH_LOCATION=/home/bourgesl/libs/icedtea-web-1.7-HEAD/install/share/icedtea-web/javaws_splash.png > >> +BINARY_LOCATION=$ITW_INS/bin/javaws11 > >> +SPLASH_LOCATION=$ITW_SHARE/icedtea-web/javaws_splash.png > >> PROGRAM_NAME=javaws > >> > -CP=/home/bourgesl/apps/ojdk8//jre/lib/rt.jar:/home/bourgesl/apps/ojdk8//jre/lib/jfxrt.jar > >> > >> CONFIG_HOME=$XDG_CONFIG_HOME > >> if [ "x$CONFIG_HOME" = "x" ] ; then > >> @@ -27,15 +29,14 @@ > >> fi; > >> if [ "x$CUSTOM_JRE" != "x" ] ; 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 > >> - LAUNCHER_BOOTCLASSPATH=$LAUNCHER_BOOTCLASSPATH:$CUSTOM_JRE/$NASHORN > >> + JAVA_BASE=$CUSTOM_JRE > >> else > >> - echo "Your custom JRE $CUSTOM_JRE read from deployment.properties > under key $PROPERTY_NAME as > >> $CUSTOM_JRE is not valid. Using default ($JAVA, $CP) in attempt to > start. Please fix this." > >> + echo "Your custom JRE $CUSTOM_JRE read from deployment.properties > under key $PROPERTY_NAME as > >> $CUSTOM_JRE is not valid. Using default ($JAVA) in attempt to start. > Please fix this." > >> fi > >> -else > >> - > LAUNCHER_BOOTCLASSPATH="$LAUNCHER_BOOTCLASSPATH:/home/bourgesl/apps/ojdk8//jre/$NASHORN" > >> fi; > >> + > >> +JAVA=$JAVA_BASE/bin/java > >> +echo "JAVA: $JAVA" > >> > >> MODULAR_JDK="NO" > >> version=`${JAVA} -version 2>&1 | head -n 1 | cut -d'-' -f1 | cut -d'"' > -f2 | cut -d'.' -f1` > >> @@ -44,6 +45,9 @@ > >> fi > >> if [ $version -ge "9" ]; then > >> MODULAR_JDK="YES" > >> +else > >> + CP=$JAVA_BASE/lib/rt.jar:$JAVA_BASE/lib/jfxrt.jar > >> + LAUNCHER_BOOTCLASSPATH=$LAUNCHER_BOOTCLASSPATH:$JAVA_BASE/$NASHORN > >> fi > >> > >> JAVA_ARGS=( ) > >> @@ -55,7 +59,7 @@ > >> > >> SPLASH="false" > >> if [ "x$ICEDTEA_WEB_SPLASH" = "x" ] ; then > >> -SPLASH="true" > >> + SPLASH="true" > >> fi; > >> while [ "$#" -gt "0" ]; do > >> case "$1" in > >> @@ -78,8 +82,8 @@ > >> COMMAND[k]="${JAVA}" > >> k=$((k+1)) > >> if [ "$SPLASH" = "true" ] ; then > >> -COMMAND[k]="-splash:${SPLASH_LOCATION}" > >> -k=$((k+1)) > >> + COMMAND[k]="-splash:${SPLASH_LOCATION}" > >> + k=$((k+1)) > >> fi; > >> COMMAND[k]="${LAUNCHER_BOOTCLASSPATH}" > >> k=$((k+1)) > >> @@ -87,96 +91,30 @@ > >> k=$((k+1)) > >> > >> if [ "x$MODULAR_JDK" == "xYES" ] ; then > >> -COMMAND[k]="--patch-module" > >> -k=$((k+1)) > >> > -COMMAND[k]="java.desktop=:/home/bourgesl/libs/icedtea-web-1.7-HEAD/install/share/icedtea-web/netx.jar" > >> -k=$((k+1)) > >> -# jsobject must be pathched separately from plugin > >> -# otherwise netscape pkg would be shared by two modules, which is > forbiden > >> -JSOBJECT_JAR= > >> -# plugin jar may not be built > >> -if [ ! "x$JSOBJECT_JAR" == "x" ] ; then > >> COMMAND[k]="--patch-module" > >> k=$((k+1)) > >> - COMMAND[k]="jdk.jsobject=$JSOBJECT_JAR" > >> + COMMAND[k]="java.desktop=$ITW_SHARE/icedtea-web/netx.jar" > >> + k=$((k+1)) > >> + # jsobject must be patched separately from plugin > >> + # otherwise netscape pkg would be shared by two modules, which is > forbiden > >> + JSOBJECT_JAR= > >> + # plugin jar may not be built > >> + if [ ! "x$JSOBJECT_JAR" == "x" ] ; then > >> + COMMAND[k]="--patch-module" > >> + k=$((k+1)) > >> + COMMAND[k]="jdk.jsobject=$JSOBJECT_JAR" > >> + k=$((k+1)) > >> + fi > >> + > >> *+ # add JDK9 arg file: > >> + COMMAND[k]="@$ITW_INS/bin/itw-run.args" > >> + k=$((k+1))* > >> +else > >> + COMMAND[k]="-classpath" > >> + k=$((k+1)) > >> + COMMAND[k]="${CP}" > >> k=$((k+1)) > >> fi > >> - > >> -COMMAND[k]="--add-reads" > >> -k=$((k+1)) > >> -COMMAND[k]="java.base=ALL-UNNAMED,java.desktop" > >> -k=$((k+1)) > >> -COMMAND[k]="--add-reads" > >> -k=$((k+1)) > >> -COMMAND[k]="java.desktop=ALL-UNNAMED,java.naming" > >> -k=$((k+1)) > >> -COMMAND[k]="--add-reads" > >> -k=$((k+1)) > >> -COMMAND[k]="java.naming=ALL-UNNAMED,java.desktop" > >> -k=$((k+1)) > >> - > >> -COMMAND[k]="--add-exports" > >> -k=$((k+1)) > >> -COMMAND[k]="java.desktop/sun.awt=ALL-UNNAMED,java.desktop" > >> -k=$((k+1)) > >> -COMMAND[k]="--add-exports" > >> -k=$((k+1)) > >> -COMMAND[k]="java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop" > >> -k=$((k+1)) > >> -COMMAND[k]="--add-exports" > >> -k=$((k+1)) > >> -COMMAND[k]="java.base/sun.security.provider=ALL-UNNAMED,java.desktop" > >> -k=$((k+1)) > >> -COMMAND[k]="--add-exports" > >> -k=$((k+1)) > >> -COMMAND[k]="java.base/sun.security.util=ALL-UNNAMED,java.desktop" > >> -k=$((k+1)) > >> -COMMAND[k]="--add-exports" > >> -k=$((k+1)) > >> -COMMAND[k]="java.base/sun.security.x509=ALL-UNNAMED,java.desktop" > >> -k=$((k+1)) > >> -COMMAND[k]="--add-exports" > >> -k=$((k+1)) > >> -COMMAND[k]="java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop" > >> -k=$((k+1)) > >> -COMMAND[k]="--add-exports" > >> -k=$((k+1)) > >> -COMMAND[k]="java.base/sun.security.validator=ALL-UNNAMED,java.desktop" > >> -k=$((k+1)) > >> -COMMAND[k]="--add-exports" > >> -k=$((k+1)) > >> > -COMMAND[k]="java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop" > >> -k=$((k+1)) > >> -COMMAND[k]="--add-exports" > >> -k=$((k+1)) > >> > -COMMAND[k]="java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop" > >> -k=$((k+1)) > >> -COMMAND[k]="--add-exports" > >> -k=$((k+1)) > >> -COMMAND[k]="java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop" > >> -k=$((k+1)) > >> -COMMAND[k]="--add-exports" > >> -k=$((k+1)) > >> > -COMMAND[k]="java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop" > >> -k=$((k+1)) > >> -COMMAND[k]="--add-exports" > >> -k=$((k+1)) > >> -COMMAND[k]="java.desktop/sun.applet=ALL-UNNAMED,java.desktop" > >> -k=$((k+1)) > >> -COMMAND[k]="--add-exports" > >> -k=$((k+1)) > >> -COMMAND[k]="java.base/sun.security.action=ALL-UNNAMED,java.desktop" > >> -k=$((k+1)) > >> -COMMAND[k]="--add-exports" > >> -k=$((k+1)) > >> > -COMMAND[k]="java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop" > >> -k=$((k+1)) > >> -COMMAND[k]="--add-exports" > >> -k=$((k+1)) > >> -COMMAND[k]="java.desktop/sun.applet=ALL-UNNAMED,jdk.jsobject" > >> -k=$((k+1)) > >> -fi > >> - > >> > >> i=0 > >> while [ "$i" -lt "${#JAVA_ARGS[@]}" ]; do > >> @@ -184,14 +122,20 @@ > >> i=$((i+1)) > >> k=$((k+1)) > >> done > >> -COMMAND[k]="-classpath" > >> -k=$((k+1)) > >> -COMMAND[k]="${CP}" > >> -k=$((k+1)) > >> + > >> COMMAND[k]="-Dicedtea-web.bin.name >=${PROGRAM_NAME}" > >> k=$((k+1)) > >> COMMAND[k]="-Dicedtea-web.bin.location=${BINARY_LOCATION}" > >> k=$((k+1)) > >> + > >> +# icedtea-web.edt.debug > >> +#COMMAND[k]="-Dicedtea-web.edt.debug=true" > >> +#k=$((k+1)) > >> > >> COMMAND[k]="${CLASSNAME}" > >> k=$((k+1)) > >> j=0 > >> @@ -201,6 +145,7 @@ > >> k=$((k+1)) > >> done > >> > >> +echo "CLI: '${COMMAND[@]}' " > >> exec -a "$PROGRAM_NAME" "${COMMAND[@]}" > >> > >> exit $? > >> > >> > >> Le mar. 9 oct. 2018 ? 12:20, Jiri Vanek jvanek at redhat.com>> a ?crit : > >> > >> On 10/9/18 9:24 AM, Laurent Bourg?s wrote: > >> > Jiri, > >> > > >> > I will prototype moving all java9 args from linux launchers into > a common arg file: itw.args. > >> > > >> > It will reduce the size and complexity and allow its reuse in > windows launchers. > >> > I suppose it will simplify rust launchers too. > >> > >> Major issue is I guess to find that file. The global x user > configurations are different. Also it > >> can use per-vm configurations and in addition (linux x window) x > (installed x selfbuild x > >> unpacked) locations are different. > >> > >> Maybe more friendly will be to include that in deployment > properties? Maybe path to this file > >> can be > >> in deplyment properties? > >> > >> > >> This complication was the actual reason I had it hardcoded. > (especilly with duplicated hardcoding > >> in plugin, but htat issue is mos likely gone by plugin being > deprecatyed in 1.8 and removed in > >> 1.9). > >> > >> Now, if this file will be used for -add-provides and friends, > should it serve also for other java > >> params? We already ahve this covered via -J and via one deployment > property (whih is I'm afraid > >> untested, unknow and never tempted out of the plugin). > >> > >> Thoughts? > >> J. > >> > > >> > > >> > > I wonder if you would agree giving java 9 add-reads, > add-export args as argument files ? > >> > > See > >> > > > >> > > >> > https://blog.codefx.org/java/five-command-line-options-hack-java-module-system/#Thoughts-On-Command-Line-Options > >> > > > >> > > It would simplify a lot the linux / windows shell scripts > and possibly rust launchers > >> (1.8) and > >> > > allow using the same arg file for both win/unix launcher > (unified). > >> > > > >> > > >> > Hi! > >> > > >> > Interesting idea... > >> > > >> > Isnt it already achievable via -J ? > >> > /me not tried > >> > > >> > > >> > This work is dedicated to improving existing shell scripts, not > using arg file for the jnlp > >> > application (out of scope). > >> > > >> > Cheers, > >> > Laurent > >> > >> > >> -- > >> Jiri Vanek > >> Senior QE engineer, OpenJDK QE lead, Mgr. > >> Red Hat Czech > >> jvanek at redhat.com M: +420775390109 > >> > >> > >> > >> -- > >> -- > >> Laurent Bourg?s > > > > > > > -- > Jiri Vanek > Senior QE engineer, OpenJDK QE lead, Mgr. > Red Hat Czech > jvanek at redhat.com M: +420775390109 > -- -- Laurent Bourg?s -------------- next part -------------- An HTML attachment was scrubbed... URL: From jvanek at redhat.com Fri Dec 14 14:32:05 2018 From: jvanek at redhat.com (Jiri Vanek) Date: Fri, 14 Dec 2018 15:32:05 +0100 Subject: [rfc][icedtea-web] add classapth resolving to rust lunchers (and thus make them work) Message-ID: <4c488c29-82cb-3cdd-95e0-8276eb743d63@redhat.com> Hello! Here is huge patch which is making rust launchers finally possible. Unluckily it does several things at once. I will be happy to split them as reviewer requests. Maybe some of them (like javaws.jar) requires special discussion. * makfile+java: - changed name of netx.jar to javaws jar - properly used macros all over makefile.am configure: - introduced configure switch --with-itw-libs which determines if you build portable or distribution result. The goal is to achieve, that you can coexists system itw, and in parallel custom portable instance by default, without fear of interference. Still the libraries order can be changed in runtime pretty much. * rust - inlcuded laoding of ITW_LIBS in compile time, propagating all jars so they can be reusable. Ketp xboothclassapth propagated to, but is use donly in debug output. - new module jars_helper is here to try to search for resources based on ITW_LIBS and locations where deps are (we currently have windows and linux dirs named differently). About the members and order of LOCAL_PATH, I have many concerns. The current one is most free one. - persisted the error of javafx being on normal classapth. Shouldnt it be on bootclassapth? (see nashorn around same lines) and see http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2018-November/040492.html) - added method which composes cp/bootcp from freshl located members and from java resources (jdk8 and down only!) - main method made aware of this classpaths and so it it is included in params for os.spawn_java_process together with main method and custom arguments from cmdline and ... ***fanfares*** IT WORKS ***fanfares*** - os dependent modules got : x ; classpathDelimiter - moved TestLogger to utils - is now shared. So this patch, in is making rust lunchers to do something. Is there something missing/redundant in this todo list? todo: -J arguments splash (+headless) LAUNCHER_FLAGS=-Xms8m (?) file logging jdk from path(I dont know how to make it properly) jdk9+ support (--patch/--add*) jdk9+ support (rt.jar, fxrt.jar, nashorn.jar) Thanx! J. -- Jiri Vanek Senior QE engineer, OpenJDK QE lead, Mgr. Red Hat Czech jvanek at redhat.com M: +420775390109 -------------- next part -------------- A non-text attachment was scrubbed... Name: rustJarsResolverAndClassPathComposer.patch Type: text/x-patch Size: 47085 bytes Desc: not available URL: From jvanek at redhat.com Fri Dec 14 15:08:09 2018 From: jvanek at redhat.com (Jiri Vanek) Date: Fri, 14 Dec 2018 16:08:09 +0100 Subject: IcedTeaWeb: using java 9 run args ? In-Reply-To: References: <8321de42-a69a-13b2-c5a4-e5dc0b6764d1@redhat.com> <8429b16d-8165-3e03-72d7-7253491239e1@redhat.com> <08ccbfc0-b0d4-f7c9-83e7-1c78ed7e5b29@redhat.com> Message-ID: <67646a19-6453-d5b8-6ca3-df49500ec623@redhat.com> On 12/13/18 11:16 PM, Laurent Bourg?s wrote: > Hi Jiri, > > You're right, it is time for me to contribute back better launchers (shell/batch) to ITW 1.7... > Do you really wish to put cycles into bat files? They are for strange use.... Still tight, they may serve as secondary source of knowledge to rust lunchers. > However it is quite difficult for me to understand the usual way to do it: > - I mainly experimented fixes in generated scripts (install folder) to test changes. > We should first agree on the final output: > Do you agree adding a new class ParseVersion to perform the java version tests (compatible with > linux / windows...) ? -yes > Do you agree adding itw-run.args for global jigsaw options as proposed ? For now I let this static > file in the root itw folder. Yes. this file is good idea. for distribution builds, the root itw folder is not enough.What is your current syntax? Eg jdk.jsobject is pathecd conditionally (but that one can remain hardcoded) > > I still want to have windows / shell scripts working on both JDK8 & 11. Really bats? Well then we speek about three launchers - rustl bat and sh. I agree all three shoould be as aligned as possible and as versatile as possible. > It requires many small changes. > For instance, JDK8 can use rt.jar, jfxrt.jar, nashorn but not jdk11 ... Tho have those on cp is harmelss for JDK11. So what is missing is search for jdk11 versions of fx (nashorn is just another module isnt it? and will be removed? Search for custom FX is doable (once the goal have clear specification) More tricky is pathcing not existing modules. Still it canbe handled by logic. (it canbring torubles to .args file you are thinkging with) > That's not clear to me how generic should stay these scripts (independent of JDK version) or > customized by build or install scripts ... it is confusing me. They should be jdk independent. And build/isntall shoudl affect them in reasonable way. I'mnto sure if I understand your question. Which is what rust lucnhers shoulr be doing much better then current shells. > I compared again win vs linux scripts and ITW_HOME is only defined in windows batch whereas it is a > good variable to have in linux scripts too to avoid having many times to full path. rust lunchers are supporting this approach. They support both portable and distribution builds. Thy support ITW_LIBS_DIR, which is (moreover) replacement for ITW_HOME. > How could we simplify all these paths / variables refering paths or relying on the Pasths maybe can be simplifed. Do you have something in mind? > deployment.properties ? But proeperties hardly. That is following oracle javaws. > > > - Today I quickly looked at the Makefile / configure scripts to see how it works (variable / path > substitution, sed scripts ...) and I do not know how to proceed. > Could you give me directions how to proceed with adding new variables (autoconf, configure, make ...) ? What variable would yuo like to add and what it should do? See my today patch on rust lunchers. It can give you some answers. > > On my work-station, I made also few hacks in Makefile: > - always generate/install windows launchers (bat files), not only when WINDOWS is defined. > Would you agree adding another flag(s) to generate shelll / batch files in autoconf ? Strange idea:) Here I would vote for adjsuting : jvanek ? jvanek ? 16:02:57 ? ~ ? Desktop ? icedtea-web ? default + ? $ ? sh configure --help | grep launchers --enable-shell-launchers Enable build of legacy shell launchers To change it to yes/no/both Note that those change may be wrongly passable to 1.7 I would rather focus to 1.8 and native launchers. Still I understand your desire to have them. > - ignore bash completion (failing on my setup) as I do not want to alter my linux install (no system > integration): same question ? Bash completion isalready configurable: sh configure --help | grep bash -A 1 bashcompdir value of completionsdir for bash-completion, overriding pkg-config This is somehow hypercomaptible. So set it to your local install. Anther configure switch to disable it is also ok by me. > > Finally I would like to achieve making on linux a linux + window build package having all necessary > bits (jar, splash, scripts) that will work on win/linux platforms (without plugins, no native libs): plugin si dead. Its code and make will be ropped in 1.9 > it could be a minimal cross-platform package (redistribuable as a standalone zip file ~ 2mb) Yes. In this point of view, your batfiles have perfect sense. Can this be done with rust? I doubt:( > > Thanks for your advices, > I will take time to inspect my current local repo and try to figure out a way to simplify scripts. > Tyvm for ideas. I hope I will be for some help for you J. From jvanek at redhat.com Mon Dec 17 09:52:40 2018 From: jvanek at redhat.com (Jiri Vanek) Date: Mon, 17 Dec 2018 10:52:40 +0100 Subject: [icedtera-web] future of shell launchers In-Reply-To: References: Message-ID: <2c29d10a-4abd-0f33-549e-73b1c4931be7@redhat.com> Hi Laurent! Maybe a bit more constructive answer to you query. You could noticed, than in rust lunchers(patch still on review), we are not using make-generated classpath, but instead are sent in individual jars. I think they are much more versatile for various changes of paths. usage of those will make (boot)classpaths composing in bats easier, and allows better implementation of ITW_HOME into linux shells. I have very good experience with resolvig scripts dir with following snippet[1]. So the workflow can be: 1)adding [1] to both head and 1.7 2)change shell launchers in 1.8 to accept parameters whcih are flowing to rust lunchers 3)in 1.8 compose classapths honor variables in same manner as rust lucnhers do 4)adapt non breakig parts of 2 an 3? in 1.7. namely hack (sed in (boot)cps>) the usage og? [1]'s SCRIPT_DIR and? bat's ITW_HOME ? - postpond posisble dangerous parts to 1.7.3 In meantime, finish .args file handling everywhere. Especially in 1.8. Thoughts? [1] ## resolve folder of this script, following all symlinks, ## http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in SCRIPT_SOURCE="${BASH_SOURCE[0]}" while [ -h "$SCRIPT_SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink ? SCRIPT_DIR="$( cd -P "$( dirname "$SCRIPT_SOURCE" )" && pwd )" ? SCRIPT_SOURCE="$(readlink "$SCRIPT_SOURCE")" ? # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located ? [[ $SCRIPT_SOURCE != /* ]] && SCRIPT_SOURCE="$SCRIPT_DIR/$SCRIPT_SOURCE" done readonly SCRIPT_DIR="$( cd -P "$( dirname "$SCRIPT_SOURCE" )" && pwd )" -- Mgr. Jiri Vanek judovana at email.cz From bourges.laurent at gmail.com Mon Dec 17 11:03:25 2018 From: bourges.laurent at gmail.com (=?UTF-8?Q?Laurent_Bourg=C3=A8s?=) Date: Mon, 17 Dec 2018 12:03:25 +0100 Subject: [icedtera-web] future of shell launchers In-Reply-To: <2c29d10a-4abd-0f33-549e-73b1c4931be7@redhat.com> References: <2c29d10a-4abd-0f33-549e-73b1c4931be7@redhat.com> Message-ID: Hi Jiri, It looks very promising, but I have to figure out the transition plan. Would you accept to talk directly (skype?) to help going forward ? Laurent Le lun. 17 d?c. 2018 ? 10:52, Jiri Vanek a ?crit : > > > Hi Laurent! > > Maybe a bit more constructive answer to you query. > You could noticed, than in rust lunchers(patch still on review), we are > not using make-generated > classpath, but instead are sent in individual jars. > I think they are much more versatile for various changes of paths. > usage of those will make (boot)classpaths composing in bats easier, and > allows better implementation > of ITW_HOME into linux shells. > I have very good experience with resolvig scripts dir with following > snippet[1]. > So the workflow can be: > 1)adding [1] to both head and 1.7 > 2)change shell launchers in 1.8 to accept parameters whcih are flowing to > rust lunchers > 3)in 1.8 compose classapths honor variables in same manner as rust > lucnhers do > 4)adapt non breakig parts of 2 an 3 in 1.7. namely hack (sed in > (boot)cps>) the usage og [1]'s > SCRIPT_DIR and bat's ITW_HOME > - postpond posisble dangerous parts to 1.7.3 > In meantime, finish .args file handling everywhere. Especially in 1.8. > > Thoughts? > > > [1] > ## resolve folder of this script, following all symlinks, > ## > http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in > SCRIPT_SOURCE="${BASH_SOURCE[0]}" > while [ -h "$SCRIPT_SOURCE" ]; do # resolve $SOURCE until the file is no > longer a symlink > SCRIPT_DIR="$( cd -P "$( dirname "$SCRIPT_SOURCE" )" && pwd )" > SCRIPT_SOURCE="$(readlink "$SCRIPT_SOURCE")" > # if $SOURCE was a relative symlink, we need to resolve it relative to > the path where the symlink > file was located > [[ $SCRIPT_SOURCE != /* ]] && SCRIPT_SOURCE="$SCRIPT_DIR/$SCRIPT_SOURCE" > done > readonly SCRIPT_DIR="$( cd -P "$( dirname "$SCRIPT_SOURCE" )" && pwd )" > -- > Mgr. Jiri Vanek > judovana at email.cz > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Tue Dec 18 10:23:18 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 18 Dec 2018 10:23:18 +0000 Subject: [Bug 3645] java.io.IOException on Windows In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3645 --- Comment #13 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea-web-1.7?cmd=changeset;node=19467a2f1f25 author: Jiri Vanek date: Tue Dec 18 11:16:10 2018 +0100 PR3645, second part - following windows system paths correctly * netx/net/sourceforge/jnlp/config/PathsAndFiles.java: following https://docs.oracle.com/javase/7/docs/technotes/guides/jweb/jcp/properties.html (SystemCofigFileDescriptor) now honor WINDIR on windows -- 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 Dec 18 10:22:45 2018 From: jvanek at icedtea.classpath.org (jvanek at icedtea.classpath.org) Date: Tue, 18 Dec 2018 10:22:45 +0000 Subject: /hg/release/icedtea-web-1.7: 8 new changesets Message-ID: changeset dfc800562a29 in /hg/release/icedtea-web-1.7 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.7?cmd=changeset;node=dfc800562a29 author: Jiri Vanek date: Tue Dec 18 11:15:38 2018 +0100 Fixed PR3637 - making cache work with jdk9+ #runtime jar url anchor * netx/net/sourceforge/jnlp/runtime/CachedJarFileCallback.java: (retrieve) if jar is not found in cache, ale url without anchor is attempted * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: usinf localFile.toURI().toURL() instead of direct localFile.toURL() changeset 19467a2f1f25 in /hg/release/icedtea-web-1.7 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.7?cmd=changeset;node=19467a2f1f25 author: Jiri Vanek date: Tue Dec 18 11:16:10 2018 +0100 PR3645, second part - following windows system paths correctly * netx/net/sourceforge/jnlp/config/PathsAndFiles.java: following https://docs.oracle.com/javase/7/docs/technotes/guides/jweb/jcp/properties.html (SystemCofigFileDescriptor) now honor WINDIR on windows changeset fa507388eea5 in /hg/release/icedtea-web-1.7 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.7?cmd=changeset;node=fa507388eea5 author: Jiri Vanek date: Tue Dec 18 11:16:46 2018 +0100 https is preffered only on default port * netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java: (getUrls) when http protocol-ed url have set port its https clone is not put to the list of possible urls changeset 904a29fb4a0f in /hg/release/icedtea-web-1.7 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.7?cmd=changeset;node=904a29fb4a0f author: Jiri Vanek date: Tue Dec 18 11:17:16 2018 +0100 http://icedtea.classpath.org/hg/icedtea-web/raw-rev/2739172a7702 changeset 1124d07c3c50 in /hg/release/icedtea-web-1.7 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.7?cmd=changeset;node=1124d07c3c50 author: Jiri Vanek date: Tue Dec 18 11:18:13 2018 +0100 OptionsDefinitions.java: (main) moved from ifelse to switch changeset 38c1021dda36 in /hg/release/icedtea-web-1.7 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.7?cmd=changeset;node=38c1021dda36 author: Jiri Vanek date: Tue Dec 18 11:18:55 2018 +0100 deployment.config now support generic url instead just file * netx/net/sourceforge/jnlp/config/Defaults.java: added option KEY_SYSTEM_CONFIG as url and KEY_SYSTEM_CONFIG_MANDATORY as boolean, thus documented * netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: refactored to work with general url rather then with file only * netx/net/sourceforge/jnlp/config/InfrastructureFileDescriptor.java: added (getUrl) as shortcut to getFile().toURI().toURL() * netx/net/sourceforge/jnlp/controlpanel/CommandLine.java: (CommandLine) made aware of MalformedURLException * tests/netx/unit/net/sourceforge/jnlp/config/DeploymentConfigurationTest.java: added tests for new DeploymentConfiguration.checkUrl covering ok/not ok file, ok/not ok http * NEWS: mentioned changeset 0c8e7d6eff33 in /hg/release/icedtea-web-1.7 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.7?cmd=changeset;node=0c8e7d6eff33 author: Jiri Vanek date: Tue Dec 18 11:21:44 2018 +0100 Replaced hardcoded BOM character with utf representation (PR3671) * netx/net/sourceforge/nanoxml/XMLElement.java: (scanLeadingWhitespace) resolved PR3671, relaced ' ' by \\ufef changeset fcb841380712 in /hg/release/icedtea-web-1.7 details: http://icedtea.classpath.org/hg/release/icedtea-web-1.7?cmd=changeset;node=fcb841380712 author: Jiri Vanek date: Tue Dec 18 11:22:16 2018 +0100 Fixed few javadoc issues. diffstat: ChangeLog | 46 +++ NEWS | 1 + netx/net/sourceforge/jnlp/OptionsDefinitions.java | 18 +- netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java | 2 +- netx/net/sourceforge/jnlp/config/Defaults.java | 10 + netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java | 75 +++-- netx/net/sourceforge/jnlp/config/InfrastructureFileDescriptor.java | 6 + netx/net/sourceforge/jnlp/config/PathsAndFiles.java | 20 +- netx/net/sourceforge/jnlp/controlpanel/CommandLine.java | 3 +- netx/net/sourceforge/jnlp/runtime/CachedJarFileCallback.java | 6 + netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java | 2 +- netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionStorage.java | 10 +- netx/net/sourceforge/jnlp/security/dialogs/ViwableDialog.java | 2 +- netx/net/sourceforge/jnlp/splashscreen/parts/InformationElement.java | 2 +- netx/net/sourceforge/jnlp/util/lockingfile/LockedFile.java | 6 +- netx/net/sourceforge/jnlp/util/lockingfile/LockingReaderWriter.java | 2 +- netx/net/sourceforge/jnlp/util/replacements/CharacterDecoder.java | 19 +- netx/net/sourceforge/jnlp/util/replacements/CharacterEncoder.java | 23 +- netx/net/sourceforge/jnlp/util/ui/package-info.java | 2 +- netx/net/sourceforge/nanoxml/XMLElement.java | 4 +- netx/net/sourceforge/swing/ThreadCheckingRepaintManager.java | 2 +- tests/junit-runner/JunitLikeXmlOutputListener.java | 2 +- tests/netx/unit/net/sourceforge/jnlp/config/DeploymentConfigurationTest.java | 120 ++++++++- tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPProxySelectorTest.java | 4 +- tests/test-extensions/net/sourceforge/jnlp/annotations/Bug.java | 2 +- tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java | 4 +- tests/test-extensions/net/sourceforge/jnlp/awt/imagesearch/ComponentFinder.java | 4 +- tests/test-extensions/net/sourceforge/jnlp/tools/MessageProperties.java | 3 +- tests/test-extensions/sun/applet/mock/PluginPipeMock.java | 2 +- 29 files changed, 296 insertions(+), 106 deletions(-) diffs (truncated from 967 to 500 lines): diff -r fd84d9b293df -r fcb841380712 ChangeLog --- a/ChangeLog Fri Nov 23 15:33:04 2018 +0100 +++ b/ChangeLog Tue Dec 18 11:22:16 2018 +0100 @@ -1,3 +1,49 @@ +2018-12-10 Jiri Vanek + jtesdall + + Replaced hardcoded BOM character with utf representation (PR3671) + * netx/net/sourceforge/nanoxml/XMLElement.java: (scanLeadingWhitespace) resolved PR3671, relaced ' ' by \\ufeff + +2018-11-28 Jiri Vanek + + deployment.config now support generic url instead just file + * netx/net/sourceforge/jnlp/config/Defaults.java: added option KEY_SYSTEM_CONFIG as url and KEY_SYSTEM_CONFIG_MANDATORY as boolean, + thus documented + * netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: refactored to work with general url rather then with file only + * netx/net/sourceforge/jnlp/config/InfrastructureFileDescriptor.java: added (getUrl) as shortcut to getFile().toURI().toURL() + * netx/net/sourceforge/jnlp/controlpanel/CommandLine.java: (CommandLine) made aware of MalformedURLException + * tests/netx/unit/net/sourceforge/jnlp/config/DeploymentConfigurationTest.java: added tests for new DeploymentConfiguration.checkUrl + covering ok/not ok file, ok/not ok http + * NEWS: mentioned + +2018-11-27 Jiri Vanek + + * netx/net/sourceforge/jnlp/OptionsDefinitions.java: (main) moved from ifelse to switch + +2018-11-27 Jiri Vanek + + * tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPProxySelectorTest.java: fixed tests in (testConvertingProxyAutoConfigResultToProxyObject) + +2018-11-27 Jiri Vanek + + https is preffered only on default port + * netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java: (getUrls) when http protocol-ed url have set port + its https clone is not put to the list of possible urls + +2018-11-27 Jiri Vanek + + PR3645, second part - following windows system paths correctly + * netx/net/sourceforge/jnlp/config/PathsAndFiles.java: following + https://docs.oracle.com/javase/7/docs/technotes/guides/jweb/jcp/properties.html + (SystemCofigFileDescriptor) now honor WINDIR on windows + +2018-11-27 Jiri Vanek + Lars Herschke + + Fixed PR3637 - making cache work with jdk9+ #runtime jar url anchor + * netx/net/sourceforge/jnlp/runtime/CachedJarFileCallback.java: (retrieve) if jar is not found in cache, ale url without anchor is attempted + * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: usinf localFile.toURI().toURL() instead of direct localFile.toURL() + 2018-11-23 Lars Herschke Jiri Vanek diff -r fd84d9b293df -r fcb841380712 NEWS --- a/NEWS Fri Nov 23 15:33:04 2018 +0100 +++ b/NEWS Tue Dec 18 11:22:16 2018 +0100 @@ -13,6 +13,7 @@ * --nosecurity enhanced for possibility to skip invalid signatures * enhanced to allow resources to be read also from j2se/java element (OmegaT) * PR3644 - java.lang.NoClassDefFoundError: Could not initialize class net.sourceforge.jnlp.runtime.JNLPRuntime$DeploymentConfigurationHolder +* deployment.config now support generic url instead just file New in release 1.7.1 (2017-12-15): * better work with authors file diff -r fd84d9b293df -r fcb841380712 netx/net/sourceforge/jnlp/OptionsDefinitions.java --- a/netx/net/sourceforge/jnlp/OptionsDefinitions.java Fri Nov 23 15:33:04 2018 +0100 +++ b/netx/net/sourceforge/jnlp/OptionsDefinitions.java Tue Dec 18 11:22:16 2018 +0100 @@ -234,12 +234,18 @@ } public static void main(String[] args) throws IOException { - if (args[0].equals(TextsProvider.JAVAWS)) { - printOptions(getJavaWsOptions()); - } else if (args[0].equals(TextsProvider.ITWEB_SETTINGS)) { - printOptions(getItwsettingsCommands()); - } else if (args[0].equals(TextsProvider.POLICY_EDITOR)) { - printOptions(getPolicyEditorOptions()); + switch (args[0]) { + case TextsProvider.JAVAWS: + printOptions(getJavaWsOptions()); + break; + case TextsProvider.ITWEB_SETTINGS: + printOptions(getItwsettingsCommands()); + break; + case TextsProvider.POLICY_EDITOR: + printOptions(getPolicyEditorOptions()); + break; + default: + break; } } diff -r fd84d9b293df -r fcb841380712 netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java --- a/netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java Fri Nov 23 15:33:04 2018 +0100 +++ b/netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java Tue Dec 18 11:22:16 2018 +0100 @@ -102,7 +102,7 @@ //preffering https and owerriding case, when applciation was moved to https, but the jnlp stayed intacted List urlsCopy = new LinkedList<>(urls); for (URL u : urlsCopy) { - if (u.getProtocol().equals("http")) { + if (u.getProtocol().equals("http") && u.getPort() < 0) { try { urls.add(0, copyUrltoHttps(u)); } catch (Exception ex) { diff -r fd84d9b293df -r fcb841380712 netx/net/sourceforge/jnlp/config/Defaults.java --- a/netx/net/sourceforge/jnlp/config/Defaults.java Fri Nov 23 15:33:04 2018 +0100 +++ b/netx/net/sourceforge/jnlp/config/Defaults.java Tue Dec 18 11:22:16 2018 +0100 @@ -440,6 +440,16 @@ DeploymentConfiguration.KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK, BasicValueValidators.getManifestAttributeCheckValidator(), String.valueOf(ManifestAttributesChecker.MANIFEST_ATTRIBUTES_CHECK.ALL) + }, + { + DeploymentConfiguration.KEY_SYSTEM_CONFIG, + BasicValueValidators.getUrlValidator(), + null + }, + { + DeploymentConfiguration.KEY_SYSTEM_CONFIG_MANDATORY, + BasicValueValidators.getBooleanValidator(), + String.valueOf(false) } }; diff -r fd84d9b293df -r fcb841380712 netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java --- a/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java Fri Nov 23 15:33:04 2018 +0100 +++ b/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java Tue Dec 18 11:22:16 2018 +0100 @@ -22,8 +22,9 @@ import java.io.BufferedReader; import java.io.File; import java.io.FileOutputStream; -import java.io.FileReader; import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; import java.io.OutputStream; import java.io.PrintStream; import java.io.Reader; @@ -237,6 +238,11 @@ */ public static final String KEY_PLUGIN_JVM_ARGUMENTS= "deployment.plugin.jvm.arguments"; public static final String KEY_JRE_DIR= "deployment.jre.dir"; + /** + * remote configuration properties + */ + public static final String KEY_SYSTEM_CONFIG = "deployment.system.config"; + public static final String KEY_SYSTEM_CONFIG_MANDATORY = "deployment.system.config.mandatory"; public static final String TRANSFER_TITLE = "Legacy configuration and cache found. Those will be now transported to new locations"; @@ -255,6 +261,14 @@ currentConfiguration = Defaults.getDefaults(); } + static boolean checkUrl(URL file) { + try (InputStream s = file.openStream()) { + return true; + } catch (Throwable ex) { + // this should be logged, however, logging botle neck may not be initialised here + return false; + } + } public enum ConfigType { System, User @@ -264,7 +278,7 @@ private boolean systemPropertiesMandatory = false; /** The system's subdirResult deployment.config file */ - private File systemPropertiesFile = null; + private URL systemPropertiesFile = null; /** Source of always right and only path to file (even if underlying path changes) */ private final InfrastructureFileDescriptor userDeploymentFileDescriptor; /** The user's subdirResult deployment.config file */ @@ -301,7 +315,11 @@ * @throws ConfigurationException if it encounters a fatal error. */ public void load() throws ConfigurationException { - load(true); + try { + load(true); + } catch (MalformedURLException ex) { + throw new ConfigurationException(ex.toString()); + } } /** @@ -312,18 +330,18 @@ * resorting to the default values * @throws ConfigurationException if it encounters a fatal error. */ - public void load(boolean fixIssues) throws ConfigurationException { + public void load(boolean fixIssues) throws ConfigurationException, MalformedURLException { SecurityManager sm = System.getSecurityManager(); if (sm != null) { sm.checkRead(userDeploymentFileDescriptor.getFullPath()); } - File systemConfigFile = findSystemConfigFile(); + URL systemConfigFile = findSystemConfigFile(); load(systemConfigFile, userDeploymentFileDescriptor.getFile(), fixIssues); } - void load(File systemConfigFile, File userFile, boolean fixIssues) throws ConfigurationException { + void load(URL systemConfigFile, File userFile, boolean fixIssues) throws ConfigurationException, MalformedURLException { Map> initialProperties = Defaults.getDefaults(); Map> systemProperties = null; @@ -357,8 +375,8 @@ * Third, read the user's subdirResult deployment.properties file */ userPropertiesFile = userFile; - Map> userProperties = loadProperties(ConfigType.User, userPropertiesFile, false); - userComments=loadComments(userPropertiesFile); + Map> userProperties = loadProperties(ConfigType.User, userPropertiesFile.toURI().toURL(), false); + userComments = loadComments(userPropertiesFile.toURI().toURL()); if (userProperties != null) { mergeMaps(initialProperties, userProperties); } @@ -499,14 +517,14 @@ /** * @return the location of system-level deployment.config file, or null if none can be found */ - private File findSystemConfigFile() { + private URL findSystemConfigFile() throws MalformedURLException { if (PathsAndFiles.ETC_DEPLOYMENT_CFG.getFile().isFile()) { - return PathsAndFiles.ETC_DEPLOYMENT_CFG.getFile(); + return PathsAndFiles.ETC_DEPLOYMENT_CFG.getUrl(); } String jrePath = null; try { - Map> tmpProperties = parsePropertiesFile(userDeploymentFileDescriptor.getFile()); + Map> tmpProperties = parsePropertiesFile(userDeploymentFileDescriptor.getUrl()); Setting jreSetting = tmpProperties.get(KEY_JRE_DIR); if (jreSetting != null) { jrePath = jreSetting.getValue(); @@ -524,7 +542,7 @@ jreFile = PathsAndFiles.JAVA_DEPLOYMENT_PROP_FILE.getFile(); } if (jreFile.isFile()) { - return jreFile; + return jreFile.toURI().toURL(); } return null; @@ -534,7 +552,7 @@ * Reads the system configuration file and sets the relevant * system-properties related variables */ - private boolean loadSystemConfiguration(File configFile) throws ConfigurationException { + private boolean loadSystemConfiguration(URL configFile) throws ConfigurationException { OutputController.getLogger().log("Loading system configuation from: " + configFile); @@ -553,26 +571,21 @@ */ String urlString = null; try { - Setting urlSettings = systemConfiguration.get("deployment.system.config"); + Setting urlSettings = systemConfiguration.get(KEY_SYSTEM_CONFIG); if (urlSettings == null || urlSettings.getValue() == null) { - OutputController.getLogger().log("No System level " + DEPLOYMENT_PROPERTIES + " found in "+configFile.getAbsolutePath()); + OutputController.getLogger().log("No System level " + DEPLOYMENT_PROPERTIES + " found in "+configFile.toExternalForm()); return false; } urlString = urlSettings.getValue(); - Setting mandatory = systemConfiguration.get("deployment.system.config.mandatory"); + Setting mandatory = systemConfiguration.get(KEY_SYSTEM_CONFIG_MANDATORY); systemPropertiesMandatory = Boolean.valueOf(mandatory == null ? null : mandatory.getValue()); //never null OutputController.getLogger().log("System level settings " + DEPLOYMENT_PROPERTIES + " are mandatory:" + systemPropertiesMandatory); URL url = new URL(urlString); - if (url.getProtocol().equals("file")) { - systemPropertiesFile = new File(url.getFile()); - OutputController.getLogger().log("Using System level" + DEPLOYMENT_PROPERTIES + ": " + systemPropertiesFile); - return true; - } else { - OutputController.getLogger().log("Remote + " + DEPLOYMENT_PROPERTIES + " not supported: " + urlString + "in " + configFile.getAbsolutePath()); - return false; - } + systemPropertiesFile = url; + OutputController.getLogger().log("Using System level" + DEPLOYMENT_PROPERTIES + ": " + systemPropertiesFile); + return true; } catch (MalformedURLException e) { - OutputController.getLogger().log("Invalid url for " + DEPLOYMENT_PROPERTIES+ ": " + urlString + "in " + configFile.getAbsolutePath()); + OutputController.getLogger().log("Invalid url for " + DEPLOYMENT_PROPERTIES+ ": " + urlString + "in " + configFile.toExternalForm()); OutputController.getLogger().log(e); if (systemPropertiesMandatory){ ConfigurationException ce = new ConfigurationException("Invalid url to system properties, which are mandatory"); @@ -593,9 +606,9 @@ * * @throws ConfigurationException if the file is mandatory but cannot be read */ - private Map> loadProperties(ConfigType type, File file, boolean mandatory) + private Map> loadProperties(ConfigType type, URL file, boolean mandatory) throws ConfigurationException { - if (file == null || !file.isFile()) { + if (file == null || !checkUrl(file)) { OutputController.getLogger().log("No " + type.toString() + " level " + DEPLOYMENT_PROPERTIES + " found."); if (!mandatory) { return null; @@ -684,12 +697,12 @@ * @param propertiesFile the file to read Properties from * @throws IOException if an IO problem occurs */ - private Map> parsePropertiesFile(File propertiesFile) throws IOException { + private Map> parsePropertiesFile(URL propertiesFile) throws IOException { Map> result = new HashMap<>(); Properties properties = new Properties(); - try (Reader reader = new BufferedReader(new FileReader(propertiesFile))) { + try (Reader reader = new BufferedReader(new InputStreamReader(propertiesFile.openStream(), "UTF-8"))) { properties.load(reader); } @@ -904,9 +917,9 @@ //standard date.toString format public static final SimpleDateFormat pattern = new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy"); - private static String loadComments(File path) { + private static String loadComments(URL path) { StringBuilder r = new StringBuilder(); - try (BufferedReader br = new BufferedReader(new FileReader(path))) { + try (BufferedReader br = new BufferedReader(new InputStreamReader(path.openStream(), "UTF-8"))) { while (true) { String s = br.readLine(); if (s == null) { diff -r fd84d9b293df -r fcb841380712 netx/net/sourceforge/jnlp/config/InfrastructureFileDescriptor.java --- a/netx/net/sourceforge/jnlp/config/InfrastructureFileDescriptor.java Fri Nov 23 15:33:04 2018 +0100 +++ b/netx/net/sourceforge/jnlp/config/InfrastructureFileDescriptor.java Tue Dec 18 11:22:16 2018 +0100 @@ -38,6 +38,8 @@ package net.sourceforge.jnlp.config; import java.io.File; +import java.net.MalformedURLException; +import java.net.URL; import net.sourceforge.jnlp.runtime.JNLPRuntime; import net.sourceforge.jnlp.runtime.Translator; @@ -75,6 +77,10 @@ public File getFile() { return new File(getFullPath()); } + + public URL getUrl() throws MalformedURLException { + return getFile().toURI().toURL(); + } public void setValue(String value) { setValue(value, JNLPRuntime.getConfiguration()); diff -r fd84d9b293df -r fcb841380712 netx/net/sourceforge/jnlp/config/PathsAndFiles.java --- a/netx/net/sourceforge/jnlp/config/PathsAndFiles.java Fri Nov 23 15:33:04 2018 +0100 +++ b/netx/net/sourceforge/jnlp/config/PathsAndFiles.java Tue Dec 18 11:22:16 2018 +0100 @@ -62,6 +62,7 @@ public static final String XDG_CACHE_HOME_VAR = "XDG_CACHE_HOME"; public static final String XDG_RUNTIME_DIR_VAR = "XDG_RUNTIME_DIR"; private static final String XDG_DATA_HOME = "XDG_DATA_HOME"; + private static final String WINDIR = "WINDIR"; private static final String TMP_PROP = "java.io.tmpdir"; private static final String HOME_PROP = "user.home"; private static final String JAVA_PROP = "java.home"; @@ -362,8 +363,25 @@ private static class SystemCofigFileDescriptor extends InfrastructureFileDescriptor { + private static final String windowsPathSuffix = File.separator + "Sun" + File.separator + "Java"; + private static final String unixPathSuffix = File.separator + "etc" + File.separator + ".java"; + + private static String getSystemConfigDir() { + if (JNLPRuntime.isWindows()) { + return System.getenv(WINDIR) + windowsPathSuffix; + } else { + return unixPathSuffix; + } + } + + @Override + public String getSystemPathStubAcronym() { + //note the hardcoded % instead of VARIABLE (actuall leading to idea, that docs, when generated on windows may not make sense) + return "{" + "%" + WINDIR + windowsPathSuffix + " or " + unixPathSuffix + "}"; + } + private SystemCofigFileDescriptor(String fileName, String pathSub, String description, Target... target) { - super(fileName, pathSub, File.separator + "etc" + File.separator + ".java", description, target); + super(fileName, pathSub, getSystemConfigDir(), description, target); } } diff -r fd84d9b293df -r fcb841380712 netx/net/sourceforge/jnlp/controlpanel/CommandLine.java --- a/netx/net/sourceforge/jnlp/controlpanel/CommandLine.java Fri Nov 23 15:33:04 2018 +0100 +++ b/netx/net/sourceforge/jnlp/controlpanel/CommandLine.java Tue Dec 18 11:22:16 2018 +0100 @@ -21,6 +21,7 @@ import static net.sourceforge.jnlp.runtime.Translator.R; import java.io.IOException; +import java.net.MalformedURLException; import java.util.ArrayList; import java.util.List; import java.util.Map; @@ -86,7 +87,7 @@ config = new DeploymentConfiguration(); try { config.load(false); - } catch (ConfigurationException e) { + } catch (ConfigurationException | MalformedURLException e) { OutputController.getLogger().log(OutputController.Level.MESSAGE_ALL, R("RConfigurationFatal")); OutputController.getLogger().log(e); } diff -r fd84d9b293df -r fcb841380712 netx/net/sourceforge/jnlp/runtime/CachedJarFileCallback.java --- a/netx/net/sourceforge/jnlp/runtime/CachedJarFileCallback.java Fri Nov 23 15:33:04 2018 +0100 +++ b/netx/net/sourceforge/jnlp/runtime/CachedJarFileCallback.java Tue Dec 18 11:22:16 2018 +0100 @@ -86,6 +86,12 @@ @Override public java.util.jar.JarFile retrieve(URL url) throws IOException { URL localUrl = mapping.get(url); + if (localUrl == null) { + if (url.getRef() != null) { + url = new URL(url.toString().substring(0, url.toString().lastIndexOf(url.getRef()) - 1)); + localUrl = mapping.get(url); + } + } if (localUrl == null) { /* diff -r fd84d9b293df -r fcb841380712 netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java --- a/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java Fri Nov 23 15:33:04 2018 +0100 +++ b/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java Tue Dec 18 11:22:16 2018 +0100 @@ -1401,7 +1401,7 @@ // there is currently no mechanism to cache files per // instance.. so only index cached files if (localFile != null) { - CachedJarFileCallback.getInstance().addMapping(jar.getLocation(), localFile.toURL()); + CachedJarFileCallback.getInstance().addMapping(jar.getLocation(), localFile.toURI().toURL()); try (JarFile jarFile = new JarFile(localFile.getAbsolutePath())) { Manifest mf = jarFile.getManifest(); diff -r fd84d9b293df -r fcb841380712 netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionStorage.java --- a/netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionStorage.java Fri Nov 23 15:33:04 2018 +0100 +++ b/netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionStorage.java Tue Dec 18 11:22:16 2018 +0100 @@ -54,8 +54,8 @@ /** * This methods iterates through records in - * {@link net.sourceforge.jnlp.config.DeploymentConfiguration#getAppletTrustUserSettingsPath} or - * {@link net.sourceforge.jnlp.config.DeploymentConfiguration#getAppletTrustGlobalSettingsPath}, and is matching + * net.sourceforge.jnlp.config.DeploymentConfiguration#getAppletTrustUserSettingsPath or + * net.sourceforge.jnlp.config.DeploymentConfiguration#getAppletTrustGlobalSettingsPath, and is matching * regexes saved here against params. So parameters here are NOT regexes, * but are matched against saved regexes. *

@@ -103,12 +103,12 @@ /** * Will add new record. Note that regexes are stored for bases matching. *

- * eg {@link UnsignedAppletActionEntry} which will deny some applet no matter of - * page will be {@code new }{@link UnsignedAppletActionEntry#UnsignedAppletActionEntry UnsignedAppletActionEntry}{@code (}{@link ExecuteUnsignedApplet#NEVER}{@code , new }{@link java.util.Date#Date() Date()}{@code , null, null, someMain, someArchives)} + * eg UnsignedAppletActionEntry which will deny some applet no matter of + * page will be {@code new }{@link UnsignedAppletActionEntry#UnsignedAppletActionEntry UnsignedAppletActionEntry}{@code (} ExecuteUnsignedApplet#NEVER{@code , new }{@link java.util.Date#Date() Date()}{@code , null, null, someMain, someArchives)} *

*

* eg {@link UnsignedAppletActionEntry} which will - * allow all applets on page with same codebase will be {@code new }{@link UnsignedAppletActionEntry#UnsignedAppletActionEntry UnsignedAppletActionEntry}{@code (}{@link ExecuteUnsignedApplet#NEVER}{@code , new }{@link java.util.Date#Date() Date()}{@code , ".*", ".*", null, null);} + * allow all applets on page with same codebase will be {@code new }{@link UnsignedAppletActionEntry#UnsignedAppletActionEntry UnsignedAppletActionEntry}{@code (} ExecuteUnsignedApplet#NEVER {@code , new }{@link java.util.Date#Date() Date()}{@code , ".*", ".*", null, null);} *

* @param item */ diff -r fd84d9b293df -r fcb841380712 netx/net/sourceforge/jnlp/security/dialogs/ViwableDialog.java --- a/netx/net/sourceforge/jnlp/security/dialogs/ViwableDialog.java Fri Nov 23 15:33:04 2018 +0100 +++ b/netx/net/sourceforge/jnlp/security/dialogs/ViwableDialog.java Tue Dec 18 11:22:16 2018 +0100 @@ -147,7 +147,7 @@ /** * 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. + * getValue() to actually get the user's response. * * @param listener another action listener to be listen to */ diff -r fd84d9b293df -r fcb841380712 netx/net/sourceforge/jnlp/splashscreen/parts/InformationElement.java --- a/netx/net/sourceforge/jnlp/splashscreen/parts/InformationElement.java Fri Nov 23 15:33:04 2018 +0100 +++ b/netx/net/sourceforge/jnlp/splashscreen/parts/InformationElement.java Tue Dec 18 11:22:16 2018 +0100 @@ -48,7 +48,7 @@ import net.sourceforge.jnlp.util.logging.OutputController; /** - * This class is wrapper arround tag which should + * This class is wrapper arround the *information* tag element which should * javaws provide from source jnlp file */ public class InformationElement { diff -r fd84d9b293df -r fcb841380712 netx/net/sourceforge/jnlp/util/lockingfile/LockedFile.java --- a/netx/net/sourceforge/jnlp/util/lockingfile/LockedFile.java Fri Nov 23 15:33:04 2018 +0100 +++ b/netx/net/sourceforge/jnlp/util/lockingfile/LockedFile.java Tue Dec 18 11:22:16 2018 +0100 @@ -116,7 +116,8 @@ } /** - * Lock access to the file. Lock is reentrant. From bugzilla-daemon at icedtea.classpath.org Tue Dec 18 10:22:54 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 18 Dec 2018 10:22:54 +0000 Subject: [Bug 3637] jar-cache doesn't work with jdk9+ In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3637 --- Comment #9 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea-web-1.7?cmd=changeset;node=dfc800562a29 author: Jiri Vanek date: Tue Dec 18 11:15:38 2018 +0100 Fixed PR3637 - making cache work with jdk9+ #runtime jar url anchor * netx/net/sourceforge/jnlp/runtime/CachedJarFileCallback.java: (retrieve) if jar is not found in cache, ale url without anchor is attempted * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: usinf localFile.toURI().toURL() instead of direct localFile.toURL() -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jvanek at redhat.com Tue Dec 18 11:44:08 2018 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 18 Dec 2018 12:44:08 +0100 Subject: [rfc][icedtea-web] add classapth resolving to rust lunchers (and thus make them work) In-Reply-To: <4c488c29-82cb-3cdd-95e0-8276eb743d63@redhat.com> References: <4c488c29-82cb-3cdd-95e0-8276eb743d63@redhat.com> Message-ID: <5a54189c-7e40-bdbb-00b7-4969b46ba28a@redhat.com> Nit. I Forget about TAGSOUP_JAR and RHINO_JAR. Straightforward to add. J. On 12/14/18 3:32 PM, Jiri Vanek wrote: > Hello! > > Here is huge patch which is making rust launchers finally possible. Unluckily it does several things > at once. I will be happy to split them as reviewer requests. Maybe some of them (like javaws.jar) > requires special discussion. > > * makfile+java: > - changed name of netx.jar to javaws jar > - properly used macros all over makefile.am > configure: > - introduced configure switch --with-itw-libs which determines if you build portable or distribution > result. The goal is to achieve, that you can coexists system itw, and in parallel custom portable > instance by default, without fear of interference. Still the libraries order can be changed in > runtime pretty much. > * rust > - inlcuded laoding of ITW_LIBS in compile time, propagating all jars so they can be reusable. Ketp > xboothclassapth propagated to, but is use donly in debug output. > - new module jars_helper is here to try to search for resources based on ITW_LIBS and locations > where deps are (we currently have windows and linux dirs named differently). About the members and > order of LOCAL_PATH, I have many concerns. The current one is most free one. > - persisted the error of javafx being on normal classapth. Shouldnt it be on bootclassapth? (see > nashorn around same lines) and see > http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2018-November/040492.html) > - added method which composes cp/bootcp from freshl located members and from java resources (jdk8 > and down only!) > - main method made aware of this classpaths and so it it is included in params for > os.spawn_java_process together with main method and custom arguments from cmdline and ... > ***fanfares*** IT WORKS ***fanfares*** > - os dependent modules got : x ; classpathDelimiter > - moved TestLogger to utils - is now shared. > > So this patch, in is making rust lunchers to do something. Is there something missing/redundant in > this todo list? > todo: > -J arguments > splash (+headless) > LAUNCHER_FLAGS=-Xms8m (?) > file logging > jdk from path(I dont know how to make it properly) > jdk9+ support (--patch/--add*) > jdk9+ support (rt.jar, fxrt.jar, nashorn.jar) > > Thanx! > J. > -- Jiri Vanek Senior QE engineer, OpenJDK QE lead, Mgr. Red Hat Czech jvanek at redhat.com M: +420775390109 From jvanek at redhat.com Tue Dec 18 13:47:07 2018 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 18 Dec 2018 14:47:07 +0100 Subject: [icedtera-web] future of shell launchers In-Reply-To: References: <2c29d10a-4abd-0f33-549e-73b1c4931be7@redhat.com> Message-ID: Hi! There is quite minimalist change to make itw shell lunchers portable out of distribution world. I think it is feasable also for 1.7. It should be consistent iwth current windows bats, and I will align future rust ones too. J. On 12/17/18 12:03 PM, Laurent Bourg?s wrote: > Hi Jiri, > > It looks very promising, but I have to figure out the transition plan. > > Would you accept to talk directly (skype?) to help going forward ? > > Laurent > > Le lun. 17 d?c. 2018 ? 10:52, Jiri Vanek > a ?crit?: > > > > Hi Laurent! > > Maybe a bit more constructive answer to you query. > You could noticed, than in rust lunchers(patch still on review), we are not using make-generated > classpath, but instead are sent in individual jars. > I think they are much more versatile for various changes of paths. > usage of those will make (boot)classpaths composing in bats easier, and allows better implementation > of ITW_HOME into linux shells. > I have very good experience with resolvig scripts dir with following snippet[1]. > So the workflow can be: > 1)adding [1] to both head and 1.7 > 2)change shell launchers in 1.8 to accept parameters whcih are flowing to rust lunchers > 3)in 1.8 compose classapths honor variables in same manner as rust lucnhers do 3.5 "cross compile" launchers. > 4)adapt non breakig parts of 2 an 3? in 1.7. namely hack (sed in (boot)cps>) the usage og? [1]'s > SCRIPT_DIR and? bat's ITW_HOME > ? - postpond posisble dangerous parts to 1.7.3 > In meantime, finish .args file handling everywhere. Especially in 1.8. > > Thoughts? > > > [1] > ## resolve folder of this script, following all symlinks, > ## http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in > SCRIPT_SOURCE="${BASH_SOURCE[0]}" > while [ -h "$SCRIPT_SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink > ? SCRIPT_DIR="$( cd -P "$( dirname "$SCRIPT_SOURCE" )" && pwd )" > ? SCRIPT_SOURCE="$(readlink "$SCRIPT_SOURCE")" > ? # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink > file was located > ? [[ $SCRIPT_SOURCE != /* ]] && SCRIPT_SOURCE="$SCRIPT_DIR/$SCRIPT_SOURCE" > done > readonly SCRIPT_DIR="$( cd -P "$( dirname "$SCRIPT_SOURCE" )" && pwd )" > -- > Mgr. Jiri Vanek > judovana at email.cz > -- Jiri Vanek Senior QE engineer, OpenJDK QE lead, Mgr. Red Hat Czech jvanek at redhat.com M: +420775390109 -------------- next part -------------- A non-text attachment was scrubbed... Name: portableShellLucnhers.patch Type: text/x-patch Size: 8485 bytes Desc: not available URL: From jvanek at redhat.com Tue Dec 18 14:52:27 2018 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 18 Dec 2018 15:52:27 +0100 Subject: [rfc][icedtea-web] add classapth resolving to rust lunchers (and thus make them work) In-Reply-To: <5a54189c-7e40-bdbb-00b7-4969b46ba28a@redhat.com> References: <4c488c29-82cb-3cdd-95e0-8276eb743d63@redhat.com> <5a54189c-7e40-bdbb-00b7-4969b46ba28a@redhat.com> Message-ID: <5766fc67-19bc-e4f2-182f-02d2b826e3ab@redhat.com> On 12/18/18 12:44 PM, Jiri Vanek wrote: > Nit. I Forget about > TAGSOUP_JAR and RHINO_JAR. - Fixed tagsoup and rhino - handled optional jars (so two above+plugin.jar and jsobject.jar ) as really optional in code - renamed runtime varible acording the one in .bat sripts - itw_home > > Straightforward to add. > J. > On 12/14/18 3:32 PM, Jiri Vanek wrote: >> Hello! >> >> Here is huge patch which is making rust launchers finally possible. Unluckily it does several things >> at once. I will be happy to split them as reviewer requests. Maybe some of them (like javaws.jar) >> requires special discussion. >> >> * makfile+java: >> - changed name of netx.jar to javaws jar >> - properly used macros all over makefile.am >> configure: >> - introduced configure switch --with-itw-libs which determines if you build portable or distribution >> result. The goal is to achieve, that you can coexists system itw, and in parallel custom portable >> instance by default, without fear of interference. Still the libraries order can be changed in >> runtime pretty much. >> * rust >> - inlcuded laoding of ITW_LIBS in compile time, propagating all jars so they can be reusable. Ketp >> xboothclassapth propagated to, but is use donly in debug output. >> - new module jars_helper is here to try to search for resources based on ITW_LIBS and locations >> where deps are (we currently have windows and linux dirs named differently). About the members and >> order of LOCAL_PATH, I have many concerns. The current one is most free one. >> - persisted the error of javafx being on normal classapth. Shouldnt it be on bootclassapth? (see >> nashorn around same lines) and see >> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2018-November/040492.html) >> - added method which composes cp/bootcp from freshl located members and from java resources (jdk8 >> and down only!) >> - main method made aware of this classpaths and so it it is included in params for >> os.spawn_java_process together with main method and custom arguments from cmdline and ... >> ***fanfares*** IT WORKS ***fanfares*** >> - os dependent modules got : x ; classpathDelimiter >> - moved TestLogger to utils - is now shared. >> >> So this patch, in is making rust lunchers to do something. Is there something missing/redundant in >> this todo list? >> todo: >> -J arguments >> splash (+headless) >> LAUNCHER_FLAGS=-Xms8m (?) >> file logging >> jdk from path(I dont know how to make it properly) >> jdk9+ support (--patch/--add*) >> jdk9+ support (rt.jar, fxrt.jar, nashorn.jar) >> >> Thanx! >> J. >> > > -- Jiri Vanek Senior QE engineer, OpenJDK QE lead, Mgr. Red Hat Czech jvanek at redhat.com M: +420775390109 -------------- next part -------------- A non-text attachment was scrubbed... Name: rustJarsResolverAndClassPathComposer2.patch Type: text/x-patch Size: 47891 bytes Desc: not available URL: From jvanek at redhat.com Tue Dec 18 14:53:13 2018 From: jvanek at redhat.com (Jiri Vanek) Date: Tue, 18 Dec 2018 15:53:13 +0100 Subject: [rfc][icedtea-web] add classapth resolving to rust lunchers (and thus make them work) In-Reply-To: <5766fc67-19bc-e4f2-182f-02d2b826e3ab@redhat.com> References: <4c488c29-82cb-3cdd-95e0-8276eb743d63@redhat.com> <5a54189c-7e40-bdbb-00b7-4969b46ba28a@redhat.com> <5766fc67-19bc-e4f2-182f-02d2b826e3ab@redhat.com> Message-ID: On 12/18/18 3:52 PM, Jiri Vanek wrote: > On 12/18/18 12:44 PM, Jiri Vanek wrote: >> Nit. I Forget about >> TAGSOUP_JAR and RHINO_JAR. > > - Fixed tagsoup and rhino > - handled optional jars (so two above+plugin.jar and jsobject.jar ) as really optional in code > - renamed runtime varible acording the one in .bat sripts - itw_home pls see: view-source:http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20181218/f99baa62/portableShellLucnhers.patch >> >> Straightforward to add. >> J. >> On 12/14/18 3:32 PM, Jiri Vanek wrote: >>> Hello! >>> >>> Here is huge patch which is making rust launchers finally possible. Unluckily it does several things >>> at once. I will be happy to split them as reviewer requests. Maybe some of them (like javaws.jar) >>> requires special discussion. >>> >>> * makfile+java: >>> - changed name of netx.jar to javaws jar >>> - properly used macros all over makefile.am >>> configure: >>> - introduced configure switch --with-itw-libs which determines if you build portable or distribution >>> result. The goal is to achieve, that you can coexists system itw, and in parallel custom portable >>> instance by default, without fear of interference. Still the libraries order can be changed in >>> runtime pretty much. >>> * rust >>> - inlcuded laoding of ITW_LIBS in compile time, propagating all jars so they can be reusable. Ketp >>> xboothclassapth propagated to, but is use donly in debug output. >>> - new module jars_helper is here to try to search for resources based on ITW_LIBS and locations >>> where deps are (we currently have windows and linux dirs named differently). About the members and >>> order of LOCAL_PATH, I have many concerns. The current one is most free one. >>> - persisted the error of javafx being on normal classapth. Shouldnt it be on bootclassapth? (see >>> nashorn around same lines) and see >>> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2018-November/040492.html) >>> - added method which composes cp/bootcp from freshl located members and from java resources (jdk8 >>> and down only!) >>> - main method made aware of this classpaths and so it it is included in params for >>> os.spawn_java_process together with main method and custom arguments from cmdline and ... >>> ***fanfares*** IT WORKS ***fanfares*** >>> - os dependent modules got : x ; classpathDelimiter >>> - moved TestLogger to utils - is now shared. >>> >>> So this patch, in is making rust lunchers to do something. Is there something missing/redundant in >>> this todo list? >>> todo: >>> -J arguments >>> splash (+headless) >>> LAUNCHER_FLAGS=-Xms8m (?) >>> file logging >>> jdk from path(I dont know how to make it properly) >>> jdk9+ support (--patch/--add*) >>> jdk9+ support (rt.jar, fxrt.jar, nashorn.jar) >>> >>> Thanx! >>> J. >>> >> >> > > -- Jiri Vanek Senior QE engineer, OpenJDK QE lead, Mgr. Red Hat Czech jvanek at redhat.com M: +420775390109 From bugzilla-daemon at icedtea.classpath.org Wed Dec 19 05:50:21 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Dec 2018 05:50:21 +0000 Subject: [Bug 3655] [IcedTea8] Allow use of system crypto policy to be disabled by the user In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3655 --- Comment #2 from Andrew John Hughes --- No, security properties don't work like that. To override security properties, -Djava.security.properties is used to specify an override file. However, there is a problem with that approach with the current system properties too. At the moment, the logic is: 1. Read ${java.home}/jre/lib/security.properties 2. Add system properties if security.useSystemPropertiesFile is set to true by security.properties. 3. Add user properties from override file if security.overridePropertiesFile is set to true by security.properties Because the system properties have already been read before #3, the user can't override it that way either. So, in this fix, we'll swap #2 and #3 over so either the override file can turn it off or the property -Djava.security.disableSystemPropertiesFile can be used as a shorthand. $ cat TestSecurityProperties.java import java.security.Security; public class TestSecurityProperties { public static void main(String[] args) { for (String property : new String[] { "jdk.certpath.disabledAlgorithms", "security.useSystemPropertiesFile" }) { System.out.printf("%s: %s\n", property, Security.getProperty(property)); } } } $ cat sysprop.override security.useSystemPropertiesFile=false Current: $ /usr/lib/jvm/icedtea-8/bin/java -Djava.security.properties=sysprop.override TestSecurityProperties jdk.certpath.disabledAlgorithms: MD2, MD5, RSA keySize < 1023 <- sysprops security.useSystemPropertiesFile: false $ /usr/lib/jvm/icedtea-8/bin/java -Djava.security.disableSystemPropertiesFile=true TestSecurityProperties jdk.certpath.disabledAlgorithms: MD2, MD5, RSA keySize < 1023 <- sysprops security.useSystemPropertiesFile: true Patched: $ /mnt/builder/icedtea8/images/j2sdk-image/bin/java -Djava.security.properties=sysprop.override TestSecurityProperties jdk.certpath.disabledAlgorithms: MD2, MD5, SHA1 jdkCA & usage TLSServer, RSA keySize < 1024, DSA keySize < 1024, EC keySize < 224 <- JDK security.useSystemPropertiesFile: false $ /mnt/builder/icedtea8/images/j2sdk-image/bin/java -Djava.security.disableSystemPropertiesFile=true TestSecurityProperties jdk.certpath.disabledAlgorithms: MD2, MD5, SHA1 jdkCA & usage TLSServer, RSA keySize < 1024, DSA keySize < 1024, EC keySize < 224 <- JDK security.useSystemPropertiesFile: true -- You are receiving this mail because: 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 Dec 19 11:00:33 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Dec 2018 11:00:33 +0000 Subject: [Bug 3672] New: Classloader doesn't load jar correctly from JNLP extension Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3672 Bug ID: 3672 Summary: Classloader doesn't load jar correctly from JNLP extension Product: IcedTea-Web Version: 1.7 Hardware: x86_64 OS: Windows Status: NEW Severity: major Priority: P5 Component: NetX (javaws) Assignee: jvanek at redhat.com Reporter: kevin.coutinho at ext.ctie.etat.lu CC: unassigned at icedtea.classpath.org Hello, We have a problem with classloader, we have a main JNLP, and we use some JNLP as extension. These JNLP contains some jar used in application from main JNLP. We have some errors because classloader don't load correctly resources from jar declared in extended JNLP used in main application. On the other hand, if we put all jar in only one JNLP, all is ok. With javaws from oracle, we have no problem with use of some JNLP as extension to load some jar. Cordially -- You are receiving this mail because: 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 Dec 19 16:43:27 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 19 Dec 2018 16:43:27 +0000 Subject: [Bug 3672] Classloader doesn't load jar correctly from JNLP extension In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3672 JiriVanek changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |P3 Severity|major |normal --- Comment #1 from JiriVanek --- By resources you mean not-class files or whole content of jars? Can you create minimalistic reproducer 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 Thu Dec 20 04:36:10 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 20 Dec 2018 04:36:10 +0000 Subject: [Bug 3651] [IcedTea8] Backport "8155627: Enable SA on AArch64" In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3651 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8-forest?cmd=changeset;node=90de74e82bfb author: aph date: Wed Dec 12 05:39:13 2018 +0000 8155627, PR3651: Enable SA on AArch64 Reviewed-by: roland, 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 andrew at icedtea.classpath.org Thu Dec 20 04:36:40 2018 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 20 Dec 2018 04:36:40 +0000 Subject: /hg/icedtea8-forest/hotspot: 3 new changesets Message-ID: changeset 4b1a8bbe2b46 in /hg/icedtea8-forest/hotspot details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=4b1a8bbe2b46 author: aph date: Tue Oct 02 09:16:20 2018 -0400 8211064, PR3666: [AArch64] Interpreter and c1 don't correctly handle jboolean results in native calls Contributed-by: apetushkov Reviewed-by: aph changeset e2c0347ef61c in /hg/icedtea8-forest/hotspot details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=e2c0347ef61c author: fyang date: Fri Sep 28 08:48:26 2018 +0800 8207838, PR3666: AArch64: Float registers incorrectly restored in JNI call Summary: fix the order in which float registers are restored in restore_args for aarch64 Reviewed-by: aph Contributed-by: guoge1 at huawei.com changeset 4e4ead43a282 in /hg/icedtea8-forest/hotspot details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=4e4ead43a282 author: aph date: Tue Nov 13 11:21:32 2018 -0500 8209415, PR3666: Fix JVMTI test failure HS202 Summary: Fix test for static method in exception throw handler Reviewed-by: adinn diffstat: src/cpu/aarch64/vm/macroAssembler_aarch64.cpp | 9 + src/cpu/aarch64/vm/macroAssembler_aarch64.hpp | 3 + src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp | 4 +- src/cpu/aarch64/vm/templateInterpreter_aarch64.cpp | 12 +- test/compiler/floatingpoint/8165673/TestFloatJNIArgs.java | 87 ++++++++ test/compiler/floatingpoint/8165673/TestFloatJNIArgs.sh | 105 ++++++++++ test/compiler/floatingpoint/8165673/libTestFloatJNIArgs.c | 69 ++++++ test/compiler/floatingpoint/8207838/TestFloatSyncJNIArgs.java | 103 +++++++++ test/compiler/floatingpoint/8207838/TestFloatSyncJNIArgs.sh | 105 ++++++++++ test/compiler/floatingpoint/8207838/libTestFloatSyncJNIArgs.c | 86 ++++++++ test/compiler/floatingpoint/TestFloatJNIArgs.java | 86 -------- test/compiler/floatingpoint/TestFloatJNIArgs.sh | 104 --------- test/compiler/floatingpoint/libTestFloatJNIArgs.c | 68 ------ 13 files changed, 574 insertions(+), 267 deletions(-) diffs (truncated from 946 to 500 lines): diff -r 0b189a78bd27 -r 4e4ead43a282 src/cpu/aarch64/vm/macroAssembler_aarch64.cpp --- a/src/cpu/aarch64/vm/macroAssembler_aarch64.cpp Wed Nov 21 04:58:35 2018 +0000 +++ b/src/cpu/aarch64/vm/macroAssembler_aarch64.cpp Tue Nov 13 11:21:32 2018 -0500 @@ -766,6 +766,15 @@ #endif } +void MacroAssembler::c2bool(Register x) { + // implements x == 0 ? 0 : 1 + // note: must only look at least-significant byte of x + // since C-style booleans are stored in one byte + // only! (was bug) + tst(x, 0xff); + cset(x, Assembler::NE); +} + address MacroAssembler::ic_call(address entry) { RelocationHolder rh = virtual_call_Relocation::spec(pc()); // address const_ptr = long_constant((jlong)Universe::non_oop_word()); diff -r 0b189a78bd27 -r 4e4ead43a282 src/cpu/aarch64/vm/macroAssembler_aarch64.hpp --- a/src/cpu/aarch64/vm/macroAssembler_aarch64.hpp Wed Nov 21 04:58:35 2018 +0000 +++ b/src/cpu/aarch64/vm/macroAssembler_aarch64.hpp Tue Nov 13 11:21:32 2018 -0500 @@ -787,6 +787,9 @@ void store_check_part_1(Register obj); void store_check_part_2(Register obj); + // C 'boolean' to Java boolean: x == 0 ? 0 : 1 + void c2bool(Register x); + // oop manipulations void load_klass(Register dst, Register src); void store_klass(Register dst, Register src); diff -r 0b189a78bd27 -r 4e4ead43a282 src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp --- a/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp Wed Nov 21 04:58:35 2018 +0000 +++ b/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp Tue Nov 13 11:21:32 2018 -0500 @@ -1103,7 +1103,7 @@ } } __ pop(x, sp); - for ( int i = first_arg ; i < arg_count ; i++ ) { + for ( int i = arg_count - 1 ; i >= first_arg ; i-- ) { if (args[i].first()->is_Register()) { ; } else if (args[i].first()->is_FloatRegister()) { @@ -1918,7 +1918,7 @@ // Unpack native results. switch (ret_type) { - case T_BOOLEAN: __ ubfx(r0, r0, 0, 8); break; + case T_BOOLEAN: __ c2bool(r0); break; case T_CHAR : __ ubfx(r0, r0, 0, 16); break; case T_BYTE : __ sbfx(r0, r0, 0, 8); break; case T_SHORT : __ sbfx(r0, r0, 0, 16); break; diff -r 0b189a78bd27 -r 4e4ead43a282 src/cpu/aarch64/vm/templateInterpreter_aarch64.cpp --- a/src/cpu/aarch64/vm/templateInterpreter_aarch64.cpp Wed Nov 21 04:58:35 2018 +0000 +++ b/src/cpu/aarch64/vm/templateInterpreter_aarch64.cpp Tue Nov 13 11:21:32 2018 -0500 @@ -285,8 +285,8 @@ BasicType type) { address entry = __ pc(); switch (type) { - case T_BOOLEAN: __ uxtb(r0, r0); break; - case T_CHAR : __ uxth(r0, r0); break; + case T_BOOLEAN: __ c2bool(r0); break; + case T_CHAR : __ uxth(r0, r0); break; case T_BYTE : __ sxtb(r0, r0); break; case T_SHORT : __ sxth(r0, r0); break; case T_INT : __ uxtw(r0, r0); break; // FIXME: We almost certainly don't need this @@ -1879,8 +1879,8 @@ Label L_done; __ ldrb(rscratch1, Address(rbcp, 0)); - __ cmpw(r1, Bytecodes::_invokestatic); - __ br(Assembler::EQ, L_done); + __ cmpw(rscratch1, Bytecodes::_invokestatic); + __ br(Assembler::NE, L_done); // The member name argument must be restored if _invokestatic is re-executed after a PopFrame call. // Detect such a case in the InterpreterRuntime function and return the member name argument, or NULL. @@ -1916,7 +1916,6 @@ // remove the activation (without doing throws on illegalMonitorExceptions) __ remove_activation(vtos, false, true, false); // restore exception - // restore exception __ get_vm_result(r0, rthread); // In between activations - previous activation type unknown yet @@ -1925,9 +1924,8 @@ // // r0: exception // lr: return address/pc that threw exception - // rsp: expression stack of caller + // esp: expression stack of caller // rfp: fp of caller - // FIXME: There's no point saving LR here because VM calls don't trash it __ stp(r0, lr, Address(__ pre(sp, -2 * wordSize))); // save exception & return address __ super_call_VM_leaf(CAST_FROM_FN_PTR(address, SharedRuntime::exception_handler_for_return_address), diff -r 0b189a78bd27 -r 4e4ead43a282 test/compiler/floatingpoint/8165673/TestFloatJNIArgs.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/compiler/floatingpoint/8165673/TestFloatJNIArgs.java Tue Nov 13 11:21:32 2018 -0500 @@ -0,0 +1,87 @@ +/* + * Copyright (c) 2015, 2016 SAP SE. All rights reserved. + * Copyright (c) 2018 Red Hat, Inc. 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. + */ + +public class TestFloatJNIArgs { + static { + try { + System.loadLibrary("TestFloatJNIArgs"); + } catch (UnsatisfiedLinkError e) { + System.out.println("could not load native lib: " + e); + } + } + + public static native float add15floats( + float f1, float f2, float f3, float f4, + float f5, float f6, float f7, float f8, + float f9, float f10, float f11, float f12, + float f13, float f14, float f15); + + public static native float add10floats( + float f1, float f2, float f3, float f4, + float f5, float f6, float f7, float f8, + float f9, float f10); + + public static native float addFloatsInts( + float f1, float f2, float f3, float f4, + float f5, float f6, float f7, float f8, + float f9, float f10, float f11, float f12, + float f13, float f14, float f15, int a16, int a17); + + public static native double add15doubles( + double d1, double d2, double d3, double d4, + double d5, double d6, double d7, double d8, + double d9, double d10, double d11, double d12, + double d13, double d14, double d15); + + static void test() throws Exception { + float sum = TestFloatJNIArgs.add15floats(1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, + 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f); + if (sum != 15.0f) { + throw new Error("Passed 15 times 1.0f to jni function which didn't add them properly: " + sum); + } + + float sum1 = TestFloatJNIArgs.add10floats(1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f); + if (sum1 != 10.0f) { + throw new Error("Passed 10 times 1.0f to jni function which didn't add them properly: " + sum1); + } + + float sum2 = TestFloatJNIArgs.addFloatsInts(1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, + 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1, 1); + if (sum2 != 17.0f) { + throw new Error("Passed 17 times 1 to jni function which didn't add them properly: " + sum2); + } + + double dsum = TestFloatJNIArgs.add15doubles(1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, + 1.0, 1.0, 1.0, 1.0, 1.0, 1.0); + if (dsum != 15.0) { + throw new Error("Passed 15 times 1.0 to jni function which didn't add them properly: " + dsum); + } + } + + public static void main(String[] args) throws Exception { + for (int i = 0; i < 200; ++i) { + test(); + } + } +} diff -r 0b189a78bd27 -r 4e4ead43a282 test/compiler/floatingpoint/8165673/TestFloatJNIArgs.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/compiler/floatingpoint/8165673/TestFloatJNIArgs.sh Tue Nov 13 11:21:32 2018 -0500 @@ -0,0 +1,105 @@ +#!/bin/sh + +# +# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2018 Red Hat, Inc. 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 8165673 +## @summary regression test for passing float args to a jni function. +## @run shell/timeout=30 TestFloatJNIArgs.sh +## + +if [ "${TESTSRC}" = "" ] +then + TESTSRC=${PWD} + echo "TESTSRC not set. Using "${TESTSRC}" as default" +fi +echo "TESTSRC=${TESTSRC}" +## Adding common setup Variables for running shell tests. +. ${TESTSRC}/../../../test_env.sh + +# set platform-dependent variables +if [ $VM_OS == "linux" -a $VM_CPU == "aarch64" ]; then + echo "Testing on linux-aarch64" + gcc_cmd=`which gcc` + if [ "x$gcc_cmd" == "x" ]; then + echo "WARNING: gcc not found. Cannot execute test." 2>&1 + exit 0; + fi +else + echo "Test passed; only valid for linux-aarch64" + exit 0; +fi + +THIS_DIR=. + +cp ${TESTSRC}${FS}*.java ${THIS_DIR} +${TESTJAVA}${FS}bin${FS}javac *.java + +$gcc_cmd -O1 -DLINUX -fPIC -shared \ + -o ${THIS_DIR}${FS}libTestFloatJNIArgs.so \ + -I${TESTJAVA}${FS}include \ + -I${TESTJAVA}${FS}include${FS}linux \ + ${TESTSRC}${FS}libTestFloatJNIArgs.c + +# run the java test in the background +cmd="${TESTJAVA}${FS}bin${FS}java -Xint \ + -Djava.library.path=${THIS_DIR}${FS} TestFloatJNIArgs" + +echo "$cmd" +eval $cmd + +if [ $? -ne 0 ] +then + echo "Test Failed" + exit 1 +fi + +cmd="${TESTJAVA}${FS}bin${FS}java -XX:+TieredCompilation -Xcomp \ + -Djava.library.path=${THIS_DIR}${FS} TestFloatJNIArgs" + +echo "$cmd" +eval $cmd + +if [ $? -ne 0 ] +then + echo "Test Failed" + exit 1 +fi + +cmd="${TESTJAVA}${FS}bin${FS}java -XX:-TieredCompilation -Xcomp \ + -Djava.library.path=${THIS_DIR}${FS} TestFloatJNIArgs" + +echo "$cmd" +eval $cmd + +if [ $? -ne 0 ] +then + echo "Test Failed" + exit 1 +fi + +echo "Test Passed" +exit 0 diff -r 0b189a78bd27 -r 4e4ead43a282 test/compiler/floatingpoint/8165673/libTestFloatJNIArgs.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/compiler/floatingpoint/8165673/libTestFloatJNIArgs.c Tue Nov 13 11:21:32 2018 -0500 @@ -0,0 +1,69 @@ +/* + * Copyright (c) 2015, 2016. All rights reserved. + * Copyright (c) 2018 Red Hat, Inc. 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. + */ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +JNIEXPORT jfloat JNICALL Java_TestFloatJNIArgs_add15floats + (JNIEnv *env, jclass cls, + jfloat f1, jfloat f2, jfloat f3, jfloat f4, + jfloat f5, jfloat f6, jfloat f7, jfloat f8, + jfloat f9, jfloat f10, jfloat f11, jfloat f12, + jfloat f13, jfloat f14, jfloat f15) { + return f1 + f2 + f3 + f4 + f5 + f6 + f7 + f8 + f9 + f10 + f11 + f12 + f13 + f14 + f15; +} + +JNIEXPORT jfloat JNICALL Java_TestFloatJNIArgs_add10floats + (JNIEnv *env, jclass cls, + jfloat f1, jfloat f2, jfloat f3, jfloat f4, + jfloat f5, jfloat f6, jfloat f7, jfloat f8, + jfloat f9, jfloat f10) { + return f1 + f2 + f3 + f4 + f5 + f6 + f7 + f8 + f9 + f10; +} + +JNIEXPORT jfloat JNICALL Java_TestFloatJNIArgs_addFloatsInts + (JNIEnv *env, jclass cls, + jfloat f1, jfloat f2, jfloat f3, jfloat f4, + jfloat f5, jfloat f6, jfloat f7, jfloat f8, + jfloat f9, jfloat f10, jfloat f11, jfloat f12, + jfloat f13, jfloat f14, jfloat f15, jint a16, jint a17) { + return f1 + f2 + f3 + f4 + f5 + f6 + f7 + f8 + f9 + f10 + f11 + f12 + f13 + f14 + f15 + a16 + a17; +} + +JNIEXPORT jdouble JNICALL Java_TestFloatJNIArgs_add15doubles + (JNIEnv *env, jclass cls, + jdouble f1, jdouble f2, jdouble f3, jdouble f4, + jdouble f5, jdouble f6, jdouble f7, jdouble f8, + jdouble f9, jdouble f10, jdouble f11, jdouble f12, + jdouble f13, jdouble f14, jdouble f15) { + return f1 + f2 + f3 + f4 + f5 + f6 + f7 + f8 + f9 + f10 + f11 + f12 + f13 + f14 + f15; +} + + +#ifdef __cplusplus +} +#endif diff -r 0b189a78bd27 -r 4e4ead43a282 test/compiler/floatingpoint/8207838/TestFloatSyncJNIArgs.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/compiler/floatingpoint/8207838/TestFloatSyncJNIArgs.java Tue Nov 13 11:21:32 2018 -0500 @@ -0,0 +1,103 @@ +/* + * Copyright (c) 2015, 2016 SAP SE. All rights reserved. + * Copyright (c) 2018 Red Hat, Inc. 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. + */ + +public class TestFloatSyncJNIArgs { + static { + try { + System.loadLibrary("TestFloatSyncJNIArgs"); + } catch (UnsatisfiedLinkError e) { + System.out.println("could not load native lib: " + e); + } + } + + private static final int numberOfThreads = 8; + + static volatile Error testFailed = null; + + public synchronized static native float combine15floats( + float f1, float f2, float f3, float f4, + float f5, float f6, float f7, float f8, + float f9, float f10, float f11, float f12, + float f13, float f14, float f15); + + public synchronized static native double combine15doubles( + double d1, double d2, double d3, double d4, + double d5, double d6, double d7, double d8, + double d9, double d10, double d11, double d12, + double d13, double d14, double d15); + + static void test() throws Exception { + Thread[] threads = new Thread[numberOfThreads]; + + for (int i = 0; i < numberOfThreads; i++) { + threads[i] = new Thread(() -> { + for (int j = 0; j < 10000; j++) { + float f = combine15floats(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, + 9, 10, 11, 12, 13, 14, 15); + if (f != 81720.0f) { + testFailed = new Error("jni function didn't combine 15 float args properly: " + f); + throw testFailed; + } + } + }); + } + for (int i = 0; i < numberOfThreads; i++) { + threads[i].start(); + } + for (int i = 0; i < numberOfThreads; i++) { + threads[i].join(); + } + if (testFailed != null) { + throw testFailed; + } + + for (int i = 0; i < numberOfThreads; i++) { + threads[i] = new Thread(() -> { + for (int j = 0; j < 10000; j++) { + double d = combine15doubles(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, + 9, 10, 11, 12, 13, 14, 15); + if (d != 81720.0) { + testFailed = new Error("jni function didn't combine 15 double args properly: " + d); + throw testFailed; + } + } + }); + } + for (int i = 0; i < numberOfThreads; i++) { + threads[i].start(); + } + for (int i = 0; i < numberOfThreads; i++) { + threads[i].join(); + } + if (testFailed != null) { + throw testFailed; + } + } + + public static void main(String[] args) throws Exception { + for (int i = 0; i < 200; ++i) { + test(); + } + } +} diff -r 0b189a78bd27 -r 4e4ead43a282 test/compiler/floatingpoint/8207838/TestFloatSyncJNIArgs.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/compiler/floatingpoint/8207838/TestFloatSyncJNIArgs.sh Tue Nov 13 11:21:32 2018 -0500 @@ -0,0 +1,105 @@ +#!/bin/sh + +# +# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2018 Red Hat, Inc. 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, From andrew at icedtea.classpath.org Thu Dec 20 04:37:18 2018 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Thu, 20 Dec 2018 04:37:18 +0000 Subject: /hg/icedtea8-forest/jdk: 2 new changesets Message-ID: changeset f2cbd688824c in /hg/icedtea8-forest/jdk details: http://icedtea.classpath.org/hg/icedtea8-forest/jdk?cmd=changeset;node=f2cbd688824c author: andrew date: Wed Dec 19 05:55:26 2018 +0000 PR3655: Allow use of system crypto policy to be disabled by the user Summary: Read user overrides first so security.useSystemPropertiesFile can be disabled and add -Djava.security.disableSystemPropertiesFile changeset 6e67500d0ed8 in /hg/icedtea8-forest/jdk details: http://icedtea.classpath.org/hg/icedtea8-forest/jdk?cmd=changeset;node=6e67500d0ed8 author: robm date: Fri Oct 05 14:05:02 2018 -0700 8202261, PR3638: (fc) FileChannel.map and RandomAccessFile.setLength should not preallocate space Reviewed-by: coffeys diffstat: make/mapfiles/libnio/mapfile-linux | 3 +- make/mapfiles/libnio/mapfile-macosx | 3 +- make/mapfiles/libnio/mapfile-solaris | 3 +- src/share/classes/java/security/Security.java | 52 ++++++++------- src/share/classes/sun/nio/ch/FileChannelImpl.java | 15 +--- src/share/classes/sun/nio/ch/FileDispatcher.java | 9 ++- src/solaris/classes/sun/nio/ch/FileDispatcherImpl.java | 12 +- src/solaris/native/java/io/io_util_md.c | 19 ----- src/solaris/native/sun/nio/ch/FileChannelImpl.c | 39 +++-------- src/solaris/native/sun/nio/ch/FileDispatcherImpl.c | 59 +++++++---------- src/windows/classes/sun/nio/ch/FileDispatcherImpl.java | 11 +- src/windows/native/sun/nio/ch/FileChannelImpl.c | 35 ++-------- src/windows/native/sun/nio/ch/FileDispatcherImpl.c | 27 +++++++- 13 files changed, 124 insertions(+), 163 deletions(-) diffs (truncated from 586 to 500 lines): diff -r 81f07f6d1f8b -r 6e67500d0ed8 make/mapfiles/libnio/mapfile-linux --- a/make/mapfiles/libnio/mapfile-linux Wed Nov 21 04:58:36 2018 +0000 +++ b/make/mapfiles/libnio/mapfile-linux Fri Oct 05 14:05:02 2018 -0700 @@ -56,12 +56,11 @@ Java_sun_nio_ch_FileChannelImpl_close0; Java_sun_nio_ch_FileChannelImpl_initIDs; Java_sun_nio_ch_FileChannelImpl_map0; - Java_sun_nio_ch_FileChannelImpl_position0; Java_sun_nio_ch_FileChannelImpl_transferTo0; Java_sun_nio_ch_FileChannelImpl_unmap0; - Java_sun_nio_ch_FileDispatcherImpl_allocate0; Java_sun_nio_ch_FileDispatcherImpl_close0; Java_sun_nio_ch_FileDispatcherImpl_closeIntFD; + Java_sun_nio_ch_FileDispatcherImpl_seek0; Java_sun_nio_ch_FileDispatcherImpl_force0; Java_sun_nio_ch_FileDispatcherImpl_init; Java_sun_nio_ch_FileDispatcherImpl_lock0; diff -r 81f07f6d1f8b -r 6e67500d0ed8 make/mapfiles/libnio/mapfile-macosx --- a/make/mapfiles/libnio/mapfile-macosx Wed Nov 21 04:58:36 2018 +0000 +++ b/make/mapfiles/libnio/mapfile-macosx Fri Oct 05 14:05:02 2018 -0700 @@ -39,12 +39,11 @@ Java_sun_nio_ch_FileChannelImpl_close0; Java_sun_nio_ch_FileChannelImpl_initIDs; Java_sun_nio_ch_FileChannelImpl_map0; - Java_sun_nio_ch_FileChannelImpl_position0; Java_sun_nio_ch_FileChannelImpl_transferTo0; Java_sun_nio_ch_FileChannelImpl_unmap0; - Java_sun_nio_ch_FileDispatcherImpl_allocate0; Java_sun_nio_ch_FileDispatcherImpl_close0; Java_sun_nio_ch_FileDispatcherImpl_closeIntFD; + Java_sun_nio_ch_FileDispatcherImpl_seek0; Java_sun_nio_ch_FileDispatcherImpl_force0; Java_sun_nio_ch_FileDispatcherImpl_init; Java_sun_nio_ch_FileDispatcherImpl_lock0; diff -r 81f07f6d1f8b -r 6e67500d0ed8 make/mapfiles/libnio/mapfile-solaris --- a/make/mapfiles/libnio/mapfile-solaris Wed Nov 21 04:58:36 2018 +0000 +++ b/make/mapfiles/libnio/mapfile-solaris Fri Oct 05 14:05:02 2018 -0700 @@ -44,12 +44,11 @@ Java_sun_nio_ch_FileChannelImpl_close0; Java_sun_nio_ch_FileChannelImpl_initIDs; Java_sun_nio_ch_FileChannelImpl_map0; - Java_sun_nio_ch_FileChannelImpl_position0; Java_sun_nio_ch_FileChannelImpl_transferTo0; Java_sun_nio_ch_FileChannelImpl_unmap0; - Java_sun_nio_ch_FileDispatcherImpl_allocate0; Java_sun_nio_ch_FileDispatcherImpl_close0; Java_sun_nio_ch_FileDispatcherImpl_closeIntFD; + Java_sun_nio_ch_FileDispatcherImpl_seek0; Java_sun_nio_ch_FileDispatcherImpl_force0; Java_sun_nio_ch_FileDispatcherImpl_init; Java_sun_nio_ch_FileDispatcherImpl_lock0; diff -r 81f07f6d1f8b -r 6e67500d0ed8 src/share/classes/java/security/Security.java --- a/src/share/classes/java/security/Security.java Wed Nov 21 04:58:36 2018 +0000 +++ b/src/share/classes/java/security/Security.java Fri Oct 05 14:05:02 2018 -0700 @@ -122,31 +122,6 @@ } if ("true".equalsIgnoreCase(props.getProperty - ("security.useSystemPropertiesFile"))) { - - // now load the system file, if it exists, so its values - // will win if they conflict with the earlier values - try (BufferedInputStream bis = - new BufferedInputStream(new FileInputStream(SYSTEM_PROPERTIES))) { - props.load(bis); - loadedProps = true; - - if (sdebug != null) { - sdebug.println("reading system security properties file " + - SYSTEM_PROPERTIES); - sdebug.println(props.toString()); - } - } catch (IOException e) { - if (sdebug != null) { - sdebug.println - ("unable to load security properties from " + - SYSTEM_PROPERTIES); - e.printStackTrace(); - } - } - } - - if ("true".equalsIgnoreCase(props.getProperty ("security.overridePropertiesFile"))) { String extraPropFile = System.getProperty @@ -212,6 +187,33 @@ } } + String disableSystemProps = System.getProperty("java.security.disableSystemPropertiesFile"); + if (disableSystemProps == null && + "true".equalsIgnoreCase(props.getProperty + ("security.useSystemPropertiesFile"))) { + + // now load the system file, if it exists, so its values + // will win if they conflict with the earlier values + try (BufferedInputStream bis = + new BufferedInputStream(new FileInputStream(SYSTEM_PROPERTIES))) { + props.load(bis); + loadedProps = true; + + if (sdebug != null) { + sdebug.println("reading system security properties file " + + SYSTEM_PROPERTIES); + sdebug.println(props.toString()); + } + } catch (IOException e) { + if (sdebug != null) { + sdebug.println + ("unable to load security properties from " + + SYSTEM_PROPERTIES); + e.printStackTrace(); + } + } + } + if (!loadedProps) { initializeStatic(); if (sdebug != null) { diff -r 81f07f6d1f8b -r 6e67500d0ed8 src/share/classes/sun/nio/ch/FileChannelImpl.java --- a/src/share/classes/sun/nio/ch/FileChannelImpl.java Wed Nov 21 04:58:36 2018 +0000 +++ b/src/share/classes/sun/nio/ch/FileChannelImpl.java Fri Oct 05 14:05:02 2018 -0700 @@ -261,7 +261,7 @@ return 0; do { // in append-mode then position is advanced to end before writing - p = (append) ? nd.size(fd) : position0(fd, -1); + p = (append) ? nd.size(fd) : nd.seek(fd, -1); } while ((p == IOStatus.INTERRUPTED) && isOpen()); return IOStatus.normalize(p); } finally { @@ -285,7 +285,7 @@ if (!isOpen()) return null; do { - p = position0(fd, newPosition); + p = nd.seek(fd, newPosition); } while ((p == IOStatus.INTERRUPTED) && isOpen()); return this; } finally { @@ -345,7 +345,7 @@ // get current position do { - p = position0(fd, -1); + p = nd.seek(fd, -1); } while ((p == IOStatus.INTERRUPTED) && isOpen()); if (!isOpen()) return null; @@ -364,7 +364,7 @@ if (p > newSize) p = newSize; do { - rp = position0(fd, p); + rp = nd.seek(fd, p); } while ((rp == IOStatus.INTERRUPTED) && isOpen()); return this; } finally { @@ -906,7 +906,7 @@ } int rv; do { - rv = nd.allocate(fd, position + size); + rv = nd.truncate(fd, position + size); } while ((rv == IOStatus.INTERRUPTED) && isOpen()); if (!isOpen()) return null; @@ -1217,11 +1217,6 @@ private native long transferTo0(FileDescriptor src, long position, long count, FileDescriptor dst); - // Sets or reports this file's position - // If offset is -1, the current position is returned - // otherwise the position is set to offset - private native long position0(FileDescriptor fd, long offset); - // Caches fieldIDs private static native long initIDs(); diff -r 81f07f6d1f8b -r 6e67500d0ed8 src/share/classes/sun/nio/ch/FileDispatcher.java --- a/src/share/classes/sun/nio/ch/FileDispatcher.java Wed Nov 21 04:58:36 2018 +0000 +++ b/src/share/classes/sun/nio/ch/FileDispatcher.java Fri Oct 05 14:05:02 2018 -0700 @@ -36,12 +36,17 @@ public static final int RET_EX_LOCK = 1; // Obtained exclusive lock public static final int INTERRUPTED = 2; // Request interrupted + /** + * Sets or reports this file's position + * If offset is -1, the current position is returned + * otherwise the position is set to offset. + */ + abstract long seek(FileDescriptor fd, long offset) throws IOException; + abstract int force(FileDescriptor fd, boolean metaData) throws IOException; abstract int truncate(FileDescriptor fd, long size) throws IOException; - abstract int allocate(FileDescriptor fd, long size) throws IOException; - abstract long size(FileDescriptor fd) throws IOException; abstract int lock(FileDescriptor fd, boolean blocking, long pos, long size, diff -r 81f07f6d1f8b -r 6e67500d0ed8 src/solaris/classes/sun/nio/ch/FileDispatcherImpl.java --- a/src/solaris/classes/sun/nio/ch/FileDispatcherImpl.java Wed Nov 21 04:58:36 2018 +0000 +++ b/src/solaris/classes/sun/nio/ch/FileDispatcherImpl.java Fri Oct 05 14:05:02 2018 -0700 @@ -72,6 +72,10 @@ return writev0(fd, address, len); } + long seek(FileDescriptor fd, long offset) throws IOException { + return seek0(fd, offset); + } + int force(FileDescriptor fd, boolean metaData) throws IOException { return force0(fd, metaData); } @@ -80,10 +84,6 @@ return truncate0(fd, size); } - int allocate(FileDescriptor fd, long size) throws IOException { - return allocate0(fd, size); - } - long size(FileDescriptor fd) throws IOException { return size0(fd); } @@ -143,10 +143,10 @@ static native int force0(FileDescriptor fd, boolean metaData) throws IOException; - static native int truncate0(FileDescriptor fd, long size) + static native long seek0(FileDescriptor fd, long size) throws IOException; - static native int allocate0(FileDescriptor fd, long size) + static native int truncate0(FileDescriptor fd, long size) throws IOException; static native long size0(FileDescriptor fd) throws IOException; diff -r 81f07f6d1f8b -r 6e67500d0ed8 src/solaris/native/java/io/io_util_md.c --- a/src/solaris/native/java/io/io_util_md.c Wed Nov 21 04:58:36 2018 +0000 +++ b/src/solaris/native/java/io/io_util_md.c Fri Oct 05 14:05:02 2018 -0700 @@ -212,25 +212,6 @@ handleSetLength(FD fd, jlong length) { int result; -#if defined(__linux__) - /* - * On Linux, if the file size is being increased, then ftruncate64() - * will modify the metadata value of the size without actually allocating - * any blocks which can cause a SIGBUS error if the file is subsequently - * memory-mapped. - */ - struct stat64 sb; - - if (fstat64(fd, &sb) == 0 && length > sb.st_blocks*512) { - RESTARTABLE(posix_fallocate(fd, 0, length), result); - // Return on success or if errno is neither EOPNOTSUPP nor ENOSYS - if (result == 0) { - return 0; - } else if (errno != EOPNOTSUPP && errno != ENOSYS) { - return result; - } - } -#endif RESTARTABLE(ftruncate64(fd, length), result); return result; } diff -r 81f07f6d1f8b -r 6e67500d0ed8 src/solaris/native/sun/nio/ch/FileChannelImpl.c --- a/src/solaris/native/sun/nio/ch/FileChannelImpl.c Wed Nov 21 04:58:36 2018 +0000 +++ b/src/solaris/native/sun/nio/ch/FileChannelImpl.c Fri Oct 05 14:05:02 2018 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -23,26 +23,17 @@ * questions. */ -#include "jni.h" -#include "jni_util.h" -#include "jvm.h" -#include "jvm_md.h" -#include "jlong.h" #include #include #include -#include "sun_nio_ch_FileChannelImpl.h" -#include "java_lang_Integer.h" -#include "nio.h" -#include "nio_util.h" -#include +#include +#include #if defined(__linux__) || defined(__solaris__) #include #elif defined(_AIX) #include #elif defined(_ALLBSD_SOURCE) -#include #include #include @@ -50,6 +41,14 @@ #define mmap64 mmap #endif +#include "jni.h" +#include "jni_util.h" +#include "jlong.h" +#include "nio.h" +#include "nio_util.h" +#include "sun_nio_ch_FileChannelImpl.h" +#include "java_lang_Integer.h" + static jfieldID chan_fd; /* jobject 'fd' in sun.io.FileChannelImpl */ JNIEXPORT jlong JNICALL @@ -124,22 +123,6 @@ } -JNIEXPORT jlong JNICALL -Java_sun_nio_ch_FileChannelImpl_position0(JNIEnv *env, jobject this, - jobject fdo, jlong offset) -{ - jint fd = fdval(env, fdo); - jlong result = 0; - - if (offset < 0) { - result = lseek64(fd, 0, SEEK_CUR); - } else { - result = lseek64(fd, offset, SEEK_SET); - } - return handle(env, result, "Position failed"); -} - - JNIEXPORT void JNICALL Java_sun_nio_ch_FileChannelImpl_close0(JNIEnv *env, jobject this, jobject fdo) { diff -r 81f07f6d1f8b -r 6e67500d0ed8 src/solaris/native/sun/nio/ch/FileDispatcherImpl.c --- a/src/solaris/native/sun/nio/ch/FileDispatcherImpl.c Wed Nov 21 04:58:36 2018 +0000 +++ b/src/solaris/native/sun/nio/ch/FileDispatcherImpl.c Fri Oct 05 14:05:02 2018 -0700 @@ -27,25 +27,19 @@ #define _FILE_OFFSET_BITS 64 #endif -#include "jni.h" -#include "jni_util.h" -#include "jvm.h" -#include "jlong.h" -#include "sun_nio_ch_FileDispatcherImpl.h" -#include "java_lang_Long.h" #include #include #include #include #include +#include #if defined(__linux__) #include #include #endif -#include "nio.h" -#include "nio_util.h" -#ifdef _ALLBSD_SOURCE +#if defined(_ALLBSD_SOURCE) +#define lseek64 lseek #define stat64 stat #define flock64 flock #define off64_t off_t @@ -60,6 +54,15 @@ #define fdatasync fsync #endif +#include "jni.h" +#include "jni_util.h" +#include "jvm.h" +#include "jlong.h" +#include "nio.h" +#include "nio_util.h" +#include "sun_nio_ch_FileDispatcherImpl.h" +#include "java_lang_Long.h" + static int preCloseFD = -1; /* File descriptor to which we dup other fd's before closing them for real */ @@ -145,6 +148,20 @@ return IOS_THROWN; } +JNIEXPORT jlong JNICALL +Java_sun_nio_ch_FileDispatcherImpl_seek0(JNIEnv *env, jclass clazz, + jobject fdo, jlong offset) +{ + jint fd = fdval(env, fdo); + off64_t result; + if (offset < 0) { + result = lseek64(fd, 0, SEEK_CUR); + } else { + result = lseek64(fd, offset, SEEK_SET); + } + return handle(env, (jlong)result, "lseek64 failed"); +} + JNIEXPORT jint JNICALL Java_sun_nio_ch_FileDispatcherImpl_force0(JNIEnv *env, jobject this, jobject fdo, jboolean md) @@ -182,30 +199,6 @@ "Truncation failed"); } -JNIEXPORT jint JNICALL -Java_sun_nio_ch_FileDispatcherImpl_allocate0(JNIEnv *env, jobject this, - jobject fdo, jlong size) -{ -#if defined(__linux__) - /* - * On Linux, if the file size is being increased, then ftruncate64() - * will modify the metadata value of the size without actually allocating - * any blocks which can cause a SIGBUS error if the file is subsequently - * memory-mapped. - */ - // Return on success or if errno is neither EOPNOTSUPP nor ENOSYS - int result = posix_fallocate(fdval(env, fdo), 0, size); - if (result == 0) { - return 0; - } else if (errno != EOPNOTSUPP && errno != ENOSYS) { - return handle(env, result, "Allocation failed"); - } -#endif - return handle(env, - ftruncate64(fdval(env, fdo), size), - "Truncation failed"); -} - JNIEXPORT jlong JNICALL Java_sun_nio_ch_FileDispatcherImpl_size0(JNIEnv *env, jobject this, jobject fdo) { diff -r 81f07f6d1f8b -r 6e67500d0ed8 src/windows/classes/sun/nio/ch/FileDispatcherImpl.java --- a/src/windows/classes/sun/nio/ch/FileDispatcherImpl.java Wed Nov 21 04:58:36 2018 +0000 +++ b/src/windows/classes/sun/nio/ch/FileDispatcherImpl.java Fri Oct 05 14:05:02 2018 -0700 @@ -85,6 +85,10 @@ return writev0(fd, address, len, append); } + long seek(FileDescriptor fd, long offset) throws IOException { + return seek0(fd, offset); + } + int force(FileDescriptor fd, boolean metaData) throws IOException { return force0(fd, metaData); } @@ -93,11 +97,6 @@ return truncate0(fd, size); } - int allocate(FileDescriptor fd, long size) throws IOException { - // truncate0() works for extending and truncating file size - return truncate0(fd, size); - } - long size(FileDescriptor fd) throws IOException { return size0(fd); } @@ -176,6 +175,8 @@ static native long writev0(FileDescriptor fd, long address, int len, boolean append) throws IOException; + static native long seek0(FileDescriptor fd, long offset) throws IOException; + static native int force0(FileDescriptor fd, boolean metaData) throws IOException; diff -r 81f07f6d1f8b -r 6e67500d0ed8 src/windows/native/sun/nio/ch/FileChannelImpl.c --- a/src/windows/native/sun/nio/ch/FileChannelImpl.c Wed Nov 21 04:58:36 2018 +0000 +++ b/src/windows/native/sun/nio/ch/FileChannelImpl.c Fri Oct 05 14:05:02 2018 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2018, 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 @@ -140,30 +140,6 @@ return 0; } -JNIEXPORT jlong JNICALL -Java_sun_nio_ch_FileChannelImpl_position0(JNIEnv *env, jobject this, - jobject fdo, jlong offset) -{ From bugzilla-daemon at icedtea.classpath.org Thu Dec 20 04:37:26 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 20 Dec 2018 04:37:26 +0000 Subject: [Bug 3655] [IcedTea8] Allow use of system crypto policy to be disabled by the user In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3655 --- Comment #3 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8-forest/jdk?cmd=changeset;node=f2cbd688824c author: andrew date: Wed Dec 19 05:55:26 2018 +0000 PR3655: Allow use of system crypto policy to be disabled by the user Summary: Read user overrides first so security.useSystemPropertiesFile can be disabled and add -Djava.security.disableSystemPropertiesFile -- You are receiving this mail because: 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 Dec 20 04:36:48 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 20 Dec 2018 04:36:48 +0000 Subject: [Bug 3666] [IcedTea8] Add latest updates from AArch64 port for 3.10.0 In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3666 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8-forest/hotspot?cmd=changeset;node=4b1a8bbe2b46 author: aph date: Tue Oct 02 09:16:20 2018 -0400 8211064, PR3666: [AArch64] Interpreter and c1 don't correctly handle jboolean results in native calls Contributed-by: apetushkov Reviewed-by: aph -- You are receiving this mail because: 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 Dec 20 04:36:58 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 20 Dec 2018 04:36:58 +0000 Subject: [Bug 3666] [IcedTea8] Add latest updates from AArch64 port for 3.10.0 In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3666 --- Comment #2 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8-forest/hotspot?cmd=changeset;node=e2c0347ef61c author: fyang date: Fri Sep 28 08:48:26 2018 +0800 8207838, PR3666: AArch64: Float registers incorrectly restored in JNI call Summary: fix the order in which float registers are restored in restore_args for aarch64 Reviewed-by: aph Contributed-by: guoge1 at huawei.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 Dec 20 04:37:08 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 20 Dec 2018 04:37:08 +0000 Subject: [Bug 3666] [IcedTea8] Add latest updates from AArch64 port for 3.10.0 In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3666 --- Comment #3 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8-forest/hotspot?cmd=changeset;node=4e4ead43a282 author: aph date: Tue Nov 13 11:21:32 2018 -0500 8209415, PR3666: Fix JVMTI test failure HS202 Summary: Fix test for static method in exception throw handler Reviewed-by: adinn -- You are receiving this mail because: 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 Dec 20 04:37:42 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 20 Dec 2018 04:37:42 +0000 Subject: [Bug 3638] [IcedTea8] Backport "8202261: (fc) FileChannel.map and RandomAccessFile.setLength should not preallocate space" In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3638 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8-forest/jdk?cmd=changeset;node=6e67500d0ed8 author: robm date: Fri Oct 05 14:05:02 2018 -0700 8202261, PR3638: (fc) FileChannel.map and RandomAccessFile.setLength should not preallocate space Reviewed-by: coffeys -- You are receiving this mail because: 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 Dec 20 07:09:18 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 20 Dec 2018 07:09:18 +0000 Subject: [Bug 3672] Classloader doesn't load jar correctly from JNLP extension In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3672 --- Comment #2 from kevin.coutinho at ext.ctie.etat.lu --- By resources, I mean not-class files. In this case, We use Axis 1.4 to call a jax-rpc webservice. We have run Eclipse debugger when we run application to find the problem, and we find that an exception is catch because there is a config file that is not loaded. This file is client-config.wsdd, it is located in axis.jar\org\apache\axis\client\ Otherwise, if we activate log4j debug level, an exception is throw in another place because of a message cannot be read. This message is present in a ".properties" 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 Thu Dec 20 07:35:04 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 20 Dec 2018 07:35:04 +0000 Subject: [Bug 3672] Classloader doesn't load jar correctly from JNLP extension In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3672 --- Comment #3 from JiriVanek --- How are the resources loaded? Please, to debug this I really need an reproducer. -- You are receiving this mail because: 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 Dec 21 09:43:36 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 21 Dec 2018 09:43:36 +0000 Subject: [Bug 3672] Classloader doesn't load jar correctly from JNLP extension In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3672 --- Comment #4 from dmf at ctie.etat.lu --- A reproducer was sent to your email address because of file size. -- You are receiving this mail because: 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 Dec 25 01:09:48 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Dec 2018 01:09:48 +0000 Subject: [Bug 3638] [IcedTea8] Backport "8202261: (fc) FileChannel.map and RandomAccessFile.setLength should not preallocate space" In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3638 --- Comment #2 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8?cmd=changeset;node=2bbb77456fce author: Andrew John Hughes date: Thu Dec 20 04:39:13 2018 +0000 Bump to icedtea-3.10.0. Upstream changes: - PR3655: Allow use of system crypto policy to be disabled by the user - S8033251: Use DWARF debug symbols for Linux 32-bit as default - S8038636: speculative traps break when classes are redefined - S8049834: Two security tools tests do not run with only JRE - S8055008: Clean up code that saves the previous versions of redefined classes - S8057570: RedefineClasses() tests fail assert(((Metadata*)obj)->is_valid()) failed: obj is valid - S8068778: [TESTBUG] CompressedClassSpaceSizeInJmapHeap.java fails if SA not available - S8074373: NMT is not enabled if NMT option is specified after class path specifiers - S8074462: Handshake messages can be strictly ordered - S8076117: EndEntityChecker should not process custom extensions after PKIX validation - S8130132: jarsigner should emit warning if weak algorithms or keysizes are used - S8142927: Feed some text to STDIN in ProcessTools.executeProcess() - S8146115: Improve docker container detection and resource configuration usage - S8146377: test/sun/security/tools/jarsigner/concise_jarsigner.sh failing - S8152974: AWT hang occurrs when sequenced events arrive out of sequence - S8155627, PR3651: Enable SA on AArch64 - S8156137: SIGSEGV in ReceiverTypeData::clean_weak_klass_links - S8158887: sun/security/tools/jarsigner/concise_jarsigner.sh timed out - S8164480: Crash with assert(handler_address == SharedRuntime::compute_compiled_exc_handler(..) failed: Must be the same - S8168628: (fc) SIGBUS when extending file size to map it - S8170035: When determining the ciphersuite lists, there is no debug output for disabled suites. - S8171452: (ch) linux io_util_md: Operation not supported exception after 8168628 - S8172529: Use PKIXValidator in jarsigner - S8175075: Add 3DES to the default disabled algorithm security property - S8176072: READING attributes are not available on TSF - S8180289: jarsigner treats timestamped signed jar invalid after the signer cert expires - S8182362: Update CipherOutputStream Usage - S8183504: 8u131 Win 10, issue with wrong position of Sogou IME popup - S8186032: Disable XML Signatures signed with EC keys less than 224 bits - S8187045: [linux] Not all libraries in the VM are linked with -z,noexecstack - S8187577: JVM crash during gc doing concurrent marking - S8187635: On Windows Swing changes keyboard layout on a window activation - S8187803: JDK part of JavaFX-Swing dialogs appearing behind main stage - S8189762: [TESTBUG] Create tests for JDK-8146115 container awareness and resource configuration - S8189969: Manifest better manifest entries - S8189981: Improve queuing portability - S8189985: Improve tabular data portability - S8189993: Improve document portability - S8189997: Enhance keystore mechanisms - S8190674: sun/security/tools/jarsigner/TimestampCheck.java failed with java.nio.file.NoSuchFileException: ts2.cert - S8191239: Improve desktop file usage - S8191909: Nightly failures in nashorn suite - S8192025: Less referential references - S8192757: Improve stub classes implementation - S8192987: keytool should remember real storetype if it is not provided - S8193409: Improve AES supporting classes - S8193419: Better Internet address support - S8193833: Better RMI connection support - S8193892: Impact of noncloneable MessageDigest implementation - S8194259: keytool error: java.io.IOException: Invalid secret key format - S8194534: Manifest better support - S8194546: Choosier FileManagers - S8195868: Address Internet Addresses - S8195874: Improve jar specification adherence - S8196224: Even better Internet address support - S8196491: Newlines in JAXB string values of SOAP-requests are escaped to " " - S8196663: [TESTBUG] test/compiler/loopopts/TestCMovSplitThruPhi.java fails on 32 bit Java - S8196897: Improve PRNG support - S8196902: Better HTTP redirection support - S8197030: Perf regression on all platforms with 8u171-b03 - early lambda use - S8197518: Kerberos krb5 authentication: AuthList's put method leads to performance issue - S8197871: Support Derby connections - S8197925: Better stack walking - S8198494: 8u171 and 8u172 - Build failure on non-SE Linux Platforms - S8198662: Incompatible internal API change in JDK8u161: signature of method exportObject() - S8198794: Hotspot crash on Cassandra 3.11.1 startup with libnuma 2.0.3 - S8198963: Fix new rmi property name - S8199001: [TESTBUG] RMIConnectionFilterTest.java test fails in compilation - S8199177: Enhance JNDI lookups - S8199226: Improve field accesses - S8199406: Performance drop with Java JDK 1.8.0_162-b32 - S8199547: Exception to Pattern Syntax - S8200359: (tz) Upgrade time-zone data to tzdata2018d - S8200666: Improve LDAP support - S8201756: Improve cipher inputs - S8202261, PR3638: (fc) FileChannel.map and RandomAccessFile.setLength should not preallocate space - S8202478: Backout JDK-8152974 - S8202613: Improve TLS connections stability - S8202936: Improve script engine support - S8203654: Improve cypher state updates - S8204497: Better formatting of decimals - S8204667: Resources not freed on exception - S8204874: Update THIRDPARYREADME file - S8205361: Better RIFF reading support - S8205491: adjust reflective access checks - S8206916: Remove jdk8u181-b31 tag from jdk8u181/corba repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/hotspot repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/jaxp repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/jaxws repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/jdk repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/langtools repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/nashorn repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181 repo - S8207336: Build failure in JDK8u on Windows after fix 8207260 - S8207838, PR3666: AArch64: Float registers incorrectly restored in JNI call - S8208350: Disable all DES cipher suites - S8208353: Upgrade JDK 8u to libpng 1.6.35 - S8208660: JDK 8u191 l10n resource file update - S8208754: The fix for JDK-8194534 needs updates - S8209415, PR3666: Fix JVMTI test failure HS202 - S8210431: Complete backport of libpng 1.6.35 TPRM - S8211064, PR3666: [AArch64] Interpreter and c1 don't correctly handle jboolean results in native calls - S8211107: LDAPS communication failure with jdk 1.8.0_181 - S8211731: Reconsider default option for ClassPathURLCheck change done in JDK-8195874 ChangeLog: 2018-12-19 Andrew John Hughes Bump to icedtea-3.10.0. * Makefile.am: (CORBA_CHANGESET): Update to icedtea-3.10.0 tag. (JAXP_CHANGESET): Likewise. (JAXWS_CHANGESET): Likewise. (JDK_CHANGESET): Likewise. (LANGTOOLS_CHANGESET): Likewise. (OPENJDK_CHANGESET): Likewise. (NASHORN_CHANGESET): Likewise. (CORBA_SHA256SUM): Likewise. (JAXP_SHA256SUM): Likewise. (JAXWS_SHA256SUM): Likewise. (JDK_SHA256SUM): Likewise. (LANGTOOLS_SHA256SUM): Likewise. (OPENJDK_SHA256SUM): Likewise. (NASHORN_SHA256SUM): Likewise. * NEWS: Updated. * acinclude.m4, (IT_DETERMINE_VERSION): Update JDK_UPDATE_VERSION to 191 and BUILD_VERSION to b12. * configure.ac: Bump to 3.10.0. * hotspot.map.in: Update to icedtea-3.10.0 tag. -- You are receiving this mail because: 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 Dec 25 01:10:06 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Dec 2018 01:10:06 +0000 Subject: [Bug 3508] [IcedTea8] Backport "8146115: Improve docker container detection and resource configuration usage" In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3508 --- Comment #6 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8?cmd=changeset;node=83f6789ece25 author: Andrew John Hughes date: Fri Dec 21 16:17:37 2018 +0000 Bump shenandoah to aarch64-shenandoah-jdk8u191-b13. Upstream fixes: - Fix code differences against shenandoah/jdk8u - S8033251: Use DWARF debug symbols for Linux 32-bit as default - S8038636: speculative traps break when classes are redefined - S8055008: Clean up code that saves the previous versions of redefined classes - S8057570: RedefineClasses() tests fail assert(((Metadata*)obj)->is_valid()) failed: obj is valid - S8068778: [TESTBUG] CompressedClassSpaceSizeInJmapHeap.java fails if SA not available - S8146115: Improve docker container detection and resource configuration usage - S8156137: SIGSEGV in ReceiverTypeData::clean_weak_klass_links - S8164480: Crash with assert(handler_address == SharedRuntime::compute_compiled_exc_handler(..) failed: Must be the same - S8187045: [linux] Not all libraries in the VM are linked with -z,noexecstack - S8187577: JVM crash during gc doing concurrent marking - S8189762: [TESTBUG] Create tests for JDK-8146115 container awareness and resource configuration - S8192025: Less referential references - S8196663: [TESTBUG] test/compiler/loopopts/TestCMovSplitThruPhi.java fails on 32 bit Java - S8198794: Hotspot crash on Cassandra 3.11.1 startup with libnuma 2.0.3 - S8199226: Improve field accesses - S8199406: Performance drop with Java JDK 1.8.0_162-b32 - S8204874: Update THIRDPARYREADME file - S8206916: Remove jdk8u181-b31 tag from jdk8u181/hotspot repo - S8207838: AArch64: Float registers incorrectly restored in JNI call - S8209415: Fix JVMTI test failure HS202 - S8210431: Complete backport of libpng 1.6.35 TPRM - S8211064: [AArch64] Interpreter and c1 don't correctly handle jboolean results in native calls ChangeLog: 2018-12-19 Andrew John Hughes Bump shenandoah to aarch64-shenandoah-jdk8u191-b13. * patches/hotspot/shenandoah/8146115-pr3508-rh1463098.patch: Removed as applied upstream. * Makefile.am: (ICEDTEA_PATCHES): Move 8146115 patch to AArch32-only. * NEWS: Updated. * hotspot.map.in: Bump shenandoah to aarch64-shenandoah-jdk8u191-b13. * patches/hotspot/aarch32/8146115-pr3508-rh1463098.patch: Symlink replaced with the actual patch as Shenandoah version no longer required. * patches/hotspot/aarch32/8207057-pr3613.patch: Likewise, as Shenandoah version has been altered. * patches/hotspot/shenandoah/8207057-pr3613.patch: Update to apply in context of 8033251 in updated Shenandoah bundle. -- You are receiving this mail because: 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 Dec 25 01:12:21 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Dec 2018 01:12:21 +0000 Subject: [Bug 3651] [IcedTea8] Backport "8155627: Enable SA on AArch64" In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3651 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Andrew John Hughes --- Fixed in icedtea-3.10.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 Dec 25 01:09:26 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Dec 2018 01:09:26 +0000 Subject: [Bug 3666] [IcedTea8] Add latest updates from AArch64 port for 3.10.0 In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3666 --- Comment #4 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8?cmd=changeset;node=2bbb77456fce author: Andrew John Hughes date: Thu Dec 20 04:39:13 2018 +0000 Bump to icedtea-3.10.0. Upstream changes: - PR3655: Allow use of system crypto policy to be disabled by the user - S8033251: Use DWARF debug symbols for Linux 32-bit as default - S8038636: speculative traps break when classes are redefined - S8049834: Two security tools tests do not run with only JRE - S8055008: Clean up code that saves the previous versions of redefined classes - S8057570: RedefineClasses() tests fail assert(((Metadata*)obj)->is_valid()) failed: obj is valid - S8068778: [TESTBUG] CompressedClassSpaceSizeInJmapHeap.java fails if SA not available - S8074373: NMT is not enabled if NMT option is specified after class path specifiers - S8074462: Handshake messages can be strictly ordered - S8076117: EndEntityChecker should not process custom extensions after PKIX validation - S8130132: jarsigner should emit warning if weak algorithms or keysizes are used - S8142927: Feed some text to STDIN in ProcessTools.executeProcess() - S8146115: Improve docker container detection and resource configuration usage - S8146377: test/sun/security/tools/jarsigner/concise_jarsigner.sh failing - S8152974: AWT hang occurrs when sequenced events arrive out of sequence - S8155627, PR3651: Enable SA on AArch64 - S8156137: SIGSEGV in ReceiverTypeData::clean_weak_klass_links - S8158887: sun/security/tools/jarsigner/concise_jarsigner.sh timed out - S8164480: Crash with assert(handler_address == SharedRuntime::compute_compiled_exc_handler(..) failed: Must be the same - S8168628: (fc) SIGBUS when extending file size to map it - S8170035: When determining the ciphersuite lists, there is no debug output for disabled suites. - S8171452: (ch) linux io_util_md: Operation not supported exception after 8168628 - S8172529: Use PKIXValidator in jarsigner - S8175075: Add 3DES to the default disabled algorithm security property - S8176072: READING attributes are not available on TSF - S8180289: jarsigner treats timestamped signed jar invalid after the signer cert expires - S8182362: Update CipherOutputStream Usage - S8183504: 8u131 Win 10, issue with wrong position of Sogou IME popup - S8186032: Disable XML Signatures signed with EC keys less than 224 bits - S8187045: [linux] Not all libraries in the VM are linked with -z,noexecstack - S8187577: JVM crash during gc doing concurrent marking - S8187635: On Windows Swing changes keyboard layout on a window activation - S8187803: JDK part of JavaFX-Swing dialogs appearing behind main stage - S8189762: [TESTBUG] Create tests for JDK-8146115 container awareness and resource configuration - S8189969: Manifest better manifest entries - S8189981: Improve queuing portability - S8189985: Improve tabular data portability - S8189993: Improve document portability - S8189997: Enhance keystore mechanisms - S8190674: sun/security/tools/jarsigner/TimestampCheck.java failed with java.nio.file.NoSuchFileException: ts2.cert - S8191239: Improve desktop file usage - S8191909: Nightly failures in nashorn suite - S8192025: Less referential references - S8192757: Improve stub classes implementation - S8192987: keytool should remember real storetype if it is not provided - S8193409: Improve AES supporting classes - S8193419: Better Internet address support - S8193833: Better RMI connection support - S8193892: Impact of noncloneable MessageDigest implementation - S8194259: keytool error: java.io.IOException: Invalid secret key format - S8194534: Manifest better support - S8194546: Choosier FileManagers - S8195868: Address Internet Addresses - S8195874: Improve jar specification adherence - S8196224: Even better Internet address support - S8196491: Newlines in JAXB string values of SOAP-requests are escaped to " " - S8196663: [TESTBUG] test/compiler/loopopts/TestCMovSplitThruPhi.java fails on 32 bit Java - S8196897: Improve PRNG support - S8196902: Better HTTP redirection support - S8197030: Perf regression on all platforms with 8u171-b03 - early lambda use - S8197518: Kerberos krb5 authentication: AuthList's put method leads to performance issue - S8197871: Support Derby connections - S8197925: Better stack walking - S8198494: 8u171 and 8u172 - Build failure on non-SE Linux Platforms - S8198662: Incompatible internal API change in JDK8u161: signature of method exportObject() - S8198794: Hotspot crash on Cassandra 3.11.1 startup with libnuma 2.0.3 - S8198963: Fix new rmi property name - S8199001: [TESTBUG] RMIConnectionFilterTest.java test fails in compilation - S8199177: Enhance JNDI lookups - S8199226: Improve field accesses - S8199406: Performance drop with Java JDK 1.8.0_162-b32 - S8199547: Exception to Pattern Syntax - S8200359: (tz) Upgrade time-zone data to tzdata2018d - S8200666: Improve LDAP support - S8201756: Improve cipher inputs - S8202261, PR3638: (fc) FileChannel.map and RandomAccessFile.setLength should not preallocate space - S8202478: Backout JDK-8152974 - S8202613: Improve TLS connections stability - S8202936: Improve script engine support - S8203654: Improve cypher state updates - S8204497: Better formatting of decimals - S8204667: Resources not freed on exception - S8204874: Update THIRDPARYREADME file - S8205361: Better RIFF reading support - S8205491: adjust reflective access checks - S8206916: Remove jdk8u181-b31 tag from jdk8u181/corba repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/hotspot repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/jaxp repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/jaxws repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/jdk repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/langtools repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/nashorn repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181 repo - S8207336: Build failure in JDK8u on Windows after fix 8207260 - S8207838, PR3666: AArch64: Float registers incorrectly restored in JNI call - S8208350: Disable all DES cipher suites - S8208353: Upgrade JDK 8u to libpng 1.6.35 - S8208660: JDK 8u191 l10n resource file update - S8208754: The fix for JDK-8194534 needs updates - S8209415, PR3666: Fix JVMTI test failure HS202 - S8210431: Complete backport of libpng 1.6.35 TPRM - S8211064, PR3666: [AArch64] Interpreter and c1 don't correctly handle jboolean results in native calls - S8211107: LDAPS communication failure with jdk 1.8.0_181 - S8211731: Reconsider default option for ClassPathURLCheck change done in JDK-8195874 ChangeLog: 2018-12-19 Andrew John Hughes Bump to icedtea-3.10.0. * Makefile.am: (CORBA_CHANGESET): Update to icedtea-3.10.0 tag. (JAXP_CHANGESET): Likewise. (JAXWS_CHANGESET): Likewise. (JDK_CHANGESET): Likewise. (LANGTOOLS_CHANGESET): Likewise. (OPENJDK_CHANGESET): Likewise. (NASHORN_CHANGESET): Likewise. (CORBA_SHA256SUM): Likewise. (JAXP_SHA256SUM): Likewise. (JAXWS_SHA256SUM): Likewise. (JDK_SHA256SUM): Likewise. (LANGTOOLS_SHA256SUM): Likewise. (OPENJDK_SHA256SUM): Likewise. (NASHORN_SHA256SUM): Likewise. * NEWS: Updated. * acinclude.m4, (IT_DETERMINE_VERSION): Update JDK_UPDATE_VERSION to 191 and BUILD_VERSION to b12. * configure.ac: Bump to 3.10.0. * hotspot.map.in: Update to icedtea-3.10.0 tag. -- You are receiving this mail because: 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 Dec 25 01:09:44 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Dec 2018 01:09:44 +0000 Subject: [Bug 3651] [IcedTea8] Backport "8155627: Enable SA on AArch64" In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3651 --- Comment #2 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8?cmd=changeset;node=2bbb77456fce author: Andrew John Hughes date: Thu Dec 20 04:39:13 2018 +0000 Bump to icedtea-3.10.0. Upstream changes: - PR3655: Allow use of system crypto policy to be disabled by the user - S8033251: Use DWARF debug symbols for Linux 32-bit as default - S8038636: speculative traps break when classes are redefined - S8049834: Two security tools tests do not run with only JRE - S8055008: Clean up code that saves the previous versions of redefined classes - S8057570: RedefineClasses() tests fail assert(((Metadata*)obj)->is_valid()) failed: obj is valid - S8068778: [TESTBUG] CompressedClassSpaceSizeInJmapHeap.java fails if SA not available - S8074373: NMT is not enabled if NMT option is specified after class path specifiers - S8074462: Handshake messages can be strictly ordered - S8076117: EndEntityChecker should not process custom extensions after PKIX validation - S8130132: jarsigner should emit warning if weak algorithms or keysizes are used - S8142927: Feed some text to STDIN in ProcessTools.executeProcess() - S8146115: Improve docker container detection and resource configuration usage - S8146377: test/sun/security/tools/jarsigner/concise_jarsigner.sh failing - S8152974: AWT hang occurrs when sequenced events arrive out of sequence - S8155627, PR3651: Enable SA on AArch64 - S8156137: SIGSEGV in ReceiverTypeData::clean_weak_klass_links - S8158887: sun/security/tools/jarsigner/concise_jarsigner.sh timed out - S8164480: Crash with assert(handler_address == SharedRuntime::compute_compiled_exc_handler(..) failed: Must be the same - S8168628: (fc) SIGBUS when extending file size to map it - S8170035: When determining the ciphersuite lists, there is no debug output for disabled suites. - S8171452: (ch) linux io_util_md: Operation not supported exception after 8168628 - S8172529: Use PKIXValidator in jarsigner - S8175075: Add 3DES to the default disabled algorithm security property - S8176072: READING attributes are not available on TSF - S8180289: jarsigner treats timestamped signed jar invalid after the signer cert expires - S8182362: Update CipherOutputStream Usage - S8183504: 8u131 Win 10, issue with wrong position of Sogou IME popup - S8186032: Disable XML Signatures signed with EC keys less than 224 bits - S8187045: [linux] Not all libraries in the VM are linked with -z,noexecstack - S8187577: JVM crash during gc doing concurrent marking - S8187635: On Windows Swing changes keyboard layout on a window activation - S8187803: JDK part of JavaFX-Swing dialogs appearing behind main stage - S8189762: [TESTBUG] Create tests for JDK-8146115 container awareness and resource configuration - S8189969: Manifest better manifest entries - S8189981: Improve queuing portability - S8189985: Improve tabular data portability - S8189993: Improve document portability - S8189997: Enhance keystore mechanisms - S8190674: sun/security/tools/jarsigner/TimestampCheck.java failed with java.nio.file.NoSuchFileException: ts2.cert - S8191239: Improve desktop file usage - S8191909: Nightly failures in nashorn suite - S8192025: Less referential references - S8192757: Improve stub classes implementation - S8192987: keytool should remember real storetype if it is not provided - S8193409: Improve AES supporting classes - S8193419: Better Internet address support - S8193833: Better RMI connection support - S8193892: Impact of noncloneable MessageDigest implementation - S8194259: keytool error: java.io.IOException: Invalid secret key format - S8194534: Manifest better support - S8194546: Choosier FileManagers - S8195868: Address Internet Addresses - S8195874: Improve jar specification adherence - S8196224: Even better Internet address support - S8196491: Newlines in JAXB string values of SOAP-requests are escaped to " " - S8196663: [TESTBUG] test/compiler/loopopts/TestCMovSplitThruPhi.java fails on 32 bit Java - S8196897: Improve PRNG support - S8196902: Better HTTP redirection support - S8197030: Perf regression on all platforms with 8u171-b03 - early lambda use - S8197518: Kerberos krb5 authentication: AuthList's put method leads to performance issue - S8197871: Support Derby connections - S8197925: Better stack walking - S8198494: 8u171 and 8u172 - Build failure on non-SE Linux Platforms - S8198662: Incompatible internal API change in JDK8u161: signature of method exportObject() - S8198794: Hotspot crash on Cassandra 3.11.1 startup with libnuma 2.0.3 - S8198963: Fix new rmi property name - S8199001: [TESTBUG] RMIConnectionFilterTest.java test fails in compilation - S8199177: Enhance JNDI lookups - S8199226: Improve field accesses - S8199406: Performance drop with Java JDK 1.8.0_162-b32 - S8199547: Exception to Pattern Syntax - S8200359: (tz) Upgrade time-zone data to tzdata2018d - S8200666: Improve LDAP support - S8201756: Improve cipher inputs - S8202261, PR3638: (fc) FileChannel.map and RandomAccessFile.setLength should not preallocate space - S8202478: Backout JDK-8152974 - S8202613: Improve TLS connections stability - S8202936: Improve script engine support - S8203654: Improve cypher state updates - S8204497: Better formatting of decimals - S8204667: Resources not freed on exception - S8204874: Update THIRDPARYREADME file - S8205361: Better RIFF reading support - S8205491: adjust reflective access checks - S8206916: Remove jdk8u181-b31 tag from jdk8u181/corba repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/hotspot repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/jaxp repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/jaxws repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/jdk repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/langtools repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/nashorn repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181 repo - S8207336: Build failure in JDK8u on Windows after fix 8207260 - S8207838, PR3666: AArch64: Float registers incorrectly restored in JNI call - S8208350: Disable all DES cipher suites - S8208353: Upgrade JDK 8u to libpng 1.6.35 - S8208660: JDK 8u191 l10n resource file update - S8208754: The fix for JDK-8194534 needs updates - S8209415, PR3666: Fix JVMTI test failure HS202 - S8210431: Complete backport of libpng 1.6.35 TPRM - S8211064, PR3666: [AArch64] Interpreter and c1 don't correctly handle jboolean results in native calls - S8211107: LDAPS communication failure with jdk 1.8.0_181 - S8211731: Reconsider default option for ClassPathURLCheck change done in JDK-8195874 ChangeLog: 2018-12-19 Andrew John Hughes Bump to icedtea-3.10.0. * Makefile.am: (CORBA_CHANGESET): Update to icedtea-3.10.0 tag. (JAXP_CHANGESET): Likewise. (JAXWS_CHANGESET): Likewise. (JDK_CHANGESET): Likewise. (LANGTOOLS_CHANGESET): Likewise. (OPENJDK_CHANGESET): Likewise. (NASHORN_CHANGESET): Likewise. (CORBA_SHA256SUM): Likewise. (JAXP_SHA256SUM): Likewise. (JAXWS_SHA256SUM): Likewise. (JDK_SHA256SUM): Likewise. (LANGTOOLS_SHA256SUM): Likewise. (OPENJDK_SHA256SUM): Likewise. (NASHORN_SHA256SUM): Likewise. * NEWS: Updated. * acinclude.m4, (IT_DETERMINE_VERSION): Update JDK_UPDATE_VERSION to 191 and BUILD_VERSION to b12. * configure.ac: Bump to 3.10.0. * hotspot.map.in: Update to icedtea-3.10.0 tag. -- You are receiving this mail because: 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 Dec 25 01:12:55 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Dec 2018 01:12:55 +0000 Subject: [Bug 3655] [IcedTea8] Allow use of system crypto policy to be disabled by the user In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3655 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Andrew John Hughes --- Fixed in icedtea-3.10.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 Dec 25 01:12:57 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Dec 2018 01:12:57 +0000 Subject: [Bug 3618] [TRACKER] IcedTea 3.10.0 Release In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3618 Bug 3618 depends on bug 3655, which changed state. Bug 3655 Summary: [IcedTea8] Allow use of system crypto policy to be disabled by the user https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3655 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 Tue Dec 25 01:09:52 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Dec 2018 01:09:52 +0000 Subject: [Bug 3655] [IcedTea8] Allow use of system crypto policy to be disabled by the user In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3655 --- Comment #4 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8?cmd=changeset;node=2bbb77456fce author: Andrew John Hughes date: Thu Dec 20 04:39:13 2018 +0000 Bump to icedtea-3.10.0. Upstream changes: - PR3655: Allow use of system crypto policy to be disabled by the user - S8033251: Use DWARF debug symbols for Linux 32-bit as default - S8038636: speculative traps break when classes are redefined - S8049834: Two security tools tests do not run with only JRE - S8055008: Clean up code that saves the previous versions of redefined classes - S8057570: RedefineClasses() tests fail assert(((Metadata*)obj)->is_valid()) failed: obj is valid - S8068778: [TESTBUG] CompressedClassSpaceSizeInJmapHeap.java fails if SA not available - S8074373: NMT is not enabled if NMT option is specified after class path specifiers - S8074462: Handshake messages can be strictly ordered - S8076117: EndEntityChecker should not process custom extensions after PKIX validation - S8130132: jarsigner should emit warning if weak algorithms or keysizes are used - S8142927: Feed some text to STDIN in ProcessTools.executeProcess() - S8146115: Improve docker container detection and resource configuration usage - S8146377: test/sun/security/tools/jarsigner/concise_jarsigner.sh failing - S8152974: AWT hang occurrs when sequenced events arrive out of sequence - S8155627, PR3651: Enable SA on AArch64 - S8156137: SIGSEGV in ReceiverTypeData::clean_weak_klass_links - S8158887: sun/security/tools/jarsigner/concise_jarsigner.sh timed out - S8164480: Crash with assert(handler_address == SharedRuntime::compute_compiled_exc_handler(..) failed: Must be the same - S8168628: (fc) SIGBUS when extending file size to map it - S8170035: When determining the ciphersuite lists, there is no debug output for disabled suites. - S8171452: (ch) linux io_util_md: Operation not supported exception after 8168628 - S8172529: Use PKIXValidator in jarsigner - S8175075: Add 3DES to the default disabled algorithm security property - S8176072: READING attributes are not available on TSF - S8180289: jarsigner treats timestamped signed jar invalid after the signer cert expires - S8182362: Update CipherOutputStream Usage - S8183504: 8u131 Win 10, issue with wrong position of Sogou IME popup - S8186032: Disable XML Signatures signed with EC keys less than 224 bits - S8187045: [linux] Not all libraries in the VM are linked with -z,noexecstack - S8187577: JVM crash during gc doing concurrent marking - S8187635: On Windows Swing changes keyboard layout on a window activation - S8187803: JDK part of JavaFX-Swing dialogs appearing behind main stage - S8189762: [TESTBUG] Create tests for JDK-8146115 container awareness and resource configuration - S8189969: Manifest better manifest entries - S8189981: Improve queuing portability - S8189985: Improve tabular data portability - S8189993: Improve document portability - S8189997: Enhance keystore mechanisms - S8190674: sun/security/tools/jarsigner/TimestampCheck.java failed with java.nio.file.NoSuchFileException: ts2.cert - S8191239: Improve desktop file usage - S8191909: Nightly failures in nashorn suite - S8192025: Less referential references - S8192757: Improve stub classes implementation - S8192987: keytool should remember real storetype if it is not provided - S8193409: Improve AES supporting classes - S8193419: Better Internet address support - S8193833: Better RMI connection support - S8193892: Impact of noncloneable MessageDigest implementation - S8194259: keytool error: java.io.IOException: Invalid secret key format - S8194534: Manifest better support - S8194546: Choosier FileManagers - S8195868: Address Internet Addresses - S8195874: Improve jar specification adherence - S8196224: Even better Internet address support - S8196491: Newlines in JAXB string values of SOAP-requests are escaped to " " - S8196663: [TESTBUG] test/compiler/loopopts/TestCMovSplitThruPhi.java fails on 32 bit Java - S8196897: Improve PRNG support - S8196902: Better HTTP redirection support - S8197030: Perf regression on all platforms with 8u171-b03 - early lambda use - S8197518: Kerberos krb5 authentication: AuthList's put method leads to performance issue - S8197871: Support Derby connections - S8197925: Better stack walking - S8198494: 8u171 and 8u172 - Build failure on non-SE Linux Platforms - S8198662: Incompatible internal API change in JDK8u161: signature of method exportObject() - S8198794: Hotspot crash on Cassandra 3.11.1 startup with libnuma 2.0.3 - S8198963: Fix new rmi property name - S8199001: [TESTBUG] RMIConnectionFilterTest.java test fails in compilation - S8199177: Enhance JNDI lookups - S8199226: Improve field accesses - S8199406: Performance drop with Java JDK 1.8.0_162-b32 - S8199547: Exception to Pattern Syntax - S8200359: (tz) Upgrade time-zone data to tzdata2018d - S8200666: Improve LDAP support - S8201756: Improve cipher inputs - S8202261, PR3638: (fc) FileChannel.map and RandomAccessFile.setLength should not preallocate space - S8202478: Backout JDK-8152974 - S8202613: Improve TLS connections stability - S8202936: Improve script engine support - S8203654: Improve cypher state updates - S8204497: Better formatting of decimals - S8204667: Resources not freed on exception - S8204874: Update THIRDPARYREADME file - S8205361: Better RIFF reading support - S8205491: adjust reflective access checks - S8206916: Remove jdk8u181-b31 tag from jdk8u181/corba repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/hotspot repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/jaxp repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/jaxws repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/jdk repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/langtools repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/nashorn repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181 repo - S8207336: Build failure in JDK8u on Windows after fix 8207260 - S8207838, PR3666: AArch64: Float registers incorrectly restored in JNI call - S8208350: Disable all DES cipher suites - S8208353: Upgrade JDK 8u to libpng 1.6.35 - S8208660: JDK 8u191 l10n resource file update - S8208754: The fix for JDK-8194534 needs updates - S8209415, PR3666: Fix JVMTI test failure HS202 - S8210431: Complete backport of libpng 1.6.35 TPRM - S8211064, PR3666: [AArch64] Interpreter and c1 don't correctly handle jboolean results in native calls - S8211107: LDAPS communication failure with jdk 1.8.0_181 - S8211731: Reconsider default option for ClassPathURLCheck change done in JDK-8195874 ChangeLog: 2018-12-19 Andrew John Hughes Bump to icedtea-3.10.0. * Makefile.am: (CORBA_CHANGESET): Update to icedtea-3.10.0 tag. (JAXP_CHANGESET): Likewise. (JAXWS_CHANGESET): Likewise. (JDK_CHANGESET): Likewise. (LANGTOOLS_CHANGESET): Likewise. (OPENJDK_CHANGESET): Likewise. (NASHORN_CHANGESET): Likewise. (CORBA_SHA256SUM): Likewise. (JAXP_SHA256SUM): Likewise. (JAXWS_SHA256SUM): Likewise. (JDK_SHA256SUM): Likewise. (LANGTOOLS_SHA256SUM): Likewise. (OPENJDK_SHA256SUM): Likewise. (NASHORN_SHA256SUM): Likewise. * NEWS: Updated. * acinclude.m4, (IT_DETERMINE_VERSION): Update JDK_UPDATE_VERSION to 191 and BUILD_VERSION to b12. * configure.ac: Bump to 3.10.0. * hotspot.map.in: Update to icedtea-3.10.0 tag. -- You are receiving this mail because: 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 Dec 25 01:10:11 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Dec 2018 01:10:11 +0000 Subject: [Bug 3613] [IcedTea8] Backport "8207057: No debug info for assembler files" In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3613 --- Comment #5 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8?cmd=changeset;node=83f6789ece25 author: Andrew John Hughes date: Fri Dec 21 16:17:37 2018 +0000 Bump shenandoah to aarch64-shenandoah-jdk8u191-b13. Upstream fixes: - Fix code differences against shenandoah/jdk8u - S8033251: Use DWARF debug symbols for Linux 32-bit as default - S8038636: speculative traps break when classes are redefined - S8055008: Clean up code that saves the previous versions of redefined classes - S8057570: RedefineClasses() tests fail assert(((Metadata*)obj)->is_valid()) failed: obj is valid - S8068778: [TESTBUG] CompressedClassSpaceSizeInJmapHeap.java fails if SA not available - S8146115: Improve docker container detection and resource configuration usage - S8156137: SIGSEGV in ReceiverTypeData::clean_weak_klass_links - S8164480: Crash with assert(handler_address == SharedRuntime::compute_compiled_exc_handler(..) failed: Must be the same - S8187045: [linux] Not all libraries in the VM are linked with -z,noexecstack - S8187577: JVM crash during gc doing concurrent marking - S8189762: [TESTBUG] Create tests for JDK-8146115 container awareness and resource configuration - S8192025: Less referential references - S8196663: [TESTBUG] test/compiler/loopopts/TestCMovSplitThruPhi.java fails on 32 bit Java - S8198794: Hotspot crash on Cassandra 3.11.1 startup with libnuma 2.0.3 - S8199226: Improve field accesses - S8199406: Performance drop with Java JDK 1.8.0_162-b32 - S8204874: Update THIRDPARYREADME file - S8206916: Remove jdk8u181-b31 tag from jdk8u181/hotspot repo - S8207838: AArch64: Float registers incorrectly restored in JNI call - S8209415: Fix JVMTI test failure HS202 - S8210431: Complete backport of libpng 1.6.35 TPRM - S8211064: [AArch64] Interpreter and c1 don't correctly handle jboolean results in native calls ChangeLog: 2018-12-19 Andrew John Hughes Bump shenandoah to aarch64-shenandoah-jdk8u191-b13. * patches/hotspot/shenandoah/8146115-pr3508-rh1463098.patch: Removed as applied upstream. * Makefile.am: (ICEDTEA_PATCHES): Move 8146115 patch to AArch32-only. * NEWS: Updated. * hotspot.map.in: Bump shenandoah to aarch64-shenandoah-jdk8u191-b13. * patches/hotspot/aarch32/8146115-pr3508-rh1463098.patch: Symlink replaced with the actual patch as Shenandoah version no longer required. * patches/hotspot/aarch32/8207057-pr3613.patch: Likewise, as Shenandoah version has been altered. * patches/hotspot/shenandoah/8207057-pr3613.patch: Update to apply in context of 8033251 in updated Shenandoah bundle. -- You are receiving this mail because: 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 Dec 25 01:13:29 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Dec 2018 01:13:29 +0000 Subject: [Bug 3666] [IcedTea8] Add latest updates from AArch64 port for 3.10.0 In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3666 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Andrew John Hughes --- Fixed in icedtea-3.10.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 Dec 25 01:13:31 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Dec 2018 01:13:31 +0000 Subject: [Bug 3618] [TRACKER] IcedTea 3.10.0 Release In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3618 Bug 3618 depends on bug 3666, which changed state. Bug 3666 Summary: [IcedTea8] Add latest updates from AArch64 port for 3.10.0 https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3666 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 Tue Dec 25 01:10:21 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Dec 2018 01:10:21 +0000 Subject: [Bug 3508] [IcedTea8] Backport "8146115: Improve docker container detection and resource configuration usage" In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3508 --- Comment #7 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8?cmd=changeset;node=70bb86b124cc author: Andrew John Hughes date: Sun Dec 23 18:21:17 2018 +0000 Bump aarch32 to jdk8u191-b12-aarch32-181022. Upstream changes: - S8033251: Use DWARF debug symbols for Linux 32-bit as default - S8038636: speculative traps break when classes are redefined - S8055008: Clean up code that saves the previous versions of redefined classes - S8057570: RedefineClasses() tests fail assert(((Metadata*)obj)->is_valid()) failed: obj is valid - S8068778: [TESTBUG] CompressedClassSpaceSizeInJmapHeap.java fails if SA not available - S8146115: Improve docker container detection and resource configuration usage - S8156137: SIGSEGV in ReceiverTypeData::clean_weak_klass_links - S8164480: Crash with assert(handler_address == SharedRuntime::compute_compiled_exc_handler(..) failed: Must be the same - S8187045: [linux] Not all libraries in the VM are linked with -z,noexecstack - S8187577: JVM crash during gc doing concurrent marking - S8189762: [TESTBUG] Create tests for JDK-8146115 container awareness and resource configuration - S8192025: Less referential references - S8196663: [TESTBUG] test/compiler/loopopts/TestCMovSplitThruPhi.java fails on 32 bit Java - S8198794: Hotspot crash on Cassandra 3.11.1 startup with libnuma 2.0.3 - S8199226: Improve field accesses - S8199406: Performance drop with Java JDK 1.8.0_162-b32 - S8204874: Update THIRDPARYREADME file - S8206916: Remove jdk8u181-b31 tag from jdk8u181/hotspot repo - S8210431: Complete backport of libpng 1.6.35 TPRM ChangeLog: 2018-12-23 Andrew John Hughes Bump aarch32 to jdk8u191-b12-aarch32-181022. * patches/hotspot/aarch32/8146115-pr3508-rh1463098.patch: Removed, as now no longer needed on AArch32 either. * Makefile.am: (ICEDTEA_PATCHES): Remove 8146115 patch. * hotspot.map.in: Bump aarch32 to jdk8u191-b12-aarch32-181022. * patches/hotspot/aarch32/8207057-pr3613.patch: Reinstate symlink now aarch32 and shenandoah are both based on u191. -- You are receiving this mail because: 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 Dec 25 01:10:25 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Dec 2018 01:10:25 +0000 Subject: [Bug 3613] [IcedTea8] Backport "8207057: No debug info for assembler files" In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3613 --- Comment #6 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8?cmd=changeset;node=70bb86b124cc author: Andrew John Hughes date: Sun Dec 23 18:21:17 2018 +0000 Bump aarch32 to jdk8u191-b12-aarch32-181022. Upstream changes: - S8033251: Use DWARF debug symbols for Linux 32-bit as default - S8038636: speculative traps break when classes are redefined - S8055008: Clean up code that saves the previous versions of redefined classes - S8057570: RedefineClasses() tests fail assert(((Metadata*)obj)->is_valid()) failed: obj is valid - S8068778: [TESTBUG] CompressedClassSpaceSizeInJmapHeap.java fails if SA not available - S8146115: Improve docker container detection and resource configuration usage - S8156137: SIGSEGV in ReceiverTypeData::clean_weak_klass_links - S8164480: Crash with assert(handler_address == SharedRuntime::compute_compiled_exc_handler(..) failed: Must be the same - S8187045: [linux] Not all libraries in the VM are linked with -z,noexecstack - S8187577: JVM crash during gc doing concurrent marking - S8189762: [TESTBUG] Create tests for JDK-8146115 container awareness and resource configuration - S8192025: Less referential references - S8196663: [TESTBUG] test/compiler/loopopts/TestCMovSplitThruPhi.java fails on 32 bit Java - S8198794: Hotspot crash on Cassandra 3.11.1 startup with libnuma 2.0.3 - S8199226: Improve field accesses - S8199406: Performance drop with Java JDK 1.8.0_162-b32 - S8204874: Update THIRDPARYREADME file - S8206916: Remove jdk8u181-b31 tag from jdk8u181/hotspot repo - S8210431: Complete backport of libpng 1.6.35 TPRM ChangeLog: 2018-12-23 Andrew John Hughes Bump aarch32 to jdk8u191-b12-aarch32-181022. * patches/hotspot/aarch32/8146115-pr3508-rh1463098.patch: Removed, as now no longer needed on AArch32 either. * Makefile.am: (ICEDTEA_PATCHES): Remove 8146115 patch. * hotspot.map.in: Bump aarch32 to jdk8u191-b12-aarch32-181022. * patches/hotspot/aarch32/8207057-pr3613.patch: Reinstate symlink now aarch32 and shenandoah are both based on u191. -- You are receiving this mail because: 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 Dec 25 01:12:12 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Dec 2018 01:12:12 +0000 Subject: [Bug 3618] [TRACKER] IcedTea 3.10.0 Release In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3618 Bug 3618 depends on bug 3638, which changed state. Bug 3638 Summary: [IcedTea8] Backport "8202261: (fc) FileChannel.map and RandomAccessFile.setLength should not preallocate space" https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3638 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 Tue Dec 25 01:12:10 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Dec 2018 01:12:10 +0000 Subject: [Bug 3638] [IcedTea8] Backport "8202261: (fc) FileChannel.map and RandomAccessFile.setLength should not preallocate space" In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3638 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Andrew John Hughes --- Fixed in icedtea-3.10.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 Dec 25 01:12:23 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Dec 2018 01:12:23 +0000 Subject: [Bug 3618] [TRACKER] IcedTea 3.10.0 Release In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3618 Bug 3618 depends on bug 3651, which changed state. Bug 3651 Summary: [IcedTea8] Backport "8155627: Enable SA on AArch64" https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3651 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 Tue Dec 25 04:04:43 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Dec 2018 04:04:43 +0000 Subject: [Bug 3673] New: [IcedTea8] Alternate HotSpot builds need fix for bug 3094 Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3673 Bug ID: 3673 Summary: [IcedTea8] Alternate HotSpot builds need fix for bug 3094 Product: IcedTea Version: 3.x-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 The shenandoah and aarch32 HotSpot build fail when Zero is enabled because they do not include the fix for bug 3094: /builddir/build/BUILD/icedtea-3.10.0/openjdk/hotspot/src/cpu/zero/vm/vm_version_zero.cpp:40:29: error: no 'void VM_Version::initialize()' member function declared in class 'VM_Version' void VM_Version::initialize() { ^ gmake[7]: *** [vm_version_zero.o] Error 1 gmake[7]: *** Waiting for unfinished jobs.... gmake[7]: Leaving directory `/builddir/build/BUILD/icedtea-3.10.0/openjdk.build/hotspot/linux_s390_zero/product' gmake[6]: Leaving directory `/builddir/build/BUILD/icedtea-3.10.0/openjdk.build/hotspot/linux_s390_zero/product' -- You are receiving this mail because: 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 Dec 25 04:05:06 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Dec 2018 04:05:06 +0000 Subject: [Bug 3673] [IcedTea8] Alternate HotSpot builds need fix for bug 3094 In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3673 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Blocks| |3618 Target Milestone|--- |3.10.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 Dec 25 04:05:06 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 25 Dec 2018 04:05:06 +0000 Subject: [Bug 3618] [TRACKER] IcedTea 3.10.0 Release In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3618 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |3673 -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gnu_andrew at member.fsf.org Wed Dec 26 04:15:08 2018 From: gnu_andrew at member.fsf.org (Andrew Hughes) Date: Wed, 26 Dec 2018 04:15:08 +0000 Subject: [SECURITY] IcedTea 3.10.0 for OpenJDK 8 Released! Message-ID: <20181226041508.GA29019@carrie.the212.com> We are pleased to announce the release of IcedTea 3.10.0! The IcedTea project provides a harness to build the source code from OpenJDK using Free Software build tools, along with additional features such as the ability to build against system libraries and support for alternative virtual machines and architectures beyond those supported by OpenJDK. This release updates our OpenJDK 8 support with the October 2018 security fixes from OpenJDK 8 u191. If you find an issue with the release, please report it to our bug database (http://icedtea.classpath.org/bugzilla) under the appropriate component. Development discussion takes place on the distro-pkg-dev at openjdk.java.net mailing list and patches are always welcome. Full details of the release can be found below. What's New? =========== New in release 3.10.0 (2018-12-25): * Security fixes - S8194534, CVE-2018-3136: Manifest better support - S8194546: Choosier FileManagers - S8195868: Address Internet Addresses - S8195874: Improve jar specification adherence - S8196897: Improve PRNG support - S8196902, CVE-2018-3139: Better HTTP redirection support - S8199177, CVE-2018-3149: Enhance JNDI lookups - S8199226, CVE-2018-3169: Improve field accesses - S8201756: Improve cipher inputs - S8202613, CVE-2018-3180: Improve TLS connections stability - S8202936, CVE-2018-3183: Improve script engine support - S8203654: Improve cypher state updates - S8204497: Better formatting of decimals - S8205361, CVE-2018-3214: Better RIFF reading support - S8208353, CVE-2018-13785: Upgrade JDK 8u to libpng 1.6.35 - PR3639, CVE-2018-16435: lcms2: heap-based buffer overflow in SetData function in cmsIT8LoadFromFile * New features - PR3655: Allow use of system crypto policy to be disabled by the user * Import of OpenJDK 8 u191 build 12 - S8033251: Use DWARF debug symbols for Linux 32-bit as default - S8049834: Two security tools tests do not run with only JRE - S8074462: Handshake messages can be strictly ordered - S8130132: jarsigner should emit warning if weak algorithms or keysizes are used - S8142927: Feed some text to STDIN in ProcessTools.executeProcess() - S8146377: test/sun/security/tools/jarsigner/concise_jarsigner.sh failing - S8152974: AWT hang occurrs when sequenced events arrive out of sequence - S8158887: sun/security/tools/jarsigner/concise_jarsigner.sh timed out - S8164480: Crash with assert(handler_address == SharedRuntime::compute_compiled_exc_handler(..) failed: Must be the same - S8168628: (fc) SIGBUS when extending file size to map it - S8171452: (ch) linux io_util_md: Operation not supported exception after 8168628 - S8172529: Use PKIXValidator in jarsigner - S8180289: jarsigner treats timestamped signed jar invalid after the signer cert expires - S8189762: [TESTBUG] Create tests for JDK-8146115 container awareness and resource configuration - S8190674: sun/security/tools/jarsigner/TimestampCheck.java failed with java.nio.file.NoSuchFileException: ts2.cert - S8193892: Impact of noncloneable MessageDigest implementation - S8196663: [TESTBUG] test/compiler/loopopts/TestCMovSplitThruPhi.java fails on 32 bit Java - S8197518: Kerberos krb5 authentication: AuthList's put method leads to performance issue - S8202478: Backout JDK-8152974 - S8204667: Resources not freed on exception - S8206916: Remove jdk8u181-b31 tag from jdk8u181/corba repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/hotspot repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/jaxp repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/jaxws repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/jdk repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/langtools repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181/nashorn repo - S8206916: Remove jdk8u181-b31 tag from jdk8u181 repo - S8207336: Build failure in JDK8u on Windows after fix 8207260 - S8208350: Disable all DES cipher suites - S8208660: JDK 8u191 l10n resource file update - S8208754: The fix for JDK-8194534 needs updates - S8210431: Complete backport of libpng 1.6.35 TPRM - S8211107: LDAPS communication failure with jdk 1.8.0_181 - S8211731: Reconsider default option for ClassPathURLCheck change done in JDK-8195874 * Backports - PR3646: Backed out changeset 6e3f4784affc (S4890063/PR2304/RH1214835) - S8029661, PR3642, RH1477159: Support TLS v1.2 algorithm in SunPKCS11 provider - S8131048, PR3574, RH1498936: ppc implement CRC32 intrinsic - S8164920, PR3574, RH1498936: ppc: enhancement of CRC32 intrinsic - S8172850, PR3643, RH1640127: Anti-dependency on membar causes crash in register allocator due to invalid instruction scheduling - S8202261, PR3638: (fc) FileChannel.map and RandomAccessFile.setLength should not preallocate space - S8209639, PR3643, RH1640127: assert failure in coalesce.cpp: attempted to spill a non-spillable item * Bug fixes - PR3653: Detect whether -Xprefer:source and -J-Xmx can be used, rather than assuming - PR3673: Alternate HotSpot builds need fix for PR3094 * SystemTap - PR3625: arc_priority representation creates an implicit limit on character sequence within regexp * Shenandoah - PR3634: Shenandoah still broken on s390 with aarch64-shenandoah-jdk8u181-b16 - [backport] Adaptive CSet selection overshoots max-CSet - [backport] Adaptive CSet selection selects excessively when memory is tight - [backport] Adaptive/Traversal heuristics rewrite for allocation rate - [backport] Added logging for the number of workers used for GC cycles - [backport] Add task termination and enhanced task queue state tracking + weakrefs - [backport] Allocation path should not touch GC barriers for metadata - [backport] Allocation tracker should really report bytes - [backport] AlwaysPreTouch fails with non-default ConcGCThreads - [backport] Application pacing precision fixes - [backport] Apply ShenandoahEvacOOMScope only for evac-taking paths in ShenandoahBarrierSet - [backport] Assembler write barriers should consistently check for forwarded objects - [backport] Avoid indirection to next-mark-context - [backport] Avoid using uintx in ShenandoahHeapRegion - [backport] C1 shenandoah_wb expects obj in a register - [backport] Check and ensure that Shenandoah-enabled compilations succeed - [backport] Check heap stability in C1 WBs - [backport] ClassUnloadingWithConcurrentMark should be opt-in with Shenandoah - [backport] Clean up obsolete c2 code - [backport] Cleanup: remove unused root processor's sub tasks - [backport] Cleanup UseShenandoahOWST blocks - [backport] CollectedHeap::max_tlab_size is measured in words - [backport] Complete liveness for recently allocated regions outside the allocation path - [backport] Comprehensible GC trigger logging - [backport] Concurrent uncommit should be recorded as GC event - [backport] Constify ShHeapRegionSet and ShCollectionSet - [backport] Convert magic value to ShenandoahPacingSurcharge - [backport] Default to ShenandoahCodeRootsStyle = 2 - [backport] Degenerated evacuation - [backport] Disable UseFastJNIAccessors for Shenandoah - [backport] Elastic TLABs support for Shenandoah - [backport] Enable ShenandoahEvacReserveOverflow by default - [backport] Evac assist should touch marked objects only - [backport] Evac reserve: make sure GC has untouchable space to move the objects into - [backport] EvilSyncBug test is too slow - [backport] Explicit GC should actually uncommit the heap - [backport] Exponential backoff with pacing - [backport] Fix aarch64 CAS predicates - [backport] Fix CAS-obj predicates and add expected-null-versions for cmpxchg-narrow-oop - [backport] Fixed SA due to code refactoring and merging - [backport] Fix Minimal and Zero builds - [backport] Fix ShHeap::notify_alloc usages: it accepts words, not bytes - [backport] Fix TestCommonGCLoads test - [backport] Fix TestFullGCALot test failure - [backport] Fix TestGCThreadGroups test - [backport] Forceful SATB buffer flushes should be time-periodic, not traffic-dependent - [backport] Full GC always comes with liveness data - [backport] Full GC should not always update references - [backport] GCLAB slowpath allocations should fit the object into GCLAB - [backport] GC trace messages have to be immortal - [backport] Handle missing ShenandoahWriteBarrierRB case - [backport] Heap region count selection should only consider max heap size - [backport] Hook up GCLABs to Elastic LAB support - [backport] Improve scheduling and interleaving of SATB processing in mark loop - [backport] Including metaspace info when reporting heap info - [backport] Incorrect label for static heuristics - [backport] Make in-cset checks use signed bytes to match C2 better - [backport] Micro-optimize AArch64 assembly write-barriers - [backport] Missing Shenandoah entry in GCNameHelper::to_string - [backport] More detailed pacing histogram - [backport] More verbose profiling for phase 4 in mark-compact - [backport] Move heuristics from ShCollectorPolicy to ShHeap - [backport] Move (Java)Thread::_gc_state to lower offset to optimize barrier fast-path encoding - [backport] Move ParallelCodeIterator to ShenandoahCodeRoots - [backport] Move periodic GC decision making to GC heuristics base class - [backport] Move Shenandoah stress tests to tier3 - [backport] Non-cancellable mark loops should have sensible stride - [backport] Off-by-one error in degen progress calculation - [backport] Only Java and GC worker threads should get GCLABs - [backport] Out-of-cycle Degenerated GC should process references and unload classes - [backport] Pacer for evacuation should print "Avail" to capture discounting - [backport] Pacer should account actual size for elastic TLABs - [backport] Parallel +AlwaysPreTouch should run with max workers - [backport] Passive heuristics should enter degen GC, not full GC - [backport] Perform gc-state checks with LoadB to fit C2 matchers - [backport] Pre-filter oops before enqueing them in SBS slowpaths - [backport] Print task queue statistics at the end of GC cycle - [backport] Process remaining SATB buffers in final mark/traverse loop instead of separate phase - [backport] Proper units for allocation failure messages - [backport] Prune undefined and unused methods - [backport] Purge partial heuristics and connection matrix infrastructure - [backport] Purge support for ShenandoahConcurrentEvacCodeRoots and ShenandoahBarriersForConst - [backport] Rearrange Shenandoah tests into 3 tiers - [backport] Reclaim immediate garbage after mark-compact marking - [backport] Recycle the regions only once - [backport] Refactor alive-closures to deal better with new marking contexts - [backport] Refactor allocation path to accept ShenandoahAllocRequest tuple - [backport] Refactor and improve ShenandoahCodeRoots strategies - [backport] Refactor FreeSet logging: support evac-reserve, denser printouts - [backport] Refactor gc+init logging - [backport] Refactoring ShenandoahStrDedupStress test to reduce test time - [backport] Refactor to group marking bitmap and TAMS structure in one class ShenandoahMarkingContext - [backport] Remove C2 write-barrier from .ad files - [backport] Removed racy assertion - [backport] Remove NMethodSizeLimit adjustment for Shenandoah - [backport] Remove obsolete/unused logging usages - [backport] Remove safe_equals() - [backport] Remove ShHeuristics::print_threshold - [backport] Rename and move ShenandoahPrepareForMarkClosure - [backport] Rename "cancel_concgc" to "cancel_gc" - [backport] Replace custom asserts with shenandoah_assert_* - [backport] Replace risky SBS::need_update_refs_barrier with straightforward check - [backport] Replace ShBarrierSet* casts with accessor - [backport] Report actual free size in non-verbose FreeSet status - [backport] Report heap region stats in proper units - [backport] Resettable iterators to avoid dealing with copying/assignment compilation differences - [backport] Reshuffle tests: verify STW GC is working first, then verify under aggressive, then the rest - [backport] Rework ClassUnloading* flags handling - [backport] Rework GC degradation on allocation failure - [backport] SATB buffer filtering/compaction hides unmarked objects until final-mark - [backport] shenandoah_assert_correct should check object/forwardee klasses - [backport] shenandoah_assert_correct should verify classes before claiming _safe_oop - [backport] Shenandoah changes to allow enabling -Wreorder - [backport] Shenandoah/PPC barrier stubs - [backport] Shenandoah string deduplication - [backport] SH::make_(tlabs)_parsable() should work correctly with/without TLABs - [backport] Shortcut regions that are known not to be alive - [backport] Should cleanup previous/bad versions of redefined classes during full gc - [backport] Skip RESOLVE in SATBBufferClosure if no forwarded objects are in heap - [backport] Soft-refs policy needs reliable heap usage data after the GC cycle - [backport] Soft refs should be purged reliably on allocation failure, or with compact heuristics - [backport] Some trivial-ish cleanups - [backport] Split write barrier paths for mutator and GC workers - [backport] StringInternCleanup times out - [backport] TestHeapDump runs much faster with small heap - [backport] Tests should use -XX:+ShenandoahVerify in some OOM-evac configurations - [backport] TLAB sizing policy should converge faster with Shenandoah - [backport] Trace and report total allocation latency and sizes - [backport] Traversal should resize TLABs - [backport] Trivial enhancement to avoid costly deletion array element - [backport] Uncommit should relinquish the heap lock regularly - [backport] Unreachable assert in ShenandoahCodeRoots::acquire_lock - [backport] Verifier should dump raw memory around the problematic oops - [backport] Verify global and local gc-state status - [backport] VSC++ requires space(s) in between two string literals - [backport] WB slowpath should assist with evacuation of adjacent objects - [backport] Wiring GC events to JFR + Restore heap occupancy in GC logs after JFR changes - [backport] Wiring heap and metaspace info to JFR - [backport] Wrap worker id in thread local worker session - [backport] -XX:-UseTLAB should disable GCLABs too - Cleanup undeclared methods in barrier stubs - Disable evac assist by default until bugfixes arrive - Fix build failure: signedness mismatch in assert - Fix MacOS/Clang build failure - Fix x86_32 build - JDK8u: Silence compilation warnings on implicit type conversion - Move JNI Weak References workaround to Shenandoah-specific root processor - Fix code differences against shenandoah/jdk8u * AArch64 port - S8155627, PR3651: Enable SA on AArch64 - S8207838, PR3666: AArch64: Float registers incorrectly restored in JNI call - S8209415, PR3666: Fix JVMTI test failure HS202 - S8211064, PR3666: [AArch64] Interpreter and c1 don't correctly handle jboolean results in native calls The tarballs can be downloaded from: * http://icedtea.classpath.org/download/source/icedtea-3.10.0.tar.gz * http://icedtea.classpath.org/download/source/icedtea-3.10.0.tar.xz We provide both gzip and xz tarballs, so that those who are able to make use of the smaller tarball produced by xz may do so. The tarballs are accompanied by digital signatures available at: * http://icedtea.classpath.org/download/source/icedtea-3.10.0.tar.gz.sig * http://icedtea.classpath.org/download/source/icedtea-3.10.0.tar.xz.sig These are produced using my public key. See details below. PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net) Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222 GnuPG >= 2.1 is required to be able to handle this key. SHA256 checksums: e3fbcaef960971add75d7e4cf7b0a994185672f68fcb4f97b1f61a66a71ef027 icedtea-3.10.0.tar.gz 9365e58bd6455ea911a1e97b31219b1a4b27c31e9d760e697eff325a2a8bb30f icedtea-3.10.0.tar.gz.sig ac4c5ec996555db6b4943e3849afc72ba2504b14c7d443cded68dd7d7e0055f9 icedtea-3.10.0.tar.xz 39d50c4dafc7eb33d55bcf7eb5752041ba736271b00f095e64de26aeef4908dd icedtea-3.10.0.tar.xz.sig The checksums can be downloaded from: * http://icedtea.classpath.org/download/source/icedtea-3.10.0.sha256 The following people helped with these releases: * Severin Gehwolf (PR3625) * Andrew Hughes (all other bug fixes and backports, release management) We would also like to thank the bug reporters and testers! To get started: $ tar xzf icedtea-3.10.0.tar.gz or: $ tar x -I xz -f icedtea-3.10.0.tar.xz then: $ mkdir icedtea-build $ cd icedtea-build $ ../icedtea-3.10.0/configure $ make Full build requirements and instructions are available in the INSTALL file. Happy hacking & happy holidays! -- 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 228 bytes Desc: not available URL: From jtesdall at mapcon.com Wed Dec 26 18:15:47 2018 From: jtesdall at mapcon.com (jtesdall) Date: Wed, 26 Dec 2018 11:15:47 -0700 (MST) Subject: Update on Windows shortcut features for ITW In-Reply-To: References: <1544488405870-0.post@n7.nabble.com> <1544643566268-0.post@n7.nabble.com> Message-ID: <1545848147890-0.post@n7.nabble.com> I have my changes complete for now. I have attached a zip file with my changed .java classes and the new mslinks.jar needded to create windows shortcuts. I have also included the original unchanged source code in the original directory. MAPCONIcedTeaSRCChanges.zip Jiri, you may want to change the way I have done some things as it pertains to ITW. What I have seems to work well though. I have done quite a bit of testing and will be doing substantially more in the coming weeks in my office. I am hoping to have this in production by Jan 15th. Would you please do whatever is needed to submit these as changesets and test on linux to make sure I didn't break anything there? Note: The reason my netx.jar would not work after copying in boot.class is that the jar struccturre had changed at some point and added a whole directory of classes net\sourceforge\swing. Once I copied in those classes I could create a my own jar by replacing classes once again. Here is what I have done as it pertains to each class: *changed in runtime\ApplicationInstance.java* many changes to add windows shortcut to desktop and add Start menu item taken from JNLP. This menu has the app shortcut and an uninstall shortcut. added new library mslinks to create windows shortcuts since they are in a binary format. favicon.ico from apps root is downloaded and cached and used for shortcut ico, if none is present it will not have a pretty icon *changed in cache\CacheUtil.java* added code to delete shortcut and menu subdir in clearcache added overload function for clearcache to delete one app at a time from cache instead of clearing the whole thing *changed in runtime\Boot.class* added code to allow passing a parameter to -xclearcache with parameter of jnlpPath to remove one app from cache. This was needed to allow a Windows App uninstall shortcut. If no parameter is passed all of the chache is cleared as was normal before my change. This was done in init function. *changed in cache\ResourceDownloader.class* add new parameter jnlpPath to .info file so files can be found by jnlp. This allows clearcache to mark one applications files for deletion so a later call to cleancache works and actually deletes the files correctly. added these lines String jnlpPath = JNLPRuntime.getInitialArguments().get(1).toString(); entry.setJnlpPath(jnlpPath); *changed in cache\CacheEntry.class* added setJnlpPath(jnlpPath) function to add jnlpPath to .info files as needed by ResourceDownloader above. *changed in resources\Messages.properties* improved english for some messages -- Sent from: http://openjdk.5641.n7.nabble.com/OpenJDK-Distribution-specific-Packaging-f25548.html From bugzilla-daemon at icedtea.classpath.org Wed Dec 26 20:09:37 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Dec 2018 20:09:37 +0000 Subject: [Bug 3673] [IcedTea8] Alternate HotSpot builds need fix for bug 3094 In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3673 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8?cmd=changeset;node=1d016c70f634 author: Andrew John Hughes date: Tue Dec 25 04:40:36 2018 +0000 PR3673: Alternate HotSpot builds need fix for PR3094 2018-12-24 Andrew John Hughes PR3673: Alternate HotSpot builds need fix for PR3094 * Makefile.am: (ICEDTEA_PATCHES): Add 8078504/PR3094 fix. * NEWS: Updated. * patches/hotspot/aarch32/8078504-pr3094.patch: Symlink to Shenandoah version. * patches/hotspot/shenandoah/8078504-pr3094.patch: Add fix for JDK-8078504/PR3094. -- You are receiving this mail because: 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 Dec 26 20:09:56 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Dec 2018 20:09:56 +0000 Subject: [Bug 3653] [IcedTea8] Detect whether -Xprefer:source and -J-Xmx can be used, rather than assuming In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3653 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8?cmd=changeset;node=a7607c98a59c author: Andrew John Hughes date: Tue Dec 25 22:47:20 2018 +0000 PR3653: Detect whether -Xprefer:source and -J-Xmx can be used, rather than assuming 2018-11-23 Andrew John Hughes PR3653: Detect whether -Xprefer:source and -J-Xmx can be used, rather than assuming * Makefile.am: (PREFER_SOURCE): Define if COMPILER_SUPPORTS_XPREFERSOURCE is set by configure. (MEMORY_LIMIT): Define if COMPILER_SUPPORTS_MAX_HEAP_SIZE is set by configure. * NEWS: Updated. * acinclude.m4: (IT_DIAMOND_CHECK): Use 'the Java compiler' rather than 'javac' to avoid confusion with the OpenJDK command. (IT_JAVAC_OPTIONS_CHECK): Check whether the selected Java compiler supports -Xprefer:source and -J-Xmx. * configure.ac: Invoke IT_JAVAC_OPTIONS_CHECK. -- You are receiving this mail because: 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 Dec 26 20:09:43 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 26 Dec 2018 20:09:43 +0000 Subject: [Bug 3094] [IcedTea8] Zero lacks declaration of VM_Version::initialize() In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3094 --- Comment #5 from hg commits --- details: http://icedtea.classpath.org//hg/icedtea8?cmd=changeset;node=1d016c70f634 author: Andrew John Hughes date: Tue Dec 25 04:40:36 2018 +0000 PR3673: Alternate HotSpot builds need fix for PR3094 2018-12-24 Andrew John Hughes PR3673: Alternate HotSpot builds need fix for PR3094 * Makefile.am: (ICEDTEA_PATCHES): Add 8078504/PR3094 fix. * NEWS: Updated. * patches/hotspot/aarch32/8078504-pr3094.patch: Symlink to Shenandoah version. * patches/hotspot/shenandoah/8078504-pr3094.patch: Add fix for JDK-8078504/PR3094. -- 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 Dec 26 21:49:11 2018 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 26 Dec 2018 21:49:11 +0000 Subject: /hg/icedtea8-forest/corba: Added tag icedtea-3.10.0 for changese... Message-ID: changeset 009a3df268f2 in /hg/icedtea8-forest/corba details: http://icedtea.classpath.org/hg/icedtea8-forest/corba?cmd=changeset;node=009a3df268f2 author: andrew date: Wed Dec 26 20:08:53 2018 +0000 Added tag icedtea-3.10.0 for changeset 8249f00d6619 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 8249f00d6619 -r 009a3df268f2 .hgtags --- a/.hgtags Wed Nov 21 04:58:26 2018 +0000 +++ b/.hgtags Wed Dec 26 20:08:53 2018 +0000 @@ -1017,3 +1017,4 @@ e2d809469547b966baf281536fec470c3e8bec0d jdk8u191-b10 eb6c977b6e6c07093fc950c8028cf97257610793 jdk8u191-b25 328c9a87dce0b28b85433fc040f9beeedb4bfb10 jdk8u191-b11 +8249f00d66194b1785a7c761cff1583303b6b6c0 icedtea-3.10.0 From andrew at icedtea.classpath.org Wed Dec 26 21:49:21 2018 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 26 Dec 2018 21:49:21 +0000 Subject: /hg/icedtea8-forest/jaxp: Added tag icedtea-3.10.0 for changeset... Message-ID: changeset c51cc92b4cb4 in /hg/icedtea8-forest/jaxp details: http://icedtea.classpath.org/hg/icedtea8-forest/jaxp?cmd=changeset;node=c51cc92b4cb4 author: andrew date: Wed Dec 26 20:08:54 2018 +0000 Added tag icedtea-3.10.0 for changeset a1b060ef4f06 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r a1b060ef4f06 -r c51cc92b4cb4 .hgtags --- a/.hgtags Wed Nov 21 04:58:27 2018 +0000 +++ b/.hgtags Wed Dec 26 20:08:54 2018 +0000 @@ -981,3 +981,4 @@ a41e15076d5f67d99aaa37991decb9b38e658c89 jdk8u191-b10 798d69bfddf8e5608697d45aa114a4ab54efe8ad jdk8u191-b25 fd65844e4d543242337923f528fe9f7f52171f74 jdk8u191-b11 +a1b060ef4f063bc3dddc35a3dcbf6b6efacfb272 icedtea-3.10.0 From andrew at icedtea.classpath.org Wed Dec 26 21:49:30 2018 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 26 Dec 2018 21:49:30 +0000 Subject: /hg/icedtea8-forest/jaxws: Added tag icedtea-3.10.0 for changese... Message-ID: changeset 4d8e98e1a05f in /hg/icedtea8-forest/jaxws details: http://icedtea.classpath.org/hg/icedtea8-forest/jaxws?cmd=changeset;node=4d8e98e1a05f author: andrew date: Wed Dec 26 20:08:56 2018 +0000 Added tag icedtea-3.10.0 for changeset c0f01861a7fd diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r c0f01861a7fd -r 4d8e98e1a05f .hgtags --- a/.hgtags Wed Nov 21 04:58:29 2018 +0000 +++ b/.hgtags Wed Dec 26 20:08:56 2018 +0000 @@ -975,3 +975,4 @@ 9f2a9efa1739dca8e522ba03ad309318b2d66daf jdk8u191-b10 f1c4301a31a34fbed4c9ce115313340dfdd921be jdk8u191-b25 0299e5e837b8aa7b5a65b306eaadc7095df38211 jdk8u191-b11 +c0f01861a7fd299924e712c7f8eb3c353533461b icedtea-3.10.0 From andrew at icedtea.classpath.org Wed Dec 26 21:49:40 2018 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 26 Dec 2018 21:49:40 +0000 Subject: /hg/icedtea8-forest/langtools: Added tag icedtea-3.10.0 for chan... Message-ID: changeset c37577664482 in /hg/icedtea8-forest/langtools details: http://icedtea.classpath.org/hg/icedtea8-forest/langtools?cmd=changeset;node=c37577664482 author: andrew date: Wed Dec 26 20:08:58 2018 +0000 Added tag icedtea-3.10.0 for changeset 7036a6fa432e diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 7036a6fa432e -r c37577664482 .hgtags --- a/.hgtags Wed Nov 21 04:58:33 2018 +0000 +++ b/.hgtags Wed Dec 26 20:08:58 2018 +0000 @@ -982,3 +982,4 @@ 5e9e2a958660fddff8a27bc567fc0dff9d86fefe jdk8u191-b10 394de93b280cb1d578614788dc229299bd5d12a5 jdk8u191-b25 f3f92df0a2947114b87b4a0934f7e8db7c7d274f jdk8u191-b11 +7036a6fa432ecc31132e6ff3a7ea7529c994fc57 icedtea-3.10.0 From andrew at icedtea.classpath.org Wed Dec 26 21:49:49 2018 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 26 Dec 2018 21:49:49 +0000 Subject: /hg/icedtea8-forest/hotspot: Added tag icedtea-3.10.0 for change... Message-ID: changeset 60eedbcc4288 in /hg/icedtea8-forest/hotspot details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=60eedbcc4288 author: andrew date: Wed Dec 26 20:09:02 2018 +0000 Added tag icedtea-3.10.0 for changeset 4e4ead43a282 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 4e4ead43a282 -r 60eedbcc4288 .hgtags --- a/.hgtags Tue Nov 13 11:21:32 2018 -0500 +++ b/.hgtags Wed Dec 26 20:09:02 2018 +0000 @@ -1263,3 +1263,4 @@ c0bd247ecd1cd09a129040e3fa1745c64db43b35 jdk8u191-b10 055e1c867479452dd5d8c08905f7475aab25fcc1 jdk8u191-b25 12e4de4b2499e9d9a1ae4fb0b63ca277cca150f4 jdk8u191-b11 +4e4ead43a282e8ef9fcd4ea7cfc56b0a9760d9af icedtea-3.10.0 From andrew at icedtea.classpath.org Wed Dec 26 21:50:00 2018 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 26 Dec 2018 21:50:00 +0000 Subject: /hg/icedtea8-forest/jdk: Added tag icedtea-3.10.0 for changeset ... Message-ID: changeset e5c17cfa6af3 in /hg/icedtea8-forest/jdk details: http://icedtea.classpath.org/hg/icedtea8-forest/jdk?cmd=changeset;node=e5c17cfa6af3 author: andrew date: Wed Dec 26 20:08:57 2018 +0000 Added tag icedtea-3.10.0 for changeset 6e67500d0ed8 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 6e67500d0ed8 -r e5c17cfa6af3 .hgtags --- a/.hgtags Fri Oct 05 14:05:02 2018 -0700 +++ b/.hgtags Wed Dec 26 20:08:57 2018 +0000 @@ -987,3 +987,4 @@ 0f52237f12920603bba74cbfb337e4657a4f8217 jdk8u191-b10 af544b6bf744cddf59121f40dbf4e0ec0a2533b2 jdk8u191-b25 5eaf8c860c22512b8b5c82cdcdca8ddd4a99e754 jdk8u191-b11 +6e67500d0ed8d970fb5cd9f6deee42e38af707fb icedtea-3.10.0 From andrew at icedtea.classpath.org Wed Dec 26 21:50:09 2018 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Wed, 26 Dec 2018 21:50:09 +0000 Subject: /hg/icedtea8-forest/nashorn: Added tag icedtea-3.10.0 for change... Message-ID: changeset 875a4cd63571 in /hg/icedtea8-forest/nashorn details: http://icedtea.classpath.org/hg/icedtea8-forest/nashorn?cmd=changeset;node=875a4cd63571 author: andrew date: Wed Dec 26 20:09:01 2018 +0000 Added tag icedtea-3.10.0 for changeset 6cf21321f367 diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff -r 6cf21321f367 -r 875a4cd63571 .hgtags --- a/.hgtags Wed Nov 21 04:58:38 2018 +0000 +++ b/.hgtags Wed Dec 26 20:09:01 2018 +0000 @@ -1013,3 +1013,4 @@ 0fcd632be9e7a67f17002adab0a9a03373f5c481 jdk8u191-b10 3388cb0fad9c8654cd6499835cbc190c8dbf2441 jdk8u191-b25 e6205ecef830a71d73a14d1f18765cf4c3ac7773 jdk8u191-b11 +6cf21321f3674c4806cd2c911255f976f024db0d icedtea-3.10.0 From bugzilla-daemon at icedtea.classpath.org Thu Dec 27 08:26:46 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Dec 2018 08:26:46 +0000 Subject: [Bug 3672] Classloader doesn't load jar correctly from JNLP extension In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3672 --- Comment #5 from JiriVanek --- ugh. I have not yet checked my inbox since Christmas, but can reproducer be narrowed? best what i can imagine is two jars reprodcuer one withmain class, second with one resource. You already know best what is the issue in your application. But of course once axis is in play, some cstom classlaoder hierarchy can be in play. -- You are receiving this mail because: 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 Dec 27 08:29:42 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Dec 2018 08:29:42 +0000 Subject: [Bug 3660] Exception throw when trying to initialize com.sun.crypto.provider.DHKeyPairGenerator In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3660 --- Comment #2 from JiriVanek --- Was this regression against jdk lower then 191? -- You are receiving this mail because: 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 Dec 27 09:40:26 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Dec 2018 09:40:26 +0000 Subject: [Bug 3461] Cannot run HP ILO4 remote console application In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3461 --- Comment #26 from JiriVanek --- Can the reproducer be made more direct? - jnlp file is invlaid (have private ip included) - can it be rune mitmproxy-less? - I think yes, as it loaded for me, with python -m SimpleHTTPServer after * copying jnlp into server * changing https://10... to http://localhost:8000 - Can it be done https-less? - I think no, as it dies for me in app itself [1] after `sh ~/icedtea-web-image/bin/javaws.sh http://localhost:8000/iLO-jirc.jnlp ` - I will try with pyth's https wrapper later [1] javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:710) at sun.security.ssl.InputRecord.read(InputRecord.java:527) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:162) at com.hp.ilo2.intgapp.jsonparser.getJSONRequest(jsonparser.java:185) at com.hp.ilo2.intgapp.intgapp.init(intgapp.java:105) -- You are receiving this mail because: 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 Dec 27 11:38:43 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Dec 2018 11:38:43 +0000 Subject: [Bug 3461] Cannot run HP ILO4 remote console application In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3461 --- Comment #27 from Arano-kai --- This setup for mitmproxy replay only, that is private ips and https involved as recorded by mitmproxy itself at local environment. If You want move to local http(s) server to reproduce, that will require to extract required files/flows from replay (already done to `./server`) some editing to jnlp (`sed -i 's^https://10.110.4.18^localhost:4443^g' ./iLO-jirc.jnlp`) and https server (https://gist.github.com/dergachev/7028596). -- You are receiving this mail because: 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 Dec 27 11:56:55 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Dec 2018 11:56:55 +0000 Subject: [Bug 3461] Cannot run HP ILO4 remote console application In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3461 --- Comment #28 from Arano-kai --- Created attachment 1714 --> https://icedtea.classpath.org/bugzilla/attachment.cgi?id=1714&action=edit iLO3_1.90 mitmproxy replay, launched from icedtea and oracle Just visualizing our goal. -- You are receiving this mail because: 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 Dec 28 21:01:21 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Dec 2018 21:01:21 +0000 Subject: [Bug 3618] [TRACKER] IcedTea 3.10.0 Release In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3618 Bug 3618 depends on bug 3653, which changed state. Bug 3653 Summary: [IcedTea8] Detect whether -Xprefer:source and -J-Xmx can be used, rather than assuming https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3653 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 Dec 28 21:03:26 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Dec 2018 21:03:26 +0000 Subject: [Bug 3673] [IcedTea8] Alternate HotSpot builds need fix for bug 3094 In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3673 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Andrew John Hughes --- Fixed in icedtea-3.10.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 Dec 28 21:03:30 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Dec 2018 21:03:30 +0000 Subject: [Bug 3618] [TRACKER] IcedTea 3.10.0 Release In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3618 Bug 3618 depends on bug 3673, which changed state. Bug 3673 Summary: [IcedTea8] Alternate HotSpot builds need fix for bug 3094 https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3673 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 Dec 28 21:01:12 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 28 Dec 2018 21:01:12 +0000 Subject: [Bug 3653] [IcedTea8] Detect whether -Xprefer:source and -J-Xmx can be used, rather than assuming In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3653 Andrew John Hughes changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Andrew John Hughes --- Fixed in icedtea-3.10.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 andrew at icedtea.classpath.org Sat Dec 29 06:11:57 2018 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Sat, 29 Dec 2018 06:11:57 +0000 Subject: /hg/release/icedtea7-2.6: Bump to 2.6.15. Message-ID: changeset d3a9b945a1d1 in /hg/release/icedtea7-2.6 details: http://icedtea.classpath.org/hg/release/icedtea7-2.6?cmd=changeset;node=d3a9b945a1d1 author: Andrew John Hughes date: Sat Dec 29 06:06:32 2018 +0000 Bump to 2.6.15. Upstream changes: - Bump to icedtea-2.6.15 - PR3604: Frequent JVM Crash SIGSEGV same stacktrace location during tomcat start with hibernate init on 7u181-2.6.14-0ubuntu0.1 - PR3608: CVE-2018-3639 hw: cpu: speculative store bypass mitigation - PR3615: Fix whitespace in hotspot/src/cpu/aarch64 - PR3616: Don't include timestamps in generated documentation - S8001419: Build the JCE portion of JDK-8000970 - S8005661: [parfait] Possible buffer overrun in jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c - S8005695: [parfait] Format string argument mismatch in jdk/src/solaris/native/sun/xawt/XToolkit.c - S8005752: [parfait] False positive function call mismatch at jdk/src/solaris/native/sun/xawt/XWindow.c - S8020842: IDN do not throw IAE when hostname ends with a trailing dot - S8024068: sun/security/ssl/javax/net/ssl/ServerName/IllegalSNIName.java fails - S8029020: Check src/share/native/java/util/zip code for JNI pending exceptions - S8034031: [parfait] JNI exception pending in jdk/src/macosx/native/apple/security/KeystoreImpl.m - S8034856: gcc warnings compiling src/solaris/native/sun/security/pkcs11 - S8034857: gcc warnings compiling src/solaris/native/sun/management - S8035054: JarFacade.c should not include ctype.h - S8035287: gcc warnings compiling various libraries files - S8051972: sun/security/pkcs11/ec/ReadCertificates.java fails intermittently - S8054213: Class name repeated in output of Type.toString() - S8076117: EndEntityChecker should not process custom extensions after PKIX validation - S8150530: Improve javax.crypto.BadPaddingException messages - S8153955: increase java.util.logging.FileHandler MAX_LOCKS limit - S8157898: SupportedDSAParamGen.java failed with timeout - S8170035: When determining the ciphersuite lists, there is no debug output for disabled suites. - S8175075: Add 3DES to the default disabled algorithm security property - S8176183: sun/security/mscapi/SignedObjectChain.java fails on Windows - S8179665: [Windows] java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location - S8183032: Upgrade to LittleCMS 2.9 - S8186032: Disable XML Signatures signed with EC keys less than 224 bits - S8187496: Possible memory leak in java.apple.security.KeychainStore.addItemToKeychain - S8187635: On Windows Swing changes keyboard layout on a window activation - S8189123: More consistent classloading - S8189789: tomcat gzip-compressed response bodies appear to be broken in update 151 - S8189969: Manifest better manifest entries - S8189977: Improve permission portability - S8189981: Improve queuing portability - S8189985: Improve tabular data portability - S8189989: Improve container portability - S8189997: Enhance keystore mechanisms - S8190877: Better handling of abstract classes - S8191239: Improve desktop file usage - S8191358: Restore TSA certificate expiration check - S8191696: Better mouse positioning - S8191909: Nightly failures in nashorn suite - S8192025: Less referential references - S8192030: Better MTSchema support - S8192757: Improve stub classes implementation - S8192789: Avoid using AtomicReference in sun.security.provider.PolicyFile - S8193409: Improve AES supporting classes - S8193414: Improvements in MethodType lookups - S8193419: Better Internet address support - S8193833: Better RMI connection support - S8194259: keytool error: java.io.IOException: Invalid secret key format - S8196224: Even better Internet address support - S8196854: TestFlushableGZIPOutputStream failing with IndexOutOfBoundsException - S8197871: Support Derby connections - S8197925: Better stack walking - S8197943: Unable to use JDWP API in JDK 8 to debug JDK 9 VM - S8198494: 8u171 and 8u172 - Build failure on non-SE Linux Platforms - S8198963: Fix new rmi property name - S8199547: Exception to Pattern Syntax - S8200314: JDK 8u171 l10n resource file update - msg drop 40 - S8200359: (tz) Upgrade time-zone data to tzdata2018d - S8200666: Improve LDAP support - S8200760: java.security-linux was missed in backport of JDK-8160104 - S8201433: Fix potential crash in BufImg_SetupICM - S8202585: JDK 8u181 l10n resource file update - S8202850: Fix for 8189123 doesn't include precompiled header - S8202996: Remove debug print statements from RMI fix - S8203182: Release session if initialization of SunPKCS11 Signature fails - S8203233: (tz) Upgrade time-zone data to tzdata2018e - S8203368: ObjectInputStream filterCheck method throws NullPointerException - S8205491: adjust reflective access checks - S8205587: Implicit function declaration in jni_util.c - S8207151: Frequent JVM Crash SIGSEGV same stacktrace location during tomcat start with hibernate init on 7u181-2.6.14-0ubuntu0.1 - S8207345, PR3614: Trampoline generation code reads from uninitialized memory ChangeLog: 2018-12-28 Andrew John Hughes Bump to 2.6.15. * Makefile.am: (JDK_UPDATE_VERSION): Bump to 191. (BUILD_VERSION): Set to b02. (CORBA_CHANGESET): Update to icedtea-2.6.15. (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.15. * hotspot.map.in: Update to icedtea-2.6.15. diffstat: ChangeLog | 22 ++++++++++++++++++++++ Makefile.am | 30 +++++++++++++++--------------- NEWS | 40 +++++++++++++++++++++++++++++++++++++++- configure.ac | 2 +- hotspot.map.in | 2 +- 5 files changed, 78 insertions(+), 18 deletions(-) diffs (143 lines): diff -r b0e507383a9c -r d3a9b945a1d1 ChangeLog --- a/ChangeLog Thu Dec 06 00:23:09 2018 +0000 +++ b/ChangeLog Sat Dec 29 06:06:32 2018 +0000 @@ -1,3 +1,25 @@ +2018-12-28 Andrew John Hughes + + Bump to 2.6.15. + * Makefile.am: + (JDK_UPDATE_VERSION): Bump to 191. + (BUILD_VERSION): Set to b02. + (CORBA_CHANGESET): Update to icedtea-2.6.15. + (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.15. + * hotspot.map.in: Update to icedtea-2.6.15. + 2018-09-27 Andrew John Hughes PR3663: IcedTea installing symlinks to SystemTap diff -r b0e507383a9c -r d3a9b945a1d1 Makefile.am --- a/Makefile.am Thu Dec 06 00:23:09 2018 +0000 +++ b/Makefile.am Sat Dec 29 06:06:32 2018 +0000 @@ -1,22 +1,22 @@ # Dependencies -JDK_UPDATE_VERSION = 181 -BUILD_VERSION = b01 +JDK_UPDATE_VERSION = 191 +BUILD_VERSION = b02 COMBINED_VERSION = $(JDK_UPDATE_VERSION)-$(BUILD_VERSION) -CORBA_CHANGESET = 1ed1155692c8 -JAXP_CHANGESET = 8ddbfae3207e -JAXWS_CHANGESET = 37868584eef3 -JDK_CHANGESET = 384dd407114d -LANGTOOLS_CHANGESET = 7c19cbad9291 -OPENJDK_CHANGESET = 3cf747ef8b14 - -CORBA_SHA256SUM = 42e01b319b206ca7bd5fae0c910830853f865459ce63f21e16ae860db7fcc45e -JAXP_SHA256SUM = eb28e7e7e271e27155f21a48fd81ba58a8be577e32a350bfcd7bb65e4fa40202 -JAXWS_SHA256SUM = 9e6b4ed782df9c7be26027589b58002ac06940d82bb0b5120e85fedd727abd05 -JDK_SHA256SUM = b747fd71a8037a30b8ddf73d7182b6a1eab670b6f0bcdd8cb878aa0a6a31fda9 -LANGTOOLS_SHA256SUM = f3beac312b83dad3ae0d783da291e2fd0752a15a723f870083a4977906b94545 -OPENJDK_SHA256SUM = 6a993ad99d0f7f226a07fb7549659e9e340839ec560609f25c2abc4d93051ca4 +CORBA_CHANGESET = 9b8ff44cf2c6 +JAXP_CHANGESET = 5dc90bd920db +JAXWS_CHANGESET = a88988c07020 +JDK_CHANGESET = 25542ea9adea +LANGTOOLS_CHANGESET = 5d348df3700d +OPENJDK_CHANGESET = 02692bca5efc + +CORBA_SHA256SUM = dec1790e9aa4f82f8843aa3728e51ca8d054b60bd492dffbe71882b41af5cecd +JAXP_SHA256SUM = 52e3cef3453d79c0074ccc04d513eac8cc1185d48f62d6e682d3114926cb9e3b +JAXWS_SHA256SUM = b6a3a00234be8a118d0b94d3e3728b75ef445ff96988cd3eac307e1e7a075c48 +JDK_SHA256SUM = 64ae93c996277292b1f404b1aa645822b75746ce7a03b36e58394eee43ea8dce +LANGTOOLS_SHA256SUM = c18e8d838deb2c711c92bb93e0cf0ecb1dd22c219524fe2ec18a53c29c4d9728 +OPENJDK_SHA256SUM = 852962fd4397e069dde62a3bd5cbf747a8f268c18ab37a66ae2454b94d65a004 DROP_URL = http://icedtea.classpath.org/download/drops diff -r b0e507383a9c -r d3a9b945a1d1 NEWS --- a/NEWS Thu Dec 06 00:23:09 2018 +0000 +++ b/NEWS Sat Dec 29 06:06:32 2018 +0000 @@ -14,14 +14,52 @@ New in release 2.6.15 (2018-11-XX): +* Security fixes + - S8191239: Improve desktop file usage + - S8193419: Better Internet address support + - S8197871, CVE-2018-2938: Support Derby connections + - S8197925, CVE-2018-2940: Better stack walking + - S8199547, CVE-2018-2952: Exception to Pattern Syntax + - S8200666, CVE-2018-2973: Improve LDAP support + - PR3608, CVE-2018-3639 hw: cpu: speculative store bypass mitigation * New features - PR3659: Support RHEL multilib installations which use the /usr/lib/jvm/java-1.x.0-openjdk.${arch} naming +* Import of OpenJDK 7 u191 build 2 + - S8005661: [parfait] Possible buffer overrun in jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c + - S8005695: [parfait] Format string argument mismatch in jdk/src/solaris/native/sun/xawt/XToolkit.c + - S8005752: [parfait] False positive function call mismatch at jdk/src/solaris/native/sun/xawt/XWindow.c + - S8034856: gcc warnings compiling src/solaris/native/sun/security/pkcs11 + - S8034857: gcc warnings compiling src/solaris/native/sun/management + - S8035054: JarFacade.c should not include ctype.h + - S8035287: gcc warnings compiling various libraries files + - S8051972: sun/security/pkcs11/ec/ReadCertificates.java fails intermittently + - S8076117: EndEntityChecker should not process custom extensions after PKIX validation + - S8157898: SupportedDSAParamGen.java failed with timeout + - S8170035: When determining the ciphersuite lists, there is no debug output for disabled suites. + - S8176183: sun/security/mscapi/SignedObjectChain.java fails on Windows + - S8187635: On Windows Swing changes keyboard layout on a window activation + - S8196224: Even better Internet address support + - S8196854: TestFlushableGZIPOutputStream failing with IndexOutOfBoundsException + - S8197943: Unable to use JDWP API in JDK 8 to debug JDK 9 VM + - S8200359: (tz) Upgrade time-zone data to tzdata2018d + - S8201433: Fix potential crash in BufImg_SetupICM + - S8202585: JDK 8u181 l10n resource file update + - S8202996: Remove debug print statements from RMI fix + - S8203182: Release session if initialization of SunPKCS11 Signature fails + - S8203233: (tz) Upgrade time-zone data to tzdata2018e + - S8203368: ObjectInputStream filterCheck method throws NullPointerException + - S8205491: adjust reflective access checks + - S8205587, PR3606: Implicit function declaration in jni_util.c + - S8207151, PR3604: Frequent JVM Crash SIGSEGV same stacktrace location during tomcat start with hibernate init on 7u181-2.6.14-0ubuntu0.1 * Backports - S8075942, PR3605: ArrayIndexOutOfBoundsException in sun.java2d.pisces.Dasher.goTo * Bug fixes - - PR3606: jni_util.c does not import header file which declares getLastErrorString + - PR3616: Don't include timestamps in generated documentation - PR3652: Detect whether -Xprefer:source and -J-Xmx can be used, rather than assuming - PR3663: IcedTea installing symlinks to SystemTap directory rather than individual tapsets +* AArch64 port + - S8207345, PR3614: Trampoline generation code reads from uninitialized memory + - PR3615: Fix whitespace in hotspot/src/cpu/aarch64 New in release 2.6.14 (2018-05-23): diff -r b0e507383a9c -r d3a9b945a1d1 configure.ac --- a/configure.ac Thu Dec 06 00:23:09 2018 +0000 +++ b/configure.ac Sat Dec 29 06:06:32 2018 +0000 @@ -1,4 +1,4 @@ -AC_INIT([icedtea], [2.6.15pre01], [distro-pkg-dev at openjdk.java.net]) +AC_INIT([icedtea], [2.6.15], [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 b0e507383a9c -r d3a9b945a1d1 hotspot.map.in --- a/hotspot.map.in Thu Dec 06 00:23:09 2018 +0000 +++ b/hotspot.map.in Sat Dec 29 06:06:32 2018 +0000 @@ -1,2 +1,2 @@ # version type(drop/hg) url changeset sha256sum -default drop http://icedtea.classpath.org/download/drops/icedtea7/@ICEDTEA_RELEASE@ 592120da2a2b 1681d0dd433df4cadac35cf844c82cead2e5e15455dfc800715fffc42aac85ea +default drop http://icedtea.classpath.org/download/drops/icedtea7/@ICEDTEA_RELEASE@ e200fdadc487 95b6a334504cf7a6a67dfddc0e687c2b8a4920e68ca6a69090aed925057b1d58 From bugzilla-daemon at icedtea.classpath.org Sat Dec 29 06:12:15 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Sat, 29 Dec 2018 06:12:15 +0000 Subject: [Bug 3608] [IcedTea7] CVE-2018-3639 hw: cpu: speculative store bypass mitigation In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3608 --- Comment #2 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-2.6?cmd=changeset;node=d3a9b945a1d1 author: Andrew John Hughes date: Sat Dec 29 06:06:32 2018 +0000 Bump to 2.6.15. Upstream changes: - Bump to icedtea-2.6.15 - PR3604: Frequent JVM Crash SIGSEGV same stacktrace location during tomcat start with hibernate init on 7u181-2.6.14-0ubuntu0.1 - PR3608: CVE-2018-3639 hw: cpu: speculative store bypass mitigation - PR3615: Fix whitespace in hotspot/src/cpu/aarch64 - PR3616: Don't include timestamps in generated documentation - S8001419: Build the JCE portion of JDK-8000970 - S8005661: [parfait] Possible buffer overrun in jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c - S8005695: [parfait] Format string argument mismatch in jdk/src/solaris/native/sun/xawt/XToolkit.c - S8005752: [parfait] False positive function call mismatch at jdk/src/solaris/native/sun/xawt/XWindow.c - S8020842: IDN do not throw IAE when hostname ends with a trailing dot - S8024068: sun/security/ssl/javax/net/ssl/ServerName/IllegalSNIName.java fails - S8029020: Check src/share/native/java/util/zip code for JNI pending exceptions - S8034031: [parfait] JNI exception pending in jdk/src/macosx/native/apple/security/KeystoreImpl.m - S8034856: gcc warnings compiling src/solaris/native/sun/security/pkcs11 - S8034857: gcc warnings compiling src/solaris/native/sun/management - S8035054: JarFacade.c should not include ctype.h - S8035287: gcc warnings compiling various libraries files - S8051972: sun/security/pkcs11/ec/ReadCertificates.java fails intermittently - S8054213: Class name repeated in output of Type.toString() - S8076117: EndEntityChecker should not process custom extensions after PKIX validation - S8150530: Improve javax.crypto.BadPaddingException messages - S8153955: increase java.util.logging.FileHandler MAX_LOCKS limit - S8157898: SupportedDSAParamGen.java failed with timeout - S8170035: When determining the ciphersuite lists, there is no debug output for disabled suites. - S8175075: Add 3DES to the default disabled algorithm security property - S8176183: sun/security/mscapi/SignedObjectChain.java fails on Windows - S8179665: [Windows] java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location - S8183032: Upgrade to LittleCMS 2.9 - S8186032: Disable XML Signatures signed with EC keys less than 224 bits - S8187496: Possible memory leak in java.apple.security.KeychainStore.addItemToKeychain - S8187635: On Windows Swing changes keyboard layout on a window activation - S8189123: More consistent classloading - S8189789: tomcat gzip-compressed response bodies appear to be broken in update 151 - S8189969: Manifest better manifest entries - S8189977: Improve permission portability - S8189981: Improve queuing portability - S8189985: Improve tabular data portability - S8189989: Improve container portability - S8189997: Enhance keystore mechanisms - S8190877: Better handling of abstract classes - S8191239: Improve desktop file usage - S8191358: Restore TSA certificate expiration check - S8191696: Better mouse positioning - S8191909: Nightly failures in nashorn suite - S8192025: Less referential references - S8192030: Better MTSchema support - S8192757: Improve stub classes implementation - S8192789: Avoid using AtomicReference in sun.security.provider.PolicyFile - S8193409: Improve AES supporting classes - S8193414: Improvements in MethodType lookups - S8193419: Better Internet address support - S8193833: Better RMI connection support - S8194259: keytool error: java.io.IOException: Invalid secret key format - S8196224: Even better Internet address support - S8196854: TestFlushableGZIPOutputStream failing with IndexOutOfBoundsException - S8197871: Support Derby connections - S8197925: Better stack walking - S8197943: Unable to use JDWP API in JDK 8 to debug JDK 9 VM - S8198494: 8u171 and 8u172 - Build failure on non-SE Linux Platforms - S8198963: Fix new rmi property name - S8199547: Exception to Pattern Syntax - S8200314: JDK 8u171 l10n resource file update - msg drop 40 - S8200359: (tz) Upgrade time-zone data to tzdata2018d - S8200666: Improve LDAP support - S8200760: java.security-linux was missed in backport of JDK-8160104 - S8201433: Fix potential crash in BufImg_SetupICM - S8202585: JDK 8u181 l10n resource file update - S8202850: Fix for 8189123 doesn't include precompiled header - S8202996: Remove debug print statements from RMI fix - S8203182: Release session if initialization of SunPKCS11 Signature fails - S8203233: (tz) Upgrade time-zone data to tzdata2018e - S8203368: ObjectInputStream filterCheck method throws NullPointerException - S8205491: adjust reflective access checks - S8205587: Implicit function declaration in jni_util.c - S8207151: Frequent JVM Crash SIGSEGV same stacktrace location during tomcat start with hibernate init on 7u181-2.6.14-0ubuntu0.1 - S8207345, PR3614: Trampoline generation code reads from uninitialized memory ChangeLog: 2018-12-28 Andrew John Hughes Bump to 2.6.15. * Makefile.am: (JDK_UPDATE_VERSION): Bump to 191. (BUILD_VERSION): Set to b02. (CORBA_CHANGESET): Update to icedtea-2.6.15. (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.15. * hotspot.map.in: Update to icedtea-2.6.15. -- You are receiving this mail because: 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 Dec 29 06:12:56 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Sat, 29 Dec 2018 06:12:56 +0000 Subject: [Bug 3614] [IcedTea7] Backport "8207345: AArch64: Trampoline generation code reads from uninitialized memory" In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3614 --- Comment #2 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-2.6?cmd=changeset;node=d3a9b945a1d1 author: Andrew John Hughes date: Sat Dec 29 06:06:32 2018 +0000 Bump to 2.6.15. Upstream changes: - Bump to icedtea-2.6.15 - PR3604: Frequent JVM Crash SIGSEGV same stacktrace location during tomcat start with hibernate init on 7u181-2.6.14-0ubuntu0.1 - PR3608: CVE-2018-3639 hw: cpu: speculative store bypass mitigation - PR3615: Fix whitespace in hotspot/src/cpu/aarch64 - PR3616: Don't include timestamps in generated documentation - S8001419: Build the JCE portion of JDK-8000970 - S8005661: [parfait] Possible buffer overrun in jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c - S8005695: [parfait] Format string argument mismatch in jdk/src/solaris/native/sun/xawt/XToolkit.c - S8005752: [parfait] False positive function call mismatch at jdk/src/solaris/native/sun/xawt/XWindow.c - S8020842: IDN do not throw IAE when hostname ends with a trailing dot - S8024068: sun/security/ssl/javax/net/ssl/ServerName/IllegalSNIName.java fails - S8029020: Check src/share/native/java/util/zip code for JNI pending exceptions - S8034031: [parfait] JNI exception pending in jdk/src/macosx/native/apple/security/KeystoreImpl.m - S8034856: gcc warnings compiling src/solaris/native/sun/security/pkcs11 - S8034857: gcc warnings compiling src/solaris/native/sun/management - S8035054: JarFacade.c should not include ctype.h - S8035287: gcc warnings compiling various libraries files - S8051972: sun/security/pkcs11/ec/ReadCertificates.java fails intermittently - S8054213: Class name repeated in output of Type.toString() - S8076117: EndEntityChecker should not process custom extensions after PKIX validation - S8150530: Improve javax.crypto.BadPaddingException messages - S8153955: increase java.util.logging.FileHandler MAX_LOCKS limit - S8157898: SupportedDSAParamGen.java failed with timeout - S8170035: When determining the ciphersuite lists, there is no debug output for disabled suites. - S8175075: Add 3DES to the default disabled algorithm security property - S8176183: sun/security/mscapi/SignedObjectChain.java fails on Windows - S8179665: [Windows] java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location - S8183032: Upgrade to LittleCMS 2.9 - S8186032: Disable XML Signatures signed with EC keys less than 224 bits - S8187496: Possible memory leak in java.apple.security.KeychainStore.addItemToKeychain - S8187635: On Windows Swing changes keyboard layout on a window activation - S8189123: More consistent classloading - S8189789: tomcat gzip-compressed response bodies appear to be broken in update 151 - S8189969: Manifest better manifest entries - S8189977: Improve permission portability - S8189981: Improve queuing portability - S8189985: Improve tabular data portability - S8189989: Improve container portability - S8189997: Enhance keystore mechanisms - S8190877: Better handling of abstract classes - S8191239: Improve desktop file usage - S8191358: Restore TSA certificate expiration check - S8191696: Better mouse positioning - S8191909: Nightly failures in nashorn suite - S8192025: Less referential references - S8192030: Better MTSchema support - S8192757: Improve stub classes implementation - S8192789: Avoid using AtomicReference in sun.security.provider.PolicyFile - S8193409: Improve AES supporting classes - S8193414: Improvements in MethodType lookups - S8193419: Better Internet address support - S8193833: Better RMI connection support - S8194259: keytool error: java.io.IOException: Invalid secret key format - S8196224: Even better Internet address support - S8196854: TestFlushableGZIPOutputStream failing with IndexOutOfBoundsException - S8197871: Support Derby connections - S8197925: Better stack walking - S8197943: Unable to use JDWP API in JDK 8 to debug JDK 9 VM - S8198494: 8u171 and 8u172 - Build failure on non-SE Linux Platforms - S8198963: Fix new rmi property name - S8199547: Exception to Pattern Syntax - S8200314: JDK 8u171 l10n resource file update - msg drop 40 - S8200359: (tz) Upgrade time-zone data to tzdata2018d - S8200666: Improve LDAP support - S8200760: java.security-linux was missed in backport of JDK-8160104 - S8201433: Fix potential crash in BufImg_SetupICM - S8202585: JDK 8u181 l10n resource file update - S8202850: Fix for 8189123 doesn't include precompiled header - S8202996: Remove debug print statements from RMI fix - S8203182: Release session if initialization of SunPKCS11 Signature fails - S8203233: (tz) Upgrade time-zone data to tzdata2018e - S8203368: ObjectInputStream filterCheck method throws NullPointerException - S8205491: adjust reflective access checks - S8205587: Implicit function declaration in jni_util.c - S8207151: Frequent JVM Crash SIGSEGV same stacktrace location during tomcat start with hibernate init on 7u181-2.6.14-0ubuntu0.1 - S8207345, PR3614: Trampoline generation code reads from uninitialized memory ChangeLog: 2018-12-28 Andrew John Hughes Bump to 2.6.15. * Makefile.am: (JDK_UPDATE_VERSION): Bump to 191. (BUILD_VERSION): Set to b02. (CORBA_CHANGESET): Update to icedtea-2.6.15. (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.15. * hotspot.map.in: Update to icedtea-2.6.15. -- You are receiving this mail because: 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 Dec 29 06:12:30 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Sat, 29 Dec 2018 06:12:30 +0000 Subject: [Bug 3616] [IcedTea7] Don't include timestamps in generated documentation In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3616 --- Comment #2 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-2.6?cmd=changeset;node=d3a9b945a1d1 author: Andrew John Hughes date: Sat Dec 29 06:06:32 2018 +0000 Bump to 2.6.15. Upstream changes: - Bump to icedtea-2.6.15 - PR3604: Frequent JVM Crash SIGSEGV same stacktrace location during tomcat start with hibernate init on 7u181-2.6.14-0ubuntu0.1 - PR3608: CVE-2018-3639 hw: cpu: speculative store bypass mitigation - PR3615: Fix whitespace in hotspot/src/cpu/aarch64 - PR3616: Don't include timestamps in generated documentation - S8001419: Build the JCE portion of JDK-8000970 - S8005661: [parfait] Possible buffer overrun in jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c - S8005695: [parfait] Format string argument mismatch in jdk/src/solaris/native/sun/xawt/XToolkit.c - S8005752: [parfait] False positive function call mismatch at jdk/src/solaris/native/sun/xawt/XWindow.c - S8020842: IDN do not throw IAE when hostname ends with a trailing dot - S8024068: sun/security/ssl/javax/net/ssl/ServerName/IllegalSNIName.java fails - S8029020: Check src/share/native/java/util/zip code for JNI pending exceptions - S8034031: [parfait] JNI exception pending in jdk/src/macosx/native/apple/security/KeystoreImpl.m - S8034856: gcc warnings compiling src/solaris/native/sun/security/pkcs11 - S8034857: gcc warnings compiling src/solaris/native/sun/management - S8035054: JarFacade.c should not include ctype.h - S8035287: gcc warnings compiling various libraries files - S8051972: sun/security/pkcs11/ec/ReadCertificates.java fails intermittently - S8054213: Class name repeated in output of Type.toString() - S8076117: EndEntityChecker should not process custom extensions after PKIX validation - S8150530: Improve javax.crypto.BadPaddingException messages - S8153955: increase java.util.logging.FileHandler MAX_LOCKS limit - S8157898: SupportedDSAParamGen.java failed with timeout - S8170035: When determining the ciphersuite lists, there is no debug output for disabled suites. - S8175075: Add 3DES to the default disabled algorithm security property - S8176183: sun/security/mscapi/SignedObjectChain.java fails on Windows - S8179665: [Windows] java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location - S8183032: Upgrade to LittleCMS 2.9 - S8186032: Disable XML Signatures signed with EC keys less than 224 bits - S8187496: Possible memory leak in java.apple.security.KeychainStore.addItemToKeychain - S8187635: On Windows Swing changes keyboard layout on a window activation - S8189123: More consistent classloading - S8189789: tomcat gzip-compressed response bodies appear to be broken in update 151 - S8189969: Manifest better manifest entries - S8189977: Improve permission portability - S8189981: Improve queuing portability - S8189985: Improve tabular data portability - S8189989: Improve container portability - S8189997: Enhance keystore mechanisms - S8190877: Better handling of abstract classes - S8191239: Improve desktop file usage - S8191358: Restore TSA certificate expiration check - S8191696: Better mouse positioning - S8191909: Nightly failures in nashorn suite - S8192025: Less referential references - S8192030: Better MTSchema support - S8192757: Improve stub classes implementation - S8192789: Avoid using AtomicReference in sun.security.provider.PolicyFile - S8193409: Improve AES supporting classes - S8193414: Improvements in MethodType lookups - S8193419: Better Internet address support - S8193833: Better RMI connection support - S8194259: keytool error: java.io.IOException: Invalid secret key format - S8196224: Even better Internet address support - S8196854: TestFlushableGZIPOutputStream failing with IndexOutOfBoundsException - S8197871: Support Derby connections - S8197925: Better stack walking - S8197943: Unable to use JDWP API in JDK 8 to debug JDK 9 VM - S8198494: 8u171 and 8u172 - Build failure on non-SE Linux Platforms - S8198963: Fix new rmi property name - S8199547: Exception to Pattern Syntax - S8200314: JDK 8u171 l10n resource file update - msg drop 40 - S8200359: (tz) Upgrade time-zone data to tzdata2018d - S8200666: Improve LDAP support - S8200760: java.security-linux was missed in backport of JDK-8160104 - S8201433: Fix potential crash in BufImg_SetupICM - S8202585: JDK 8u181 l10n resource file update - S8202850: Fix for 8189123 doesn't include precompiled header - S8202996: Remove debug print statements from RMI fix - S8203182: Release session if initialization of SunPKCS11 Signature fails - S8203233: (tz) Upgrade time-zone data to tzdata2018e - S8203368: ObjectInputStream filterCheck method throws NullPointerException - S8205491: adjust reflective access checks - S8205587: Implicit function declaration in jni_util.c - S8207151: Frequent JVM Crash SIGSEGV same stacktrace location during tomcat start with hibernate init on 7u181-2.6.14-0ubuntu0.1 - S8207345, PR3614: Trampoline generation code reads from uninitialized memory ChangeLog: 2018-12-28 Andrew John Hughes Bump to 2.6.15. * Makefile.am: (JDK_UPDATE_VERSION): Bump to 191. (BUILD_VERSION): Set to b02. (CORBA_CHANGESET): Update to icedtea-2.6.15. (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.15. * hotspot.map.in: Update to icedtea-2.6.15. -- You are receiving this mail because: 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 Dec 29 06:12:40 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Sat, 29 Dec 2018 06:12:40 +0000 Subject: [Bug 3604] [IcedTea7] Frequent JVM Crash SIGSEGV same stacktrace location during tomcat start with hibernate init on 7u181-2.6.14-0ubuntu0.1 In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3604 --- Comment #6 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-2.6?cmd=changeset;node=d3a9b945a1d1 author: Andrew John Hughes date: Sat Dec 29 06:06:32 2018 +0000 Bump to 2.6.15. Upstream changes: - Bump to icedtea-2.6.15 - PR3604: Frequent JVM Crash SIGSEGV same stacktrace location during tomcat start with hibernate init on 7u181-2.6.14-0ubuntu0.1 - PR3608: CVE-2018-3639 hw: cpu: speculative store bypass mitigation - PR3615: Fix whitespace in hotspot/src/cpu/aarch64 - PR3616: Don't include timestamps in generated documentation - S8001419: Build the JCE portion of JDK-8000970 - S8005661: [parfait] Possible buffer overrun in jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c - S8005695: [parfait] Format string argument mismatch in jdk/src/solaris/native/sun/xawt/XToolkit.c - S8005752: [parfait] False positive function call mismatch at jdk/src/solaris/native/sun/xawt/XWindow.c - S8020842: IDN do not throw IAE when hostname ends with a trailing dot - S8024068: sun/security/ssl/javax/net/ssl/ServerName/IllegalSNIName.java fails - S8029020: Check src/share/native/java/util/zip code for JNI pending exceptions - S8034031: [parfait] JNI exception pending in jdk/src/macosx/native/apple/security/KeystoreImpl.m - S8034856: gcc warnings compiling src/solaris/native/sun/security/pkcs11 - S8034857: gcc warnings compiling src/solaris/native/sun/management - S8035054: JarFacade.c should not include ctype.h - S8035287: gcc warnings compiling various libraries files - S8051972: sun/security/pkcs11/ec/ReadCertificates.java fails intermittently - S8054213: Class name repeated in output of Type.toString() - S8076117: EndEntityChecker should not process custom extensions after PKIX validation - S8150530: Improve javax.crypto.BadPaddingException messages - S8153955: increase java.util.logging.FileHandler MAX_LOCKS limit - S8157898: SupportedDSAParamGen.java failed with timeout - S8170035: When determining the ciphersuite lists, there is no debug output for disabled suites. - S8175075: Add 3DES to the default disabled algorithm security property - S8176183: sun/security/mscapi/SignedObjectChain.java fails on Windows - S8179665: [Windows] java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location - S8183032: Upgrade to LittleCMS 2.9 - S8186032: Disable XML Signatures signed with EC keys less than 224 bits - S8187496: Possible memory leak in java.apple.security.KeychainStore.addItemToKeychain - S8187635: On Windows Swing changes keyboard layout on a window activation - S8189123: More consistent classloading - S8189789: tomcat gzip-compressed response bodies appear to be broken in update 151 - S8189969: Manifest better manifest entries - S8189977: Improve permission portability - S8189981: Improve queuing portability - S8189985: Improve tabular data portability - S8189989: Improve container portability - S8189997: Enhance keystore mechanisms - S8190877: Better handling of abstract classes - S8191239: Improve desktop file usage - S8191358: Restore TSA certificate expiration check - S8191696: Better mouse positioning - S8191909: Nightly failures in nashorn suite - S8192025: Less referential references - S8192030: Better MTSchema support - S8192757: Improve stub classes implementation - S8192789: Avoid using AtomicReference in sun.security.provider.PolicyFile - S8193409: Improve AES supporting classes - S8193414: Improvements in MethodType lookups - S8193419: Better Internet address support - S8193833: Better RMI connection support - S8194259: keytool error: java.io.IOException: Invalid secret key format - S8196224: Even better Internet address support - S8196854: TestFlushableGZIPOutputStream failing with IndexOutOfBoundsException - S8197871: Support Derby connections - S8197925: Better stack walking - S8197943: Unable to use JDWP API in JDK 8 to debug JDK 9 VM - S8198494: 8u171 and 8u172 - Build failure on non-SE Linux Platforms - S8198963: Fix new rmi property name - S8199547: Exception to Pattern Syntax - S8200314: JDK 8u171 l10n resource file update - msg drop 40 - S8200359: (tz) Upgrade time-zone data to tzdata2018d - S8200666: Improve LDAP support - S8200760: java.security-linux was missed in backport of JDK-8160104 - S8201433: Fix potential crash in BufImg_SetupICM - S8202585: JDK 8u181 l10n resource file update - S8202850: Fix for 8189123 doesn't include precompiled header - S8202996: Remove debug print statements from RMI fix - S8203182: Release session if initialization of SunPKCS11 Signature fails - S8203233: (tz) Upgrade time-zone data to tzdata2018e - S8203368: ObjectInputStream filterCheck method throws NullPointerException - S8205491: adjust reflective access checks - S8205587: Implicit function declaration in jni_util.c - S8207151: Frequent JVM Crash SIGSEGV same stacktrace location during tomcat start with hibernate init on 7u181-2.6.14-0ubuntu0.1 - S8207345, PR3614: Trampoline generation code reads from uninitialized memory ChangeLog: 2018-12-28 Andrew John Hughes Bump to 2.6.15. * Makefile.am: (JDK_UPDATE_VERSION): Bump to 191. (BUILD_VERSION): Set to b02. (CORBA_CHANGESET): Update to icedtea-2.6.15. (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.15. * hotspot.map.in: Update to icedtea-2.6.15. -- You are receiving this mail because: 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 Dec 29 06:13:05 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Sat, 29 Dec 2018 06:13:05 +0000 Subject: [Bug 3615] [IcedTea7] Fix whitespace in hotspot/src/cpu/aarch64 In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3615 --- Comment #2 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-2.6?cmd=changeset;node=d3a9b945a1d1 author: Andrew John Hughes date: Sat Dec 29 06:06:32 2018 +0000 Bump to 2.6.15. Upstream changes: - Bump to icedtea-2.6.15 - PR3604: Frequent JVM Crash SIGSEGV same stacktrace location during tomcat start with hibernate init on 7u181-2.6.14-0ubuntu0.1 - PR3608: CVE-2018-3639 hw: cpu: speculative store bypass mitigation - PR3615: Fix whitespace in hotspot/src/cpu/aarch64 - PR3616: Don't include timestamps in generated documentation - S8001419: Build the JCE portion of JDK-8000970 - S8005661: [parfait] Possible buffer overrun in jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c - S8005695: [parfait] Format string argument mismatch in jdk/src/solaris/native/sun/xawt/XToolkit.c - S8005752: [parfait] False positive function call mismatch at jdk/src/solaris/native/sun/xawt/XWindow.c - S8020842: IDN do not throw IAE when hostname ends with a trailing dot - S8024068: sun/security/ssl/javax/net/ssl/ServerName/IllegalSNIName.java fails - S8029020: Check src/share/native/java/util/zip code for JNI pending exceptions - S8034031: [parfait] JNI exception pending in jdk/src/macosx/native/apple/security/KeystoreImpl.m - S8034856: gcc warnings compiling src/solaris/native/sun/security/pkcs11 - S8034857: gcc warnings compiling src/solaris/native/sun/management - S8035054: JarFacade.c should not include ctype.h - S8035287: gcc warnings compiling various libraries files - S8051972: sun/security/pkcs11/ec/ReadCertificates.java fails intermittently - S8054213: Class name repeated in output of Type.toString() - S8076117: EndEntityChecker should not process custom extensions after PKIX validation - S8150530: Improve javax.crypto.BadPaddingException messages - S8153955: increase java.util.logging.FileHandler MAX_LOCKS limit - S8157898: SupportedDSAParamGen.java failed with timeout - S8170035: When determining the ciphersuite lists, there is no debug output for disabled suites. - S8175075: Add 3DES to the default disabled algorithm security property - S8176183: sun/security/mscapi/SignedObjectChain.java fails on Windows - S8179665: [Windows] java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location - S8183032: Upgrade to LittleCMS 2.9 - S8186032: Disable XML Signatures signed with EC keys less than 224 bits - S8187496: Possible memory leak in java.apple.security.KeychainStore.addItemToKeychain - S8187635: On Windows Swing changes keyboard layout on a window activation - S8189123: More consistent classloading - S8189789: tomcat gzip-compressed response bodies appear to be broken in update 151 - S8189969: Manifest better manifest entries - S8189977: Improve permission portability - S8189981: Improve queuing portability - S8189985: Improve tabular data portability - S8189989: Improve container portability - S8189997: Enhance keystore mechanisms - S8190877: Better handling of abstract classes - S8191239: Improve desktop file usage - S8191358: Restore TSA certificate expiration check - S8191696: Better mouse positioning - S8191909: Nightly failures in nashorn suite - S8192025: Less referential references - S8192030: Better MTSchema support - S8192757: Improve stub classes implementation - S8192789: Avoid using AtomicReference in sun.security.provider.PolicyFile - S8193409: Improve AES supporting classes - S8193414: Improvements in MethodType lookups - S8193419: Better Internet address support - S8193833: Better RMI connection support - S8194259: keytool error: java.io.IOException: Invalid secret key format - S8196224: Even better Internet address support - S8196854: TestFlushableGZIPOutputStream failing with IndexOutOfBoundsException - S8197871: Support Derby connections - S8197925: Better stack walking - S8197943: Unable to use JDWP API in JDK 8 to debug JDK 9 VM - S8198494: 8u171 and 8u172 - Build failure on non-SE Linux Platforms - S8198963: Fix new rmi property name - S8199547: Exception to Pattern Syntax - S8200314: JDK 8u171 l10n resource file update - msg drop 40 - S8200359: (tz) Upgrade time-zone data to tzdata2018d - S8200666: Improve LDAP support - S8200760: java.security-linux was missed in backport of JDK-8160104 - S8201433: Fix potential crash in BufImg_SetupICM - S8202585: JDK 8u181 l10n resource file update - S8202850: Fix for 8189123 doesn't include precompiled header - S8202996: Remove debug print statements from RMI fix - S8203182: Release session if initialization of SunPKCS11 Signature fails - S8203233: (tz) Upgrade time-zone data to tzdata2018e - S8203368: ObjectInputStream filterCheck method throws NullPointerException - S8205491: adjust reflective access checks - S8205587: Implicit function declaration in jni_util.c - S8207151: Frequent JVM Crash SIGSEGV same stacktrace location during tomcat start with hibernate init on 7u181-2.6.14-0ubuntu0.1 - S8207345, PR3614: Trampoline generation code reads from uninitialized memory ChangeLog: 2018-12-28 Andrew John Hughes Bump to 2.6.15. * Makefile.am: (JDK_UPDATE_VERSION): Bump to 191. (BUILD_VERSION): Set to b02. (CORBA_CHANGESET): Update to icedtea-2.6.15. (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.15. * hotspot.map.in: Update to icedtea-2.6.15. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Sun Dec 30 08:43:24 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Sun, 30 Dec 2018 08:43:24 +0000 Subject: [Bug 3657] [IcedTea7] Sync desktop files with Fedora/RHEL versions again In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3657 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-2.6?cmd=changeset;node=37dfd50c0b6c author: Andrew John Hughes date: Sun Dec 30 06:39:01 2018 +0000 PR3657: Sync desktop files with Fedora/RHEL versions again 2018-09-13 Andrew John Hughes PR3657: Sync desktop files with Fedora/RHEL versions again * Makefile.am: (JDK_UPDATE_VERSION): Moved to acinclude.m4. (BUILD_VERSION): Likewise. (COMBINED_VERSION): Likewise. (ICEDTEA_ENV): Use substitution for JRE_RELEASE_VERSION, JDK_UPDATE_VERSION and BUILD_VERSION. (dist-openjdk): Use substitution for COMBINED_VERSION. (dist-openjdk-fsg): Likewise. (dist-openjdk-fsg-xz): Likewise. (install-data-local): Include JAVA_VENDOR in icon name. * NEWS: Updated. * acinclude.m4: (IT_DETERMINE_VERSION): Define JAVA_VENDOR, JDK_UPDATE_VERSION, BUILD_VERSION, COMBINED_VERSION and OPENJDK_VER here. Include OPENJDK_VER in output. * jconsole.desktop.in: Add full version and target architecture to name to distinguish between multiple installations for the same major Java version. Add JAVA_VENDOR ('openjdk') to the icon name. * policytool.desktop.in: Likewise. 2013-12-26 Andrew John Hughes PR3657: Sync desktop files with Fedora/RHEL versions again * configure.ac: Add AC_CANONICAL_TARGET after AC_CANONICAL_HOST and move earlier in file, before Automake initialisation. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bugzilla-daemon at icedtea.classpath.org Sun Dec 30 08:43:40 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Sun, 30 Dec 2018 08:43:40 +0000 Subject: [Bug 3633] [IcedTea7] [SystemTap 3.2] arc_priority representation creates an implicit limit on character sequence within regexp In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3633 --- Comment #2 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-2.6?cmd=changeset;node=921453c54e82 author: Andrew John Hughes date: Sun Dec 30 06:45:50 2018 +0000 PR3633: arc_priority representation creates an implicit limit on character sequence within regexp 2018-11-20 Andrew John Hughes PR3633: arc_priority representation creates an implicit limit on character sequence within regexp * NEWS: Updated. 2018-09-12 Severin Gehwolf PR3633: arc_priority representation creates an implicit limit on character sequence within regexp * tapset/jstack.stp.in: Workaround limit on regexp length with SystemTap >= 3.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 andrew at icedtea.classpath.org Sun Dec 30 08:43:14 2018 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Sun, 30 Dec 2018 08:43:14 +0000 Subject: /hg/release/icedtea7-2.6: 3 new changesets Message-ID: changeset 37dfd50c0b6c in /hg/release/icedtea7-2.6 details: http://icedtea.classpath.org/hg/release/icedtea7-2.6?cmd=changeset;node=37dfd50c0b6c author: Andrew John Hughes date: Sun Dec 30 06:39:01 2018 +0000 PR3657: Sync desktop files with Fedora/RHEL versions again 2018-09-13 Andrew John Hughes PR3657: Sync desktop files with Fedora/RHEL versions again * Makefile.am: (JDK_UPDATE_VERSION): Moved to acinclude.m4. (BUILD_VERSION): Likewise. (COMBINED_VERSION): Likewise. (ICEDTEA_ENV): Use substitution for JRE_RELEASE_VERSION, JDK_UPDATE_VERSION and BUILD_VERSION. (dist-openjdk): Use substitution for COMBINED_VERSION. (dist-openjdk-fsg): Likewise. (dist-openjdk-fsg-xz): Likewise. (install-data-local): Include JAVA_VENDOR in icon name. * NEWS: Updated. * acinclude.m4: (IT_DETERMINE_VERSION): Define JAVA_VENDOR, JDK_UPDATE_VERSION, BUILD_VERSION, COMBINED_VERSION and OPENJDK_VER here. Include OPENJDK_VER in output. * jconsole.desktop.in: Add full version and target architecture to name to distinguish between multiple installations for the same major Java version. Add JAVA_VENDOR ('openjdk') to the icon name. * policytool.desktop.in: Likewise. 2013-12-26 Andrew John Hughes PR3657: Sync desktop files with Fedora/RHEL versions again * configure.ac: Add AC_CANONICAL_TARGET after AC_CANONICAL_HOST and move earlier in file, before Automake initialisation. changeset 921453c54e82 in /hg/release/icedtea7-2.6 details: http://icedtea.classpath.org/hg/release/icedtea7-2.6?cmd=changeset;node=921453c54e82 author: Andrew John Hughes date: Sun Dec 30 06:45:50 2018 +0000 PR3633: arc_priority representation creates an implicit limit on character sequence within regexp 2018-11-20 Andrew John Hughes PR3633: arc_priority representation creates an implicit limit on character sequence within regexp * NEWS: Updated. 2018-09-12 Severin Gehwolf PR3633: arc_priority representation creates an implicit limit on character sequence within regexp * tapset/jstack.stp.in: Workaround limit on regexp length with SystemTap >= 3.2. changeset 4d6159cbb6bd in /hg/release/icedtea7-2.6 details: http://icedtea.classpath.org/hg/release/icedtea7-2.6?cmd=changeset;node=4d6159cbb6bd author: Andrew John Hughes date: Sun Dec 30 08:20:24 2018 +0000 PR3631: Use ${datadir} when specifying default tz.properties location 2018-09-24 Andrew John Hughes PR3631: Use ${datadir} when specifying default tz.properties location * Makefile.am: (EXTRA_DIST): Remove stp.in files which are already handled by configure. Add tz.properties.in which no longer is. (clean-local): Add clean-tz.properties. (.PHONY): Likewise. (add-tzdata-support): Depend on tz.properties. (add-tzdata-support-debug): Likewise. (add-tzdata-support-boot): Likewise. (tz.properties): Generate tz.properties from tz.properties.in by substituting the value of TZDATA_DIR determined by configure. (clean-tz.properties): Remove generated tz.properties. * NEWS: Updated. * acinclude.m4: (IT_WITH_TZDATA_DIR): Use ${datadir}/javazi as default. Sync macro with improvements in similiar IT_WITH_TAPSET_DIR. * tz.properties.in: Use _TZDATA_DIR_ instead of @TZDATA_DIR@ to distinguish it from configure-based substitution. diffstat: ChangeLog | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++ Makefile.am | 39 ++++++++++++------------- NEWS | 7 +++- acinclude.m4 | 40 +++++++++++++++----------- configure.ac | 4 +- jconsole.desktop.in | 4 +- policytool.desktop.in | 4 +- tapset/jstack.stp.in | 3 +- tz.properties.in | 2 +- 9 files changed, 134 insertions(+), 47 deletions(-) diffs (379 lines): diff -r d3a9b945a1d1 -r 4d6159cbb6bd ChangeLog --- a/ChangeLog Sat Dec 29 06:06:32 2018 +0000 +++ b/ChangeLog Sun Dec 30 08:20:24 2018 +0000 @@ -1,3 +1,81 @@ +2018-09-24 Andrew John Hughes + + PR3631: Use ${datadir} when specifying default + tz.properties location + * Makefile.am: + (EXTRA_DIST): Remove stp.in files which are already + handled by configure. Add tz.properties.in which no + longer is. + (clean-local): Add clean-tz.properties. + (.PHONY): Likewise. + (add-tzdata-support): Depend on tz.properties. + (add-tzdata-support-debug): Likewise. + (add-tzdata-support-boot): Likewise. + (tz.properties): Generate tz.properties from + tz.properties.in by substituting the value of + TZDATA_DIR determined by configure. + (clean-tz.properties): Remove generated + tz.properties. + * NEWS: Updated. + * acinclude.m4: + (IT_WITH_TZDATA_DIR): Use ${datadir}/javazi + as default. Sync macro with improvements in + similiar IT_WITH_TAPSET_DIR. + * tz.properties.in: Use _TZDATA_DIR_ instead + of @TZDATA_DIR@ to distinguish it from + configure-based substitution. + +2018-11-20 Andrew John Hughes + + PR3633: arc_priority representation creates an + implicit limit on character sequence within regexp + * NEWS: Updated. + +2018-09-12 Severin Gehwolf + + PR3633: arc_priority representation creates an + implicit limit on character sequence within regexp + * tapset/jstack.stp.in: Workaround limit on regexp + length with SystemTap >= 3.2. + +2018-09-13 Andrew John Hughes + + PR3657: Sync desktop files with Fedora/RHEL + versions again + * Makefile.am: + (JDK_UPDATE_VERSION): Moved to acinclude.m4. + (BUILD_VERSION): Likewise. + (COMBINED_VERSION): Likewise. + (ICEDTEA_ENV): Use substitution for + JRE_RELEASE_VERSION, JDK_UPDATE_VERSION + and BUILD_VERSION. + (dist-openjdk): Use substitution for + COMBINED_VERSION. + (dist-openjdk-fsg): Likewise. + (dist-openjdk-fsg-xz): Likewise. + (install-data-local): Include JAVA_VENDOR + in icon name. + * NEWS: Updated. + * acinclude.m4: + (IT_DETERMINE_VERSION): Define JAVA_VENDOR, + JDK_UPDATE_VERSION, BUILD_VERSION, COMBINED_VERSION + and OPENJDK_VER here. Include OPENJDK_VER in output. + * jconsole.desktop.in: + Add full version and target architecture to name + to distinguish between multiple installations for the + same major Java version. Add JAVA_VENDOR ('openjdk') + to the icon name. + * policytool.desktop.in: Likewise. + +2013-12-26 Andrew John Hughes + + PR3657: Sync desktop files with Fedora/RHEL + versions again + * configure.ac: + Add AC_CANONICAL_TARGET after AC_CANONICAL_HOST + and move earlier in file, before Automake + initialisation. + 2018-12-28 Andrew John Hughes Bump to 2.6.15. diff -r d3a9b945a1d1 -r 4d6159cbb6bd Makefile.am --- a/Makefile.am Sat Dec 29 06:06:32 2018 +0000 +++ b/Makefile.am Sun Dec 30 08:20:24 2018 +0000 @@ -1,9 +1,5 @@ # Dependencies -JDK_UPDATE_VERSION = 191 -BUILD_VERSION = b02 -COMBINED_VERSION = $(JDK_UPDATE_VERSION)-$(BUILD_VERSION) - CORBA_CHANGESET = 9b8ff44cf2c6 JAXP_CHANGESET = 5dc90bd920db JAXWS_CHANGESET = a88988c07020 @@ -591,9 +587,9 @@ ICEDTEA_ENV = \ ALT_JDK_IMPORT_PATH="$(BOOT_DIR)" \ ANT="$(ANT)" \ - BUILD_NUMBER="$(BUILD_VERSION)" \ - JDK_UPDATE_VERSION="$(JDK_UPDATE_VERSION)" \ - JRE_RELEASE_VERSION="@JAVA_VER at _$(COMBINED_VERSION)" \ + BUILD_NUMBER="@BUILD_VERSION@" \ + JDK_UPDATE_VERSION="@JDK_UPDATE_VERSION@" \ + JRE_RELEASE_VERSION="@JAVA_VER at _@COMBINED_VERSION@" \ MILESTONE="fcs" \ LANG="C" \ PATH="$(BOOT_DIR)/bin:$(OS_PATH):$$PATH" \ @@ -921,10 +917,7 @@ $(top_srcdir)/patches/jamvm/*.patch \ tools-copy contrib overlays \ $(JTREG_SRCS) HACKING autogen.sh \ - tapset/hotspot.stp.in \ - tapset/hotspot_jni.stp.in \ - tapset/jstack.stp.in \ - tapset/hotspot_gc.stp.in \ + tz.properties.in \ scripts/jni_create_stap.c \ scripts/jni_desc \ agpl-3.0.txt \ @@ -960,7 +953,7 @@ clean-add-cacao clean-add-cacao-debug clean-rt clean-rewrite-rhino clean-rewriter \ clean-add-systemtap clean-add-systemtap-debug clean-add-nss clean-add-tzdata-support \ clean-add-tzdata-support-debug clean-cryptocheck clean-policytool- at JAVA_VER@.desktop \ - clean-jconsole- at JAVA_VER@.desktop clean-ecccheck clean-mimetypecheck + clean-jconsole- at JAVA_VER@.desktop clean-ecccheck clean-mimetypecheck clean-tz.properties if [ -e bootstrap ]; then \ rmdir bootstrap ; \ fi @@ -1000,7 +993,7 @@ clean-extract-langtools clean-split-debuginfo clean-split-debuginfo-debug \ clean-split-debuginfo-boot clean-policytool- at JAVA_VER@.desktop clean-jconsole- at JAVA_VER@.desktop \ clean-fonts clean-add-mime-types-file clean-add-mime-types-file-debug clean-add-mime-types-file-boot \ - clean-tests clean-tapset-report clean-ecccheck clean-check-ecc \ + clean-tests clean-tapset-report clean-ecccheck clean-check-ecc clean-tz.properties \ check-jdk check-hotspot check-langtools jtregcheck check-tapset check-tapset-probes \ check-tapset-jstack clean-check-java-debug @@ -1019,15 +1012,15 @@ # Creates archive of openjdk. dist-openjdk: stamps/extract-cacao.stamp find openjdk/ -name \\.hg* | xargs rm -rf - $(ZIP) -r openjdk-$(COMBINED_VERSION) openjdk/ + $(ZIP) -r openjdk- at COMBINED_VERSION@ openjdk/ # Creates archive of openjdk that is compliant with Free Software guidelines. dist-openjdk-fsg: stamps/patch-fsg.stamp - $(ZIP) -r openjdk-fsg-$(COMBINED_VERSION) openjdk/ + $(ZIP) -r openjdk-fsg- at COMBINED_VERSION@ openjdk/ dist-openjdk-fsg-xz: stamps/patch-fsg.stamp tardir=openjdk/ && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c \ - >openjdk-fsg-$(COMBINED_VERSION).tar.xz + >openjdk-fsg- at COMBINED_VERSION@.tar.xz # OpenJDK Source Preparation Targets # ================================== @@ -2108,7 +2101,7 @@ rm -f openjdk/jdk/src/share/lib/security/nss.cfg rm -f stamps/add-nss.stamp -stamps/add-tzdata-support.stamp: stamps/icedtea.stamp +stamps/add-tzdata-support.stamp: stamps/icedtea.stamp tz.properties if WITH_TZDATA_DIR if [ -e $(BUILD_SDK_DIR)/jre/lib ] ; then \ cp -v $(abs_top_builddir)/tz.properties \ @@ -2256,7 +2249,7 @@ rm -rf $(BUILD_DEBUG_SDK_DIR)/tapset rm -f stamps/add-systemtap-debug.stamp -stamps/add-tzdata-support-debug.stamp: stamps/icedtea-debug.stamp +stamps/add-tzdata-support-debug.stamp: stamps/icedtea-debug.stamp tz.properties if WITH_TZDATA_DIR if [ -e $(BUILD_DEBUG_SDK_DIR)/jre/lib ] ; then \ cp -v $(abs_top_builddir)/tz.properties \ @@ -2414,7 +2407,7 @@ rm -rf $(BUILD_BOOT_SDK_DIR)/tapset rm -f stamps/add-systemtap-boot.stamp -stamps/add-tzdata-support-boot.stamp: stamps/icedtea-boot.stamp +stamps/add-tzdata-support-boot.stamp: stamps/icedtea-boot.stamp tz.properties if WITH_TZDATA_DIR if [ -e $(BUILD_BOOT_SDK_DIR)/jre/lib ] ; then \ cp -v $(abs_top_builddir)/tz.properties \ @@ -3117,6 +3110,12 @@ clean-jconsole- at JAVA_VER@.desktop: rm -f jconsole- at JAVA_VER@.desktop +tz.properties: $(top_srcdir)/tz.properties.in + cat $< | $(SED) "s#_TZDATA_DIR_#$(TZDATA_DIR)#" > $@ + +clean-tz.properties: + rm -f tz.properties + # ECC Availability Check stamps/ecccheck.stamp: $(INITIAL_BOOTSTRAP_LINK_STAMP) @@ -3373,7 +3372,7 @@ for sizes in 16 24 32 48 ; do \ ${mkinstalldirs} $(DESTDIR)$(datadir)/icons/hicolor/$${sizes}x$${sizes}/apps ; \ ${INSTALL_DATA} openjdk/jdk/src/solaris/classes/sun/awt/X11/java-icon$${sizes}.png \ - $(DESTDIR)$(datadir)/icons/hicolor/$${sizes}x$${sizes}/apps/java- at JAVA_VER@.png ; \ + $(DESTDIR)$(datadir)/icons/hicolor/$${sizes}x$${sizes}/apps/java- at JAVA_VER@- at JAVA_VENDOR@.png ; \ done for files in $(DESKTOP_FILES) ; do \ ${INSTALL_DATA} $(builddir)/$${files} $(DESTDIR)$(datadir)/applications ; \ diff -r d3a9b945a1d1 -r 4d6159cbb6bd NEWS --- a/NEWS Sat Dec 29 06:06:32 2018 +0000 +++ b/NEWS Sun Dec 30 08:20:24 2018 +0000 @@ -23,6 +23,8 @@ - S8200666, CVE-2018-2973: Improve LDAP support - PR3608, CVE-2018-3639 hw: cpu: speculative store bypass mitigation * New features + - PR3629: Install symlinks to tapsets in SystemTap directory + - PR3657: Sync desktop files with Fedora/RHEL versions again - PR3659: Support RHEL multilib installations which use the /usr/lib/jvm/java-1.x.0-openjdk.${arch} naming * Import of OpenJDK 7 u191 build 2 - S8005661: [parfait] Possible buffer overrun in jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c @@ -55,8 +57,11 @@ - S8075942, PR3605: ArrayIndexOutOfBoundsException in sun.java2d.pisces.Dasher.goTo * Bug fixes - PR3616: Don't include timestamps in generated documentation + - PR3631: Use ${datadir} when specifying default tz.properties location - PR3652: Detect whether -Xprefer:source and -J-Xmx can be used, rather than assuming - PR3663: IcedTea installing symlinks to SystemTap directory rather than individual tapsets +* SystemTap + - PR3633: arc_priority representation creates an implicit limit on character sequence within regexp * AArch64 port - S8207345, PR3614: Trampoline generation code reads from uninitialized memory - PR3615: Fix whitespace in hotspot/src/cpu/aarch64 @@ -2072,8 +2077,6 @@ New in release 2.5.2 (2014-08-29): -* New features - - PR3629: Install symlinks to tapsets in SystemTap directory * Backports - S8049480: Current versions of Java can't verify jars signed and timestamped with Java 9 - S8051012, LP1360392: Regression in verifier for method call from inside of a branch diff -r d3a9b945a1d1 -r 4d6159cbb6bd acinclude.m4 --- a/acinclude.m4 Sat Dec 29 06:06:32 2018 +0000 +++ b/acinclude.m4 Sun Dec 30 08:20:24 2018 +0000 @@ -1489,33 +1489,29 @@ AC_DEFUN([IT_WITH_TZDATA_DIR], [ - DEFAULT="/usr/share/javazi" + TZDATA_DEFAULT="${datadir}/javazi" AC_MSG_CHECKING([which Java timezone data directory to use]) AC_ARG_WITH([tzdata-dir], - [AS_HELP_STRING([--with-tzdata-dir[[=DIR]]],set the Java timezone data directory [[DIR=/usr/share/javazi]])], + [AS_HELP_STRING([--with-tzdata-dir[[=DIR]]],set the Java timezone data directory [[default=DATAROOTDIR/javazi]])], [ if test "x${withval}" = x || test "x${withval}" = xyes; then - TZDATA_DIR_SET=yes - TZDATA_DIR="${DEFAULT}" + TZDATA_DIR="${TZDATA_DEFAULT}" else - if test "x${withval}" = xno; then - TZDATA_DIR_SET=no - AC_MSG_RESULT([no]) - else - TZDATA_DIR_SET=yes - TZDATA_DIR="${withval}" - fi + TZDATA_DIR="${withval}" fi ], [ - TZDATA_DIR="${DEFAULT}" + TZDATA_DIR="${TZDATA_DEFAULT}" ]) - if test "x${TZDATA_DIR}" != "x"; then - AC_MSG_RESULT([${TZDATA_DIR}]) + if test "x${TZDATA_DIR}" = "xno"; then + TZDATA_DIR=none + TZDATA_DIR_SET=no + else + TZDATA_DIR_SET=yes fi + AC_MSG_RESULT([${TZDATA_DIR}]) AC_SUBST([TZDATA_DIR]) - AM_CONDITIONAL(WITH_TZDATA_DIR, test "x${TZDATA_DIR}" != "x") - AC_CONFIG_FILES([tz.properties]) + AM_CONDITIONAL(WITH_TZDATA_DIR, test "x${TZDATA_DIR_SET}" = "xyes") ]) dnl check that javac and java work @@ -2951,10 +2947,20 @@ [ AC_MSG_CHECKING([which branch and release of IcedTea is being built]) JAVA_VER=1.7.0 + JAVA_VENDOR=openjdk + JDK_UPDATE_VERSION=191 + BUILD_VERSION=b02 + COMBINED_VERSION=${JDK_UPDATE_VERSION}-${BUILD_VERSION} + OPENJDK_VER=${JAVA_VER}_${COMBINED_VERSION} ICEDTEA_RELEASE=$(echo ${PACKAGE_VERSION} | sed 's#pre.*##') ICEDTEA_BRANCH=$(echo ${ICEDTEA_RELEASE}|sed 's|\.[[0-9]]$||') - AC_MSG_RESULT([branch ${ICEDTEA_BRANCH}, release ${ICEDTEA_RELEASE} for OpenJDK ${JAVA_VER}]) + AC_MSG_RESULT([branch ${ICEDTEA_BRANCH}, release ${ICEDTEA_RELEASE} for OpenJDK ${OPENJDK_VER}]) AC_SUBST([JAVA_VER]) + AC_SUBST([JAVA_VENDOR]) + AC_SUBST([JDK_UPDATE_VERSION]) + AC_SUBST([BUILD_VERSION]) + AC_SUBST([COMBINED_VERSION]) + AC_SUBST([OPENJDK_VER]) AC_SUBST([ICEDTEA_RELEASE]) AC_SUBST([ICEDTEA_BRANCH]) ]) diff -r d3a9b945a1d1 -r 4d6159cbb6bd configure.ac --- a/configure.ac Sat Dec 29 06:06:32 2018 +0000 +++ b/configure.ac Sun Dec 30 08:20:24 2018 +0000 @@ -1,4 +1,6 @@ AC_INIT([icedtea], [2.6.15], [distro-pkg-dev at openjdk.java.net]) +AC_CANONICAL_HOST +AC_CANONICAL_TARGET AM_INIT_AUTOMAKE([1.9 tar-pax foreign]) AM_MAINTAINER_MODE([enable]) AC_CONFIG_FILES([Makefile]) @@ -17,8 +19,6 @@ AC_CONFIG_FILES([jconsole.desktop]) AC_CONFIG_FILES([policytool.desktop]) -AC_CANONICAL_HOST - AC_PROG_CC AC_PROG_CXX diff -r d3a9b945a1d1 -r 4d6159cbb6bd jconsole.desktop.in --- a/jconsole.desktop.in Sat Dec 29 06:06:32 2018 +0000 +++ b/jconsole.desktop.in Sun Dec 30 08:20:24 2018 +0000 @@ -1,8 +1,8 @@ [Desktop Entry] -Name=OpenJDK @JAVA_VER@ Monitoring & Management Console +Name=OpenJDK @OPENJDK_VER@ for @target_cpu@ Monitoring & Management Console Comment=Monitor and manage OpenJDK applications Exec=_BINDIR_/jconsole -Icon=java- at JAVA_VER@ +Icon=java- at JAVA_VER@- at JAVA_VENDOR@ Terminal=false Type=Application StartupWMClass=sun-tools-jconsole-JConsole diff -r d3a9b945a1d1 -r 4d6159cbb6bd policytool.desktop.in --- a/policytool.desktop.in Sat Dec 29 06:06:32 2018 +0000 +++ b/policytool.desktop.in Sun Dec 30 08:20:24 2018 +0000 @@ -1,8 +1,8 @@ [Desktop Entry] -Name=OpenJDK @JAVA_VER@ Policy Tool +Name=OpenJDK @OPENJDK_VER@ for @target_cpu@ Policy Tool Comment=Manage OpenJDK policy files Exec=_BINDIR_/policytool -Icon=java- at JAVA_VER@ +Icon=java- at JAVA_VER@- at JAVA_VENDOR@ Terminal=false Type=Application StartupWMClass=sun-security-tools-PolicyTool diff -r d3a9b945a1d1 -r 4d6159cbb6bd tapset/jstack.stp.in --- a/tapset/jstack.stp.in Sat Dec 29 06:06:32 2018 +0000 +++ b/tapset/jstack.stp.in Sun Dec 30 08:20:24 2018 +0000 @@ -48,7 +48,8 @@ /* Resolve multiple installed java versions conflict. */ @define _private %( %( systemtap_v >= "3.0" %? private %) %) @define _check_match %( - %( systemtap_v >= "3.0" %? if (pp() !~ "@prefix@") next %) + %( systemtap_v >= "3.2" %? if (strpos(pp(), "@prefix@") < 0) next %) + %( systemtap_v < "3.2" && systemtap_v >= "3.0" %? if (pp() !~ "@prefix@") next %) %) @_private global Universe_methodKlassObj; diff -r d3a9b945a1d1 -r 4d6159cbb6bd tz.properties.in --- a/tz.properties.in Sat Dec 29 06:06:32 2018 +0000 +++ b/tz.properties.in Sun Dec 30 08:20:24 2018 +0000 @@ -1,1 +1,1 @@ -sun.zoneinfo.dir=@TZDATA_DIR@ +sun.zoneinfo.dir=_TZDATA_DIR_ From bugzilla-daemon at icedtea.classpath.org Sun Dec 30 08:43:50 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Sun, 30 Dec 2018 08:43:50 +0000 Subject: [Bug 3631] [IcedTea7] Use ${datadir} when specifying default tz.properties location In-Reply-To: References: Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3631 --- Comment #1 from hg commits --- details: http://icedtea.classpath.org//hg/release/icedtea7-2.6?cmd=changeset;node=4d6159cbb6bd author: Andrew John Hughes date: Sun Dec 30 08:20:24 2018 +0000 PR3631: Use ${datadir} when specifying default tz.properties location 2018-09-24 Andrew John Hughes PR3631: Use ${datadir} when specifying default tz.properties location * Makefile.am: (EXTRA_DIST): Remove stp.in files which are already handled by configure. Add tz.properties.in which no longer is. (clean-local): Add clean-tz.properties. (.PHONY): Likewise. (add-tzdata-support): Depend on tz.properties. (add-tzdata-support-debug): Likewise. (add-tzdata-support-boot): Likewise. (tz.properties): Generate tz.properties from tz.properties.in by substituting the value of TZDATA_DIR determined by configure. (clean-tz.properties): Remove generated tz.properties. * NEWS: Updated. * acinclude.m4: (IT_WITH_TZDATA_DIR): Use ${datadir}/javazi as default. Sync macro with improvements in similiar IT_WITH_TAPSET_DIR. * tz.properties.in: Use _TZDATA_DIR_ instead of @TZDATA_DIR@ to distinguish it from configure-based substitution. -- You are receiving this mail because: You are on the CC list for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gnu_andrew at member.fsf.org Mon Dec 31 07:04:45 2018 From: gnu_andrew at member.fsf.org (Andrew Hughes) Date: Mon, 31 Dec 2018 07:04:45 +0000 Subject: [SECURITY] IcedTea 2.6.15 for OpenJDK 7 Released! Message-ID: <20181231070445.GA18016@carrie.the212.com> The IcedTea project provides a harness to build the source code from OpenJDK using Free Software build tools, along with additional features such as the ability to build against system libraries and support for alternative virtual machines and architectures beyond those supported by OpenJDK. This release updates our OpenJDK 7 support in the 2.6.x series with the July 2018 security fixes from OpenJDK 7 u191. If you find an issue with the release, please report it to our bug database (http://icedtea.classpath.org/bugzilla) under the appropriate component. Development discussion takes place on the distro-pkg-dev at openjdk.java.net mailing list and patches are always welcome. Full details of the release can be found below. What's New? =========== New in release 2.6.15 (2018-12-31): * Security fixes - S8191239: Improve desktop file usage - S8193419: Better Internet address support - S8197871, CVE-2018-2938: Support Derby connections - S8197925, CVE-2018-2940: Better stack walking - S8199547, CVE-2018-2952: Exception to Pattern Syntax - S8200666, CVE-2018-2973: Improve LDAP support - PR3608, CVE-2018-3639 hw: cpu: speculative store bypass mitigation * New features - PR3629: Install symlinks to tapsets in SystemTap directory - PR3657: Sync desktop files with Fedora/RHEL versions again - PR3659: Support RHEL multilib installations which use the /usr/lib/jvm/java-1.x.0-openjdk.${arch} naming * Import of OpenJDK 7 u191 build 2 - S8005661: [parfait] Possible buffer overrun in jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c - S8005695: [parfait] Format string argument mismatch in jdk/src/solaris/native/sun/xawt/XToolkit.c - S8005752: [parfait] False positive function call mismatch at jdk/src/solaris/native/sun/xawt/XWindow.c - S8034856: gcc warnings compiling src/solaris/native/sun/security/pkcs11 - S8034857: gcc warnings compiling src/solaris/native/sun/management - S8035054: JarFacade.c should not include ctype.h - S8035287: gcc warnings compiling various libraries files - S8051972: sun/security/pkcs11/ec/ReadCertificates.java fails intermittently - S8076117: EndEntityChecker should not process custom extensions after PKIX validation - S8157898: SupportedDSAParamGen.java failed with timeout - S8170035: When determining the ciphersuite lists, there is no debug output for disabled suites. - S8176183: sun/security/mscapi/SignedObjectChain.java fails on Windows - S8187635: On Windows Swing changes keyboard layout on a window activation - S8196224: Even better Internet address support - S8196854: TestFlushableGZIPOutputStream failing with IndexOutOfBoundsException - S8197943: Unable to use JDWP API in JDK 8 to debug JDK 9 VM - S8200359: (tz) Upgrade time-zone data to tzdata2018d - S8201433: Fix potential crash in BufImg_SetupICM - S8202585: JDK 8u181 l10n resource file update - S8202996: Remove debug print statements from RMI fix - S8203182: Release session if initialization of SunPKCS11 Signature fails - S8203233: (tz) Upgrade time-zone data to tzdata2018e - S8203368: ObjectInputStream filterCheck method throws NullPointerException - S8205491: adjust reflective access checks - S8205587, PR3606: Implicit function declaration in jni_util.c - S8207151, PR3604: Frequent JVM Crash SIGSEGV same stacktrace location during tomcat start with hibernate init on 7u181-2.6.14-0ubuntu0.1 * Backports - S8075942, PR3605: ArrayIndexOutOfBoundsException in sun.java2d.pisces.Dasher.goTo * Bug fixes - PR3616: Don't include timestamps in generated documentation - PR3631: Use ${datadir} when specifying default tz.properties location - PR3652: Detect whether -Xprefer:source and -J-Xmx can be used, rather than assuming - PR3663: IcedTea installing symlinks to SystemTap directory rather than individual tapsets * SystemTap - PR3633: arc_priority representation creates an implicit limit on character sequence within regexp * AArch64 port - S8207345, PR3614: Trampoline generation code reads from uninitialized memory - PR3615: Fix whitespace in hotspot/src/cpu/aarch64 The tarballs can be downloaded from: * http://icedtea.classpath.org/download/source/icedtea-2.6.15.tar.gz * http://icedtea.classpath.org/download/source/icedtea-2.6.15.tar.xz We provide both gzip and xz tarballs, so that those who are able to make use of the smaller tarball produced by xz may do so. The tarballs are accompanied by digital signatures available at: * http://icedtea.classpath.org/download/source/icedtea-2.6.15.tar.gz.sig * http://icedtea.classpath.org/download/source/icedtea-2.6.15.tar.xz.sig These are produced using my public key. See details below. PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net) Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222 GnuPG >= 2.1 is required to be able to handle this key. SHA256 checksums: 6275b9cb67e82726ddd12ff52103a9114d7d2998a0c21a8024b46607112a86b9 icedtea-2.6.15.tar.gz 64273b5a8c5136368e4f5e0e525f17472684a4c07b54d20e2983923a874d1955 icedtea-2.6.15.tar.gz.sig fea1f128b09fe18249223e9efe2f8f95af886a22c26e1e8593068dc3dd51a5b9 icedtea-2.6.15.tar.xz bf814a0f15a9bd94c96639a3fdc3303f672b3f6f031c04107745b76ddb4acffd icedtea-2.6.15.tar.xz.sig The checksums can be downloaded from: * http://icedtea.classpath.org/download/source/icedtea-2.6.15.sha256 The following people helped with these releases: * Severin Gehwolf (PR3633) * Andrew Hughes (all other backports & bug fixes, release management) We would also like to thank the bug reporters and testers! To get started: $ tar xzf icedtea-2.6.15.tar.gz or: $ tar x -I xz -f icedtea-2.6.15.tar.xz then: $ mkdir icedtea-build $ cd icedtea-build $ ../icedtea-2.6.15/configure $ make Full build requirements and instructions are available in the INSTALL file. Happy hacking! -- 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 228 bytes Desc: not available URL: From bugzilla-daemon at icedtea.classpath.org Mon Dec 31 16:14:04 2018 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 31 Dec 2018 16:14:04 +0000 Subject: [Bug 3674] New: Unable to launch applet with a error Entry-Point manifest attribute for yours 'exc.fe.FeLaunch'not found Message-ID: https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3674 Bug ID: 3674 Summary: Unable to launch applet with a error Entry-Point manifest attribute for yours 'exc.fe.FeLaunch'not found Product: IcedTea-Web Version: 1.7 Hardware: x86_64 OS: Windows Status: NEW Severity: enhancement Priority: P5 Component: NetX (javaws) Assignee: jvanek at redhat.com Reporter: radmahap at in.ibm.com CC: unassigned at icedtea.classpath.org Created attachment 1715 --> https://icedtea.classpath.org/bugzilla/attachment.cgi?id=1715&action=edit Log from our System We are unable to lunch applet using Iced-Tea Web and not much relevant error message on the logs. Attached the logs form our system. >From the logs: Entry-Point manifest attribute for yours 'exc.fe.FeLaunch'not found [IBM_ADMIN][ITW-JAVAWS][WARNING_ALL][Mon Dec 31 21:24:11 IST 2018][net.sourceforge.jnlp.util.logging.FileLog.getHeadlineHeader(FileLog.java:53)] NETX Thread# 2b411bd, name Output controller consumer daemon log-based impl. [IBM_ADMIN][ITW-APPLET][MESSAGE_DEBUG][Mon Dec 31 21:24:11 IST 2018][net.sourceforge.jnlp.config.DeploymentConfiguration.move14AndOlderFilesTo15Structure(DeploymentConfiguration.java:846)] NETX Thread# 378bf509, name main System is already following XDG .cache and .config specifications [IBM_ADMIN][ITW-APPLET][MESSAGE_DEBUG][Mon Dec 31 21:24:11 IST 2018][net.sourceforge.jnlp.config.DeploymentConfiguration.move14AndOlderFilesTo15Structure(DeploymentConfiguration.java:848)] NETX Thread# 378bf509, name main config: C:\Users\IBM_ADMIN\.config\icedtea-web file exists: true [IBM_ADMIN][ITW-APPLET][MESSAGE_DEBUG][Mon Dec 31 21:24:11 IST 2018][net.sourceforge.jnlp.config.DeploymentConfiguration.move14AndOlderFilesTo15Structure(DeploymentConfiguration.java:853)] NETX Thread# 378bf509, name main cache: C:\Users\IBM_ADMIN\.cache\icedtea-web file exists:true [IBM_ADMIN][ITW-APPLET][MESSAGE_ALL][Mon Dec 31 21:24:11 IST 2018][net.sourceforge.jnlp.config.DeploymentConfiguration.(DeploymentConfiguration.java:277)] NETX Thread# 378bf509, name main On windows, answering headless at startup, to prevent race condition later - false [IBM_ADMIN][ITW-APPLET][MESSAGE_DEBUG][Mon Dec 31 21:24:11 IST 2018][net.sourceforge.jnlp.config.DeploymentConfiguration.(DeploymentConfiguration.java:282)] NETX Thread# 378bf509, name main Ico provider registered correctly. [IBM_ADMIN][ITW-APPLET][MESSAGE_DEBUG][Mon Dec 31 21:24:11 IST 2018][net.sourceforge.jnlp.config.DeploymentConfiguration.loadProperties(DeploymentConfiguration.java:599)] NETX Thread# 378bf509, name main Loading User level properties from: C:\Users\IBM_ADMIN\.config\icedtea-web\deployment.properties [IBM_ADMIN][ITW-APPLET][MESSAGE_DEBUG][Mon Dec 31 21:24:11 IST 2018][net.sourceforge.jnlp.config.DirectoryValidator.(DirectoryValidator.java:237)] NETX Thread# 378bf509, name main WARNING: key deployment.system.cachedir has no value, setting to default value [IBM_ADMIN][ITW-APPLET][MESSAGE_DEBUG][Mon Dec 31 21:24:11 IST 2018][net.sourceforge.jnlp.config.DirectoryValidator.(DirectoryValidator.java:242)] NETX Thread# 378bf509, name main WARNING: key deployment.system.cachedir has no value, skipping [IBM_ADMIN][ITW-APPLET][MESSAGE_DEBUG][Mon Dec 31 21:24:11 IST 2018][net.sourceforge.jnlp.runtime.JNLPRuntime.setOfflineForced(JNLPRuntime.java:392)] NETX Thread# 378bf509, name main Forcing of offline set to: false [IBM_ADMIN][ITW-APPLET][MESSAGE_DEBUG][Mon Dec 31 21:24:11 IST 2018][net.sourceforge.jnlp.util.logging.FileLog.getFileName(FileLog.java:112)] NETX Thread# 2b411bd, name Output controller consumer daemon Attempting to log into: C:\Users\IBM_ADMIN\.config\icedtea-web\log\itw-javantx-2018-12-31_21_24_11.605.log [IBM_ADMIN][ITW-APPLET][ERROR_ALL][Mon Dec 31 21:24:11 IST 2018][net.sourceforge.jnlp.util.FileUtils.createRestrictedFile(FileUtils.java:247)] NETX Thread# 2b411bd, name Output controller consumer daemon Removing execute permissions on file C:\Users\IBM_ADMIN\.config\icedtea-web\log\itw-javantx-2018-12-31_21_24_11.605.log.temp failed [IBM_ADMIN][ITW-APPLET][ERROR_ALL][Mon Dec 31 21:24:11 IST 2018][net.sourceforge.jnlp.util.FileUtils.createRestrictedFile(FileUtils.java:250)] NETX Thread# 2b411bd, name Output controller consumer daemon Removing read permission on file C:\Users\IBM_ADMIN\.config\icedtea-web\log\itw-javantx-2018-12-31_21_24_11.605.log.temp failed [IBM_ADMIN][ITW-JAVAWS][MESSAGE_DEBUG][Mon Dec 31 21:24:11 IST 2018][net.sourceforge.jnlp.security.SecurityDialogMessageHandler.run(SecurityDialogMessageHandler.java:90)] NETX Thread# 280deade, name NetxSecurityThread Starting security dialog thread [IBM_ADMIN][ITW-JAVAWS][MESSAGE_DEBUG][Mon Dec 31 21:24:12 IST 2018][net.sourceforge.jnlp.browser.FirefoxPreferencesFinder.find(FirefoxPreferencesFinder.java:87)] NETX Thread# 378bf509, name main Using firefox's profiles file: C:\Users\IBM_ADMIN\AppData\Roaming\Mozilla\Firefox\profiles.ini [IBM_ADMIN][ITW-JAVAWS][MESSAGE_DEBUG][Mon Dec 31 21:24:12 IST 2018][net.sourceforge.jnlp.browser.FirefoxPreferencesFinder.find(FirefoxPreferencesFinder.java:145)] NETX Thread# 378bf509, name main Found preferences file: C:\Users\IBM_ADMIN\AppData\Roaming\Mozilla\Firefox\Profiles/3fyggsfu.default\prefs.js [IBM_ADMIN][ITW-JAVAWS][MESSAGE_DEBUG][Mon Dec 31 21:24:12 IST 2018][net.sourceforge.jnlp.browser.FirefoxPreferencesParser.parse(FirefoxPreferencesParser.java:143)] NETX Thread# 378bf509, name main Read 235 entries from Firefox's preferences [IBM_ADMIN][ITW-JAVAWS][MESSAGE_DEBUG][Mon Dec 31 21:24:12 IST 2018][net.sourceforge.jnlp.runtime.JnlpBoot.run(JnlpBoot.java:63)] NETX Thread# 378bf509, name main Proceeding with jnlp [IBM_ADMIN][ITW-JAVAWS][MESSAGE_DEBUG][Mon Dec 31 21:24:12 IST 2018][net.sourceforge.jnlp.runtime.Boot.getFileLocation(Boot.java:290)] NETX Thread# 378bf509, name main JNLP file location: C:\Users\IBM_AD~1\AppData\Local\Temp\gersExc-8.jnlp [IBM_ADMIN][ITW-JAVAWS][MESSAGE_DEBUG][Mon Dec 31 21:24:12 IST 2018][net.sourceforge.jnlp.MalformedXMLParser.getRootNode(MalformedXMLParser.java:77)] NETX Thread# 378bf509, name main Using MalformedXMLParser [IBM_ADMIN][ITW-JAVAWS][MESSAGE_DEBUG][Mon Dec 31 21:24:12 IST 2018][net.sourceforge.nanoxml.XMLElement.sanitizeInput(XMLElement.java:1310)] NETX Thread# 5d899f11, name Thread-3 [IBM_ADMIN][ITW-JAVAWS][MESSAGE_DEBUG][Mon Dec 31 21:24:12 IST 2018][net.sourceforge.nanoxml.XMLElement.sanitizeInput(XMLElement.java:1310)] NETX Thread# 5d899f11, name Thread-3 line: 2 [IBM_ADMIN][ITW-JAVAWS][MESSAGE_DEBUG][Mon Dec 31 21:24:12 IST 2018][net.sourceforge.nanoxml.XMLElement.sanitizeInput(XMLElement.java:1310)] NETX Thread# 5d899f11, name Thread-3 line: 3 -- 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 Dec 31 20:55:30 2018 From: andrew at icedtea.classpath.org (andrew at icedtea.classpath.org) Date: Mon, 31 Dec 2018 20:55:30 +0000 Subject: /hg/release/icedtea7-2.6: 4 new changesets Message-ID: changeset 4f0dda783174 in /hg/release/icedtea7-2.6 details: http://icedtea.classpath.org/hg/release/icedtea7-2.6?cmd=changeset;node=4f0dda783174 author: Andrew John Hughes date: Mon Dec 31 06:38:25 2018 +0000 Set release date to today. 2018-12-31 Andrew John Hughes * NEWS: Set release date to today. changeset 21256338e504 in /hg/release/icedtea7-2.6 details: http://icedtea.classpath.org/hg/release/icedtea7-2.6?cmd=changeset;node=21256338e504 author: Andrew John Hughes date: Mon Dec 31 20:52:47 2018 +0000 Added tag icedtea-2.6.15pre01 for changeset 250a19341b85 changeset 3269a182b162 in /hg/release/icedtea7-2.6 details: http://icedtea.classpath.org/hg/release/icedtea7-2.6?cmd=changeset;node=3269a182b162 author: Andrew John Hughes date: Mon Dec 31 20:52:54 2018 +0000 Added tag icedtea-2.6.15 for changeset 21256338e504 changeset 53f42b5c6e0c in /hg/release/icedtea7-2.6 details: http://icedtea.classpath.org/hg/release/icedtea7-2.6?cmd=changeset;node=53f42b5c6e0c author: Andrew John Hughes date: Mon Dec 31 20:55:14 2018 +0000 Start 2.6.16 release cycle. 2018-12-31 Andrew John Hughes * NEWS: Add section for 2.6.16. * configure.ac: Bump to 2.6.16pre00. diffstat: .hgtags | 2 ++ ChangeLog | 9 +++++++++ NEWS | 4 +++- configure.ac | 2 +- 4 files changed, 15 insertions(+), 2 deletions(-) diffs (48 lines): diff -r 4d6159cbb6bd -r 53f42b5c6e0c .hgtags --- a/.hgtags Sun Dec 30 08:20:24 2018 +0000 +++ b/.hgtags Mon Dec 31 20:55:14 2018 +0000 @@ -82,3 +82,5 @@ bcfd79d6c2883b158fd15282b049a82c45272690 icedtea-2.6.13 0f6ea3deeb6e95f9f85d2ffeb46c568e73e0fe78 icedtea-2.6.14pre01 6692ce358b4047fa15c09cb157193d1e64dbc2df icedtea-2.6.14 +250a19341b852691aea3f3876616f968aa1bd876 icedtea-2.6.15pre01 +21256338e5048adf631c0c3865620b610cf72f88 icedtea-2.6.15 diff -r 4d6159cbb6bd -r 53f42b5c6e0c ChangeLog --- a/ChangeLog Sun Dec 30 08:20:24 2018 +0000 +++ b/ChangeLog Mon Dec 31 20:55:14 2018 +0000 @@ -1,3 +1,12 @@ +2018-12-31 Andrew John Hughes + + * NEWS: Add section for 2.6.16. + * configure.ac: Bump to 2.6.16pre00. + +2018-12-31 Andrew John Hughes + + * NEWS: Set release date to today. + 2018-09-24 Andrew John Hughes PR3631: Use ${datadir} when specifying default diff -r 4d6159cbb6bd -r 53f42b5c6e0c NEWS --- a/NEWS Sun Dec 30 08:20:24 2018 +0000 +++ b/NEWS Mon Dec 31 20:55:14 2018 +0000 @@ -12,7 +12,9 @@ CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY -New in release 2.6.15 (2018-11-XX): +New in release 2.6.16 (2018-12-31): + +New in release 2.6.15 (2018-12-31): * Security fixes - S8191239: Improve desktop file usage diff -r 4d6159cbb6bd -r 53f42b5c6e0c configure.ac --- a/configure.ac Sun Dec 30 08:20:24 2018 +0000 +++ b/configure.ac Mon Dec 31 20:55:14 2018 +0000 @@ -1,4 +1,4 @@ -AC_INIT([icedtea], [2.6.15], [distro-pkg-dev at openjdk.java.net]) +AC_INIT([icedtea], [2.6.16pre00], [distro-pkg-dev at openjdk.java.net]) AC_CANONICAL_HOST AC_CANONICAL_TARGET AM_INIT_AUTOMAKE([1.9 tar-pax foreign])