This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push: new 37f3955481 Update instructions for Java 22 37f3955481 is described below commit 37f395548131097899ca4c9b04d14d2b32369d79 Author: remm <r...@apache.org> AuthorDate: Tue Oct 17 11:04:21 2023 +0200 Update instructions for Java 22 Also drop preview flag in the main build. --- build.xml | 2 -- modules/openssl-foreign/README.md | 13 +++---------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/build.xml b/build.xml index a6483740ad..6032f5a900 100644 --- a/build.xml +++ b/build.xml @@ -1983,7 +1983,6 @@ <!-- Set native specific properties --> <property name="native.nativeaccess" value="--enable-native-access=ALL-UNNAMED"/> - <property name="native.addmodules" value="--enable-preview" /> <condition property="runtests.librarypath" value="-Dtest.4=4"> <resourceexists> <file file="${openssl-lib.jar}"/> @@ -2027,7 +2026,6 @@ <jvmarg value="${opens.javautil}"/> <jvmarg value="${opens.javautilconcurrent}"/> <jvmarg value="${native.nativeaccess}"/> - <jvmarg value="${native.addmodules}"/> <classpath refid="tomcat.test.classpath" /> diff --git a/modules/openssl-foreign/README.md b/modules/openssl-foreign/README.md index 86ff3cd9f9..c755eb38be 100644 --- a/modules/openssl-foreign/README.md +++ b/modules/openssl-foreign/README.md @@ -5,17 +5,10 @@ It uses the JEP 454 API. More details on this API are available at `https://openjdk.java.net/jeps/454`. -## Building Java 22 with the JEP 454 API +## Building -Clone `https://github.com/openjdk/panama-foreign/` in some location and -checkout the main branch. This is a Java 22 development JVM -with the JEP 454 API. It may fail to build. When this happens, step back -one commit at a time until it does. - -``` -bash configure -make images -``` +The module can be built using Java 22 preview 20+. It can be built and run +with Apache Tomcat 9.0 or newer. ## Running --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org