hg: jdk9/dev/jdk: 8065109: (fs spec) Files.newBufferedWriter doesn't specify SecurityException for DELETE_ON_CLOSE option
brian.burkhalter at oracle.com
brian.burkhalter at oracle.com
Thu May 7 23:16:12 UTC 2015
Changeset: e4693ea10393
Author: bpb
Date: 2015-05-07 16:12 -0700
URL: http://hg.openjdk.java.net/jdk9/dev/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-dev-changes
mailing list