Github user dkulp commented on the pull request:
https://github.com/apache/cxf/pull/119#issuecomment-194280245
You HAVE to have the lock on the get as well as the put. During the put,
the entire map is allowed to be restructured internally (buckets recalculated,
etc... if the map grows) which would make anything going on in the get invalid.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---