[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SootMethod.getDeclaringClass()
I just upgraded to JDK1.4.1, and am detecting anomalous behaviour in the
SootMethod class. In particular, consider the following scenario:
- Class C declares method M
- Class B extends C.
B.getMethod(M.getSubSignature).declaringClass() should return C, since the
method M is declared in C, and not overridden by B. However, the SootClass B is
actually returned.
Is there some way to get around this? Are there unreleased versions of
SootClass/SootMethod that fix this problem?
Ankush