You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The containsKey check isn't necessary anyway since we can simply check the get(key) result for null, differentiating between a non-existing key and a null value that way. Fixed for 4.3.15 now.
William Hoyle opened SPR-16533 and commented
ConcurrentMapCache.get(Object, Callable)
can throw aNullPointerException
if the key is evicted by another thread during the get.From the source:
This is fixed by #18383 in the 5.0 branch.
Test code:
Affects: 4.3.14
Issue Links:
Referenced from: commits 06e2bad
The text was updated successfully, but these errors were encountered: