RFR: JDK-8319516 - Native library suffix impact on the library loading in AIX- Java Class Loader [v5]

Suchismith Roy sroy at openjdk.org
Wed Mar 27 17:32:24 UTC 2024


On Wed, 27 Mar 2024 17:27:43 GMT, Suchismith Roy <sroy at openjdk.org> wrote:

>> Oh ok.Yes i have removed that now. You mean ,load library wont support it, but load will be able to support it since the loadLibraryIfPresent is returned false now. 
>> 
>> Now the loadLibrary can only handle .so to .a mapping due to mapAlternativeName
>
>> Because of the VM support, we can remove `mapAlternativeName` completely.
> 
> Does VM provide support for mapping .so to .a files ? We still have cases where the entire .a file is shared and don't need to mention the member.

libsystemInfo.a is one use case ,i got after discussion with our teams, which actually raised this issue in J9. So there are cases where pure .a files exist.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17945#discussion_r1541548250


More information about the core-libs-dev mailing list