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

Test AvailableProcessors.java got wrong number of processors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • b107
    • arm
    • linux

      Failure message:

      stderr: [Exception in thread "main" java.lang.Error: Expected 4 processors, but found 3
      at AvailableProcessors.checkProcessors(AvailableProcessors.java:97)
      at AvailableProcessors.main(AvailableProcessors.java:43)


      java.lang.RuntimeException: 'Found expected processors: ' missing from stdout/stderr

      at jdk.test.lib.OutputAnalyzer.shouldContain(OutputAnalyzer.java:138)
      at AvailableProcessors.main(AvailableProcessors.java:89)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:520)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:804)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: 'Found expected processors: ' missing from stdout/stderr

            dholmes David Holmes
            hseigel Harold Seigel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: