cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <>
Subject Re: [C2][Avalon] Avoid Class.forName and getClassLoader()
Date Mon, 14 May 2001 13:16:52 GMT
Davanum Srinivas wrote:
> Berin,
> I noticed the use of getClassLoader().loadClass() in Avalon's DefaultComponentManager
> We should be using Thread's getContextClassLoader first
> using either Class.forName() or getClassLoader.loadClass(). This will reduce problems

Beta 2 will have a better approach.  You will have the opportunity to create the
DefaultComponentManager with the ClassLoader of your choice--but if none is given,
it defaults to the getContextClassLoader method.

To unsubscribe, e-mail:
For additional commands, email:

View raw message