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

JsonObject's members should be ConcurrentHashMap #1117

Closed
arass opened this issue Jul 14, 2017 · 2 comments
Closed

JsonObject's members should be ConcurrentHashMap #1117

arass opened this issue Jul 14, 2017 · 2 comments

Comments

@arass
Copy link

arass commented Jul 14, 2017

Otherwise simply cycling through the elements causes a concurrent exceptions.

@Marcono1234
Copy link
Collaborator

Otherwise simply cycling through the elements causes a concurrent exceptions.

This sounds more like you are also modifying the object at the same time you are iterating its members.

In case this is still relevant could you please try this with the latest Gson version and provide a small self contained example showing where the exception occurs for you?

@Marcono1234
Copy link
Collaborator

I am going to close this because no answer has been provided. If you still experience this with the latest Gson version, feel free to comment here again with more details.

@Marcono1234 Marcono1234 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants