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 AEB0C17374 for ; Tue, 30 Sep 2014 12:06:35 +0000 (UTC) Received: (qmail 32546 invoked by uid 500); 30 Sep 2014 12:06:34 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 32412 invoked by uid 500); 30 Sep 2014 12:06:34 -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 32167 invoked by uid 99); 30 Sep 2014 12:06:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Sep 2014 12:06:34 +0000 Date: Tue, 30 Sep 2014 12:06:34 +0000 (UTC) From: "Emmanuel Bourg (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BCEL-181) org.apache.bcel.util.ClassLoaderRepository.loadClass(String) leaks input streams 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-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14153108#comment-14153108 ] Emmanuel Bourg commented on BCEL-181: ------------------------------------- If I'm not mistaken it's closed in the ClassParser.parse() method, at line 174. > org.apache.bcel.util.ClassLoaderRepository.loadClass(String) leaks input streams > -------------------------------------------------------------------------------- > > Key: BCEL-181 > URL: https://issues.apache.org/jira/browse/BCEL-181 > Project: Commons BCEL > Issue Type: Bug > Affects Versions: 5.2 > Environment: Maven home: C:\Java\apache-maven-3.2.3 > Java version: 1.7.0_67, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.7.0_67\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" > Reporter: Gary Gregory > Assignee: Gary Gregory > Fix For: 6.0 > > > The method org.apache.bcel.util.ClassLoaderRepository.loadClass(String) leaks input streams. It gets a stream for a file resource and never closes it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)