RFR: JDK-8334217 : [AIX] Misleading error messages after JDK-8320005 [v3]
Suchismith Roy
sroy at openjdk.org
Mon Jul 1 07:48:18 UTC 2024
On Mon, 1 Jul 2024 06:06:07 GMT, Joachim Kern <jkern at openjdk.org> wrote:
> > > Hi Suchi, what was the problem with error number? I would enrich the `dll_load_library()` interface by an eno to return the errno
> >
> >
> > [#16604 (comment)](https://github.com/openjdk/jdk/pull/16604#discussion_r1494459722) This was the discussion
>
> Yes, that's right. But my new proposal follows the points mentioned in the discussion above. A pointer to an integer is passed down to exactly the two places, where the `errno` can be examined. And before the `dlopen()` call I set `errno` to 0 and directly after I save `errno` into `eno` and give it all the way back to `os::dll_load()`. Evaluating the `errno` directly in `os::dll_load()` is to late with the explanation of the mentioned discussion.
Yes. So should I wait till you push it out, need to mark it as dependent on you change then ?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19887#issuecomment-2199464585
More information about the hotspot-runtime-dev
mailing list