[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 19:31:10 UTC 2015



On 05/05/2015 20:26, Brian Burkhalter wrote:
> :
>
> I have posted an updated patch for review at your convenience:
>
> http://cr.openjdk.java.net/~bpb/8065109/webrev.01/ 
> <http://cr.openjdk.java.net/%7Ebpb/8065109/webrev.01/>
>
> Difference versus previous patch: make for write() methods the javadoc 
> change made in the previous version of the patch for the 
> newBufferedWriter() methods, and add corresponding tests to 
> CheckPermissions.
>
This looks good. A minor comment on the test is that Path path in the 
write appears not to be needed (if it weren't a permissions test then 
you could assert that path == file of course).

-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20150505/bc4a06c7/attachment.html>


More information about the nio-dev mailing list