[Soot-list] Soot as a rewriting tool - adding a method during body transformation

David Mohr dmohr at cs.unm.edu
Tue Oct 6 17:55:00 EDT 2009


Hi,
I'm trying to add a method to the current class in a BodyTransformer.
But since the pack has an active iterator on the list of methods, this
fails with a ConcurrentModificationException. Is there an easy way
around this?

As I mentioned before, I don't think I want to go into whole-program
mode, since I only want to analyze some classes, and not all
dependencies as well.

Thanks,
~David


More information about the Soot-list mailing list