RFR: 8302789: (fs) File.copy should include unsupported copy option in exception message

Alan Bateman alanb at openjdk.org
Sat Feb 18 07:11:22 UTC 2023


On Fri, 17 Feb 2023 21:16:46 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> This PR also fixes the exception message for unsupported move options.
>
> Also the issue summary and this PR's name should be changed to reference `Files::copy` rather than `File::copy`.

I agree with @bplb, it would be good to do the equivalent UnixFileSystem.{fromCopyOptions,fromMoveOptions} while you are there.

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

PR: https://git.openjdk.org/jdk/pull/12625


More information about the nio-dev mailing list