RFR: 8304914: Use OperatingSystem, Architecture, and Version in jpackage [v2]

Roger Riggs rriggs at openjdk.org
Fri May 5 14:12:21 UTC 2023


> Refactor the Platform class in jdk.jpackage to use the internal OperatingSystem, Architecture, and Version classes.
> The OperatingSystem.isXXX() and Architecture.isYYY() methods replace comparisons in the Platform class.
> The checks of the os.version are replaced but may not be needed if OpenJDK no longer supports them.
> 
> It is recommended to remove os version checks that apply only to Mac versions before 10.15.
> Mac OS X 10.15 is the oldest version supported.

Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:

  Minor source code style cleanup

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/13586/files
  - new: https://git.openjdk.org/jdk/pull/13586/files/505ad721..5657da10

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=13586&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13586&range=00-01

  Stats: 5 lines in 4 files changed: 0 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/13586.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13586/head:pull/13586

PR: https://git.openjdk.org/jdk/pull/13586


More information about the core-libs-dev mailing list