Duplicate :
|
|
Relates :
|
|
Relates :
|
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.