This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: java.endorsed.dirs plan
- From: Anthony Green <green at redhat dot com>
- To: tromey at redhat dot com
- Cc: GCJ Hackers <java at gcc dot gnu dot org>
- Date: Fri, 11 Mar 2005 07:17:02 -0800
- Subject: Re: java.endorsed.dirs plan
- Organization: Red Hat, Inc.
- References: <m364zz9gey.fsf@localhost.localdomain>
On Thu, 2005-03-10 at 17:26 -0700, Tom Tromey wrote:
> 4. Change the bootstrap class loader into a URLClassLoader that does
> no delegation. At startup, populate it with the contents of
> java.endorsed.dirs.
>
Will this be sure to print the right jar file if we do something like
this...?
public class showString
{
public static void main (String args[]) throws Exception
{
Class c = showString.class;
System.out.println (c.getResource( "/org/xml/sax/XMLReader.class"));
}
}
> Losers (that I could think of) in the above scenario:
>
> * Embedded users. This drives libgcj even more toward the
> desktop/server world.
Are you sure you don't mean "static linkers" instead? Many embedded
users are using Linux where all this dynamic loading is no problem. I
think the real problem will be for Windows users and embedded static
linkers.
AG