Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8230021

Stream.flatMap is still broken

    Details

      Description

      ADDITIONAL SYSTEM INFORMATION :
      Bug occurs even in openjdk 14

      A DESCRIPTION OF THE PROBLEM :
      https://bugs.openjdk.java.net/browse/JDK-8075939
      This bug still happens if you replace .findFirst().get() with .iterator().next().

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Take the test case in the description of the ticket here: https://bugs.openjdk.java.net/browse/JDK-8075939
      replace .findFirst().get() with .iterator().next()



      FREQUENCY : always


        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psonal Pallavi Sonal
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: