-
Bug
-
Resolution: Unresolved
-
P4
-
1.2.0, 9
-
generic
-
generic
A DESCRIPTION OF THE PROBLEM :
ImmutableCollections List.of(..), Set.of(..), Map.of(..), and other collections not supporting null may lead to issues such as: https://bugs.openjdk.org/browse/JDK-8265905
New marker interfaces, similar to RandomAccess, may prevent such issues when not knowing the concrete implementation.
Proposal: NullableValues for collections and NullableKeys + NullableValues for maps.
ImmutableCollections List.of(..), Set.of(..), Map.of(..), and other collections not supporting null may lead to issues such as: https://bugs.openjdk.org/browse/JDK-8265905
New marker interfaces, similar to RandomAccess, may prevent such issues when not knowing the concrete implementation.
Proposal: NullableValues for collections and NullableKeys + NullableValues for maps.
- relates to
-
JDK-8265905 ImmutableCollections: Querying for 'null' should return 'false' instead of NPE
- Closed