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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None

      Description

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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: