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

Fixing the ResteasyViolationException#toString concurrency #2817

Merged
merged 2 commits into from Sep 1, 2021

Conversation

rhuan080
Copy link
Contributor

@rhuan080 rhuan080 commented Jun 2, 2021

Signed-off-by: Rhuan Rocha rhuan080@gmail.com

This issue was identified in a scenario that the exception' object is delegated to a task that works in other threads. As it uses the iterator on ResteasyViolationException#toString and it calls the convertViolations method (that modifies the violationLists) it can generate an issue if called concurrently.

@jamezp jamezp merged commit 36871e4 into resteasy:3.11 Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants