[9] RFR of 8065109: (fs spec) Files.newBufferedWriter doesn't specify SecurityException for DELETE_ON_CLOSE option

Alan Bateman Alan.Bateman at oracle.com
Tue May 5 08:31:58 UTC 2015


On 05/05/2015 01:17, Brian Burkhalter wrote:
> Please review at your convenience:
>
> Issue:	https://bugs.openjdk.java.net/browse/JDK-8065109
> Patch:	http://cr.openjdk.java.net/~bpb/8065109/webrev.00/
>
> This is a doc-only change which adds to the specifications of the Files.newBufferedWriter methods that checkDelete() will be invoked when the DELETE_ON_CLOSE option is specified. Some tests were added to corroborate the foregoing as well as newBufferedReader behavior.  A CCC request will need to be filed.
>
This looks good but I think needs to be added to the Files.write methods 
too.

-Alan.


More information about the nio-dev mailing list