[
https://issues.apache.org/jira/browse/FELIX-3203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13145013#comment-13145013
]
Lucas Galfaso edited comment on FELIX-3203 at 11/6/11 2:32 PM:
---------------------------------------------------------------
Proposed patch.
Note: Was unable to create a patch creates less inner classes.
was (Author: lgalfaso):
Proposed patch.
Note: Was unable to create a patch that does not create as many inner classes.
> 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
> Attachments: FELIX-3203.diff
>
>
> 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