https://issues.apache.org/bugzilla/show_bug.cgi?id=46255
Summary: ThreadDeath must be rethrown if caught
Product: Tomcat 6
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: major
Priority: P2
Component: Catalina
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
The following classes catch Throwable, but fail to rethrow ThreadDeath.
org.apache.catalina.ant.jmx.JMXAccessorQueryTask
org.apache.catalina.ant.AbstractCatalinaTask
org.apache.catalina.ant.ValidatorTask
org.apache.catalina.authenticator.FormAuthenticator
org.apache.catalina.connector.Connector
org.apache.catalina.connector.CoyoteAdapter
org.apache.catalina.connector.MapperListener
org.apache.catalina.connector.Request
There are lots of others ... just search for "catch (Throwable"
or search for "catch (Error" - this only shows one problem, in
org.apache.tomcat.util.net.AprEndpoint#allocatePoller()
ThreadDeath should never be ignored.
org.apache.catalina.core.ApplicationContextFacade#doPrivileged() rethrows all
throwables as RuntimeException; it should not wrap ThreadDeath in this way.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]