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

Eric Milles updated GROOVY-1197:
--------------------------------
    Labels: ClassFormatError  (was: )

> Multi-D arrays don't work with custom classes as base element
> -------------------------------------------------------------
>
>                 Key: GROOVY-1197
>                 URL: https://issues.apache.org/jira/browse/GROOVY-1197
>             Project: Groovy
>          Issue Type: Bug
>          Components: bytecode
>    Affects Versions: 1.0-JSR-4
>            Reporter: Guillaume Sauthier
>            Assignee: Jochen Theodorou
>            Priority: Major
>              Labels: ClassFormatError
>             Fix For: 1.0-JSR-5
>
>
> The multidimensional arrays work perfectly with primitive types and standard 
> classes from the JDK (or from libraries too I guess), but it seems there's a 
> problem if you're using a class defined in the same source unit. So for 
> instance, the following code will fail:
> groovy> class Foo {}
> groovy> ff = new Foo[3][4]
> groovy> go
> Caught: java.lang.ClassFormatError: CommandLine (Illegal Class name "Foo[][]")



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to