JEP 223: New Version-String Scheme
Jörn Huxhorn
jhuxhorn at googlemail.com
Tue Jul 14 09:53:00 UTC 2015
I’ve found a small typo in JEP 223 / https://bugs.openjdk.java.net/browse/JDK-8061493
The line
"Security 2014/04 1.7.0_55-b13 7u55 7.6.14+13 7.5.14"
should be
"Security 2014/04 1.7.0_55-b13 7u55 7.5.14+13 7.5.14"
Is the JEP at http://openjdk.java.net/jeps/223 being kept in sync with https://bugs.openjdk.java.net/browse/JDK-8061493 or does the issue override the JEP?
What’s the status of JEP 223? Will it definitely be included in Java 9?
Latest EA gives me this:
java version "1.9.0-ea"
Java(TM) SE Runtime Environment (build 1.9.0-ea-b72)
Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-ea-b72, mixed mode)
Is there an ETA when this will be included so we can test with the new version scheme?
The "Pre-release identifiers are compared numerically when they consist only of digits, and lexicographically otherwise.” part is a bit concerning and doesn’t really adhere to the principle of least surprise.
I currently handle it this way in Comparable<MyVersion>: http://pastebin.com/7xaizUKm …but it makes me feel kind of dirty.
Wouldn’t it make more sense to just rule that pre should be compared lexicographically? I think https://bugs.openjdk.java.net/browse/JDK-8061493?focusedCommentId=13602386&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13602386 has a very valid point.
I hope this is the proper way to discuss JEP 223. It’s not possible to just create an account for the bug tracker, right?
Cheers,
Jörn.
More information about the verona-dev
mailing list