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

Henry Jen henryjen at openjdk.java.net
Thu May 14 19:09:01 UTC 2020


On Thu, 14 May 2020 16:27:44 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> Henry Jen has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev
>> excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since
>> the last revision:
>>  - 8244959: Jextract's VarargsInvoker fails to link functions when passing integer types other than long
>>  - Merge branch 'foreign-jextract' of https://github.com/openjdk/panama-foreign into 8244959
>>  - 8244959: Jextract's VarargsInvoker fails to link functions when passing integer types other than long
>
> Marked as reviewed by jvernee (Committer).

Implement argument promote instead, as we use invoke(), the conversion is done by MethodHandle.

Also added test for float values.

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

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


More information about the panama-dev mailing list