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

--- Comment #1 from Nick Burch <[email protected]> ---
The JavaDocs already have a note on this, see
http://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/WorkbookFactory.html#create%28java.io.File%29
- "Note that for Workbooks opened this way, it is not possible to explicitly
close the underlying File resource."

I believe that these files should be cleaned up during garbage collection,
assuming you don't have references to them, so for most people it won't be a
problem

If someone is able to come up with a new pattern which maintains the simplicity
of WorkbookFactory and the low memory footprint of using a File (vs a Stream),
and also allows for explicit closing, then we'll happily apply that!

-- 
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