[Soot-list] SootClass.hasSuperClass()
Ondrej Lhotak
olhotak at uwaterloo.ca
Thu Mar 2 10:29:26 EST 2006
On Thu, Mar 02, 2006 at 02:18:12PM -0000, Andy Maule wrote:
> Hi,
>
> I'm doing some analysis and using the SootClass.hasSuperClass() method.
> Unfortunatley I can't quite figure out why I'm getting the following error
> on some classes.
>
> Exception in thread "main" java.lang.RuntimeException: This
> operation requires resolving level HIERARCHY but
> java.lang.reflect.InvocationTargetException is at resolving level DANGLING
> at soot.SootClass.checkLevel(SootClass.java:126)
> at soot.SootClass.hasSuperclass(SootClass.java:715)
This exception says that the class j.l.r.InvocationTargetException has
not been resolved (i.e. read into Soot), so it cannot determine whether or
not it has a superclass.
Ondrej
>
> It only occurs for some classes. java.lang.reflect.InvocationTargetException
> is an example of a class that causes this problem.
>
> Should I file this as a bug? I'm afraid I'm not really familiar enough with
> soot to know whether this is a genuine bug, or something that I'm simply
> doing wrong.
>
> Thanks
>
> Andy Maule
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
More information about the Soot-list
mailing list