RFR: JDK-8334217 : [AIX] Misleading error messages after JDK-8320005 [v2]
Suchismith Roy
sroy at openjdk.org
Tue Jul 2 16:47:20 UTC 2024
On Sat, 29 Jun 2024 15:30:55 GMT, Joachim Kern <jkern at openjdk.org> wrote:
> + errno = 0;
> result = ::dlopen(filename, Flags);
> if (result != nullptr) {
> g_handletable_used++;
> (p_handletable + i)->handle = result;
> (p_handletable + i)->inode = libstat.st_ino;
> (p_handletable + i)->devid = libstat.st_dev;
> (p_handletable + i)->hash = hash;
> (p_handletable + i)->refcount = 1;
> }
> else {
> // error analysis when dlopen fails
> + *eno = errno;
> *error_report = ::dlerror();
> if (*error_report == nullptr) {
Where is the errno getting set here ?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19887#issuecomment-2203806130
More information about the hotspot-runtime-dev
mailing list