Browse Source

no need to treat Java 15 different now that GraalVM JavaScript is there

master
Stefan Bodewig 5 years ago
parent
commit
cb8c8f106b
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      src/tests/junit/org/apache/tools/ant/taskdefs/optional/script/ScriptDefTest.java

+ 0
- 3
src/tests/junit/org/apache/tools/ant/taskdefs/optional/script/ScriptDefTest.java View File

@@ -21,7 +21,6 @@ import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.BuildFileRule; import org.apache.tools.ant.BuildFileRule;
import org.apache.tools.ant.Project; import org.apache.tools.ant.Project;
import org.apache.tools.ant.types.FileSet; import org.apache.tools.ant.types.FileSet;
import org.apache.tools.ant.util.JavaEnvUtils;
import org.junit.Before; import org.junit.Before;
import org.junit.Rule; import org.junit.Rule;
import org.junit.Test; import org.junit.Test;
@@ -30,7 +29,6 @@ import org.junit.rules.ExpectedException;
import java.io.File; import java.io.File;


import static org.hamcrest.Matchers.containsString; import static org.hamcrest.Matchers.containsString;
import static org.junit.Assume.assumeFalse;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat; import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertTrue;
@@ -157,7 +155,6 @@ public class ScriptDefTest {


@Test @Test
public void testUseCompiled() { public void testUseCompiled() {
assumeFalse("Current system is Java 15 or newer", JavaEnvUtils.isAtLeastJavaVersion("15"));


final long duration; final long duration;
{ {


Loading…
Cancel
Save