Return-Path: X-Original-To: apmail-felix-commits-archive@www.apache.org Delivered-To: apmail-felix-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 63A4F10F2D for ; Wed, 11 Feb 2015 14:02:40 +0000 (UTC) Received: (qmail 15307 invoked by uid 500); 11 Feb 2015 14:02:27 -0000 Delivered-To: apmail-felix-commits-archive@felix.apache.org Received: (qmail 15264 invoked by uid 500); 11 Feb 2015 14:02:27 -0000 Mailing-List: contact commits-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list commits@felix.apache.org Received: (qmail 15255 invoked by uid 99); 11 Feb 2015 14:02:27 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2015 14:02:27 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id 8334CAC006C for ; Wed, 11 Feb 2015 14:02:27 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1658964 - /felix/trunk/framework/src/main/java/org/apache/felix/framework/cache/JarContent.java Date: Wed, 11 Feb 2015 14:02:27 -0000 To: commits@felix.apache.org From: davidb@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150211140227.8334CAC006C@hades.apache.org> Author: davidb Date: Wed Feb 11 14:02:26 2015 New Revision: 1658964 URL: http://svn.apache.org/r1658964 Log: Applying pull request from metatechbe that improves exception message. Patch applied on behalf of metatechbe with many thanks. This closes #15 Modified: felix/trunk/framework/src/main/java/org/apache/felix/framework/cache/JarContent.java Modified: felix/trunk/framework/src/main/java/org/apache/felix/framework/cache/JarContent.java URL: http://svn.apache.org/viewvc/felix/trunk/framework/src/main/java/org/apache/felix/framework/cache/JarContent.java?rev=1658964&r1=1658963&r2=1658964&view=diff ============================================================================== --- felix/trunk/framework/src/main/java/org/apache/felix/framework/cache/JarContent.java (original) +++ felix/trunk/framework/src/main/java/org/apache/felix/framework/cache/JarContent.java Wed Feb 11 14:02:26 2015 @@ -160,7 +160,7 @@ public class JarContent implements Conte { m_logger.log( Logger.LOG_ERROR, - "JarContent: Unable to read bytes.", ex); + "JarContent: Unable to read bytes for file " + name + " in ZIP file " + m_file.getAbsolutePath(), ex); return null; } finally @@ -543,4 +543,4 @@ public class JarContent implements Conte } } } -} \ No newline at end of file +}