< prev index next >

src/java.base/share/classes/java/util/IdentityHashMap.java

Print this page
rev 51958 : 8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn

*** 27,37 **** import java.lang.reflect.Array; import java.util.function.BiConsumer; import java.util.function.BiFunction; import java.util.function.Consumer; ! import jdk.internal.misc.SharedSecrets; /** * This class implements the {@code Map} interface with a hash table, using * reference-equality in place of object-equality when comparing keys (and * values). In other words, in an {@code IdentityHashMap}, two keys --- 27,37 ---- import java.lang.reflect.Array; import java.util.function.BiConsumer; import java.util.function.BiFunction; import java.util.function.Consumer; ! import jdk.internal.access.SharedSecrets; /** * This class implements the {@code Map} interface with a hash table, using * reference-equality in place of object-equality when comparing keys (and * values). In other words, in an {@code IdentityHashMap}, two keys
< prev index next >