diff -r 60e247b8d9a4 -r f9c6f543c4db jdk/test/java/util/IdentityHashMap/ToString.java --- a/jdk/test/java/util/IdentityHashMap/ToString.java Fri Feb 03 13:24:59 2017 -0800 +++ b/jdk/test/java/util/IdentityHashMap/ToString.java Fri Feb 03 13:24:59 2017 -0800 @@ -32,7 +32,7 @@ public class ToString { public static void main(String[] args) { - Map m = new IdentityHashMap(); + Map m = new IdentityHashMap<>(); Set> es = m.entrySet(); m.put("beer", "good"); Iterator> i = es.iterator();