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:39:11 UTC 2023


On Mon, 13 Mar 2023 15:28:49 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Do you think this cross platform image creation would be relevant/used with exploded builds and if so, should I update the PR to address it?

Actually, now that I think about it, this `isJavaBaseFromCurrentPlatform()` method will get executed even for regular (same platform) image generation. Which means if the `java.base` module file doesn't end in a `.jmod` extension then this part of the code can run into `java.nio.file.NoSuchFileException` . I will generate an exploded build and see if anything needs to be done.

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

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


More information about the core-libs-dev mailing list