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 46932f0  Add the ability to use foreign from java.base
46932f0 is described below

commit 46932f0e928f7ba8acba9fa6c07d17e18bebdb7b
Author: remm <r...@apache.org>
AuthorDate: Mon Jan 31 15:48:16 2022 +0100

    Add the ability to use foreign from java.base
    
    Simple package rename to java.lang.foreign, and the package name may
    still change.
    Java 18 JEP 419 is not supported.
---
 build.xml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/build.xml b/build.xml
index 6e1e83e..f7fca71 100644
--- a/build.xml
+++ b/build.xml
@@ -1934,15 +1934,16 @@
   </target>
 
   <!-- Set Java 17 specific properties -->
-  <condition property="java17.nativeaccess" 
value="--enable-native-access=ALL-UNNAMED"><javaversion 
exactly="17"/></condition>
+  <condition property="java17.nativeaccess" 
value="--enable-native-access=ALL-UNNAMED"><javaversion 
atleast="17"/></condition>
   <property name="java17.nativeaccess" value="-Dtest.1=1"/>
   <condition property="java17.addmodules" value="--add-modules"><javaversion 
exactly="17"/></condition>
+  <condition property="java17.addmodules" 
value="--enable-preview"><javaversion atleast="19"/></condition>
   <property name="java17.addmodules" value="-Dtest.2=2"/>
   <condition property="java17.incubatorforeign" 
value="jdk.incubator.foreign"><javaversion exactly="17"/></condition>
   <property name="java17.incubatorforeign" value="-Dtest.3=3"/>
   <condition property="runtests.librarypath" value="-Dtest.4=4">
     <and>
-      <javaversion exactly="17"/>
+      <javaversion atleast="17"/>
       <resourceexists>
         <file file="${openssl-lib.jar}"/>
       </resourceexists>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to