New marker interface to define collections supporting null values

XMLWordPrintable

      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.


            Assignee:
            Stuart Marks
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: