File apache-ant-remove-nested-javaversion.patch of Package ant
diff -Naru apache-ant-1.10.2_orig/build.xml apache-ant-1.10.2/build.xml
--- apache-ant-1.10.2_orig/build.xml 2018-02-04 01:52:24.000000000 +0900
+++ apache-ant-1.10.2/build.xml 2022-07-26 20:48:11.668961199 +0900
@@ -383,9 +383,6 @@
</condition>
<property name="ignoresystemclasses" value="false"/>
<available property="jdk9+" classname="java.lang.module.ModuleDescriptor"/>
- <condition property="jdk10+">
- <javaversion atleast="10"/>
- </condition>
<available property="kaffe" classname="kaffe.util.NotImplemented"/>
<available property="harmony"
classname="org.apache.harmony.luni.util.Base64"/>