Mike Spreitzer wrote: > > Indeed, the Jakarta Commons Logging package is doing just what you suggest > --- falling back to this.getClass().getClassLoader() if the context class > loader is null or fails to load the desired class. > > I have to admit that I myself do not understand why this "context class > loader" concept is even used here. I do not understand why Xerces and > Jakarta Commons Logging should not always simply use > this.getClass().getClassLoader() as its first, last, and only choice.
In JDK 1.4, this would use the current CL which would be the bootstrap CL and thus would not see any classes on the user/app classpath. I'll point you to some docs when I have time. -Edwin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
