flatMap still prevents short circuiting when using .iterator()

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P3
    • None
    • Affects Version/s: 11
    • Component/s: core-libs
    • None

      flatMap was fixed in (8075939) so that it doesn't prevent short circuiting.
      If you replace the test cases in the ticket with versions that use
      .iterator().next() instead of .findFirst().get() then the problem
      still happens.

      Email thread:
      http://mail.openjdk.java.net/pipermail/core-libs-dev/2019-August/061868.html

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

              Created:
              Updated:
              Resolved: