--- old/src/share/classes/java/util/IdentityHashMap.java 2010-12-15 14:40:46.679365960 -0800 +++ new/src/share/classes/java/util/IdentityHashMap.java 2010-12-15 14:40:46.455792783 -0800 @@ -1134,7 +1134,7 @@ Object[] result = new Object[size]; Iterator> it = iterator(); for (int i = 0; i < size; i++) - result[i] = new AbstractMap.SimpleEntry(it.next()); + result[i] = new AbstractMap.SimpleEntry<>(it.next()); return result; } @@ -1146,7 +1146,7 @@ .newInstance(a.getClass().getComponentType(), size); Iterator> it = iterator(); for (int i = 0; i < size; i++) - a[i] = (T) new AbstractMap.SimpleEntry(it.next()); + a[i] = (T) new AbstractMap.SimpleEntry<>(it.next()); if (a.length > size) a[size] = null; return a;