You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Jochen Wiedmann (JIRA)" <ji...@apache.org> on 2016/09/14 12:16:22 UTC
[jira] [Resolved] (CODEC-225) InputStream not closed
[ https://issues.apache.org/jira/browse/CODEC-225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jochen Wiedmann resolved CODEC-225.
-----------------------------------
Resolution: Fixed
Assignee: Jochen Wiedmann
Accepting patch, after rework.
> InputStream not closed
> ----------------------
>
> Key: CODEC-225
> URL: https://issues.apache.org/jira/browse/CODEC-225
> Project: Commons Codec
> Issue Type: Bug
> Affects Versions: 1.10, 1.11
> Reporter: Svetlin Zarev
> Assignee: Jochen Wiedmann
>
> After running static code analysis on common codecs we discovered that it leaks file descriptors. The relevant locations are:
> * DaitchMokotoffSoundex -> the static initializer on line 229
> * Rule -> the static initializer on line 212 and the parseRules() method on line 438.
> patch provided via github pull request.
> This issue is relevant for web app deployments on OSes (like windows) that lock the files if ther eare open streams to them, and will prevent application undeployment.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)