[Bug libgcj/27268] New: gij could give a warning on senseless code
debian-gcc at lists dot debian dot org
gcc-bugzilla@gcc.gnu.org
Sun Apr 23 11:13:00 GMT 2006
[forwarded from http://bugs.debian.org/340651]
$ gij test
Segmentation fault
$ cat test.java
public class test
{
public test()
{
test t = new test();
}
public static void main(String argv[])
{
new test();
}
}
while the blackdown runtime prints
Exception in thread "main" java.lang.StackOverflowError
at test.<init>(test.java)
at test.<init>(test.java:5)
at test.<init>(test.java:5)
at test.<init>(test.java:5)
[...]
and loops forever.
--
Summary: gij could give a warning on senseless code
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: debian-gcc at lists dot debian dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27268
More information about the Java-prs
mailing list