RFR: 8354898: jdk/internal/loader/NativeLibraries/Main.java fails on static JDK

Jiangli Zhou jiangli at openjdk.org
Tue Apr 22 20:38:44 UTC 2025


On Tue, 22 Apr 2025 07:37:45 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Hello Jiangli, can you add a few more details to the linked JBS issue? If I understand this change correctly, then what's being proposed in this PR seems to indicate that the `jdk.internal.loader.RawNativeLibraries` is unable to load `libzip` whose `Path` is determined by a call to the `System.mapLibraryName(...)` standard API. I don't currently have access to a static JDK. Can you include the `Path` that's returned for `System.mapLibraryName("zip")` on a static JDK?

@jaikiran Added details in https://bugs.openjdk.org/browse/JDK-8354898, thanks for the suggestion. I also added command line examples for building `static-jdk` and the current method for running jtreg tests on `static-jdk`.

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

PR Comment: https://git.openjdk.org/jdk/pull/24704#issuecomment-2822427766


More information about the core-libs-dev mailing list