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