Spliterators obtained by trivial Streams should be splittable

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: core-libs
    • None

      Currently, when obtaining the Spliterator from something like `LongStream.range(0,10).boxed().spliterator()`, the resulting Spliterator cannot be split using trySplit, as it always returns false.

      It should be possible to obtain a Spliterator for trivial Streams which does support the trySplit operation.

            Assignee:
            Unassigned
            Reporter:
            Viktor Klang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: