[foreign-jextract] RFR: 8240372: TypeTranslator can not handle plain function types

Jorn Vernee jvernee at openjdk.java.net
Tue Mar 3 17:39:09 UTC 2020


Hi,

Please review this patch that adds handling for functions that use plain function types, as opposed to function pointers as parameter types (see the bug & test case).

I also noticed when writing the tests that some of the test files were using the copyright header with class path exception. I went through these with a script and corrected the copyright headers.

Thanks,
Jorn

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

Commits:
 - 1e9fdb81: Add missing newline
 - 0fad3d5f: Adjust copyright for test files
 - 8ca9f47d: Support plain function types as parameter types

Changes: https://git.openjdk.java.net/panama-foreign/pull/38/files
 Webrev: https://webrevs.openjdk.java.net/panama-foreign/38/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8240372
  Stats: 147 lines in 14 files changed: 76 ins; 35 del; 36 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/38.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/38/head:pull/38

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


More information about the panama-dev mailing list