[foreign-jextract] RFR: 8244959: Jextract's VarargsInvoker fails to link functions when passing integer types other than long

Henry Jen henryjen at openjdk.java.net
Wed May 13 21:55:51 UTC 2020


This PR makes sure VarargsInvoker use exact size match layout for carrier type for varargs parameters.

Use sprintf as the test case, tested on Mac OS X, need verification on Windows to verify the needed share library is
loaded by JVM.

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

Commit messages:
 - 8244959: Jextract's VarargsInvoker fails to link functions when passing integer types other than long

Changes: https://git.openjdk.java.net/panama-foreign/pull/164/files
 Webrev: https://webrevs.openjdk.java.net/panama-foreign/164/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8244959
  Stats: 58 lines in 3 files changed: 55 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/164.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/164/head:pull/164

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


More information about the panama-dev mailing list