[foreign-memaccess+abi] RFR: 8268169: The system lookup can not find stdio functions such as printf on Windows 10

Jorn Vernee jvernee at openjdk.java.net
Thu Jun 3 12:57:14 UTC 2021


Hi,

This patch adds a way to look up stdio functions such as printf on Windows 10 through the system lookup. A fallback library is used which forces the generation of these inline functions, and exposes them through a table of function pointers.

Thanks,
Jorn

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

Commit messages:
 - Add fallback lookup library for functions not found in ucrtbase.dll (such as printf)

Changes: https://git.openjdk.java.net/panama-foreign/pull/547/files
 Webrev: https://webrevs.openjdk.java.net/?repo=panama-foreign&pr=547&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8268169
  Stats: 276 lines in 5 files changed: 206 ins; 58 del; 12 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/547.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/547/head:pull/547

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


More information about the panama-dev mailing list