commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BCEL-181) org.apache.bcel.util.ClassLoaderRepository.loadClass(String) leaks input streams
Date Tue, 30 Sep 2014 12:06:34 GMT

    [ 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)

Mime
View raw message