RFR 8210787 : Object.wait(long, int) throws inappropriate IllegalArgumentException
Ivan Gerasimov
ivan.gerasimov at oracle.com
Sat Sep 15 05:44:47 UTC 2018
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
More information about the core-libs-dev
mailing list