Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.0-beta-5
-
None
Description
def method()
{
boolean variable = false;
variable = true;
}
method();
---------
receives:
---------
Exception in thread "main" java.lang.VerifyError: (class: test3, method: method signature: ()Ljava/lang/Object Expecting to find integer on stack
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getDeclaredConstructors(Unknown Source)
at groovy.lang.MetaClass.<init>(MetaClass.java:132)
at groovy.lang.MetaClassRegistry.getMetaClass(MetaClassRegistry.java:93)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:123)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:103)
at groovy.lang.GroovyShell.run(GroovyShell.java:183)
at groovy.lang.GroovyShell.main(GroovyShell.java:88)