Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.8-beta-3
-
None
Description
import org.junit.Test class ClosureProblem { @Test void 'not working'() { def cl = { true } println cl.class } }
The above code fails with
Caught: java.lang.ClassFormatError: Illegal class name "ClosureProblem$_not working_closure1" in class file ClosureProblem$_not working_closure1