public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "mark at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug java/15474] libgcj jar file should always be in classpath at runtime Date: Sun, 16 May 2004 12:06:00 -0000 [thread overview] Message-ID: <20040516120634.17068.qmail@sourceware.org> (raw) In-Reply-To: <20040516104929.15474.green@redhat.com> ------- Additional Comments From mark at gcc dot gnu dot org 2004-05-16 12:06 ------- What is the real reason you want this? It seems strange to return a byte code array for a class that hasn't been loaded from byte code in the first place. And adding this makes the bootstrap classloader (which each and every classloader delegates to before doing its own lookup) more inefficient. libgcj.jar is only needed for compiling classes. It is out precompiled header file so to speak. It isn't needed at runtime. Your proposal means we open an extra file during startup and do a lookup for each child classloader of the bootstrap classloader when they want to load a class or resource. I suspect there is a bug or design flaw in your program if you need this funtionality. Most likely you need a setting in your program to point it to the byte code class archive you want to access. If you could post a real snippet of code that uses this functionality we can most likely provide you with a cleaner way of doing this. -- What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|NEW |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15474
next prev parent reply other threads:[~2004-05-16 12:06 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-05-16 10:49 [Bug java/15474] New: " green at redhat dot com 2004-05-16 11:29 ` [Bug java/15474] " pinskia at gcc dot gnu dot org 2004-05-16 12:06 ` mark at gcc dot gnu dot org [this message] 2004-08-25 9:20 ` pinskia at gcc dot gnu dot org 2004-08-25 12:58 ` mckinlay at redhat dot com 2004-08-25 16:17 ` green at redhat dot com 2004-08-25 17:47 ` mckinlay at redhat dot com 2004-08-25 17:52 ` mckinlay at redhat dot com 2004-08-25 18:01 ` green at redhat dot com [not found] <bug-15474-83@http.gcc.gnu.org/bugzilla/> 2006-07-14 18:35 ` green at redhat dot com 2007-04-13 19:44 ` mark 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=20040516120634.17068.qmail@sourceware.org \ --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).