]> source.dussan.org Git - aspectj.git/commitdiff
temporarily remove dodgy test
authorAndy Clement <aclement@pivotal.io>
Wed, 14 Feb 2018 22:29:24 +0000 (14:29 -0800)
committerAndy Clement <aclement@pivotal.io>
Wed, 14 Feb 2018 22:29:24 +0000 (14:29 -0800)
org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjBuildConfigTests.java

index 9a46b81aba87203976059808d0025d91fe40e2aa..536d1f9b3c52620a5481ed784227086c4e4c8955 100644 (file)
@@ -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();
                }
        }