JEP 322: Time-Based Release Versioning

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Mon Dec 4 21:13:22 UTC 2017


On 2017-12-04 17:48, mark.reinhold at oracle.com wrote:
> New JEP Candidate: http://openjdk.java.net/jeps/322
Mark,

This looks very good.

Just one remark: In the definition of java.vendor.version, the following 
statement is made:
"Its value has the same format as the |java.version| system property, 
/i.e./, |$VNUM(\-$PRE)?|".

I would recommend removing that, and leaving it entirely up to the 
implementor to provide a generic string. That would solve e.g. Matthias 
Klose's issue of getting a proper Ubuntu version string into OpenJDK.

Also, it might be more sane to leave this property empty if no value is 
given, rather than to assign it to the same value as java.version. It's 
just redundant and will force all users to compare java.vendor.version 
to java.version before deciding to display anything, instead of simply 
checking if it's non-empty.

/Magnus


More information about the jdk-dev mailing list