Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.1
-
Fix Version/s: 1.8.2, 1.9-beta-3
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
~ $ groovy --version Groovy Version: 1.8.1 JVM: 1.6.0_26 ~ $ groovy -e "i = new int[42];println i[0];" 0 ~ $ groovy -e "int[] i = new int[42];println i[0];" 0 ~ $ groovy -e "b = new byte[42]; println b[0];" 0 ~ $ groovy -e "byte[] b = new byte[42]; println b[0];" Caught: java.lang.VerifyError: (class: script_from_command_line, method: run signature: ()Ljava/lang/Object;) Incompatible argument to function java.lang.VerifyError: (class: script_from_command_line, method: run signature: ()Ljava/lang/Object;) Incompatible argument to function