This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: java.endorsed.dirs plan


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]