JDK-6873657 : (fs spec) DELETE_ON_CLOSE option does not specify that security manager's checkDelete is called
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2009-08-19
  • Updated: 2010-12-10
  • Resolved: 2010-12-10
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.
Related Reports
Duplicate :  
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.

EVALUATION The updates in 7006126 will address this.

EVALUATION Yes, we need to add this.