Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.1-beta-2
-
None
-
None
-
Windows XP sp2, Eclipse 3.2, Eclipse Groovy Plugin 1.01, Grails 0.6
Description
The attached test case fails with a stack overflow when executed in either a Grails application, or in the Eclipse plugin environment. It does not fail when compiled and run directly from the groovy command line.
The necessary conditions for the failure appear to be the following:
- Superclass contains a method that takes an argument
- Superclass implementation includes a closure that references the argument
- Subclass overrides the method, and then calls the superclass method.