diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2008-08-07 15:50:28 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2008-08-07 15:50:28 +0000 |
| commit | 06e4488afee377347660ea481959dfbfb720ab47 (patch) | |
| tree | 9d7a107a6555d1aca49da0bbb62568025b6cc1ca /cpp | |
| parent | c53cf3df85bb5a37ec7ec000667cba4012c35e85 (diff) | |
| download | qpid-python-06e4488afee377347660ea481959dfbfb720ab47.tar.gz | |
QPID-1182 : Some of the NullPointerExceptions from the SimpleACLTest are due to the close and the notification overlapping due to the lack of locking. The problem is that the AtomicBoolean _closed is used for control but the AMQSession.checkNotClosed needs to check _closed and then throw any exception in the StateManager. However, in a loop of the SimpleACLTest, I would see _closed == false but then it is set right afterwards but the option to check AMQStateManager and throw the exception is past and the super.Closeable.checkNotClosed is called and throws the JMSException with no linked exception hence the test throws NullPointerException
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@683635 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
0 files changed, 0 insertions, 0 deletions
