Thread.sleep(millis, nanos) timeout returns early

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 12
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b12

      In
      JDK-8065372: Object.wait(ms, ns) timeout returns early
      we fixed Object.wait to not return early by rounding non-zero nanos up to the next millisecond.
      We should make the same change to Thread.sleep

            Assignee:
            Roger Riggs
            Reporter:
            Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: