RFR: 8306678: Replace use of os.version with an internal Version record [v2]
Roger Riggs
rriggs at openjdk.org
Mon Apr 24 19:56:19 UTC 2023
> 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 two additional commits since the last revision:
- Revert changes to MacOsX sun.nio.fs.BsdFileStore; the version check is being removed in another PR.
- Review comment updates
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/13584/files
- new: https://git.openjdk.org/jdk/pull/13584/files/93d5663e..01bc9cbf
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=13584&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=13584&range=00-01
Stats: 43 lines in 3 files changed: 16 ins; 10 del; 17 mod
Patch: https://git.openjdk.org/jdk/pull/13584.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13584/head:pull/13584
PR: https://git.openjdk.org/jdk/pull/13584
More information about the core-libs-dev
mailing list