groovy
  1. groovy
  2. GROOVY-4938

VerifyError related to byte arrays

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major 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 :
      0

      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
      

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            blackdrag blackdrag
            Reporter:
            Jeff Scott Brown
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: