tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46255] New: ThreadDeath must be rethrown if caught
Date Fri, 21 Nov 2008 11:54:05 GMT
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: dev@tomcat.apache.org
        ReportedBy: sebb@apache.org


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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message