public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libgcj/1195: Primes.java gives bad results.
@ 2000-12-20 12:21 green
0 siblings, 0 replies; only message in thread
From: green @ 2000-12-20 12:21 UTC (permalink / raw)
To: java-gnats
>Number: 1195
>Category: libgcj
>Synopsis: Primes.java gives bad results.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: tromey
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 20 12:17:22 PST 2000
>Closed-Date: Wed Aug 11 14:31:23 PDT 1999
>Last-Modified: Wed Aug 11 14:31:23 PDT 1999
>Originator: Anthony Green
>Release: 2.95
>Organization:
>Environment:
Debian Linux 2.1, x86
>Description:
libgcj/libjava/testsuite/libjava.lang/Primes.java is failing.
My guess is that it represents a failure in BitSet, which
is uses quite heavily.
>How-To-Repeat:
Run libgcj/libjava/testsuite/libjava.lang/Primes.java
(or `make check')
>Fix:
This is a bit-shifting overflow in BitSet.java (the "1"
constants are treated as int by default and need to be
explicitly specified as long). Patch posted to java-patches
and committed.
>Release-Note:
>Audit-Trail:
Formerly PR libgcj/23
State-Changed-From-To: open->feedback
State-Changed-By: bryce
State-Changed-When: Wed Aug 11 02:44:59 1999
State-Changed-Why:
Suggested fix posted to java-patches.
State-Changed-From-To: feedback->closed
State-Changed-By: bryce
State-Changed-When: Wed Aug 11 14:31:23 1999
State-Changed-Why:
fix checked-in to cvs
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-12-20 12:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-20 12:21 libgcj/1195: Primes.java gives bad results green
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).