You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2024/11/12 11:41:00 UTC

[jira] [Closed] (GROOVY-11413) ClassNode makeArray() and make(Type[].class) differences

     [ https://issues.apache.org/jira/browse/GROOVY-11413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King closed GROOVY-11413.
------------------------------

> ClassNode makeArray() and make(Type[].class) differences
> --------------------------------------------------------
>
>                 Key: GROOVY-11413
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11413
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: Eric Milles
>            Assignee: Eric Milles
>            Priority: Major
>             Fix For: 5.0.0-alpha-9
>
>
> When a {{ClassNode}} is originated from a {{Class}}, the properties of an array are different from an array of a primary type.  For example, the modifiers are 0x411 (abstract+final+public) whereas the [constructor for an array type|https://github.com/apache/groovy/blob/d67c1d6c37d1b180b8a29ef1f960be0e8e6cb6cb/src/main/java/org/codehaus/groovy/ast/ClassNode.java#L241] sets only public.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)