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

[JMH] test PhoneCode.Bulk reports NPE exception

XMLWordPrintable

    • b17

        The test java.util.stream.tasks.PhoneCode.Bulk reports NullPointerException during regular run but it is not affect the test execution.
        While this exception not affect the test run the output may be reduced to have useful info only.

        The output looks as:
        make test TEST="micro:PhoneCode.Bulk"
        ...
        # Warmup Iteration 1: java.lang.NullPointerException
                at java.base/java.io.Reader.<init>(Reader.java:280)
                at java.base/java.io.InputStreamReader.<init>(InputStreamReader.java:74)
                at org.openjdk.bench.java.util.stream.tasks.DataProviders.dictionary(DataProviders.java:33)
                at org.openjdk.bench.java.util.stream.tasks.PhoneCode.PhoneCodeProblem.loadDictionary(PhoneCodeProblem.java:80)
        ...
        3700.535 ops/min
        # Warmup Iteration 2: 4351.519 ops/min
        ...

              vaivanov Vladimir Ivanov
              vaivanov Vladimir Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: