https://issues.apache.org/bugzilla/show_bug.cgi?id=42632


Stefan Bodewig <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |notifications@ant.apache.org
         AssignedTo|notifications@ant.apache.org|[EMAIL PROTECTED]
   Target Milestone|---                         |1.8.0




--- Comment #3 from Stefan Bodewig <[EMAIL PROTECTED]>  2008-10-21 08:07:19 PST 
---
I agree with Martijn.

filesetmanifest() doesn't close the reader if and only if it is called from
within zipFile() with a non-null InputStream.  The caller of zipFile is the
owner of that InputStream and responsible for closing it IMHO.

I had a look through Zip and it closes the streams after calling zipFile(). 
Jar looks different  with writeServices and writeManifest, but the streams are
ByteArrayInputStreams only.

Will check the other subclasses and add a JavaDoc statement to the zipFile
method.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.

Reply via email to