Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LinkedMultiValueMap should allow for deep copy of List values [SPR-13201] #17793

spring-projects-issues opened this issue Jul 6, 2015 · 1 comment


Copy link

@spring-projects-issues spring-projects-issues commented Jul 6, 2015

Juergen Hoeller opened SPR-13201 and commented

LinkedMultiValueMap's copy constructor takes a shallow copy of the given Map, reusing the List values there. In order to fix #17777 but also generally, we should allow for taking a deep copy as well.

Issue Links:

  • #17777 ConcurrentModificationException when calling SimpMessagingTemplate.convertAndSend

Referenced from: commits df8e963

Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Jul 6, 2015

Juergen Hoeller commented

I've added public clone() and deepCopy methods to LinkedMultiValueMap as of 4.2, applied within DefaultSubscriptionRegistry but also available for any other use.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants