commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Svetlin Zarev (JIRA)" <>
Subject [jira] [Created] (CODEC-225) InputStream not closed
Date Tue, 13 Sep 2016 10:25:20 GMT
Svetlin Zarev created CODEC-225:

             Summary: InputStream not closed
                 Key: CODEC-225
             Project: Commons Codec
          Issue Type: Bug
            Reporter: Svetlin Zarev

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

View raw message