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

Jorn Vernee jvernee at openjdk.java.net
Fri Jun 4 18:39:27 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

Jorn Vernee has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains four commits:

 - Merge branch 'foreign-memaccess+abi' into WinFallbackLookup
 - Merge branch 'foreign-memaccess+abi' into WinFallbackLookup
 - Address review comments:
   - add missing newline at end of file
   - switch to valueOf instead of a static map
 - 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=02
  Stats: 274 lines in 5 files changed: 204 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