Hi, I am very pleased to report that after years of development, the Foreign Function & Memory API is (finally !) no longer a preview API. It is now available in build 20 of Java 22 where it can be used without the preview flag. Downloads: https://jdk.java.net/22/
Assuming Mark accepts working with an alpha build of Java 22 to produce the releases of Tomcat 11, it is now possible to merge the OpenSSL code. As a reminder, it is located here right now: https://github.com/apache/tomcat/tree/main/modules/openssl-foreign The idea is to build the two packages that need it using a 22 release target, while the rest would release target 21 as usual. Using some conditionals, it should be possible to allow casual building with 21, as it would be bad to drive away contributors who would understandably not be very interested in alpha Java 22 yet. I would also add the jextract scripts in res/jextract (using jextract at this time is going to remain harder however). "Final" Java 22 will occur next March around the time Jakarta EE 11 is supposed to be released, so this aligns to a large extent even in the unlikely event where there is no EE schedule slippage. As for actual use of the component, that's where things will hurt. Given the Java support schedules, this would basically be mostly unused until the next Java LTS release (probably 25, almost two years away). However, the support lifecycle of a Tomcat branch being what it is, it would still be relatively early in the Tomcat 11 lifecycle. And in the meantime it would give the component a lot of testing, with probably a significant amount of niche uses (containers ?). Comments ? Rémy --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org