java/5794: gcj fails to verify .class file generated by Sun JDK 1.4 compiler

Adam Dingle adam@medovina.org
Sat Mar 2 10:46:00 GMT 2002


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

From: Adam Dingle <adam@medovina.org>
To: tromey@redhat.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: java/5794: gcj fails to verify .class file generated by Sun JDK
 1.4 compiler
Date: Sat, 02 Mar 2002 10:40:55 -0800

 One more observation: GCJ can't verify the byte code which it itself 
 generates for the method.
 
 [adam@localhost foo]$ gcj3 --version
 3.0.2
 [adam@localhost foo]$ gcj3 -C Foo.java
 [adam@localhost foo]$ gcj3 Foo.class
 Foo.java: In class `Foo':
 Foo.java: In method `Foo.invoke()':
 Foo.java:6: verification error at PC=11
 Foo.java:6: stack overflow
 [adam@localhost foo]$
 
 -adam



More information about the Gcc-prs mailing list