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

Daniel Atallah <[email protected]> changed:

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

--- Comment #6 from Daniel Atallah <[email protected]> ---
I'm not sure what kinds of changes would be acceptable to make at this point,
but I guess that if Workbook was made Closeable, that could be one way to
resolve this.

The Workbook could take ownership of the OPCPackage (and whatever is the
corresponding thing for other constructors) and when it's closed, it can clean
up.

I suppose that you're right - GC will likely clean up the file handles since
ZipFile calls close() in its finalize() method, but it's generally not a good
practice to count on GC for such things.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to