On Fri, 21 Apr 2023 16:44:13 GMT, Roger Riggs <rri...@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

Reply via email to