[foreign-memaccess+abi] RFR: 8265222: revisit foreign library loading
Jorn Vernee
jvernee at openjdk.java.net
Wed May 5 17:08:58 UTC 2021
On Wed, 5 May 2021 16:33:37 GMT, Jorn Vernee <jvernee 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.
Confirmed, removing the include is safe.
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/526
More information about the panama-dev
mailing list