-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b59
-
generic
-
generic
From Doug Lea:
ConcurrentHashMap.keySet().toArray and
ConcurrentHashMap.values().toArray can throw IndexOutOfBoundsException.
If these methods are called while a ConcurrentHashMap
is concurrently growing, they may underallocate array space and
attempt to add more elements than allocated.
ConcurrentHashMap.keySet().toArray and
ConcurrentHashMap.values().toArray can throw IndexOutOfBoundsException.
If these methods are called while a ConcurrentHashMap
is concurrently growing, they may underallocate array space and
attempt to add more elements than allocated.