This is an automated email from the ASF dual-hosted git repository.

bodewig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git


The following commit(s) were added to refs/heads/master by this push:
     new cb8c8f1  no need to treat Java 15 different now that GraalVM 
JavaScript is there
cb8c8f1 is described below

commit cb8c8f106b2ef4b5bc9f7643ab38e4e5096fc70e
Author: Stefan Bodewig <[email protected]>
AuthorDate: Fri May 29 08:35:30 2020 +0200

    no need to treat Java 15 different now that GraalVM JavaScript is there
---
 .../org/apache/tools/ant/taskdefs/optional/script/ScriptDefTest.java   | 3 ---
 1 file changed, 3 deletions(-)

diff --git 
a/src/tests/junit/org/apache/tools/ant/taskdefs/optional/script/ScriptDefTest.java
 
b/src/tests/junit/org/apache/tools/ant/taskdefs/optional/script/ScriptDefTest.java
index 814b178..667db43 100644
--- 
a/src/tests/junit/org/apache/tools/ant/taskdefs/optional/script/ScriptDefTest.java
+++ 
b/src/tests/junit/org/apache/tools/ant/taskdefs/optional/script/ScriptDefTest.java
@@ -21,7 +21,6 @@ import org.apache.tools.ant.BuildException;
 import org.apache.tools.ant.BuildFileRule;
 import org.apache.tools.ant.Project;
 import org.apache.tools.ant.types.FileSet;
-import org.apache.tools.ant.util.JavaEnvUtils;
 import org.junit.Before;
 import org.junit.Rule;
 import org.junit.Test;
@@ -30,7 +29,6 @@ import org.junit.rules.ExpectedException;
 import java.io.File;
 
 import static org.hamcrest.Matchers.containsString;
-import static org.junit.Assume.assumeFalse;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertThat;
 import static org.junit.Assert.assertTrue;
@@ -157,7 +155,6 @@ public class ScriptDefTest {
 
     @Test
     public void testUseCompiled() {
-        assumeFalse("Current system is Java 15 or newer", 
JavaEnvUtils.isAtLeastJavaVersion("15"));
 
         final long duration;
         {

Reply via email to