Integrated: Fix jextract/panama to reflect latest API changes

Maurizio Cimadamore mcimadamore at openjdk.org
Mon Sep 19 13:49:11 UTC 2022


On Fri, 16 Sep 2022 13:52:27 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> This patch tweaks the jextract implementation to take into account two API changes:
> 
> * `MemorySegment.allocateNative` no longer accepts a session parameter (in all cases we were passing an implicit session, so that's ok)
> * `Linker.methodType` has been moved to `FunctionDescriptor::toMethodType`

This pull request has now been integrated.

Changeset: 107d49b6
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.org/jextract/commit/107d49b6bb635db4fa98e905dffc1f5b274f9957
Stats:     13 lines in 7 files changed: 0 ins; 0 del; 13 mod

Fix jextract/panama to reflect latest API changes

Reviewed-by: sundar

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

PR: https://git.openjdk.org/jextract/pull/72


More information about the jextract-dev mailing list