Description
The newOutputStream and newByteChannel methods allow the DELETE_ON_CLOSE option to be specified so that the file is deleted when closed. The description of the SecurityException doesn't specify specify that the security manager's checkDelete method is invoked when opening a file with this option (although the implementation does check this permission). The spec should be fixed.
Attachments
Issue Links
- duplicates
-
JDK-7006126 (fs) Updates to file system API (1/2011)
- Closed