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

VerifyError with Runnable.run and synchronized wait()-notify

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-JSR-2
    • 1.0-JSR-4
    • syntax
    • None

    Description

      see GroovyMethodsTest

      the Runnable definition

      class Interruptor implements Runnable{
      @Property caller
      void run(){
      Thread.currentThread().sleep(100) // enforce yield
      synchronized(caller)

      { caller.wait() caller.notifyAll() }

      }
      }

      throws the VerifyError when called as

      new Thread(new Interruptor(caller:this)).start()

      please also enable the disabled_test* methods after fixing.

      Attachments

        Issue Links

          Activity

            People

              guillaume Guillaume Sauthier
              codevise Dierk König
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: