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:42:25 UTC 2024
On Wed, 27 Mar 2024 17:34:22 GMT, Mandy Chung <mchung at openjdk.org> wrote:
>> 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.
>
> AFAICT from your fix for [JDK-8320005](https://bugs.openjdk.org/browse/JDK-8320005) commit [e85355ad](https://github.com/openjdk/jdk/commit/e85355ada4ac1061c49ee9f1247d37a437c7b5ab).
>
> But it needs verification as I suggest (see https://github.com/openjdk/jdk/pull/17945#issuecomment-2019965401).
@mlchung [JDK-8320005](https://bugs.openjdk.org/browse/JDK-8320005) is solving the .so to .a mapping at hotspot level. But if we still call loadLibrary() , with a .so, which has an equivalent .a file, it will fail.
What kind of verification are you mentioning ? We do have use cases where we have pure .a files. libsystemInfo.a being one of them, as i confirmed from our teams.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17945#discussion_r1541566885
More information about the core-libs-dev
mailing list