public class Explain4 { static Stuff1[] foo1; static Stuff1[][] foo2; static Stuff1[][][] foo3;
Stuff1[] foo4; Stuff1[][] foo5; Stuff1[][][] foo6; public static void main(String[] args) { System.out.println(foo1); System.out.println(foo2); System.out.println(foo3); Explain4 e = new Explain4(); System.out.println(e.foo4); System.out.println(e.foo5); System.out.println(e.foo6); } } class Stuff1 extends Thread {} If you compile this, remove the Stuff1.class file and run it the JDK will print null 6 times. GIJ however tries to resolve the Stuff1 class, fails and throws a ClassNotFoundException. -- Summary: GIJ interprets null too eagerly Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: thebohemian at gmx dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24433