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

println(true == false) fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-beta-2
    • 1.0-beta-3
    • parser
    • None

    Description

      println(true == false) fails with the following stack trace :

      Exception in thread "main" java.lang.VerifyError: (class: CommandLine1, method:
      run signature: ()Ljava/lang/Object Expecting to find object/array on stack
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
      at java.lang.Class.getConstructor0(Class.java:1922)
      at java.lang.Class.getConstructor(Class.java:1019)
      at org.codehaus.groovy.runtime.InvokerHelper.createScript(InvokerHelper.
      java:295)
      at groovy.lang.GroovyShell.evaluate(GroovyShell.java:230)
      at groovy.lang.GroovyShell.evaluate(GroovyShell.java:210)
      at groovy.ui.InteractiveShell.run(InteractiveShell.java:100)
      at groovy.ui.InteractiveShell.main(InteractiveShell.java:71)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:344)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:474)

      Attachments

        Activity

          People

            Unassigned Unassigned
            guillaume Guillaume Sauthier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: