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

verify error / NPE with & operator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 1.0-RC-1
    • None
    • None
    • None
    • C:\>groovy -v
      Groovy Version: 1.0-RC-01 JVM: 1.6.0-b105

    Description

      C:\>groovy -e "i=0;j=1;((i = 1) == 3) & ((j = 2) == 2)"
      Caught: java.lang.VerifyError: (class: script_from_command_line, method: run signature: ()Ljava/lang/Object Expecting to find object/array on stack

      With jdk 150_09 and 142_09 the same one liner seems to cause a null pointer exception.

      Attachments

        Issue Links

          Activity

            People

              blackdrag Jochen Theodorou
              antti.karanta@napa.fi Antti Karanta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: