poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60128] File left open in ZipPackage when InvalidFormatException are raised
Date Wed, 14 Sep 2016 12:39:22 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60128

Nick Burch <apache@gagravarr.org> changed:

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

--- Comment #1 from Nick Burch <apache@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


Mime
View raw message