[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    Re: [logging] tech.xml - child-first classloading not considered harmful
From:       Craig McClanahan <craigmcc () gmail ! com>
Date:       2005-04-30 17:06:04
Message-ID: f8b39ace05043010062dc05680 () mail ! gmail ! com
[Download RAW message or body]

On 4/30/05, Simon Kitching <skitching@apache.org> wrote:
> Hi Craig,
> 
> According to the javadoc for the ClassLoader.defineClass method, it is
> simply not possible for any classloader other than the boostrap
> tclassloader to define a class in the java.* package:
>   http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ClassLoader.html

That is true for java.lang.ClassLoader itself -- that is *not*
necessarily true for a custom subclass of java.lang.ClassLoader that
doesn't use the superclass's defineClass() methods.

Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic