Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Jason Thomas spotted this...
I'm getting errors when over-riding a java constructor in a groovy
class:
TestBase.java:
public class TestBase {
public TestBase(String s)
public static void main(String[] args)
{ new Test("string"); }}
Test.groovy:
class Test extends TestBase {
Test(String message)
}
java.lang.NoSuchMethodError: TestBase.<init>(Ljava/lang/Object;)V
at Test.<init>(C:\benchmark\groovy\Test.groovy:3)
at TestBase.main(TestBase.java:7)
Exception in thread "main"
Attachments
Issue Links
- is duplicated by
-
GROOVY-233 super call in invokeMethod causes a VerifyError
- Closed