You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "André Filipe Aloise (Jira)" <ji...@apache.org> on 2020/07/30 21:56:00 UTC

[jira] [Commented] (GROOVY-9666) ConcurrentModificationException with ASTTransformation

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

André Filipe Aloise commented on GROOVY-9666:
---------------------------------------------

I believe something changed with Groovy 3.0.5, because ConcurrentModificationException was never thrown with any of previous versions of Groovy 3.x.

Perhaps there's an workaround? Is there anything new regarding AST Transformation in 3.0.5?

> 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)