classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cp-patches] RFC: New system class loader implementation


From: Jeroen Frijters
Subject: RE: [cp-patches] RFC: New system class loader implementation
Date: Mon, 11 Oct 2004 18:29:25 +0200

Archie Cobbs wrote:
> Jeroen Frijters wrote:
> > I would like to move my implementation of the System class 
> loader into
> > Classpath. I've been running with this implementation (minus the new
> > checkPackageAccess) for a while and it seems to work very well. The
> > current version in Classpath is known to be broken and I don't think
> > anybody uses it.
> > 
> > Not included in the patch, but this removes the need for
> > gnu/java/lang/SystemClassLoader.java.
> > 
> > The hook in VMClassLoader continues to exist, for those that want to
> > implement the system class loader in another way.
> 
> Looks good.
> 
> I'd also like to add this patch which I've been using.. though I'm a
> bit suspicious of why the exising code has the comment "this requires
> native help"... it doesn't seem to me that native help is required,
> at least for non-specialized VMs.

If the bootstrap class loader is different from the system class loader,
native code might be required to load bootstrap resources, but I will
include your changes in my proposal.

Regards,
Jeroen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]