porting jextract

Igor Kolesnik <[email protected]>
Newsgroups gmane.os.freebsd.devel.java
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.