You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2014/11/11 21:10:33 UTC

[jira] [Resolved] (FILEUPLOAD-242) Should not catch and ignore Throwable

     [ https://issues.apache.org/jira/browse/FILEUPLOAD-242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Neidhart resolved FILEUPLOAD-242.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4

Fixed in r1638340.

> Should not catch and ignore Throwable
> -------------------------------------
>
>                 Key: FILEUPLOAD-242
>                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-242
>             Project: Commons FileUpload
>          Issue Type: Bug
>            Reporter: Sebb
>             Fix For: 1.4
>
>
> Code should never catch & ignore all Throwables.
> For example, ThreadDeath may be caught, but must be rethrown.
> VirtualMachineError must also never be swallowed.
> See also
> https://issues.apache.org/bugzilla/show_bug.cgi?id=48644
> and
> org/apache/tomcat/util/ExceptionUtils#handleThrowable()
> https://svn.apache.org/repos/asf/tomcat/trunk/java/org/apache/tomcat/util/ExceptionUtils.java



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)