[ 
https://issues.apache.org/jira/browse/GROOVY-9666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17168285#comment-17168285
 ] 

Paul King commented on GROOVY-9666:
-----------------------------------

Yes, some changes were made to ModuleNode which we'll likely roll back. 
Workaround is simply to make a copy of the collection before iterating over it. 
That shouldn't be needed from 3.0.6 in a couple of weeks (guess at release 
date).

> ConcurrentModificationException with ASTTransformation
> ------------------------------------------------------
>
>                 Key: GROOVY-9666
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9666
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 3.0.5
>            Reporter: André Filipe Aloise
>            Priority: Major
>             Fix For: 3.0.6
>
>         Attachments: image-2020-07-28-14-00-04-584.png
>
>
> Until 3.0.4 the following class had no errors 
> [https://github.com/vert-x3/vertx-lang-groovy/blob/3.9/vertx-lang-groovy-gen/src/main/java/io/vertx/lang/groovy/VertxTransformation.java]
> Since 3.0.5 it started to throw a ConcurrentModificationException
> !image-2020-07-28-14-00-04-584.png!
> Here's the following travis build link of each version.
> [https://travis-ci.org/github/vert-x3/vertx-lang-groovy/builds/712642226] 
> (Builds Ok, using 3.0.4)
> [https://travis-ci.org/github/aaloise/vertx-lang-groovy/builds/712638741] 
> (Throws the ConcurrentModificationException when visit methos is called, 
> using 3.0.5)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to