public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "thebohemian at gmx dot net" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug libgcj/24433] New: GIJ interprets null too eagerly Date: Tue, 18 Oct 2005 18:42:00 -0000 [thread overview] Message-ID: <bug-24433-10268@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2005-10-18 18:42 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-10-18 18:42 thebohemian at gmx dot net [this message] 2005-10-18 18:47 ` [Bug libgcj/24433] " pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-24433-10268@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=java-prs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).