This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-vfs.git
The following commit(s) were added to refs/heads/master by this push: new 3840fd0 Fix file resource leak in CombinedResources (properties file) which keeps the jar file open. 3840fd0 is described below commit 3840fd0108acd604fb11f94423ada2423d28d88a Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Thu Feb 25 11:34:05 2021 -0500 Fix file resource leak in CombinedResources (properties file) which keeps the jar file open. - The Messages class' singleton loads a CombinedResources which loads a property file. - This means the jar file remains open while the JVM is up which prevents the jar file from being deleted when a webapp is undeplyed from Tomcat for example. - Simplify initialization. --- src/changes/changes.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index e3887e5..5341651 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -70,7 +70,7 @@ The <action> type attribute can be add,update,fix,remove. TarProvider Incorrectly marks file IMAGINARY after garbage collection with WeakRefFilesCache, #97. </action> <action dev="ggregory" due-to="Gary Gregory" type="fix"> - Fix file resource leak in CombinedResources (properties file). + Fix file resource leak in CombinedResources (properties file) which keeps the jar file open. </action> <!-- ADDS --> <action dev="ggregory" due-to="Boris Petrov, Gary Gregory" type="add">