EventListenerHooks are able to make modifications to ShrinkableMap
------------------------------------------------------------------

                 Key: FELIX-3203
                 URL: https://issues.apache.org/jira/browse/FELIX-3203
             Project: Felix
          Issue Type: Bug
          Components: Framework
    Affects Versions: framework-4.0.0
            Reporter: Lucas Galfaso


EventListenerHooks are able to make modifications to ShrinkableMap by calling 
Entry::setValue on the entry set. This is
listeners.entrySet().iterator().next().setValue(XXX)

Even when the specification does not state that this should not be possible, it 
looks like it is an unintended side-effect.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to