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

synchronized keyword

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.0-beta-5
    • 1.0-JSR-4
    • None
    • None

    Description

      class Syn {
      pr() {
      synchronized(this)

      {println 'hello'}

      }
      }
      new Syn().pr()

      produced:

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

      Attachments

        Issue Links

          Activity

            People

              guillaume Guillaume Sauthier
              bingran Bing Ran
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: