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: Archie Cobbs
Subject: Re: [cp-patches] RFC: New system class loader implementation
Date: Mon, 11 Oct 2004 11:35:53 -0500 (CDT)

Jeroen Frijters wrote:
> > 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,

This should normally be the case...

> native code might be required to load bootstrap resources, but I will
> include your changes in my proposal.

If you have a typical bootstrap loader that reads classes and
resources from a file system, then this should work, and no native
code is required to read bootstrap resources. I suspect most VMs
that you can run on a normal UNIX system are like that. If you have
to read stuff from some special flash chip or something, then of
course native code will be required.

Also, we should note that the VM itself probably needs to set a better
default for the "java.boot.class.path" property.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com




reply via email to

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