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

Mandy Chung mchung at openjdk.org
Thu Mar 21 21:37:23 UTC 2024


On Mon, 18 Mar 2024 17:43:45 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:
> 
>   trraling spaces

`os::dll_load` already handles loading from .a on AIX when attempting loading .so (see JDK-8320005).   For example, if loading `libclang.so` fails, it attempts to load from `libclang.a`.    This issue is essentially revisiting the fix for JDK-8320005 and needs to understand the right mapping.

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

PR Comment: https://git.openjdk.org/jdk/pull/17945#issuecomment-2013811988


More information about the core-libs-dev mailing list