poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53470] control delete temp files
Date Sun, 01 Jul 2012 10:55:45 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53470

--- Comment #8 from Massimo Cavalleri <submax@tiscalinet.it> ---
The the temp files not deleted when call write method.

In the SXSSF code there is not a part for this purpose.

There is only _fd.deleteOnExit() in SheetDataWriter class, but is not enough if
the program that use POI not exit from jvm and these files remain on file
system.

For confirm this, in the method write in SXSSFWorkbook class, there is already
tmplFile.delete() for another tmp file.

In conclusion in write method missing the delete on xml's temporary files.

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