[Bug libgcj/12416] java.lang.Class.getFields returns duplicate entries.

suckfish at ihug dot co dot nz gcc-bugzilla@gcc.gnu.org
Sun Sep 28 14:21:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12416



------- Additional Comments From suckfish at ihug dot co dot nz  2003-09-28 10:12 -------
Created an attachment (id=4845)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4845&action=view)
Test case that crashes java interpreter

Neither sun's javac nor gcj are up to compiling this test case from source.

So instead I wrote a shell script that generates the .class files, and then
runs the interpreter on them.  You need a sed that is OK with binary files -
GNU sed is, it seems.

This results in gij segfaulting.

Takes about 2 minutes CPU on my PIII 933.



More information about the Gcc-bugs mailing list