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/07/04 01:13:08 UTC
[Bug 59166] util TempFile could cause memory leak
https://bz.apache.org/bugzilla/show_bug.cgi?id=59166
Javen O'Neal <on...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Depends on| |59788
Resolution|WONTFIX |---
--- Comment #4 from Javen O'Neal <on...@apache.org> ---
With the changes from bug 59788, the strategy described in Comment 0 could be
accomplished by:
File tempDir =
DefaultTempFileCreationStrategy.createTempDirectory("registeredDirectory");
for (String f : filesToAdd) {
createSomeFile(new File(tempDir, f));
}
I updated the documentation in r1751190 to make the purpose of
DefaultTempFileCreationStrategy clearer and suggestions for other
TempFileCreationStrategy's that may be useful outside of the POI project.
--
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