Index: apache-tomcat-9.0.115-src/build.xml
===================================================================
--- apache-tomcat-9.0.115-src.orig/build.xml
+++ apache-tomcat-9.0.115-src/build.xml
@@ -111,16 +111,6 @@
   <property name="build.java.version" value="11"/>
   <property name="release.java.version" value="22"/>
 
-  <!-- Check Java Build Version -->
-  <fail message="Java version ${build.java.version} or newer is required (${java.version} is installed)">
-    <condition>
-      <and>
-        <not><javaversion atleast="${build.java.version}"/></not>
-        <not><istrue value="${skip.build.java.version}"/></not>
-      </and>
-    </condition>
-  </fail>
-
   <!-- Locations to create the JAR artifacts -->
   <!-- Standard JARs -->
   <property name="bootstrap.jar" value="${tomcat.build}/bin/bootstrap.jar"/>
@@ -1048,10 +1038,6 @@
       <exclude name="org/apache/tomcat/util/net/openssl/panama/**"/>
       <exclude name="org/apache/tomcat/util/openssl/**"/>
     </javac>
-    <!-- Compile internal server components that use FFM -->
-    <condition property="has-ffm">
-      <javaversion atleast="${release.java.version}" />
-    </condition>
     <javac srcdir="java" destdir="${tomcat.classes}"
            debug="${compile.debug}"
            deprecation="${compile.deprecation}"
@@ -2136,21 +2122,6 @@
     </condition>
   </target>
 
-  <condition property="opens.javalang" value="--add-opens=java.base/java.lang=ALL-UNNAMED" else="-Dtest10=1">
-    <javaversion atleast="9"/>
-  </condition>
-  <condition property="opens.javaio" value="--add-opens=java.base/java.io=ALL-UNNAMED" else="-Dtest11=1">
-    <javaversion atleast="9"/>
-  </condition>
-  <condition property="opens.sunrmi" value="--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED" else="-Dtest12=1">
-    <javaversion atleast="9"/>
-  </condition>
-  <condition property="opens.javautil" value="--add-opens=java.base/java.util=ALL-UNNAMED" else="-Dtest13=1">
-    <javaversion atleast="9"/>
-  </condition>
-  <condition property="opens.javautilconcurrent" value="--add-opens=java.base/java.util.concurrent=ALL-UNNAMED" else="-Dtest14=1">
-    <javaversion atleast="9"/>
-  </condition>
   <!-- Set memory properties (unset by default) -->
   <property name="test.xmx" value="-Dnoop"/>
 
@@ -3157,9 +3128,6 @@ Configured for ${release.asfusername} to
         <not><javaversion atleast="${release.java.version}" /></not>
       </condition>
     </fail>-->
-    <condition property="no-ffm">
-      <not><javaversion atleast="${release.java.version}" /></not>
-    </condition>
     <echo level="error" if:set="no-ffm">JAVA VERSION 22 OR NEWER IS REQUIRED FOR RELEASE</echo>
   </target>
 
