Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
j2sdk1.4 on xp w. cygwin
Description
using jar:
http://www.ibiblio.org/maven/groovy/jars/groovy-1.0-alpha-2.jar
----------------------------
foo = [1,2,3]
for(i in foo){
bar[0] = 'x'
bar[1] = 'y'
}
-----------------------------
Exception in thread "main" java.lang.VerifyError: (class: inline, method: run signature: ()Ljava/lang/Object Inconsistent stack height 6 != 0
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1576)
at java.lang.Class.getConstructor0(Class.java:1748)
at java.lang.Class.getConstructor(Class.java:990)
at org.codehaus.groovy.runtime.InvokerHelper.createScript(InvokerHelper.java:263)
at Foo.prepare(Foo.java:74)
at Foo.main(Foo.java:101)