Version-string schemes for the Java SE Platform and the JDK (original) (raw)

mark.reinhold at oracle.com mark.reinhold at oracle.com
Thu Nov 2 15:10:48 UTC 2017


Thanks to those who read what I wrote [1] and took the time to reply.

First, some general points:

Now, to summarize new information.

Additional disadvantages of some of the alternatives that I listed:

(-) A two-digit absolute time-based scheme would make it difficult to switch back to a more-traditional scheme, should we ever wish to do that [2].

(-) In the absolute time-based schemes, the gaps between successive version numbers make it awkward to specify versions to tools and APIs [2].

Additional alternatives to consider:

(D) A dual scheme, in which there's both a "marketing" version and a "technical" version [3].

On this suggestion I agree with another respondent -- we've been here before, and it would add more confusion than it's worth [4].

(E) A sequence of incrementing numerals, much like JEP 223, plus the release date [5].

Encoding these two types of information in version strings seems like overkill, when one can be derived from the other. It may, however, be useful to convey the release date separately to indicate not just the age of the release but also as an indicator of its security level relative to some baseline.

Up next: A specific proposal ...

[1] http://mail.openjdk.java.net/pipermail/jdk-dev/2017-October/000007.html [2] http://mail.openjdk.java.net/pipermail/jdk-dev/2017-October/000030.html [3] http://mail.openjdk.java.net/pipermail/jdk-dev/2017-October/000031.html [4] http://mail.openjdk.java.net/pipermail/jdk-dev/2017-October/000033.html [5] http://mail.openjdk.java.net/pipermail/jdk-dev/2017-October/000028.html



More information about the jdk-dev mailing list