First JDK 10 (18.3) Release Candidate (Build 43) Demonstrates New Versioning Scheme
Mark Reinhold‘s post “JDK 10: First Release Candidate” announced “no unresolved P1 bugs in build 43” and named that Build 43 the initial JDK 10 Release Candidate. The Reinhold post also points to the “JDK 10 Early-Access Builds” page which contains links to the release notes; to the Javadoc-based API documentation; to the “early-access, open-source builds” (OpenJDK) for Windows, Linux, macOS, and Alpine Linux; and to the Oracle JDK builds.
The following screen snapshot shows the version information provided by the OpenJDK 10 Build 43 (the text in the screen snapshot is reproduced below the image):
openjdk version "10" 2018-03-20 OpenJDK Runtime Environment 18.3 (build 10+43) OpenJDK 64-Bit Server VM 18.3 (build 10+43, mixed mode)
The next screen snapshot shown the version information provided by the Oracle JDK 10 Build 43 (the text in the screen snapshot is reproduced below the image):
java version "10" 2018-03-20 Java(TM) SE Runtime Environment 18.3 (build 10+43) Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+43, mixed mode)
As the above screen snapshots show, the -version
information for the OpenJDK and OracleJDK currently show both forms. They show the “10” in quotes for JDK 10, but they also show 18.3. This is consistent with the JSR 383 title [“Java SE 10 (18.3) Platform JSR (383)“] and its description.
There has been some confusion regarding the versioning scheme for versions of Java after JDK 9 because of rapid changing developments in plans for Java version names. Some key posts on the developing version naming after JDK 9 are shown below.
- Moving Java Forward Faster (6 September 2017)
- Proposed that “after Java 9 we adopt a strict, time-based model with a new feature release every six months, update releases every quarter, and a long-term support release every three years.”
- “To make it clear that these are time-based releases, and to make it easy to figure out the release date of any particular release, the version strings of feature releases will be of the form
$YEAR.$MONTH
.” This is where the “18.3” comes from in the above examples (representing March 2018). - Related post “Accelerating the JDK release cadence” discusses approaches to be taken with “the ultimate goal” of making “OpenJDK and Oracle JDK builds completely interchangeable.”
- Version-string schemes for the Java SE Platform and the JDK (19 October 2017)
- Addresses community concern and responses (such as this one) to original proposal.
- Outlines criteria to be considered when selecting a versioning scheme.
- Presents potential alternatives that satisfy the outlined criteria.
- References Wadler’s Law.
- Proposal: Newer version-string scheme for the Java SE Platform and the JDK (2 November 2017)
- Introduces scheme
$FEATURE.$INTERIM.$UPDATE.$EMERG
$FEATURE
is “the feature-release counter, incremented every six months regardless of release content.”- “This is primarily a time-based scheme, since $FEATURE is incremented every six months regardless of release content and, for each feature release,
$UPDATE
is incremented every three months.” - JEP 223-compliant system property
java.version.date
is added and is the “intended GA date” in “ISO-8601 YYYY-MM-DD format.” It is “some date in the future” for early access releases. In the examples above, the expected release General Availability release date is2018-03-20
.
- Introduces scheme
- Updating the version number (1 December 2017)
- States that JSR-383 documents will be updated to reference “10 (18.3)” instead of “18.3“.
- Why do “Oracle JDK 10 builds” not support AppCDS? (16 February 2018)
- I include this post because it provides a specific concrete example of how the version name differs for early access builds (“
10-ea+42
“) versus release candidate builds intended for eventual general availability (“10+43
“).
- I include this post because it provides a specific concrete example of how the version name differs for early access builds (“
The screen snapshots shown in this post depict the versions associated with the available initial build of JDK 10 Release Candidate. This initial build provides an early look at the new JDK version naming scheme in action.
Published on Java Code Geeks with permission by Dustin Marx, partner at our JCG program. See the original article here: First JDK 10 (18.3) Release Candidate (Build 43) Demonstrates New Versioning Scheme Opinions expressed by Java Code Geeks contributors are their own. |