Duplicate :
|
|
Duplicate :
|
|
Relates :
|
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
|