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

Several api.java.util.stream tests got "NaN" value instead of "Infinity" or "-Infinity"

    Details

    • Subcomponent:
    • Introduced In Build:
      b120
    • Resolved In Build:
      b124
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        Several api.java.util.stream tests got "NaN" value instead of "Infinity" or "-Infinity"

        Tested with JDK8 b120 abd JCKb b37.

        List od affected tests below.
        api/java_util/Arrays/DoubleStreamTests_DoubleStreamTests[summaryStatistics_checkGetSum]
        api/java_util/Arrays/DoubleStreamTests_DoubleStreamTests[sum_many]
        api/java_util/Arrays/DoubleStreamTests_DoubleStreamTests[summaryStatistics_checkGetAverage]
        api/java_util/Arrays/DoubleStreamTests_DoubleStreamTests[sum_single]
        api/java_util/Arrays/DoubleStreamTests_DoubleStreamTests[checkSum]
        api/java_util/Arrays/DoubleStreamTests_DoubleStreamTests[checkSummaryStatistics]
        api/java_util/Arrays/DoubleStreamTests_DoubleStreamTests[average_many]
        api/java_util/Arrays/DoubleStreamTests_DoubleStreamTests[checkAverage]
        api/java_util/Arrays/DoubleStreamTests_DoubleStreamTests[average_single]
        api/java_util/DoubleSummaryStatistics/DoubleSummaryStatisticsAcceptTests_DoubleSummaryStatisticsAcceptTests[checkAcceptMoreThanOne]
        api/java_util/DoubleSummaryStatistics/DoubleSummaryStatisticsAcceptTests_DoubleSummaryStatisticsAcceptTests[checkAcceptOneByOne]
        api/java_util/DoubleSummaryStatistics/DoubleSummaryStatisticsAcceptTests_DoubleSummaryStatisticsAcceptTests[checkAcceptSingle]
        api/java_util/DoubleSummaryStatistics/DoubleSummaryStatisticsCombineTests_DoubleSummaryStatisticsCombineTests[checkCombineMoreThanOneWithEmpty]
        api/java_util/DoubleSummaryStatistics/DoubleSummaryStatisticsCombineTests_DoubleSummaryStatisticsCombineTests[checkCombineSingleWithSingle]
        api/java_util/DoubleSummaryStatistics/DoubleSummaryStatisticsCombineTests_DoubleSummaryStatisticsCombineTests[checkCombineEmptyWithSingle]
        api/java_util/DoubleSummaryStatistics/DoubleSummaryStatisticsCombineTests_DoubleSummaryStatisticsCombineTests[checkCombineEmptyWithMoreThanOne]
        api/java_util/DoubleSummaryStatistics/DoubleSummaryStatisticsCombineTests_DoubleSummaryStatisticsCombineTests[checkCombineSingleWithEmpty]
        api/java_util/DoubleSummaryStatistics/DoubleSummaryStatisticsCombineTests_DoubleSummaryStatisticsCombineTests[checkCombineMoreThanOneWithSingle]
        api/java_util/DoubleSummaryStatistics/DoubleSummaryStatisticsCombineTests_DoubleSummaryStatisticsCombineTests[checkCombineSingleWithMoreThanOne]
        api/java_util/DoubleSummaryStatistics/DoubleSummaryStatisticsCombineTests_DoubleSummaryStatisticsCombineTests[checkCombineMoreThanOneWithMoreThanOne]
        api/java_util/DoubleSummaryStatistics/DoubleSummaryStatisticsMainTests_DoubleSummaryStatisticsMainTests[getSum_moreThanOne]
        api/java_util/DoubleSummaryStatistics/DoubleSummaryStatisticsMainTests_DoubleSummaryStatisticsMainTests[getAverage_moreThanOne]
        api/java_util/DoubleSummaryStatistics/DoubleSummaryStatisticsMainTests_DoubleSummaryStatisticsMainTests[getAverage_singleCheck]
        api/java_util/DoubleSummaryStatistics/DoubleSummaryStatisticsMainTests_DoubleSummaryStatisticsMainTests[getSum_singleCheck]
        api/java_util/IntSummaryStatistics/DoubleSummaryStatistics/DoubleSummaryStatisticsAcceptTests_DoubleSummaryStatisticsAcceptTests[checkAcceptMoreThanOne]
        api/java_util/IntSummaryStatistics/DoubleSummaryStatistics/DoubleSummaryStatisticsAcceptTests_DoubleSummaryStatisticsAcceptTests[checkAcceptOneByOne]
        api/java_util/IntSummaryStatistics/DoubleSummaryStatistics/DoubleSummaryStatisticsAcceptTests_DoubleSummaryStatisticsAcceptTests[checkAcceptSingle]
        api/java_util/IntSummaryStatistics/DoubleSummaryStatistics/DoubleSummaryStatisticsCombineTests_DoubleSummaryStatisticsCombineTests[checkCombineMoreThanOneWithEmpty]
        api/java_util/IntSummaryStatistics/DoubleSummaryStatistics/DoubleSummaryStatisticsCombineTests_DoubleSummaryStatisticsCombineTests[checkCombineSingleWithSingle]
        api/java_util/IntSummaryStatistics/DoubleSummaryStatistics/DoubleSummaryStatisticsCombineTests_DoubleSummaryStatisticsCombineTests[checkCombineEmptyWithSingle]
        api/java_util/IntSummaryStatistics/DoubleSummaryStatistics/DoubleSummaryStatisticsCombineTests_DoubleSummaryStatisticsCombineTests[checkCombineEmptyWithMoreThanOne]
        api/java_util/IntSummaryStatistics/DoubleSummaryStatistics/DoubleSummaryStatisticsCombineTests_DoubleSummaryStatisticsCombineTests[checkCombineSingleWithEmpty]
        api/java_util/IntSummaryStatistics/DoubleSummaryStatistics/DoubleSummaryStatisticsCombineTests_DoubleSummaryStatisticsCombineTests[checkCombineMoreThanOneWithSingle]
        api/java_util/IntSummaryStatistics/DoubleSummaryStatistics/DoubleSummaryStatisticsCombineTests_DoubleSummaryStatisticsCombineTests[checkCombineSingleWithMoreThanOne]
        api/java_util/IntSummaryStatistics/DoubleSummaryStatistics/DoubleSummaryStatisticsCombineTests_DoubleSummaryStatisticsCombineTests[checkCombineMoreThanOneWithMoreThanOne]
        api/java_util/IntSummaryStatistics/DoubleSummaryStatistics/DoubleSummaryStatisticsMainTests_DoubleSummaryStatisticsMainTests[getSum_moreThanOne]
        api/java_util/IntSummaryStatistics/DoubleSummaryStatistics/DoubleSummaryStatisticsMainTests_DoubleSummaryStatisticsMainTests[getAverage_moreThanOne]
        api/java_util/IntSummaryStatistics/DoubleSummaryStatistics/DoubleSummaryStatisticsMainTests_DoubleSummaryStatisticsMainTests[getAverage_singleCheck]
        api/java_util/IntSummaryStatistics/DoubleSummaryStatistics/DoubleSummaryStatisticsMainTests_DoubleSummaryStatisticsMainTests[getSum_singleCheck]
        api/java_util/stream/DoubleStream/OfMany_OfMany[summaryStatistics_checkGetSum]
        api/java_util/stream/DoubleStream/OfMany_OfMany[sum_many]
        api/java_util/stream/DoubleStream/OfMany_OfMany[summaryStatistics_checkGetAverage]
        api/java_util/stream/DoubleStream/OfMany_OfMany[sum_single]
        api/java_util/stream/DoubleStream/OfMany_OfMany[checkSum]
        api/java_util/stream/DoubleStream/OfMany_OfMany[checkSummaryStatistics]
        api/java_util/stream/DoubleStream/OfMany_OfMany[average_many]
        api/java_util/stream/DoubleStream/OfMany_OfMany[checkAverage]
        api/java_util/stream/DoubleStream/OfMany_OfMany[average_single]
        api/java_util/stream/DoubleStream/OfOne_OfOne[sum_single]
        api/java_util/stream/DoubleStream/OfOne_OfOne[checkSummaryStatistics]
        api/java_util/stream/DoubleStream/OfOne_OfOne[checkSum]
        api/java_util/stream/DoubleStream/OfOne_OfOne[summaryStatistics_checkGetAverage]
        api/java_util/stream/DoubleStream/OfOne_OfOne[checkAverage]
        api/java_util/stream/DoubleStream/OfOne_OfOne[summaryStatistics_checkGetSum]
        api/java_util/stream/DoubleStream/OfOne_OfOne[average_single]
        api/java_util/stream/DoubleStream/concat/ConcatParallel2_ConcatParallel2[summaryStatistics_checkGetSum]
        api/java_util/stream/DoubleStream/concat/ConcatParallel2_ConcatParallel2[sum_many]
        api/java_util/stream/DoubleStream/concat/ConcatParallel2_ConcatParallel2[summaryStatistics_checkGetAverage]
        api/java_util/stream/DoubleStream/concat/ConcatParallel2_ConcatParallel2[sum_single]
        api/java_util/stream/DoubleStream/concat/ConcatParallel2_ConcatParallel2[checkSum]
        api/java_util/stream/DoubleStream/concat/ConcatParallel2_ConcatParallel2[checkSummaryStatistics]
        api/java_util/stream/DoubleStream/concat/ConcatParallel2_ConcatParallel2[average_many]
        api/java_util/stream/DoubleStream/concat/ConcatParallel2_ConcatParallel2[checkAverage]
        api/java_util/stream/DoubleStream/concat/ConcatParallel2_ConcatParallel2[average_single]
        api/java_util/stream/DoubleStream/concat/ConcatParallel3_ConcatParallel3[summaryStatistics_checkGetSum]
        api/java_util/stream/DoubleStream/concat/ConcatParallel3_ConcatParallel3[sum_many]
        api/java_util/stream/DoubleStream/concat/ConcatParallel3_ConcatParallel3[summaryStatistics_checkGetAverage]
        api/java_util/stream/DoubleStream/concat/ConcatParallel3_ConcatParallel3[sum_single]
        api/java_util/stream/DoubleStream/concat/ConcatParallel3_ConcatParallel3[checkSum]
        api/java_util/stream/DoubleStream/concat/ConcatParallel3_ConcatParallel3[checkSummaryStatistics]
        api/java_util/stream/DoubleStream/concat/ConcatParallel3_ConcatParallel3[average_many]
        api/java_util/stream/DoubleStream/concat/ConcatParallel3_ConcatParallel3[checkAverage]
        api/java_util/stream/DoubleStream/concat/ConcatParallel3_ConcatParallel3[average_single]
        api/java_util/stream/DoubleStream/concat/ConcatParallel_ConcatParallel[summaryStatistics_checkGetSum]
        api/java_util/stream/DoubleStream/concat/ConcatParallel_ConcatParallel[sum_many]
        api/java_util/stream/DoubleStream/concat/ConcatParallel_ConcatParallel[summaryStatistics_checkGetAverage]
        api/java_util/stream/DoubleStream/concat/ConcatParallel_ConcatParallel[sum_single]
        api/java_util/stream/DoubleStream/concat/ConcatParallel_ConcatParallel[checkSum]
        api/java_util/stream/DoubleStream/concat/ConcatParallel_ConcatParallel[checkSummaryStatistics]
        api/java_util/stream/DoubleStream/concat/ConcatParallel_ConcatParallel[average_many]
        api/java_util/stream/DoubleStream/concat/ConcatParallel_ConcatParallel[checkAverage]
        api/java_util/stream/DoubleStream/concat/ConcatParallel_ConcatParallel[average_single]
        api/java_util/stream/DoubleStream/concat/ConcatSequential2_ConcatSequential2[sum_many]
        api/java_util/stream/DoubleStream/concat/ConcatSequential2_ConcatSequential2[checkSum]
        api/java_util/stream/DoubleStream/concat/ConcatSequential2_ConcatSequential2[checkSummaryStatistics]
        api/java_util/stream/DoubleStream/concat/ConcatSequential2_ConcatSequential2[average_many]
        api/java_util/stream/DoubleStream/concat/ConcatSequential2_ConcatSequential2[summaryStatistics_checkGetAverage]
        api/java_util/stream/DoubleStream/concat/ConcatSequential2_ConcatSequential2[checkAverage]
        api/java_util/stream/DoubleStream/concat/ConcatSequential2_ConcatSequential2[summaryStatistics_checkGetSum]
        api/java_util/stream/DoubleStream/concat/ConcatSequential_ConcatSequential[average_two]
        api/java_util/stream/DoubleStream/concat/ConcatSequential_ConcatSequential[sum_two]
        api/java_util/stream/DoubleStream/concat/ConcatSequential_ConcatSequential[checkSum]
        api/java_util/stream/DoubleStream/concat/ConcatSequential_ConcatSequential[checkSummaryStatistics]
        api/java_util/stream/DoubleStream/concat/ConcatSequential_ConcatSequential[average_many]
        api/java_util/stream/DoubleStream/concat/ConcatSequential_ConcatSequential[sum_many]
        api/java_util/stream/DoubleStream/concat/ConcatSequential_ConcatSequential[summaryStatistics_checkGetSum]
        api/java_util/stream/DoubleStream/concat/ConcatSequential_ConcatSequential[summaryStatistics_checkGetAverage]
        api/java_util/stream/DoubleStream/concat/ConcatSequential_ConcatSequential[sum_single]
        api/java_util/stream/DoubleStream/concat/ConcatSequential_ConcatSequential[average_single]
        api/java_util/stream/DoubleStream/concat/ConcatSequential_ConcatSequential[checkAverage]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromCustomSpliterator[summaryStatistics_checkGetSum]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromCustomSpliterator[sum_many]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromCustomSpliterator[summaryStatistics_checkGetAverage]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromCustomSpliterator[sum_single]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromCustomSpliterator[checkSum]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromCustomSpliterator[checkSummaryStatistics]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromCustomSpliterator[average_many]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromCustomSpliterator[checkAverage]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromCustomSpliterator[average_single]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromCustomSpliteratorSupplier[summaryStatistics_checkGetSum]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromCustomSpliteratorSupplier[sum_many]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromCustomSpliteratorSupplier[summaryStatistics_checkGetAverage]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromCustomSpliteratorSupplier[sum_single]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromCustomSpliteratorSupplier[checkSum]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromCustomSpliteratorSupplier[checkSummaryStatistics]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromCustomSpliteratorSupplier[average_many]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromCustomSpliteratorSupplier[checkAverage]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromCustomSpliteratorSupplier[average_single]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromStandardSpliterator[summaryStatistics_checkGetSum]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromStandardSpliterator[sum_many]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromStandardSpliterator[summaryStatistics_checkGetAverage]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromStandardSpliterator[sum_single]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromStandardSpliterator[checkSum]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromStandardSpliterator[checkSummaryStatistics]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromStandardSpliterator[average_many]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromStandardSpliterator[checkAverage]
        api/java_util/stream/StreamSupport/index_DoubleParallelStreamFromStandardSpliterator[average_single]
        api/java_util/stream/StreamSupport/index_DoubleStreamFromCustomSpliterator[summaryStatistics_checkGetSum]
        api/java_util/stream/StreamSupport/index_DoubleStreamFromCustomSpliterator[sum_many]
        api/java_util/stream/StreamSupport/index_DoubleStreamFromCustomSpliterator[summaryStatistics_checkGetAverage]
        api/java_util/stream/StreamSupport/index_DoubleStreamFromCustomSpliterator[sum_single]
        api/java_util/stream/StreamSupport/index_DoubleStreamFromCustomSpliterator[checkSum]
        api/java_util/stream/StreamSupport/index_DoubleStreamFromCustomSpliterator[checkSummaryStatistics]
        api/java_util/stream/StreamSupport/index_DoubleStreamFromCustomSpliterator[average_many]
        api/java_util/stream/StreamSupport/index_DoubleStreamFromCustomSpliterator[checkAverage]
        api/java_util/stream/StreamSupport/index_DoubleStreamFromCustomSpliterator[average_single]
        api/java_util/stream/StreamSupport/index_DoubleStreamFromCustomSpliteratorSupplier[summaryStatistics_checkGetSum]
        api/java_util/stream/StreamSupport/index_DoubleStreamFromCustomSpliteratorSupplier[sum_many]
        api/java_util/stream/StreamSupport/index_DoubleStreamFromCustomSpliteratorSupplier[summaryStatistics_checkGetAverage]
        api/java_util/stream/StreamSupport/index_DoubleStreamFromCustomSpliteratorSupplier[sum_single]
        api/java_util/stream/StreamSupport/index_DoubleStreamFromCustomSpliteratorSupplier[checkSum]
        api/java_util/stream/StreamSupport/index_DoubleStreamFromCustomSpliteratorSupplier[checkSummaryStatistics]
        api/java_util/stream/StreamSupport/index_DoubleStreamFromCustomSpliteratorSupplier[average_many]
        api/java_util/stream/StreamSupport/index_DoubleStreamFromCustomSpliteratorSupplier[checkAverage]
        api/java_util/stream/StreamSupport/index_DoubleStreamFromCustomSpliteratorSupplier[average_single]

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  darcy Joe Darcy
                  Reporter:
                  skovalev Sergei Kovalev (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: