Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-JSR-6
-
None
-
None
Description
When the attached unit test is run via:
groovy TestClass.groovy
then it works correctly. However, if it is compiled using groovyc and then run via the JUnit TestRunner, it throws a StackOverflowError:
java -cp ... junit.textui.TestRunner TestClass
It has something to do with attempting to call a method with the wrong number of arguments using the object.'method'() syntax.