> This FAQ item is actually misleading.
> 
> Log4j does not attempt to do any class loading itself. I 
> repeat, log4j does not
> do classloading.

Actually, it's when the PropertyConfigurator loads an appender class that it
calls Thread.currentThread().getContextClassLoader().loadClass(name). The
behavior in 1.1.3 was simply to call Class.forName(name). This is where the
problem is: Ant doesn't set the context class loader, so some classes are
being loaded by the Ant class loader and others are being loaded by the
context class loader, which is the default JRE loader.

Thanks,
Dave

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to