RFR: JDK-8320005 : Allow loading of shared objects with .a extension on AIX [v23]
Suchismith Roy
sroy at openjdk.org
Tue Feb 20 08:59:00 UTC 2024
On Mon, 19 Feb 2024 17:16:53 GMT, Suchismith Roy <sroy at openjdk.org> wrote:
>> Argh, I keep forgetting `dlopen` does not set errno (at least its not guaranteed by the standard).
>>
>> Ok, in this case, I would not analyze the string either because it may be locale-dependent.
>>
>> Never mind then; I'd thought this would be easy. One could probably use load() instead of dlopen() on AIX, but that change would require more investigations to see if load() and dlopen() are equivalent.
>>
>> Okay, in that case just skip the errno test and call the second dlopen directly. Lets hope for the best then.
>
> Sure .thank for all the info. This is great learning.
reverted the error code handling.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16604#discussion_r1495450839
More information about the serviceability-dev
mailing list