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

NamespaceUtil.getAllNamespaces should return mutable collection #20929

Closed
vbekiaris opened this issue Mar 10, 2022 · 0 comments · Fixed by #20930
Closed

NamespaceUtil.getAllNamespaces should return mutable collection #20929

vbekiaris opened this issue Mar 10, 2022 · 0 comments · Fixed by #20930
Milestone

Comments

@vbekiaris
Copy link
Collaborator

Since #20598 in 5.1, namespace collection may return an immutable singleton collection.
However some services (example 1, example 2) may later modify the collection of ObjectNamespaces which may lead to UnsupportedOperationExceptions, due to the immutable nature of the singleton collection.

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

Successfully merging a pull request may close this issue.

1 participant