JDK-6831947 : (file) deleteOnExit throws unspecified IllegalStateException and/or runs concurrently with mutators
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 6u26,7
  • Priority: P3
  • Status: Closed
  • Resolution: Future Project
  • OS: generic,windows_vista
  • CPU: generic,x86
  • Submitted: 2009-04-20
  • Updated: 2012-01-10
  • Resolved: 2011-02-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Resolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
This bug is submitted to re-visit the File#deleteOnExit mechanism for the case that the method is invoked at around the time that the VM is shutdown. See background discussion here:
  http://mail.openjdk.java.net/pipermail/core-libs-dev/2009-April/001474.html

Specifically, it needs to be decided if:

1. File#deleteOnExit should be specified to throw IllegalStateException, or
2. The files are deleted by the VM thread when all mutators are at a safepoint

See also 4809375 and 6526376.