This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: java/5227: verification error on JDK 1.3.1 class file
- From: Daniel Bonniot <Daniel dot Bonniot at inria dot fr>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 21 Apr 2003 21:26:01 -0000
- Subject: Re: java/5227: verification error on JDK 1.3.1 class file
- Reply-to: Daniel Bonniot <Daniel dot Bonniot at inria dot fr>
The following reply was made to PR java/5227; it has been noted by GNATS.
From: Daniel Bonniot <Daniel dot Bonniot at inria dot fr>
To: gcc-gnats at gcc dot gnu dot org, Jens dot Maurer at gmx dot net, java-prs at gcc dot gnu dot org,
gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org
Cc:
Subject: Re: java/5227: verification error on JDK 1.3.1 class file
Date: Mon, 21 Apr 2003 23:21:18 +0200
Hi,
I have tried reproducing the following bug, which was reported against
gcc version 3.1 20011230 (experimental):
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5227
The bug seems to have been fixed, in gcc version 3.3 20030412 (Debian
prerelease):
$ gcj-3.3 -I/usr/share/java/libgcj-3.3.jar
-I/usr/lib/j2se/1.3/jre/lib/rt.jar -c ReaderThread.class
IIOPConnection.java: In class `com.sun.corba.se.internal.iiop.ReaderThread':
IIOPConnection.java: In method
`com.sun.corba.se.internal.iiop.ReaderThread.run()':
IIOPConnection.java:139: warning: unreachable bytecode from 171 to
before 174
IIOPConnection.java:141: warning: unreachable bytecode from 178 to
before 180
So there are two warnings, but no verification error anymore.
Just to make sure, I tried to reproduce the bug with an older version of
gcj, to check my setup is correct. With gcc version 3.0.4, I do
reproduce the bug:
$ gcj-3.0 -I/usr/share/java/libgcj-3.3.jar
-I/usr/lib/j2se/1.3/jre/lib/rt.jar -c ReaderThread.class
IIOPConnection.java: In class `com.sun.corba.se.internal.iiop.ReaderThread':
IIOPConnection.java: In method
`com.sun.corba.se.internal.iiop.ReaderThread.run()':
IIOPConnection.java:100: verification error at PC=178
IIOPConnection.java:100: stack overflow
So I suggest to close this bug as fixed. Cheers!
Daniel
PS: gcj 3.3 does generate lots of spurious warnings about unreachable
bytecode, like in the above output. Is this a known problem. Should a
bug report be filed about them?