Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Duplicate
-
1.0-RC-1
-
None
-
Version 1.0-RC-2, JDK 1.5, Windows XP
Description
Error occures in groovy-1.0-RC-02, it did'nt occure in JSR6
When calling 'groovy SuperError.groovy' I get the error:
Caught: java.lang.VerifyError: (class: B, method: m signature: (Ljava/lang/Object;)V) Inconsistent stack height 1 != 0
In the method call super.m(p1, 'called from B') the super keyword is not necessary, but it should'nt result in an error.
Here is the code:
----------------------------------------
// SuperError.groovy
class SuperError extends GroovyTestCase {
static void testSuperError()
}
class A {
void m(p1)
void m(p1, p2)
{ println 'A.m with parameters: ' + p1 + ', ' + p2 }}
class B extends A {
void m(p1)
}
----------------------------------------
Attachments
Attachments
Issue Links
- duplicates
-
GROOVY-1539 java.lang.VerifyError
- Closed