Spliterator.SORTED characteristics gets cleared for BaseStream.spliterator

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 23
    • Affects Version/s: 8
    • Component/s: core-libs
    • None

      Given a Spliterator returned following stream pipeline:

        s.sorted().unordered().spliterator()

      it reports SORTED but not ORDERED which does not conform to the the specification of Spliterator.SORTED:

           * <p>A Spliterator that reports {@code SORTED} must also report
           * {@code ORDERED}.
       

            Assignee:
            Viktor Klang
            Reporter:
            Paul Sandoz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: