You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Robin Jansohn (Jira)" <ji...@apache.org> on 2020/10/08 07:20:00 UTC

[jira] [Created] (CONFIGURATION-794) Unclosed file handle when reading config from JAR file URL

Robin Jansohn created CONFIGURATION-794:
-------------------------------------------

             Summary: Unclosed file handle when reading config from JAR file URL
                 Key: CONFIGURATION-794
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-794
             Project: Commons Configuration
          Issue Type: Bug
    Affects Versions: 2.7
            Reporter: Robin Jansohn


We read a properties file which is included in a JAR file. Unfortunately we cannot find any method to close the opened file handle after reading the properties.
This currently means that the JAR file can only be deleted after the JVM shuts down. I'll open a PR which shows the behavior.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)