EnumMap spliterators (keySet, entrySet, values) are missing some characteristics that are inherent to the EnumMap contract:
Set returned by keySet(): missing SORTED, ORDERED, NONNULL
Set returned by entrySet(): missing SORTED, ORDERED, NONNULL
Collection returned by values(): missing ORDERED
Set returned by keySet(): missing SORTED, ORDERED, NONNULL
Set returned by entrySet(): missing SORTED, ORDERED, NONNULL
Collection returned by values(): missing ORDERED
- csr for
-
JDK-8375122 EnumMap spliterators should include more specific characteristics
-
- Draft
-
- relates to
-
JDK-8373243 EnumSet.spliterator() should specify and document its characteristics
-
- In Progress
-
- links to
-
Review(master)
openjdk/jdk/28840