Tim,
On 8/29/23 10:33, Scott,Tim wrote:
Hi all,
Thanks for your responses. I think I've found the problem.
My wrapping class which detects the invocation of the close() method to
decrement its count is no longer decrementing its count because
method.getDeclaringClass() has changed from java.sql.Connection to
java.lang.AutoCloseable.
Is it safe to check for either java.sql.Connection or java.lang.AutoCloseable?
.. or should I just check for the "close()" method invocation, based on the
fact that I'm not wrapping anything (here) that I shouldn't be counting?
That depends upon the point of the whole thing. What, um, is the point
of the whole thing?
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org