[jdk8u-dev] RFR: 8320005: Allow loading of shared objects with .a extension on AIX [v2]

Severin Gehwolf sgehwolf at openjdk.org
Fri Apr 5 14:42:14 UTC 2024


On Mon, 25 Mar 2024 18:29:42 GMT, Suchismith Roy <sroy at openjdk.org> wrote:

>> Hi all,
>> 
>> This pull request contains a backport of commit [e85355ad](https://github.com/openjdk/jdk/commit/e85355ada4ac1061c49ee9f1247d37a437c7b5ab) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.
>> 
>> The commit being backported was authored by Suchismith Roy on 27 Feb 2024 and was reviewed by Amit Kumar, Thomas Stuefe, Joachim Kern and Martin Doerr.
>> 
>> Thanks!
>
> Suchismith Roy has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Same logic different file

hotspot/src/os/aix/vm/os_aix.cpp line 1455:

> 1453: // Loads .dll/.so and in case of error it checks if .dll/.so was built
> 1454: // for the same architecture as Hotspot is running on.
> 1455: static void* dll_load(const char *filename, char *ebuf, int ebuflen) {

Are you sure this is correct? The [JDK 11u](https://github.com/openjdk/jdk11u-dev/commit/6808c5c89d1e30f481ebe444f93175232bcd30e2#diff-5f68fc3ce77d56a6e5a398c51eb1e1b56ea41175e8a86a1c5d92e167ba2b2b40R1316) change renamed this to `dll_load_library`. Does this even work?

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

PR Review Comment: https://git.openjdk.org/jdk8u-dev/pull/473#discussion_r1553772106


More information about the jdk8u-dev mailing list