RFR: 8304913: Use OperatingSystem, Architecture, and Version in jlink [v5]
Roger Riggs
rriggs at openjdk.org
Tue May 9 14:06:12 UTC 2023
> 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.
Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
The CDS plugin supports only same platform operation.
On 64-bit runtimes, the non-compressed oop CDS archive is generated.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/13585/files
- new: https://git.openjdk.org/jdk/pull/13585/files/db56d702..fc1959a2
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=13585&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=13585&range=03-04
Stats: 12 lines in 2 files changed: 3 ins; 8 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/13585.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13585/head:pull/13585
PR: https://git.openjdk.org/jdk/pull/13585
More information about the core-libs-dev
mailing list