Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313698 - ArchiveURLConnection does not clean up temp files
Summary: ArchiveURLConnection does not clean up temp files
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ed Merks CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-20 07:16 EDT by Simon Goodall CLA
Modified: 2010-06-11 19:12 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Goodall CLA 2010-05-20 07:16:02 EDT
Build Identifier: 20100218-1602

I'm using the ArchiveURIHandlerImpl to manage EMF models stored within a zip file. When performing IO ops on the archive I end up with many temporary files which are not cleaned up.

This appears to be caused by ArchiveURLConnection.getOutputStream(boolean, long) creating a temp file, but not removing it or marking it for deleteOnExit().



Reproducible: Always
Comment 1 Ed Merks CLA 2010-05-20 09:02:27 EDT
A fix has been committed to CVS for 2.6.
Comment 2 Ed Merks CLA 2010-06-11 19:12:16 EDT
The fix is available in 2.6 RC4.