RFR: 8073061: (fs) Files.copy(foo, bar, REPLACE_EXISTING) deletes bar even if foo is not readable [v5]
Brian Burkhalter
bpb at openjdk.org
Wed Sep 13 02:32:31 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: Improve file access checking; modify a test; add a test
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/15501/files
- new: https://git.openjdk.org/jdk/pull/15501/files/65009624..ec6c7ddd
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=15501&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=15501&range=03-04
Stats: 293 lines in 3 files changed: 254 ins; 38 del; 1 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