[foreign-memaccess+abi] RFR: 8265222: revisit foreign library loading

Jorn Vernee jvernee at openjdk.java.net
Wed May 5 16:36:12 UTC 2021


On Wed, 5 May 2021 16:16:50 GMT, Athijegannathan Sundararajan <sundar at openjdk.org> wrote:

> LibraryLookup removed. CLinker.findNative added. System.loadLibrary has to be used to load library

src/java.base/windows/native/libjava/jni_util_md.c line 44:

> 42:  * default library behaviour.
> 43:  */
> 44: void* findEntryInProcess(const char* name) {

I think removing this also allows the removal of `#include <psapi.h>` from the includes. I'll give it a try here as well.

-------------

PR: https://git.openjdk.java.net/panama-foreign/pull/526


More information about the panama-dev mailing list