RFR: 8048691: Spliterator.SORTED characteristics gets cleared for BaseStream.spliterator

Viktor Klang vklang at openjdk.org
Tue May 7 15:03:13 UTC 2024


Removes SORTED if not also ORDERED for escape-hatch `Stream::spliterator()`

-------------

Commit messages:
 - Make sure that escape-hatch spliterator()s don't report SORTED if they aren't also ORDERED

Changes: https://git.openjdk.org/jdk/pull/19123/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19123&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8048691
  Stats: 28 lines in 2 files changed: 26 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/19123.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19123/head:pull/19123

PR: https://git.openjdk.org/jdk/pull/19123


More information about the core-libs-dev mailing list