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

Brian Burkhalter bpb at openjdk.org
Mon Sep 18 17:16: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: Check for POSIX permission support at top level of test

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15501/files
  - new: https://git.openjdk.org/jdk/pull/15501/files/8b5f3bcc..cd644e46

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

  Stats: 48 lines in 2 files changed: 31 ins; 9 del; 8 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