GitHub user daspilker opened a pull request: https://github.com/apache/groovy/pull/333
GROOVY-7826: Break infinite recursion in ClassNode.genericTypeAsString You can merge this pull request into a Git repository by running: $ git pull https://github.com/daspilker/groovy GROOVY-7826 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/groovy/pull/333.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #333 ---- commit 62382ba0604880a5fb6043483ee1aa22d0ce949f Author: Daniel Spilker <m...@daniel-spilker.com> Date: 2016-05-12T11:44:30Z added test case for GROOVY-7826 only occurs when not using ASM resolving because the ASM resolved classes do not have generic type information commit e22db436bcfe82b5c005b441f5da9142cd7d3cf1 Author: Daniel Spilker <m...@daniel-spilker.com> Date: 2016-05-12T11:48:04Z GROOVY-7826: do not show redirect for generic type arguments to break the infinite recursion at org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1207) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1181) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1167) at org.codehaus.groovy.ast.ClassNode.toString(ClassNode.java:1186) at org.codehaus.groovy.ast.ClassNode.genericTypeAsString(ClassNode.java:1207) ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---