RFR: 8306678: Replace use of os.version with an internal Version record [v3]

Mandy Chung mchung at openjdk.org
Tue Apr 25 17:05:12 UTC 2023


On Tue, 25 Apr 2023 14:17:22 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.
>
> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Simplify initialization in ClassLoaderHelper and fix VersionTest.

Marked as reviewed by mchung (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/13584#pullrequestreview-1400361318


More information about the nio-dev mailing list