> 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 with a new target base due to a merge or a rebase. The pull request now contains 38 commits: - Update OperatingSystem.version() to OSVersion.current() - Merge branch 'master' into 8304914-os-jpackage - Merge branch 'master' into 8304914-os-jpackage - Revert "The OperatingSystem enum treats AIX separately from Linux." AIX is NOT an alias for Linux. This reverts commit 802456d52a3c85a2abd8830ea80147b212d2a5b0. - Merge branch 'master' into 8304914-os-jpackage - The OperatingSystem enum treats AIX separately from Linux. The original Platform used the same enum for both. Whereever OperatingSystem.isLinux is used in jpackage it should include isAix as well. - Minor source code style cleanup - 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 - ... and 28 more: https://git.openjdk.org/jdk/compare/25b98030...ab6e20ce ------------- Changes: https://git.openjdk.org/jdk/pull/13586/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13586&range=04 Stats: 235 lines in 23 files changed: 40 ins; 132 del; 63 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