-
Bug
-
Resolution: Future Project
-
P3
-
6u26, 7
-
generic, x86
-
generic, windows_vista
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.
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.
- duplicates
-
JDK-7092892 DeleteOnExitHook throws ExceptionInInitializerError
-
- Closed
-
- relates to
-
JDK-6526376 DeleteOnExitHook.add() produces NullPointerException
-
- Closed
-
-
JDK-4809375 File.deleteOnExit() should be implemented with shutdown hooks
-
- Resolved
-