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

Thread.sleep(millis, nanos) timeout returns early

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 12
    • None
    • core-libs
    • None
    • b12

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: