< prev index next >

test/jdk/java/util/Map/EntryHashCode.java

Print this page
@@ -49,10 +49,12 @@
          new Hashtable<>(),
          new IdentityHashMap<>(),
          new LinkedHashMap<>(),
          new TreeMap<>(),
          new WeakHashMap<>(),
+         new WeakHashMap<>(16, 0.75f, WeakHashMap.ValuePolicy.SOFT),
+         new WeakHashMap<>(16, 0.75f, WeakHashMap.ValuePolicy.STRONG),
          new ConcurrentHashMap<>(),
          new ConcurrentSkipListMap<>()
      };
  
      static {
< prev index next >