public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libgcj/1106: Class.hashCode aborts
@ 2000-12-20 12:07 Jeff Sturm
0 siblings, 0 replies; only message in thread
From: Jeff Sturm @ 2000-12-20 12:07 UTC (permalink / raw)
To: java-gnats
>Number: 1106
>Category: libgcj
>Synopsis: Class.hashCode aborts
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: tromey
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 20 12:06:01 PST 2000
>Closed-Date: Mon Jun 05 22:10:21 PDT 2000
>Last-Modified: Mon Jun 5 22:16:00 PDT 2000
>Originator: Jeff Sturm
>Release: current cvs
>Organization:
>Environment:
[ fails at least on my x86 Debian 2.0 box when
dynamic linking -- Tom
PS static linking works ]
>Description:
public class HashTest {
public static void main(String[] args) {
HashTest ht = new HashTest();
System.err.println(ht.hashCode());
System.err.println(ht.getClass().hashCode());
}
}
gives me:
134770680
Aborted
gdb says:
Program received signal SIGSEGV, Segmentation fault.
0x0 in ?? ()
(gdb) bt
#0 0x0 in ??()
#1 0x804ad4f in HashTest.main (args=0x806eff0) at
HashTest.java:6
Weird... hashCode() works in java.lang.Object, but fails in
java.lang.Class, which inherits from Object and does not override
hashCode().
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Formerly PR libgcj/100
State-Changed-From-To: open->closed
State-Changed-By: bryce
State-Changed-When: Mon Jun 5 22:10:21 2000
State-Changed-Why:
FIXED, by this patch:
http://gcc.gnu.org/ml/gcc-patches/2000-06/msg00064.html
From: bryce@albatross.co.nz
To: java-gnats@sourceware.cygnus.com, jsturm@sigma6.com, tromey@cygnus.com
Cc:
Subject: Re: libgcj/100
Date: 6 Jun 2000 05:10:21 -0000
Synopsis: Class.hashCode aborts
State-Changed-From-To: open->closed
State-Changed-By: bryce
State-Changed-When: Mon Jun 5 22:10:21 2000
State-Changed-Why:
FIXED, by this patch:
http://gcc.gnu.org/ml/gcc-patches/2000-06/msg00064.html
http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&pr=100&database=java
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-12-20 12:07 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:07 libgcj/1106: Class.hashCode aborts Jeff Sturm
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).