[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

StackOverflowError



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi all,

I just installed Soot, so my problem is probably very obvious, but while
trying it out, I encountered a lot of StackOverflowErrors. It turned out
that the method:

soot.FastHierarchy.dfsVisit(...)

has an endless loop because java.lang.Object seemed to be a subclass of
java.lang.Object. After inserting an 'if (class == subclass) continue;'
everything seemed to work fine.



Maybe this happens because

soot.javaToJimple.InitialResolver.createClassDecl(...)

sets the soot.SootClass.superclass to java.lang.Object, in case there
was no superclass found ... ?


Bug ? Or did I skip the installation instructions too fast ?




Anyway, thanks a lot

Tom

Ps: i'm using Soot 2.1.0 on Sun JVM 1.4





 _______________Tom_Ghesquiere_________________
|                                              |
| tghesqui@elis.ugent.be          UGENT - ELIS |
| St. Pietersnieuwstraat 41        B-9000 Gent |
| Tel +32 9 264 3367        Fax +32 9 264 3594 |
|______________________________________________|


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAM8QRzj0QANNNtKURAkb7AJwNRLNqUxiiSWNxO7a9gk4BtwITQQCfRQpp
1FN39g2JQVexFo8YKYQoxqQ=
=Pq44
-----END PGP SIGNATURE-----