[Top][All Lists]

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

Re: A query on the classloader architecture

From: Chris Gray
Subject: Re: A query on the classloader architecture
Date: Fri, 9 Jul 2004 18:59:40 +0200
User-agent: KMail/1.5.4

On Friday 09 July 2004 16:15, Archie Cobbs wrote:

> 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.

It seems only one person is using "system class loader" to mean a Java class 
which loads system classes, and that person is me. I thought I'd got the 
terminology from Li Gong's book (which I don't have handy), but apparently 
the rest of the world is unanimous in using "system class loader" to mean the 
application class loader. Sorry for the confusion.

Chris Gray                      /k/ Embedded Java Solutions
Embedded & Mobile Java, OSGi
address@hidden                         +32 3 216 0369

reply via email to

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