RFR: 8073061: (fs) Files.copy(foo, bar, REPLACE_EXISTING) deletes bar even if foo is not readable [v2]

Brian Burkhalter bpb at openjdk.org
Thu Aug 31 21:09:07 UTC 2023


> Check that the source is readable before deleting the destination.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  8073061: Check file system access only for move; add move sub-test

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15501/files
  - new: https://git.openjdk.org/jdk/pull/15501/files/a4e0a3bd..f09b4680

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15501&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15501&range=00-01

  Stats: 27 lines in 2 files changed: 25 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/15501.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15501/head:pull/15501

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


More information about the nio-dev mailing list