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

java/lang/Runtime/exec/CloseRace.java uses wrong time measurement unit for timeout

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 9
    • None
    • core-libs
    • None

      The variable timeGap is meant to be in seconds, but is passed to Thread.sleep() function which expects its argument to be in milliseconds.

            igerasim Ivan Gerasimov
            igerasim Ivan Gerasimov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: