Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.7, 2.4.0-beta-3
-
None
Description
Groovy code.
@groovy.transform.CompileStatic
void test() {
def list = Test2.test2()
for (def ary : list) {}
}
test()
Java code.
import java.util.*; public class Test2 { public static List<int[]> test2() { return Arrays.asList(new int[1][1]); } }
Error message.
Caught: java.lang.NoClassDefFoundError: [Lint;
java.lang.NoClassDefFoundError: [Lint;
at test.test(test.groovy:4)
at test.run(test.groovy:7)
Caused by: java.lang.ClassNotFoundException: int
... 2 more