RFR: 8304006: jlink should create the jimage file in the native endian for the target platform [v8]

Alan Bateman alanb at openjdk.org
Tue Mar 14 08:32:36 UTC 2023


On Mon, 13 Mar 2023 23:07:13 GMT, Mandy Chung <mchung at openjdk.org> wrote:

> `Platform::parsePlatform` is the utility method to parse `ModuleTarget`. It can be updated to include additional architectures.

Alternatively, don't parse it. If we go with Jim's suggestion of a resource file then it is just a simple mapping of the ModuleTarget value, e.g the entry for macox-x64 would be:

macos-amd64.endianness = little

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

PR: https://git.openjdk.org/jdk/pull/11943


More information about the core-libs-dev mailing list