Thank you David, I added your script to the build I have split the job into two jobs:
the latest "JDK18 EA" https://ci-hadoop.apache.org/view/ZooKeeper/job/ZooKeeper-Java-EA-JDK18. the latest JDK EA (currently JDK19) https://ci-hadoop.apache.org/view/ZooKeeper/job/ZooKeeper-Java-EA INFRA updated JDK19 and JDK18 waiting for the results Enrico Il giorno mer 9 mar 2022 alle ore 10:59 David Delabassee <david.delabas...@oracle.com> ha scritto: > > Hi Enrico, > > Thanks for the feedback. That indeed looks to be old 19-EA build. > > Here are 2 ways to get the build version. > `echo 'System.out.println(System.getProperty("java.vm.version"))' | > jshell -` > `java -XshowSettings:properties -version 2>&1 | grep java.vm.version` > > --David > > > On 01/03/2022 17:20, Enrico Olivelli wrote: > > Apache ZooKeeper tests are still passing on JDK19 > > > > https://urldefense.com/v3/__https://ci-hadoop.apache.org/view/ZooKeeper/job/ZooKeeper-Java-EA/__;!!ACWV5N9M2RV99hQ!cqdcBXMFW4R7WVeyw-J3R_93M-WT34UcAp_H7f9JxvFNJoII8bDH_c_Rnu5weeBoND3B$ > > > > But I am not 100% sure that we are using the latest EA > > > > [ZooKeeper-Java-EA] $ /home/jenkins/tools/maven/apache-maven-3.8.4/bin/mvn > > -v > > Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537) > > Maven home: /home/jenkins/tools/maven/apache-maven-3.8.4 > > Java version: 19-ea, vendor: Oracle Corporation, runtime: > > /usr/local/asfpackages/java/openjdk-19-ea+1 > > Default locale: en_US, platform encoding: UTF-8 > > OS name: "linux", version: "4.15.0-58-generic", arch: "amd64", family: > > "unix" > > > > the folder on Jenkins is named "openjdk-19-ea+1" > > > > @David > > is there a way to get the full version, like using a jshell script ? > > > > I have to ask to ASF Infra > > > > Enrico > > > > > > > > > > Enrico > > > > Il giorno lun 28 feb 2022 alle ore 21:29 David Delabassee > > <david.delabas...@oracle.com> ha scritto: > >> Enrico, > >> > >> The Release Candidates of JDK 18 have been released [1]. At this stage, > >> only P1 issues will be evaluated [2]. And with the JDK 18 General > >> Availability sets for March 22nd, it is now time to shift the focus to > >> JDK 19. I'd like to thank those of you who have already provided > >> feedback on the early Early Builds of JDK 19. Feedback is always > >> extremely useful, even more, when it comes early in the development cycle. > >> > >> [1] > >> https://mail.openjdk.java.net/pipermail/jdk-dev/2022-February/006404.html > >> [2] https://openjdk.java.net/jeps/3 > >> > >> > >> ## JDK 18 Release Candidate > >> > >> The Release Candidate builds of JDK 18 are now available [3], and are > >> provided under the GNU General Public License v2, with the Classpath > >> Exception. The Release Notes are available here [4]. > >> > >> [3] > >> https://urldefense.com/v3/__https://jdk.java.net/18/__;!!ACWV5N9M2RV99hQ!cqdcBXMFW4R7WVeyw-J3R_93M-WT34UcAp_H7f9JxvFNJoII8bDH_c_Rnu5wee6zmMRp$ > >> [4] > >> https://urldefense.com/v3/__https://jdk.java.net/18/release-notes__;!!ACWV5N9M2RV99hQ!cqdcBXMFW4R7WVeyw-J3R_93M-WT34UcAp_H7f9JxvFNJoII8bDH_c_Rnu5weWCo-8LL$ > >> > >> > >> ## JDK 19 Early-Access builds > >> > >> JDK 19 Early-Access builds 11 are now available [5], and are provided > >> under the GNU General Public License v2, with the Classpath Exception. > >> The Release Notes are available here [6]. > >> > >> [5] > >> https://urldefense.com/v3/__https://jdk.java.net/19/__;!!ACWV5N9M2RV99hQ!cqdcBXMFW4R7WVeyw-J3R_93M-WT34UcAp_H7f9JxvFNJoII8bDH_c_Rnu5webnzUCEI$ > >> [6] > >> https://urldefense.com/v3/__https://jdk.java.net/19/release-notes__;!!ACWV5N9M2RV99hQ!cqdcBXMFW4R7WVeyw-J3R_93M-WT34UcAp_H7f9JxvFNJoII8bDH_c_Rnu5weZPMJ2VI$ > >> > >> Recent changes that maybe of interest: > >> > >> * JDK-8278067: Make HttpURLConnection default keep alive timeout > >> configurable > >> * JDK-8281000: ClassLoader::registerAsParallelCapable throws NPE if > >> caller is null > >> * JDK-8282279: Interpret case-insensitive string locale independently > >> * JDK-8176706: Support CLDR's Additional (Skeleton) Date-Time Formats > >> * JDK-5041655: (ch) FileLock: negative param and overflow issues > >> * JDK-8255266: Update Public Suffix List to 3c213aa > >> * JDK-8280958: G1/Parallel: Unify marking code structure > >> * JDK-8072070: Improve interpreter stack banging > >> * JDK-8277175: Add a parallel multiply method to BigInteger > >> * JDK-8278947: Support for array constants in constant table > >> * JDK-8281462: Annotation toString output for enum not reusable for > >> source input > >> * JDK-8281175: Add a -providerPath option to jarsigner > >> * JDK-8277795: ldap connection timeout not honoured under contention > >> * JDK-8279842: HTTPS Channel Binding support for Java GSS/Kerberos > >> * JDK-8280744: Allow SuppressWarnings to be used in all declaration > >> contexts > >> * JDK-8272984: javadoc support for reproducible builds > >> * JDK-8272317: jstatd has dependency on Security Manager which needs to > >> be removed > >> > >> > >> ## New Project Loom Early-Access builds > >> > >> Project Loom Early-Access builds19-loom+4-115 (2022/2/13) are available > >> [7] with the related Javadoc [8]. > >> > >> These EA builds are based on JDK 19 (jdk-19+9). In those builds, the > >> APIs for Structured Concurrency and Scope Locals have been moved into > >> the `jdk.incubator.concurrent` incubator module. Note that the module > >> name may change later. To use those APIs, simply use `--add-modules > >> jdk.incubator.concurrent` at compile and runtime. > >> > >> Those EA builds are provided under the GNU General Public License, > >> version 2, with the Classpath Exception and are produced for the purpose > >> of gathering feedback. Use for any other purpose is at your own risk. > >> Proper feedback should be sent to the `loom-dev` mailing list [9]. > >> > >> [7] > >> https://urldefense.com/v3/__https://jdk.java.net/loom/__;!!ACWV5N9M2RV99hQ!cqdcBXMFW4R7WVeyw-J3R_93M-WT34UcAp_H7f9JxvFNJoII8bDH_c_Rnu5wedVJW2s7$ > >> [8] > >> https://urldefense.com/v3/__https://download.java.net/java/early_access/loom/docs/api/__;!!ACWV5N9M2RV99hQ!cqdcBXMFW4R7WVeyw-J3R_93M-WT34UcAp_H7f9JxvFNJoII8bDH_c_Rnu5wefG0bPCJ$ > >> [9] https://mail.openjdk.java.net/mailman/listinfo/loom-dev > >> > >> > >> ## Topics of Interest > >> > >> * JDK 18 - Card Table Card Size Shenanigans > >> https://urldefense.com/v3/__https://tschatzl.github.io/2022/02/15/card-table-card-size.html__;!!ACWV5N9M2RV99hQ!cqdcBXMFW4R7WVeyw-J3R_93M-WT34UcAp_H7f9JxvFNJoII8bDH_c_Rnu5wecSIyiKH$ > >> * Compiled & Tested Code In Javadoc - Inside Java Newscast #20 > >> https://urldefense.com/v3/__https://inside.java/2022/02/10/insidejava-newscast-020/__;!!ACWV5N9M2RV99hQ!cqdcBXMFW4R7WVeyw-J3R_93M-WT34UcAp_H7f9JxvFNJoII8bDH_c_Rnu5wedNT5ae5$ > >> * New candidate JEP: 423: Region Pinning for G1 > >> https://mail.openjdk.java.net/pipermail/jdk-dev/2022-February/006368.html > >> * Refactoring Java 8 code with Java 17 new features - JEP Café #9 > >> https://urldefense.com/v3/__https://inside.java/2022/02/01/jepcafe9/__;!!ACWV5N9M2RV99hQ!cqdcBXMFW4R7WVeyw-J3R_93M-WT34UcAp_H7f9JxvFNJoII8bDH_c_Rnu5webfsjMKF$ > >> > >> > >> > >> As always, let us know if you find any issues while testing your > >> projects on the latest JDK Early Access builds. Thanks for your support! > >> > >> --David > >>