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

Groovy java.lang.VerifyError

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.8
    • Fix Version/s: 2.2.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Groovy 2.1.8

      Description

      Hi all, this is not 'my' bug, but one from stackoverflow, which I thought to put here: http://stackoverflow.com/questions/19735433

      class Test {
              public void doIt() {
                      int x = null
              }
      }
      

      gives the following error:

      Caught: java.lang.VerifyError: (class: Test, method: doIt signature: ()V) Expecting to find integer on stack
      java.lang.VerifyError: (class: Test, method: doIt signature: ()V) Expecting to find integer on stack
      	at test.run(test.groovy:3)
      
      shell returned 1
      

        Attachments

          Activity

            People

            • Assignee:
              blackdrag Jochen Theodorou
              Reporter:
              bodiam Erik Pragt
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: