-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

All,

On 10/10/2011 4:41 PM, Christopher Schultz wrote:
> I have a question, though, since the default parent ClassLoader of
> any ClassLoader /should/ be the current thread's context
> ClassLoader, so none of the above code should be necessary.

I was wrong. ClassLoader Javadoc says:

protected ClassLoader()
          Creates a new class loader using the ClassLoader returned by
the method getSystemClassLoader() as the parent class loader.

So, default is system ClassLoader, not the current Thread's context
ClassLoader.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6UYaEACgkQ9CaO5/Lv0PA0pgCfVWYnjvB2LCcK0sCYmuGJ34ZN
f+oAoMCIXTl5zWLmaHXqIePxWmEeFMij
=70Ez
-----END PGP SIGNATURE-----

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

Reply via email to