Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.0-beta-4
-
Fix Version/s: 1.0-beta-5
-
Component/s: None
-
Labels:None
-
Environment:mac os x; beta-4 with latest snapshot jar
-
Number of attachments :
Description
Running this:
#!/usr/bin/env groovy
public class Test {
public void test()
}
Test t = new Test()
Results in:
Exception in thread "main" java.lang.VerifyError: (class: Test, method:
test signature: ()V) Expecting to find integer on stack
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at test.class$(test.groovy)
at test.run(test.groovy)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Removing "int" eliminates the crash.
Activity
Guillaume Laforge
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 1.0-rc1 [ 10510 ] |
Guillaume Laforge
made changes -
| Priority | Major [ 3 ] | Critical [ 2 ] |
james strachan
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |
Fixed by patch in
GROOVY-462