public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: java/2605: gcj crashes on .java file containing byte.class.getClass()
@ 2001-11-21  5:26 apbianco
  0 siblings, 0 replies; 3+ messages in thread
From: apbianco @ 2001-11-21  5:26 UTC (permalink / raw)
  To: Daniel.Bonniot, apbianco, gcc-bugs, gcc-gnats, gcc-prs, java-prs

Synopsis: gcj crashes on .java file containing byte.class.getClass()

State-Changed-From-To: feedback->closed
State-Changed-By: apbianco
State-Changed-When: Tue Nov 27 08:50:32 2001
State-Changed-Why:
    Reported fixed by Daniel.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=2605&database=gcc


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: java/2605: gcj crashes on .java file containing byte.class.getClass()
@ 2001-11-21  5:26 apbianco
  0 siblings, 0 replies; 3+ messages in thread
From: apbianco @ 2001-11-21  5:26 UTC (permalink / raw)
  To: apbianco; +Cc: gcc-prs

The following reply was made to PR java/2605; it has been noted by GNATS.

From: apbianco@gcc.gnu.org
To: Daniel.Bonniot@inria.fr, apbianco@gcc.gnu.org, gcc-bugs@gcc.gnu.org,
  gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, java-prs@gcc.gnu.org
Cc:  
Subject: Re: java/2605: gcj crashes on .java file containing byte.class.getClass()
Date: 27 Nov 2001 16:50:32 -0000

 Synopsis: gcj crashes on .java file containing byte.class.getClass()
 
 State-Changed-From-To: feedback->closed
 State-Changed-By: apbianco
 State-Changed-When: Tue Nov 27 08:50:32 2001
 State-Changed-Why:
     Reported fixed by Daniel.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=2605&database=gcc


^ permalink raw reply	[flat|nested] 3+ messages in thread

* java/2605: gcj crashes on .java file containing byte.class.getClass()
@ 2001-04-21  6:06 Daniel.Bonniot
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel.Bonniot @ 2001-04-21  6:06 UTC (permalink / raw)
  To: gcc-gnats

>Number:         2605
>Category:       java
>Synopsis:       gcj crashes on .java file containing byte.class.getClass()
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 21 06:06:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Bonniot
>Release:        gcc version 3.0 20010416 (prerelease)
>Organization:
>Environment:

>Description:
gcj crashes on this legal java code.
Full output:
Reading specs from /usr/local/opt/gcc/lib/gcc-lib/i586-pc-linux-gnu/3.0/specs
Reading specs from /usr/local/opt/gcc/lib/gcc-lib/i586-pc-linux-gnu/3.0/../../../libgcj.spec
rename spec lib to liborig
rename spec startfile to startfileorig
Configured with: ../gcc/configure --enable-threads=posix --prefix=/usr/local/opt/gcc --enable-shared --enable-languages=java : (reconfigured) ../gcc/configure --enable-threads=posix --prefix=/usr/local/opt/gcc --enable-shared --enable-languages=java
gcc version 3.0 20010416 (prerelease)
 /usr/local/opt/gcc/lib/gcc-lib/i586-pc-linux-gnu/3.0/jc1 GetClassBug.java -fno-use-divide-subroutine -fuse-boehm-gc -fasynchronous-exceptions -quiet -dumpbase GetClassBug.java -g1 -version -o /tmp/ccGcCDmO.s
GNU Java version 3.0 20010416 (prerelease) (i586-pc-linux-gnu)
        compiled by GNU C version 3.0 20010416 (prerelease).
GetClassBug.java: In class `GetClassBug':
GetClassBug.java: In method `<clinit>()':
GetClassBug.java:7: Internal error: Segmentation fault
Please submit a full bug report, with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
>How-To-Repeat:
/usr/local/opt/gcc/bin/gcj -v --main=GetClassBug1 GetClassBug1.java
>Fix:
Using Byte.TYPE instead of byte.class 
(comment the buggy line and uncomment the next one)
solve the compile time problem.

However at runtime a NullPointerException occurs in println,
which should not happen. 
It does not with Sun tools.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="GetClassBug.java"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="GetClassBug.java"

cHVibGljIGNsYXNzIEdldENsYXNzQnVnCnsKICBwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJp
bmdbXSBhcmdzKQogIHsKICAgIFN5c3RlbS5vdXQucHJpbnRsbihieXRlQ2xhc3NDbGFzcyk7CiAg
fQogIHN0YXRpYyBDbGFzcyBieXRlQ2xhc3NDbGFzcyA9IGJ5dGUuY2xhc3MuZ2V0Q2xhc3MoKTsK
ICAvL3N0YXRpYyBDbGFzcyBieXRlQ2xhc3NDbGFzcyA9IEJ5dGUuVFlQRS5nZXRDbGFzcygpOwp9
Cg==


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-11-27 16:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-21  5:26 java/2605: gcj crashes on .java file containing byte.class.getClass() apbianco
  -- strict thread matches above, loose matches on Subject: below --
2001-11-21  5:26 apbianco
2001-04-21  6:06 Daniel.Bonniot

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