On Mon, 25 Mar 2024 09:46:50 GMT, Suchismith Roy <s...@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 four 
> additional commits since the last revision:
> 
>  - coding style
>  - set false
>  - restore fil
>  -  remove member check code

I think just changing `loadLibraryOnlyIfPresent` to return false should be 
sufficient to make `System.loadLibrary("foo")` loading from "libfoo.a" and 
`System.load("/usr/lib/libfoo.a(libfoo.so)")` to work.

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

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

Reply via email to