java.endorsed.dirs plan

Anthony Green green@redhat.com
Fri Mar 11 15:20:00 GMT 2005


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /