Details
-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b12
-
Verified
Description
In an extreme case of obj.wait(Long.MAX_VALUE, nanos) with nanos > 0 it throws "IllegalArgumentException: timeout value is negative" due to the long integer overflow.
Attachments
Issue Links
- duplicates
-
JDK-8295930 Results are different when hotspot and openj9 call "wait" in the Object class
- Closed
- relates to
-
JDK-8065372 Object.wait(ms, ns) timeout returns early
- Closed