On Mon, 19 Feb 2024 17:16:53 GMT, Suchismith Roy <s...@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

Reply via email to