_Jv_CondWait makes no allowances for the possibility of an integer overflow, and this means we can return too early.
This causes very hard to track down bugs. See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=161483 -- Summary: Integer overflow in _Jv_CondWait Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcj AssignedTo: aph at gcc dot gnu dot org ReportedBy: aph at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25016