[jira] [Commented] (GROOVY-8696) TypeWrapper leaks out of DecompiledClassNode

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (GROOVY-8696) TypeWrapper leaks out of DecompiledClassNode

JIRA jira@apache.org

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

ASF GitHub Bot commented on GROOVY-8696:

GitHub user paulk-asert opened a pull request:


    GROOVY-8696: TypeWrapper leaks out of DecompiledClassNode


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/paulk-asert/groovy groovy8696

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #773


> TypeWrapper leaks out of DecompiledClassNode
> --------------------------------------------
>                 Key: GROOVY-8696
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8696
>             Project: Groovy
>          Issue Type: Bug
>          Components: Compiler
>    Affects Versions: 2.5.1
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
> A TypeWrapper wrapped class can appear directly as the default value for a Class annotation attribute. This doesn't seem to affect the generated bytecode but isn't what is expected within for instance AST transforms which would expect to get a ClassExpression constant.

This message was sent by Atlassian JIRA