[BUILDTOOLS-19] The ZipFile zip is never closed Created: 02/Dec/14  Updated: 17/Nov/17  Resolved: 17/Nov/17

Status: Resolved
Project: BuildTools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: xGhOsTkiLLeRx Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None


 Description   

To prevent memory leaks the zip Resource should be closed.

in public static void unzip(File zipFile, File targetFolder, Predicate<String> filter) throws IOException

ZipFile zip = new ZipFile(zipFile);

Should be closed at the end of the method



 Comments   
Comment by GunfighterJ [ 02/Dec/14 ]

Thanks for the report, this will be fixed.

Generated at Sun Mar 30 18:35:18 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.