Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0-beta-1
-
None
Description
'main.groovy'
abstract class Abc { Abc(String... s) {} abstract def run() } print new Abc() { def run(){} }
Try to run this code sample and get the following exception :
Caught: java.lang.ArrayIndexOutOfBoundsException: 0
java.lang.ArrayIndexOutOfBoundsException: 0
at main$1.<init>(main.groovy)
at main.run(main.groovy:7)