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

Disable an assertion in test/jdk/java/util/DoubleStreamSums/CompensatedSums.java

XMLWordPrintable

        Due to floating-point addition being inherently non associative, and due to the unpredictable scheduling of the threads used in parallel streams, a specific assertion in this test can fail intermittently.

        This fix silences that specific assertion, leaving the rest of the code intact for future enhancements.

              rgiulietti Raffaello Giulietti
              rgiulietti Raffaello Giulietti
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: