change resolveField() to pass type when resolving a field
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4553 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
1d28b2dc26
commit
a28f0df3b7
|
@ -532,7 +532,7 @@ public class ClassHierarchy implements IClassHierarchy {
|
||||||
if (f == null) {
|
if (f == null) {
|
||||||
throw new IllegalArgumentException("f is null");
|
throw new IllegalArgumentException("f is null");
|
||||||
}
|
}
|
||||||
return klass.getField(f.getName());
|
return klass.getField(f.getName(), f.getFieldType().getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue