Re: porting jextract

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Sun, 02 Mar 2025 18:38:01 UTC
Sounds good. 👍🏼 

Van: Igor Kolesnik <igor@kolesnik.es>
Datum: 2 maart 2025 10:34
Aan: freebsd-java@freebsd.org
Onderwerp: porting jextract

> 
> 
> Hi,
> 
> This is related to the Foreigh Function & Memory (FFM) API.
> 
> https://openjdk.org/jeps/454
> 
> I think about makeing a port of jextract, an utility that generates Java
> bindings from native libraries.
> 
> It's source code repository can be found here
> 
> https://github.com/openjdk/jextract/tree/master
> 
> I did a manual build using OpenJDK 23 and a simple test calling a C
> function (kind of hello world), and it worked.
> 
> jextract has a set of tests which use the jtreg test framework.  That
> could be made into another port.
> 
> Does it make sence?
> 
> thanks -- igor
> 
> 
> 
> 
>