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

Jaikiran Pai jpai at openjdk.org
Thu Mar 21 17:09:19 UTC 2024


On Thu, 21 Mar 2024 16:57:46 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> For AIX too then, perhaps you could add an implementation which returns false (either always or in specific cases) and experiment with that to see if that's enough?

I see that you actually have a ClassLoaderHelper in this PR for AIX, but that implementation in `loadLibraryOnlyIfPresent()` is currently returning `true` and thus enforcing the file existence check. Was it intentional to have it to `true`? Given the context of this change, shouldn't it be returning `false`?

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

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


More information about the core-libs-dev mailing list