hg: jdk9/sandbox/jdk: 8065109: (fs spec) Files.newBufferedWriter doesn't specify SecurityException for DELETE_ON_CLOSE option
chris.hegarty at oracle.com
chris.hegarty at oracle.com
Thu May 7 23:21:17 UTC 2015
Changeset: e4693ea10393
Author: bpb
Date: 2015-05-07 16:12 -0700
URL: http://hg.openjdk.java.net/jdk9/sandbox/jdk/rev/e4693ea10393
8065109: (fs spec) Files.newBufferedWriter doesn't specify SecurityException for DELETE_ON_CLOSE option
Summary: Add to specification of newBufferedWriter() and write() methods that the DELETE_ON_CLOSE option triggers invoking checkDelete().
Reviewed-by: alanb
! src/java.base/share/classes/java/nio/file/Files.java
! test/java/nio/file/Files/CheckPermissions.java
More information about the jdk9-sandbox-changes
mailing list