Integrated: Tweak jextract to work with latest API changes

Maurizio Cimadamore mcimadamore at openjdk.org
Thu Jul 20 14:44:07 UTC 2023


On Thu, 20 Jul 2023 12:26:01 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> This PR fixes a bunch of issues with jextract that were introduced by the latest changes in the Panama repo:
> 
> * All var handles now take an extra offset parameter. This required changes to the libclang generated bindings, as well as changes in the code generated by jextract.
> * The name of some allocation factories in SegmentAllocator has changed. This PR fixes jextract to use the right names.
> * ValueLayout::arrayElementVarHandle is no longer present

This pull request has now been integrated.

Changeset: 35b613d5
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.org/jextract/commit/35b613d58fd1e4b0c2c13c28d3ee1bd0e746784c
Stats:     41 lines in 15 files changed: 0 ins; 4 del; 37 mod

Tweak jextract to work with latest API changes

Reviewed-by: sundar

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

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


More information about the jextract-dev mailing list