changed getRTJar() to work on Mac
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2221 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
06fa06f55e
commit
5127c25fab
|
@ -335,6 +335,10 @@ public class AnalysisScope {
|
|||
if (JF.getName().endsWith(File.separator + "core.jar")) {
|
||||
return JF;
|
||||
}
|
||||
// hack for Mac
|
||||
if (JF.getName().equals("/System/Library/Frameworks/JavaVM.framework/Classes/classes.jar")) {
|
||||
return JF;
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue