[foreign] NPE when trying to lookup a symbol in the default library when no libraries are loaded

Jorn Vernee jbvernee at xs4all.nl
Wed Sep 12 18:31:50 UTC 2018

> Ok good to know! I thought as much, but couldn't find where the
> libraries were being searched in the source code. I'm just finding a
> call to dlsym or GetProcAddress for the call to
> NativeLibrary.findEntry . Is the defaultLibrary field being patched
> over by the VM? Can you point me in the right direction?

Never mind I found it :)

void* getDefaultHandle() {
     // FIXME: This is not yet tested on Windows.
     return getProcessHandle();


More information about the panama-dev mailing list