-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
[Bug] Calling a value is not thread safe (return another value) #268
Comments
This is ugly. Thanks for the bug report. I really need to take back my hands on this project. |
There are few patched added from 1.0.10 to 1.0.11, so what we can do is to repeat your test for every code change, and verify what is the patch that introduced the bug, then find the fix. |
it looks like the problem has been introduced by commit 1acb314 |
I released 1.0.12, this should fix the issue. Let me know. |
thank you for the unit test, really appreciated you took the time to produce a test case to reproduce the issue. I wrote a unit test inspired to your code. So this issue hopefully will not show up again. |
I was very glad to help! I wanted to write the test by myself but you was faster than me :) |
@Amerousful It's already released. 1.0.12, try that out and let me know. |
@lviggiano Yes, it works fine! Thanks! |
@Amerousful Glad it helped. Thank you for your valuable time in helping. |
I noticed that when calling values from different threads, it can returns values from other methods. The wrong method is invoked somehow. Bug reproduced on version 1.0.11
I tried 1.0.8 - 1.0.10 and all ok.
src/test/resources/config.properties
I executed it 1000 times and here it stdout:
I can provide any necessary information for debugging.
The text was updated successfully, but these errors were encountered: