Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-JSR-4
Description
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[][]")