< prev index next >

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

Print this page

        

*** 605,615 **** --- 605,617 ---- implements Entry<K,V>, java.io.Serializable { @java.io.Serial private static final long serialVersionUID = -8499721149061103585L; + @SuppressWarnings("serial") // Not statically typed as Serializable private final K key; + @SuppressWarnings("serial") // Not statically typed as Serializable private V value; /** * Creates an entry representing a mapping from the specified * key to the specified value.
*** 736,746 **** --- 738,750 ---- implements Entry<K,V>, java.io.Serializable { @java.io.Serial private static final long serialVersionUID = 7138329143949025153L; + @SuppressWarnings("serial") // Not statically typed as Serializable private final K key; + @SuppressWarnings("serial") // Not statically typed as Serializable private final V value; /** * Creates an entry representing a mapping from the specified * key to the specified value.
< prev index next >