diff options
| author | Stefan Bodewig <bodewig@apache.org> | 2017-11-29 16:17:34 +0100 |
|---|---|---|
| committer | Stefan Bodewig <bodewig@apache.org> | 2017-11-29 16:17:34 +0100 |
| commit | 68b846a4c27361cce2b6d7e9c60ca697f980913e (patch) | |
| tree | 41938c3c8a69674c6d624c6cef5dfc142f791b38 /src/tests/antunit/antunit-base.xml | |
| parent | ecb6acf016999e97e3c5ee4a4d109a4fff1eea4b (diff) | |
| download | ant-java-10-version.tar.gz | |
try to adapt to Java10+ rapidly changing major versionsjava-10-version
Diffstat (limited to 'src/tests/antunit/antunit-base.xml')
| -rw-r--r-- | src/tests/antunit/antunit-base.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/antunit/antunit-base.xml b/src/tests/antunit/antunit-base.xml index 9863f3fcc..4bd4643d3 100644 --- a/src/tests/antunit/antunit-base.xml +++ b/src/tests/antunit/antunit-base.xml @@ -27,6 +27,9 @@ <property name="test3.jar" location="${antunit.tmpdir}/test3.jar"/> <property name="test4.jar" location="${antunit.tmpdir}/test4.jar"/> <property name="test5.jar" location="${antunit.tmpdir}/test5.jar"/> + <condition property="jdk10+"> + <javaversion atleast="10"/> + </condition> <available property="jdk9+" classname="java.lang.module.ModuleDescriptor"/> <available property="jdk1.8+" classname="java.lang.reflect.Executable"/> <available property="jdk1.7+" classname="java.nio.file.FileSystem"/> |
