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

Brian Burkhalter bpb at openjdk.org
Tue Sep 5 17:05:29 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: Address reviewer comments

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

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

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

  Stats: 13 lines in 2 files changed: 5 ins; 1 del; 7 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