Skip to content

Commit 0cda003

Browse files
Add files via upload
1 parent 49c7aa1 commit 0cda003

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

IdentityHashMap1.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ public static void main(String[] args) throws Exception {
122122
map.putAll(map1);
123123
System.out.println("Map:" + map);
124124

125+
//Iterator and Values throws ConcurrentModificationException
125126
try{
126127

127128
Iterator<Integer> itr = map.values().iterator();

0 commit comments

Comments
 (0)