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

Eric Milles updated GROOVY-11413:
---------------------------------
    Description: 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.  (was: 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 sets only public.)

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

Reply via email to