Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Here is related code:
sortedStatsSet.addAll(statistics.entrySet());
The entrySet() method is allowed to return a view of the underlying Map in which a single Entry object is reused and returned during the iteration.
When iterating through such a Map, the Entry value is only valid until you advance to the next iteration.
Attachments
Issue Links
- links to