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

Groovy java.lang.VerifyError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.8
    • 2.2.1
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: