[foreign-jextract] Integrated: 8263018: Improve API for lifecycle of native resources

Maurizio Cimadamore mcimadamore at openjdk.java.net
Wed Mar 24 15:27:57 UTC 2021


On Wed, 24 Mar 2021 11:47:33 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> This contains the jextract changes required to support the new changes to the foreign memory access API.
> 
> The main change is that now NativeScope is co-generated by jextract (although, moving forward, I'm not sure how much value it adds, but that's for another day).
> 
> I had to fix the extracted libclang in few places (probably better to re-generate this code once this is pushed).
> 
> Tests needed changes to fix imports so that they pick up the generated NativeScope class.

This pull request has now been integrated.

Changeset: 8e077a66
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.java.net/panama-foreign/commit/8e077a66
Stats:     541 lines in 35 files changed: 306 ins; 93 del; 142 mod

8263018: Improve API for lifecycle of native resources

Reviewed-by: jvernee

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

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


More information about the panama-dev mailing list