On Mon, 13 Mar 2023 14:43:35 GMT, Alan Bateman <al...@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

Reply via email to