Java: Fix for PR15734

Bryce McKinlay mckinlay@redhat.com
Fri Jun 25 21:24:00 GMT 2004


gcj segfaults when compiling bytecode that contains a getstatic op for a 
field in another class if it has not yet encountered some other bytecode 
that causes the target class to be loaded. This probably doesnt happen 
with the output from standard java compilers because they must first 
initialize the class in question, but in this case the class file is 
produced by a compiler for another language, thus the bytecode produced 
is not bound to the rules of the JLS.

No testsuite regressions - ok to commit?

Bryce

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcj-PR15734.patch
Type: text/x-patch
Size: 828 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040625/c3e521ea/attachment.bin>


More information about the Java-patches mailing list