提交 b4e6ed16 编写于 作者: R rriggs

8065372: Object.wait(ms, ns) timeout returns early

Reviewed-by: martin, dholmes
上级 347aa69d
......@@ -453,7 +453,7 @@ public class Object {
"nanosecond timeout value out of range");
}
if (nanos >= 500000 || (nanos != 0 && timeout == 0)) {
if (nanos > 0) {
timeout++;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册