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

verify error / NPE with & operator

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 1.0-RC-1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: