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

Stream.flatMap is still broken

XMLWordPrintable

      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


            psonal Pallavi Sonal (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: