Fix concurrent access error within ServerControllerImpl's m_listeners
---------------------------------------------------------------------
Key: PAXWEB-106
URL: http://issues.ops4j.org/jira/browse/PAXWEB-106
Project: Pax Web
Issue Type: Bug
Reporter: Matthew Roy
Assignee: Matthew Roy
Fix For: 0.5.1
The m_listeners set within the ServerControllerImpl class in no way protects
against listeners being added or removed while the notifyListeners is iterating
over said listeners. The common approach is to use a CopyOnWriteArraySet,
which solves the concurrent access error.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general