The way I got around the problem was to first collect the information
I was interested in but defer the respective methods creation to avoid
ConcurrentModificationException.
See XjcFluentApiPlugin.java for an example in the fluent api plugin.
Hanson
On 3/8/07, Burnett, Adam <Adam.Burnett_at_idearc.com> 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?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>