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

Jaikiran Pai jpai at openjdk.org
Mon Mar 13 15:03:42 UTC 2023


On Mon, 13 Mar 2023 14:43:35 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> To add to Jim's comment, the other thing we think about here is mapping the value of the ModuleTarget attribute to endianness, meaning don't parse it to extract the architecture.

So that would then mean updating the build file where we create these jmod file(s) to use a value for `--target-platform` that even includes the endianness in the string value, example: `aix-ppc64-big` and `macos-aarch64-little`. So a change here https://github.com/openjdk/jdk/blob/master/make/CreateJmods.gmk#L252. Did I understand it correctly?

(Of course, need to make sure that new format doesn't break expectation of existing code which parses that string)

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

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


More information about the core-libs-dev mailing list