RFR: JDK-8319516 - Native library suffix impact on the library loading in AIX- Java Class Loader [v8]
Mandy Chung
mchung at openjdk.org
Mon Apr 1 18:43:01 UTC 2024
On Mon, 1 Apr 2024 17:07:47 GMT, Suchismith Roy <sroy at openjdk.org> wrote:
>> Allow support for both .a and .so files in AIX.
>> If .so file is not found, allow fallback to .a extension.
>> JBS Issue: [JDK-8319516](https://bugs.openjdk.org/browse/JDK-8319516)
>
> Suchismith Roy has updated the pull request incrementally with one additional commit since the last revision:
>
> spaces
The message is correct because `System.loadLibrary("libname.a")` is asking to load a library name with "libname.a" which will be prepended with "lib" and appended with ".so" which is the platform-specific behavior. No library named "liblibname.a.so" exists
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17945#issuecomment-2030335079
More information about the core-libs-dev
mailing list