> From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
> Subject: Re: Follow-up: Possible false-postive with 
> JreMemoryLeakPreventionListener 
> and Tomcat's JDBC Pool and OracleTimeoutPollingThread

> I suspect that the DriverManager will always be loaded by the boot
> ClassLoader, since the default-dispatch for ClassLoaders is to chekc
> the parent first, then check "yourself". The DriverManager is at the
> top-level (well, there is primordial, but that doesn't really count)
> ClassLoader so you'll always get that.

Terminology alert: you're confusing the boot class loader with the system class 
loader, and have erroneously labeled the actual boot class loader as 
"primordial".  Generally speaking, the boot class loader is responsible for 
extracting JRE classes from rt.jar (and others that come with the JRE), while 
the system class loader deals with those specified by the java.class.path 
setting (CLASSPATH for those still stuck on environment variables).

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


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

Reply via email to