[Bug libgcj/25016] Integer overflow in _Jv_CondWait
aph at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Nov 24 11:48:00 GMT 2005
------- Comment #1 from aph at gcc dot gnu dot org 2005-11-24 11:48 -------
Consider this program:
public class TimedWait
{
public static void main (String[] argv)
throws InterruptedException
{
Object o = new Object();
synchronized (o)
{
o.wait(Long.MAX_VALUE);
}
}
}
It's obvious that we never expect this program to terminate, because
the delay is some 292 million years. However, try this on gcj and it
returns immediately -- because _Jv_CondWait is broken.
--
aph at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2005-11-24 11:48:04
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25016
More information about the Gcc-bugs
mailing list