[Soot-list] Class resolving with Soot

Yi Lin qinsoon at gmail.com
Thu Jan 3 21:15:17 EST 2013


Hi all,

I am trying to use either Scene.v().forceResolve() or 
SootResolver.v().resolveClass().

However, if I give a wrong class name, e.g. "String" instead of 
"java.lang.String", calling either of the methods above would cause a 
runtime exception saying "couldn't find class: String". However, next 
time when forceResolve() or resolveClass() is called with "String" in 
the same run, no exception is raised. So in this case, is it possible 
for me to tell that the resolving fails?

Regards,
Yi


More information about the Soot-list mailing list