[
https://issues.apache.org/jira/browse/FELIX-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Toni Menzel closed FELIX-329.
-----------------------------
i just tested the fix and it works fine now! thanks!
Toni
> Calling Felix.stopAndWait() from Runtime.shutdownHook() freezes thread
> ----------------------------------------------------------------------
>
> Key: FELIX-329
> URL: https://issues.apache.org/jira/browse/FELIX-329
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Environment: tested on trunk (r555374)
> Reporter: Toni Menzel
> Assignee: Richard S. Hall
> Fix For: 1.0.0
>
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.