New candidate JEP: 434: Foreign Function & Memory API (Second Preview)

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Fri Oct 28 00:01:31 UTC 2022


Hi Gavin,
as soon as the PR [1] is integrated, we will make a jextract build 
available with it.

But, we're also exploring interim ways for developers to more easily 
build jextract, by "bootstrapping" the jextract 20 build with the 19 
binary. After all, the big issue when building jextract is getting the 
correct libclang dependency - but that doesn't change across jextract 
version.

So, stay tuned, we might have more news soon!

Cheers
Maurizio

[1] - https://github.com/openjdk/jdk/pull/10872


On 28/10/2022 00:56, Gavin Ray wrote:
> Hooray!
>
> By any chance, will there be a new release of the Panama 20ea JDK and 
> jextract binaries as well?
> I've had quite some difficulties getting jextract on 20 built and it'd 
> be swell to rebase some of the work I've done on the more recent API 
> changes.
>
> On Thu, Oct 27, 2022 at 2:30 PM Mark Reinhold 
> <mark.reinhold at oracle.com> wrote:
>
>     https://openjdk.org/jeps/434
>
>       Summary: Introduce an API by which Java programs can
>     interoperate with
>       code and data outside of the Java runtime. By efficiently invoking
>       foreign functions (i.e., code outside the JVM), and by safely
>     accessing
>       foreign memory (i.e., memory not managed by the JVM), the API
>     enables
>       Java programs to call native libraries and process native data
>     without
>       the brittleness and danger of JNI. This is a preview API.
>
>     - Mark
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jdk-dev/attachments/20221028/5108f3c4/attachment.htm>


More information about the jdk-dev mailing list