[ 
https://issues.apache.org/jira/browse/QPID-1433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Ritchie reassigned QPID-1433:
------------------------------------

    Assignee:     (was: Martin Ritchie)

> BlockingWaiters will drop locks on error notifcation
> ----------------------------------------------------
>
>                 Key: QPID-1433
>                 URL: https://issues.apache.org/jira/browse/QPID-1433
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: M2.1, M3, M4
>            Reporter: Martin Ritchie
>            Priority: Minor
>
> Summary:
> BlockingWaiter.error() has an incorrect use of lock();
> All lock() calls must be immediately followed by a try finally{release()} 
> block.
> In the BlockingWaiter case the lock is lost if the BlockingWaiter is closed. 
> L245-248 : If(_closed) return;
> It is very unlikely that our BlockingWaiter will receive more than one error 
> but if a closed BlockingWaiter did receive a second error then that second 
> thread would block.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to