users@jaxb.java.net

Re: ConcurrentModificationException

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Tue, 13 Mar 2007 09:22:09 -0700

Burnett, Adam wrote:
> When I try and add a method using ClassOutline.implClass.method(int,
> JType, String) from the run method of my plugin it throws a
> ConcurrentModificationException. Ideas?

If you are changing it while enumerating it, then this is probably a
reasonable behavior.

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com