On Wed, 16 Apr 2025 23:41:40 GMT, Jiangli Zhou <[email protected]> wrote:
> Please review this simple test change that skips the test case loading using
> JDK `libzip.so` on static JDK in
> test/jdk/jdk/internal/loader/NativeLibraries/Main.java. AFAICT, the test case
> using `NativeLibrariesTest.LIB_NAME` (`libnativeLibrariesTest.so`) can
> provide coverage on static JDK.
>
> Thanks
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?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24704#issuecomment-2820424514