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

VerifyError with synchronized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-JSR-4
    • None
    • None
    • Windows XP, Java 1.4.2_07

    Description

      The following code:

      bubbles = new Object()

      synchronized (bubbles ) {
      }

      Produces:

      Caught: java.lang.VerifyError: (class: bug, method: run signature: ()Ljava/lang/Object Unable to pop operand off an empty stack

      If synchronized isn't implemented yet, it should give a "Not Implemented" error. Basically, we should never get a VerifyError, since that's an internal inconsistency.

      Attachments

        Issue Links

          Activity

            People

              guillaume Guillaume Sauthier
              mcspanky Martin C. Martin
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: