-
-
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
strange concurrency bug #709
Conversation
And if I uncomment the line 92 (and keep line 102 commented), all is fine again. |
That certainly sounds unusual, and not something I have seen before. Last concurrency bugs fixed were somewhere in 1.8 or so... |
Hi, I cherry-pick my commit and backport to jackson-databind2.2, 2.3, 2.4 and all is fine. in 2.5.0, the bug occurred. |
Thank you for the test; I hope to have a look at this soon. Concurrency bugs are certainly not acceptable. I wonder if it could be related to caching changes. |
Looking at the test, couple of thoughts:
I will use the test, just need to figure out proper way to backport as I want to use the test for 2.5 branch at least. |
works now, thanks ! |
@twillouer thank you for verifying this! |
Hi,
I have a very strange concurrency bug.
When I use @JsonTypeInfo, in a wrapper class, sometimes, the property disapear !
If I doesn't use the wrapped class, all is fine.
If I put only one thread (Executors.newFixedThreadPool(1);), all is fine.
If I use ObjectWritter (like line who is commented), all is fine.
But in this configuration, there a concurrency issue and the "type" information is lost :-/
I make a huge usage of "jongo" and this concurrency problem appears a lot in my unit test.
Can you help me ?