RFR: 8316000: File.setExecutable silently fails if file does not exist [v8]

Brian Burkhalter bpb at openjdk.org
Wed Sep 27 16:19:04 UTC 2023


> On Windows, do not return `true` from the `java.io.File` methods `setReadable(boolean, boolean)` and `setExecutable(boolean, boolean)` if the file does not exist.

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

  8316000: Address comment https://github.com/openjdk/jdk/pull/15673#discussion_r1338208315

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15673/files
  - new: https://git.openjdk.org/jdk/pull/15673/files/61cdf016..5dabb216

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

  Stats: 24 lines in 1 file changed: 0 ins; 4 del; 20 mod
  Patch: https://git.openjdk.org/jdk/pull/15673.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15673/head:pull/15673

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


More information about the core-libs-dev mailing list