RFR: 8354898: jdk/internal/loader/NativeLibraries/Main.java fails on static JDK
Jiangli Zhou
jiangli at openjdk.org
Wed Apr 23 14:57:48 UTC 2025
On Wed, 23 Apr 2025 01:11:24 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`.
>
>> I also added command line examples for building static-jdk and the current method for running jtreg tests on static-jdk.
>
> Thank you, that will help me in future.
@jaikiran Thank's a lot for the careful review!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24704#issuecomment-2824589483
More information about the core-libs-dev
mailing list