fix for mac

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2563 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
msridhar1 2008-02-12 15:17:36 +00:00
parent 2288a5fc2a
commit 54f15e7c50
1 changed files with 3 additions and 3 deletions

View File

@ -80,8 +80,8 @@ public abstract class IRTests extends WalaTestCase {
/**
* todo: {@link WalaProperties#getJ2SEJarFiles()}
*/
rtJar.add(javaHomePath + "/Classes/classes.jar");
rtJar.add(javaHomePath + "/Classes/ui.jar");
rtJar.add(javaHomePath + "/classes.jar");
rtJar.add(javaHomePath + "/ui.jar");
} else {
rtJar.add(javaHomePath + File.separator + "classes.jar");
rtJar.add(javaHomePath + File.separator + "rt.jar");
@ -382,7 +382,7 @@ public abstract class IRTests extends WalaTestCase {
engine.addSystemModule(new JarFileModule(new JarFile(libFile)));
}
}
Assertions._assert(foundLib);
Assertions._assert(foundLib, "couldn't find library file from " + libs);
for (String srcFilePath : sources) {
String srcFileName = srcFilePath.substring(srcFilePath.lastIndexOf(File.separator) + 1);