[Framework] Service registry hooks are not correctly filtering bundle contexts
for event hook
---------------------------------------------------------------------------------------------
Key: FELIX-3033
URL: https://issues.apache.org/jira/browse/FELIX-3033
Project: Felix
Issue Type: Bug
Components: Framework, Specification compliance
Affects Versions: framework-3.2.2
Reporter: Richard S. Hall
Assignee: Richard S. Hall
Fix For: framework-4.0.0
When calling out to service registry EventHooks, the collection of bundle
contexts is being treated as a list with duplicates when it should be treated
as a set without duplicates. The end result being, if a hook removes a bundle
context from the set, then it effectively filters all listeners from that
bundle context. The current implementation allows a hook to remove a single
listener, which is not correct.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira