~ $ 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