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 {
" -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();
}
}