fix bug ... recoup call string context for arraycopy
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2288 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
3882bcbbeb
commit
aa49cfccc1
|
@ -114,6 +114,11 @@ public class ContainerContextSelector implements ContextSelector {
|
|||
* usually wish to model with one level of call-string context?
|
||||
*/
|
||||
public static boolean isWellKnownStaticFactory(MethodReference m) {
|
||||
if (m.getDeclaringClass().equals(TypeReference.JavaLangSystem)) {
|
||||
if (m.getName().toString().equals("arraycopy")) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if (m.equals(synthArraycopy)) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue