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

Thread.sleep(millis, nanos) timeout returns early

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 12
    • None
    • 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

            rriggs Roger Riggs
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: