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

Stream.reduce 3 argument java doc looks wrong

XMLWordPrintable

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      https://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html#reduce-U-java.util.function.BiFunction-java.util.function.BinaryOperator- java doc is suspect. The sample logic ignores one of the three arguments entirely.

      REGRESSION. Last worked in version 8u74


      REPRODUCIBILITY :
      This bug can be reproduced always.

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

              Created:
              Updated:
              Resolved: