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 Fri, 11 May 2001 19:56:25 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
> See for more information. You
can also
> look into javax.xml.parsers.SAXParserFactory's code.

Let me read the paper before I commit anything.  This is a bugfix that will likely go into
Beta 2, as I am minutes from releasing Avalon 4.0b1 now.  Plus I want to fully understand
the problem so that I don't do a half-*ss job patching it.

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

View raw message