Object.wait(ms, ns) timeout returns early

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: core-libs
    • b42

        java.lang.Object.wait(long timeout, int nanos) implementation incorrectly rounds up to milliseconds.
        Since the resolution of Object.wait(ms) is only milliseconds, a nanos value less than or equal to 999999 should result in a full extra millisecond.

              Assignee:
              Roger Riggs
              Reporter:
              Roger Riggs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: