classpath
[Top][All Lists]
Advanced

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

Re: A query on the classloader architecture


From: Archie Cobbs
Subject: Re: A query on the classloader architecture
Date: Fri, 9 Jul 2004 09:15:33 -0500 (CDT)

These answers are for JC...

David Holmes wrote:
> 1. Is your bootstrap loader represented by null or an actual Classloader
> instance?

By null.

> 2. Is your bootstrap loader and system/application classloader the same
> object?

No.

> 3. Do you think your structure for the bootstrap and system loader correctly
> reflect the expectations of the security architecture.

Don't know.

By the way, I'm somewhat confused about terminology. I've always
used the term "system class loader" to mean a user defined class
loader (with associated ClassLoader object), and always different
from the "bootstrap class loader" which (by my definition) is a VM
internal thing and is the only class loader capable of deriving/defining
types without invoking ClassLoader.defineClass(). By (my) definition,
the "system class loader" is the class loader associated with the object
returned by the method ClassLoader.getSystemClassLoader().

Are some people using "system class loader" to refer to the
bootstrap loader.. ? I'd love some clarification on this.

-Archie

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




reply via email to

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