public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "aph at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug libgcj/25016] Integer overflow in _Jv_CondWait
Date: Thu, 24 Nov 2005 11:48:00 -0000	[thread overview]
Message-ID: <20051124114805.13444.qmail@sourceware.org> (raw)
In-Reply-To: <bug-25016-511@http.gcc.gnu.org/bugzilla/>



------- 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


  reply	other threads:[~2005-11-24 11:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-24 11:47 [Bug libgcj/25016] New: " aph at gcc dot gnu dot org
2005-11-24 11:48 ` aph at gcc dot gnu dot org [this message]
2005-11-24 11:48 ` [Bug libgcj/25016] " aph at gcc dot gnu dot org
2005-11-24 11:54 ` aph at gcc dot gnu dot org
2005-11-24 15:21 ` overholt at redhat dot com
2005-11-25 16:18 ` aph at gcc dot gnu dot org
2005-11-25 16:31 ` aph at gcc dot gnu dot org
2005-11-25 17:20 ` aph at gcc dot gnu dot org
2005-11-29 17:13 ` tromey at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051124114805.13444.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).