+1

On 9/15/2018 10:33 AM, Martin Buchholz wrote:
Looks good!

On Fri, Sep 14, 2018 at 10:44 PM, Ivan Gerasimov
<ivan.gerasi...@oracle.com> wrote:
Hello!

This is inspired by a recent fix for JDK- 8210004 (Thread.sleep(millis,
nanos) timeout returns early).

Currently, Object.wait(Long.MAX_VALUE, 1) would throw
"IllegalArgumentException: timeout value is negative", which is not
accurate.

Would you please help review the fix?

BUGURL: https://bugs.openjdk.java.net/browse/JDK-8210787
WEBREV: http://cr.openjdk.java.net/~igerasim/8210787/00/webrev/

--
With kind regards,
Ivan Gerasimov


Reply via email to