-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
StdSubtypeResolver
is not thread safe (possibly due to copy not being made with ObjectMapper.copy()
)
#2755
Comments
That is very odd: there should be no way that particular So this is somehow due to specific usage. Two possibilities come to mind:
It would be important to know what causes this, to be able to reproduce the problem. |
The codebase I'm seeing in does make potentially concurrent |
@tjwilson90 Ok good, thank you for verifying this. In that case I think
could be used as an example to build a (at least sometimes?) failing case. |
StdSubtypeResolver
isn't thread safe (possibly due to copy not being made with ObjectMapper.copy()
)
StdSubtypeResolver
isn't thread safe (possibly due to copy not being made with ObjectMapper.copy()
)StdSubtypeResolver
is not thread safe (possibly due to copy not being made with ObjectMapper.copy()
)
Fixed for 2.11.1 and 2.12.0; 3.0 (master) would not have this problem (SubTypeResolver already snapshottable). |
Thanks for the quick turnaround. |
Version 2.11.0
The text was updated successfully, but these errors were encountered: