Withdrawn: 8373288: EnumMap spliterators should include more specific characteristics
duke
duke at openjdk.org
Sat Feb 14 14:43:16 UTC 2026
On Tue, 16 Dec 2025 04:42:53 GMT, Patrick Strawderman <duke at openjdk.org> wrote:
> The spliterators returned by keySet, entrySet, and values were not reporting additional characteristics, such as ORDERED, SORTED, and NONNULL; the EnumMap iterators all guarantee iteration is in the natural order of the enum key, and nulls are disallowed as keys.
>
> Null values are allowed, so the values collection can only additionally report ORDERED.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/jdk/pull/28840
More information about the core-libs-dev
mailing list