-
Notifications
You must be signed in to change notification settings - Fork 228
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
Defer reflective access to Java core modules (1.4) #218
Conversation
} | ||
getName = method; | ||
} | ||
private static final Map instanceMaps = Collections.synchronizedMap(new HashMap()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Semantically, a synchronized
map is (of course) not the same as ConcurrentHashMap
with .computeIfAbesent()
(like in master
) but it should be sufficient to prevent illegal concurrent access.
The drop in efficiency should be tolerable.
Merged. Thanks for contribution. |
@joehni Thank you very much for releasing 1.4.13 with this workaround! |
Thanks for your contribution. Now that it is available on Central, I can finally send the announcement... ;-) |
Fixes quarkusio#10303 for some cases when using JUnit5 ParameterResolver. Includes x-stream/xstream#218 that tries to avoid such warnings at XStream creation time. Also adds xstream to dependabot. Comment regardings optaplanner was outdated.
Backport of 3cec78d as discussed here: #216 (comment)
Relates to #101 and quarkusio/quarkus#10303 (comment)