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

java/lang/ProcessBuilder/Basic.java: waitFor didn't take long enough

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 8u40, 9
    • core-libs
    • b42

        The fix for 8043477 may have overshot the goal and did not leave enough wiggle room in the timing.

        On Windows, Test java/lang/ProcessBuilder/Basic.java failed with:

        Test failed: waitFor didn't take long enough (9973894ns)

        Passed = 9187, failed = 1

        STDERR:
        java.lang.Exception: Stack trace
        at java.lang.Thread.dumpStack(Thread.java:1329)
        at Basic.fail(Basic.java:2548)
        at Basic.fail(Basic.java:2549)
        at Basic.realMain(Basic.java:2303)
        at Basic.main(Basic.java:2558)
        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:498)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:745)
        java.lang.AssertionError: Some tests failed
        at Basic.main(Basic.java:2560)
        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:498)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:745)

              rriggs Roger Riggs
              rriggs Roger Riggs
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: