RFR: 8306678: Replace use of os.version with an internal Version record
Roger Riggs
rriggs at openjdk.org
Fri Apr 21 20:39:41 UTC 2023
On Fri, 21 Apr 2023 16:44:13 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> Create an internal Version record to hold and compare versions of the form (major, minor, micro).
> Add `OperatingSystem.version()` to return the version of the running OS.
> Replace uses of os.version in java.base.
> Subsequent PRs will apply to uses in other modules including, jdk.jlink, jdk.jpackage, and java.desktop.
To see how Version is used see the draft PR's for jlink (https://github.com/openjdk/jdk/pull/13585) and jpackage (https://github.com/openjdk/jdk/pull/13586).
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13584#issuecomment-1518310892
More information about the nio-dev
mailing list