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.

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

Commit messages:
 - Merge branch 'master' into 8304914-os-jpackage
 - Merge branch '8306678-os-version' into 8304914-os-jpackage
 - Merge branch '8304915-arch-enum' into 8306678-os-version
 - Correct comment on isPPC64() and refer to isLittleEndian() instead of 
mentioning PPC64LE
 - Simplify initialization in ClassLoaderHelper and fix VersionTest.
 - Revert changes to MacOsX sun.nio.fs.BsdFileStore; the version check is being 
removed in another PR.
 - Review comment updates
 - 8304914: Use OperatingSystem, Architecture, and Version in jpackage
 - In jdk.jpackage replace Platform with OperatingSystem and Architecture
 - Simplify exception handling
 - ... and 21 more: https://git.openjdk.org/jdk/compare/561ec9c5...505ad721

Changes: https://git.openjdk.org/jdk/pull/13586/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13586&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8304914
  Stats: 237 lines in 23 files changed: 41 ins; 132 del; 64 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

Reply via email to