You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2016/09/14 12:39:22 UTC

[Bug 60128] File left open in ZipPackage when InvalidFormatException are raised

https://bz.apache.org/bugzilla/show_bug.cgi?id=60128

Nick Burch <ap...@gagravarr.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Nick Burch <ap...@gagravarr.org> ---
Are you sure this is still happening on trunk?

OPCPackage has a bunch of catches in the open block, which attempt to close the
faulty package before triggering the exception. I've added some unit tests in
r1760693 which verify that the call to close on a faulty package does actually
close the underlying stream/file. As such, I can't see how things aren't
getting closed?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org