Integrated: 8304914: Use OperatingSystem, Architecture, and Version in jpackage
Roger Riggs
rriggs at openjdk.org
Wed May 31 19:35:24 UTC 2023
On Fri, 21 Apr 2023 17:28:54 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: c3cd481a
Author: Roger Riggs <rriggs at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/c3cd481a9a51a55649ae4ffb2b98cb9eee8b3bbb
Stats: 236 lines in 23 files changed: 41 ins; 132 del; 63 mod
8304914: Use OperatingSystem, Architecture, and Version in jpackage
Reviewed-by: asemenyuk
-------------
PR: https://git.openjdk.org/jdk/pull/13586
More information about the core-libs-dev
mailing list