Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
A couple of places in the code attempt to remove elements from a map while iterating over it, but without using the iterator. This can lead to undefined behaviour including skipping elements, repeating elements, or ConcurrentModificationException thrown.
Static analysis tools can help spot these locations.