hg: jdk7/tl/jdk: 6312706: Map entrySet iterators should return different entries on each call to next()

mike.duigou at oracle.com mike.duigou at oracle.com
Wed Apr 6 16:54:22 UTC 2011


Changeset: c1e87a18e46a
Author:    mduigou
Date:      2011-04-06 09:31 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/c1e87a18e46a

6312706: Map entrySet iterators should return different entries on each call to next()
Reviewed-by: mduigou, alanb
Contributed-by: Neil Richards <neil.richards at ngmr.net>

! src/share/classes/java/util/EnumMap.java
! src/share/classes/java/util/IdentityHashMap.java
+ test/java/util/EnumMap/DistinctEntrySetElements.java
+ test/java/util/EnumMap/EntrySetIteratorRemoveInvalidatesEntry.java
+ test/java/util/EnumMap/SimpleSerialization.java
+ test/java/util/IdentityHashMap/DistinctEntrySetElements.java
+ test/java/util/IdentityHashMap/EntrySetIteratorRemoveInvalidatesEntry.java
+ test/java/util/concurrent/ConcurrentHashMap/DistinctEntrySetElements.java




More information about the security-dev mailing list