[
https://issues.jboss.org/browse/ISPN-8946?page=com.atlassian.jira.plugin....
]
William Burns commented on ISPN-8946:
-------------------------------------
Note these changes will also try to avoid all unnecessary wrapping by subsequent
interceptors (especially around iterator and supporting the remove method of it). These
wrappings should be avoidable at all levels by setting the REMOTE_ITERATION flag as
needed. Note only the highest level should provide the wrapping unless the flag was
already set (by remote invocation such as LocalStreamManager.
All collection wrappers should always delegate to underlying
collections where available
----------------------------------------------------------------------------------------
Key: ISPN-8946
URL:
https://issues.jboss.org/browse/ISPN-8946
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.2.0.Final
Reporter: William Burns
Assignee: William Burns
All places that override values returned from keySet and entrySet should always delegate
appropriately to the underlying keySet or entrySet. We should try to be as minimally
invasive to each level down as possible. An example would be that we shouldn't create
copies of said collections if possible and instead just use delegates.
https://github.com/infinispan/infinispan/pull/5794#discussion_r173789766
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)