hg: jdk8/tl/jdk: 7123229: (coll) EnumMap.containsValue(null) returns true

neil.richards at ngmr.net neil.richards at ngmr.net
Tue Jan 31 01:51:24 PST 2012


Changeset: 863a20b0bf08
Author:    ngmr
Date:      2012-01-10 00:07 +0000
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/863a20b0bf08

7123229: (coll) EnumMap.containsValue(null) returns true
Summary: java.util.EnumMap.NULL equals() must only be true for itself
Reviewed-by: alanb, mduigou
Contributed-by: Neil Richards <neil.richards at ngmr.net>

! src/share/classes/java/util/EnumMap.java
+ test/java/util/EnumMap/UniqueNullValue.java




More information about the security-dev mailing list