Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.3, 2.4.0-beta-1
-
None
Description
Compiling this code:
@CompileStatic
class X {
ArrayList list = [1,2,3]
}
or this:
@CompileStatic def method() { ArrayList list = [1,2,3] }
gives:
[Static type checking] - No matching constructor found: java.util.ArrayList <E extends java.lang.Object -> java.lang.Object><init>(int, int, int)