Author: bodewig
Date: Wed Aug 3 13:40:35 2011
New Revision: 1153485
URL: http://svn.apache.org/viewvc?rev=1153485&view=rev
Log:
finalize deflater instance in ZipOutputStream.
Modified:
ant/core/trunk/WHATSNEW
ant/core/trunk/src/main/org/apache/tools/zip/ZipOutputStream.java
Modified: ant/core/trunk/WHATSNEW
URL:
http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?rev=1153485&r1=1153484&r2=1153485&view=diff
==============================================================================
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Wed Aug 3 13:40:35 2011
@@ -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
Modified: ant/core/trunk/src/main/org/apache/tools/zip/ZipOutputStream.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/zip/ZipOutputStream.java?rev=1153485&r1=1153484&r2=1153485&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/zip/ZipOutputStream.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/zip/ZipOutputStream.java Wed Aug
3 13:40:35 2011
@@ -409,6 +409,7 @@ public class ZipOutputStream extends Fil
writeCentralDirectoryEnd();
offsets.clear();
entries.clear();
+ def.end();
}
/**