From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13465 invoked by alias); 24 Nov 2005 11:48:05 -0000 Received: (qmail 13445 invoked by uid 48); 24 Nov 2005 11:48:05 -0000 Date: Thu, 24 Nov 2005 11:48:00 -0000 Message-ID: <20051124114805.13444.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libgcj/25016] Integer overflow in _Jv_CondWait In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "aph at gcc dot gnu dot org" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2005-q4/txt/msg00395.txt.bz2 List-Id: ------- 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