From: Andy Clement Date: Wed, 14 Feb 2018 22:29:24 +0000 (-0800) Subject: temporarily remove dodgy test X-Git-Tag: V1_9_0_RC4~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=489a3246acb10f845d772b660f45a5a2ef21c75c;p=aspectj.git temporarily remove dodgy test --- diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjBuildConfigTests.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjBuildConfigTests.java index 9a46b81ab..536d1f9b3 100644 --- a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjBuildConfigTests.java +++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjBuildConfigTests.java @@ -100,6 +100,7 @@ public class AjBuildConfigTests extends TestCase { checkMessages("skipping missing, empty or corrupt aspectpath entry: bar.jar"); } + // TODO why does this misbehave on java8? (It doesn't remove the duplicate jar references when normalizing the classpath) public void testClashingJars() { File tempJar = createTempJar("foo"); try { @@ -108,11 +109,11 @@ public class AjBuildConfigTests extends TestCase { " -inpath "+tempJar.getAbsolutePath()+" -aspectpath "+tempJar.getAbsolutePath()); AjBuildConfig buildConfig = buildArgParser.genBuildConfig(args); Classpath[] checkedClasspaths = buildConfig.getCheckedClasspaths(); - checkOccurrencesOf(checkedClasspaths, "foo", 1); System.out.println(Arrays.toString(checkedClasspaths)); + checkOccurrencesOf(checkedClasspaths, "/foo", 1); checkMessages(); } finally { - tempJar.deleteOnExit(); + tempJar.delete(); } }