-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
6
-
b51
-
generic
-
generic
CR 5045147 was closed with resolution "will not fix".
At the same time new(updated in Mustang) specification for methods TreeSet.add(E o)
says: "NullPointerException - if the specified element is null and this set uses natural ordering,
or its comparator does not permit null elements".
Hence the current spec contradicts to the implementation.
*** (#1 of 1): [ UNSAVED ] ###@###.###
At the same time new(updated in Mustang) specification for methods TreeSet.add(E o)
says: "NullPointerException - if the specified element is null and this set uses natural ordering,
or its comparator does not permit null elements".
Hence the current spec contradicts to the implementation.
*** (#1 of 1): [ UNSAVED ] ###@###.###
- duplicates
-
JDK-5045147 (coll) Adding null key to empty TreeMap without Comparator should throw NPE
-
- Closed
-