RFR: 8072379: Implement jdk.Version and jdk.OracleVersion

Iris Clark iris.clark at oracle.com
Fri Dec 18 21:55:58 UTC 2015


Hi, Joe.

I've filed the following JDK 9 RFE to provide this functionality:

    8145794: Provide Verona interpretation of historical JDK version strings
    https://bugs.openjdk.java.net/browse/JDK-8145794

Thanks,
iris

-----Original Message-----
From: joe darcy 
Sent: Sunday, November 29, 2015 4:18 PM
To: Mandy Chung; Iris Clark
Cc: verona-dev at openjdk.java.net; core-libs-dev at openjdk.java.net
Subject: Re: RFR: 8072379: Implement jdk.Version and jdk.OracleVersion

PPS Perhaps this is already planned as future work, but it might be a kindness to those analyzing JDK version strings if there was a class that did a "best effort" at understanding Sun and Oracle JDK version strings pre-Verona to those post-Verona. In other words, a version class where

     new JdkVersion("1.8.0_25")

would have major() == 8 and minor() == 25, but have the specified meaning for strings for Verona strings where the first group was numerically 9 or larger.

Cheers,

-Joe



More information about the core-libs-dev mailing list