Browse Source

finalize deflater instance in ZipOutputStream.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1153485 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 14 years ago
parent
commit
d25f4c4021
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      WHATSNEW
  2. +1
    -0
      src/main/org/apache/tools/zip/ZipOutputStream.java

+ 1
- 0
WHATSNEW View File

@@ -57,6 +57,7 @@ Fixed bugs:

* ZipFile failed to clean up some resources which could lead to
OutOfMemoryException while unzipping large archives.
A similar problem in ZipArchiveOutputStream has been fixed as well.
Bugzilla Report 42969.

* quiet attribute added to the copy and move tasks, to be used together


+ 1
- 0
src/main/org/apache/tools/zip/ZipOutputStream.java View File

@@ -409,6 +409,7 @@ public class ZipOutputStream extends FilterOutputStream {
writeCentralDirectoryEnd();
offsets.clear();
entries.clear();
def.end();
}

/**


Loading…
Cancel
Save