Integrated: 8304913: Use OperatingSystem, Architecture, and Version in jlink
Roger Riggs
rriggs at openjdk.org
Mon May 15 18:06:58 UTC 2023
On Fri, 21 Apr 2023 17:06:44 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> Refactor the Platform class of jlink to use jdk.internal.util OperatingSystem and Architecture instead of os.name and os.arch.
> They are direct replacements for the Platform enums except for UNKNOWN; its use is refactored to report errors via exceptions.
>
> Neither os.name nor os.arch should be assumed to be changeable;
> one test case is removed because it assumes os.name can be changed on the command line.
This pull request has now been integrated.
Changeset: 01892f9c
Author: Roger Riggs <rriggs at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/01892f9c6ed1ff6593f77b89fcc2c5da8d094abf
Stats: 166 lines in 7 files changed: 18 ins; 116 del; 32 mod
8304913: Use OperatingSystem, Architecture, and Version in jlink
Reviewed-by: jpai, alanb, mchung
-------------
PR: https://git.openjdk.org/jdk/pull/13585
More information about the core-libs-dev
mailing list