Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-329

Calling Felix.stopAndWait() from Runtime.shutdownHook() freezes thread

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • framework-1.0.0
    • Framework
    • None
    • tested on trunk (r555374)

    Description

      if a shutdownHook invokes Felix.stopAndWait() the monitor never gets notified and stays "wait()" forever.

      Until now i haven't found a direct way to fix this behaviour "normally" but if we could use the timeout version wait(int) instead of "wait()" this behaviour is not tied to the monitor.notifyAll() functionality. (so perhaps its the better solution anyway and not just a workaround?)

      Toni

      Attachments

        Activity

          People

            rickhall Richard S. Hall
            tonit Toni Menzel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: