commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (BCEL-234) Code must not swallow Throwable
Date Wed, 12 Aug 2015 10:56:45 GMT

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

Sebb resolved BCEL-234.
-----------------------
       Resolution: Fixed
    Fix Version/s: 6.0

URL: http://svn.apache.org/r1695472
Log:
BCEL-234 Code must not swallow Throwable

Modified:
    commons/proper/bcel/trunk/src/changes/changes.xml
    commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/util/ClassLoader.java
    commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/NativeVerifier.java
    commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/VerifyDialog.java


> Code must not swallow Throwable
> -------------------------------
>
>                 Key: BCEL-234
>                 URL: https://issues.apache.org/jira/browse/BCEL-234
>             Project: Commons BCEL
>          Issue Type: Bug
>            Reporter: Sebb
>             Fix For: 6.0
>
>
> Code should never catch and ignore all Throwables - at least ThreadDeath and VirtualMachineError
must be rethrown.
> EIther check for these specifically, and rethrow them, or else replace the generic catch
blocks with ones specific to the try block.
> This issue applies to:
> ClassLoader
> NativeVerifier
> VerifyDialog



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

Mime
View raw message