[foreign-memaccess+abi] RFR: 8292037: Consider moving Linker::methodType as FunctionDescriptor::toMethodType [v2]

Maurizio Cimadamore mcimadamore at openjdk.org
Tue Sep 13 15:16:21 UTC 2022


On Tue, 13 Sep 2022 15:05:27 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> The implementation seems to support sequence layouts, and return MemorySegment. Not super sure about that (given the linker doesn't support that).
>
> In the interest of moving this forward, for now I'll keep the current mapping behavior from Linker.methodType, and just do the move to FunctionDescriptor in this patch.

Note that even if we keep behavior (which I agree with now that I had more time to think about it), the javadoc `@throws` seems still inconsistent with what the method javadoc says.

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

PR: https://git.openjdk.org/panama-foreign/pull/717


More information about the panama-dev mailing list