Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4E38F188EA for ; Wed, 12 Aug 2015 10:56:46 +0000 (UTC) Received: (qmail 14205 invoked by uid 500); 12 Aug 2015 10:56:46 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 14102 invoked by uid 500); 12 Aug 2015 10:56:46 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 14091 invoked by uid 99); 12 Aug 2015 10:56:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2015 10:56:45 +0000 Date: Wed, 12 Aug 2015 10:56:45 +0000 (UTC) From: "Sebb (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (BCEL-234) Code must not swallow Throwable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)