[foreign-memaccess+abi] RFR: 8266911: On Windows the system lookup should load ucrtbase if possible

Jorn Vernee jvernee at openjdk.java.net
Tue May 11 17:10:53 UTC 2021

The current system lookup on Windows is always backed by msvcrt.dll, but since Windows 10 the core runtime is located in ucrtbase.dll (though the legacy msvcrt.dll is still available).

We should try to load ucrtbase first if it's available, as it's more up to date.


Commit messages:
 - Prefer loading ucrtbase.dll as system library if it exists

Changes: https://git.openjdk.java.net/panama-foreign/pull/534/files
 Webrev: https://webrevs.openjdk.java.net/?repo=panama-foreign&pr=534&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8266911
  Stats: 116 lines in 3 files changed: 114 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/534.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/534/head:pull/534

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

More information about the panama-dev mailing list