Hi,

I have a question for the loader that is used in
o.a.t.util.scan.StandardJarScanner.scan(ServletContext, ClassLoader,
JarScannerCallback, Set<String>) (7.0.x trunk).

Why don't we use the loader that is provided as a method parameter,
but instead of this we are using the thread context class loader?

row 196             ClassLoader loader =
row 197                Thread.currentThread().getContextClassLoader();

And why don't we start scanning from its parent, but instead of this
we start with it directly?

I can see that in tomcat/trunk we are using the provided loader and we
start scanning from its parent.

Thanks
Violeta

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to