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

[RESTEASY-3155] Concurrency issues in ResteasyViolationException #3128

Merged
merged 1 commit into from
Jul 12, 2022

Conversation

rmartinc
Copy link
Contributor

@rmartinc rmartinc commented Jul 6, 2022

Issue: https://issues.redhat.com/browse/RESTEASY-3155

Moving the method convertViolations to the constructor to avoid any race condition when calculating the lists (convertFromString and convertToStrings are already called at constructor level). The lists are used now like if they were final.

I'm sending PRs for main and 3.15 branches. @jamezp If you need this any other branch just let me know.

This PR is for the 1.15 branch.
PR for main: #3127

@jamezp jamezp merged commit 4a99580 into resteasy:3.15 Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants