RFR: 8287097: (fs) Files::copy requires an undocumented permission when copying from the default file system to a non-default file system

Brian Burkhalter bpb at openjdk.java.net
Wed Jun 1 15:23:38 UTC 2022


On Wed, 1 Jun 2022 10:36:42 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

>> Ignore the `SecurityException` thrown while trying to retrieve the POSIX attributes when a `SecurityManager` is set.
>
> test/jdk/java/nio/file/Files/copy.policy line 1:
> 
>> 1: grant {
> 
> Hello Brian, the copyright header is missing on this new file.

@jaikiran None of the extant policy files under `test/jdk/java/nio` contain a copyright header.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8963


More information about the nio-dev mailing list