Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-5662

java.lang.VerifyError when accessing array passed to method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 1.8.8, 2.0.2
    • None
    • None
    • Groovy 2.0.1, Linux

    Description

      this code reproduces the error:

      void doSomething(long[] values){
      values[1] += 5
      }

      results in:
      Caught: java.lang.VerifyError: (class: test, method: doSomething signature: ([J)V) Expecting to find long on stack
      java.lang.VerifyError: (class: test, method: doSomething signature: ([J)V) Expecting to find long on stack

      (it works fine in groovy 1.6.4)

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            casp Philipp Richter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: