Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Mar 2025 10:34:07 +0100
From:      Igor Kolesnik <igor@kolesnik.es>
To:        freebsd-java@freebsd.org
Subject:   porting jextract
Message-ID:  <Z8QmDzM8jJECrgq1@tech.home>

index | next in thread | raw e-mail

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


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Z8QmDzM8jJECrgq1>