RFR: 8316000: File.setExecutable silently fails if file does not exist
Brian Burkhalter
bpb at openjdk.org
Mon Sep 11 22:31:15 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.
-------------
Commit messages:
- 8316000: File.setExecutable silently fails if file does not exist
Changes: https://git.openjdk.org/jdk/pull/15673/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15673&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8316000
Stats: 106 lines in 2 files changed: 59 ins; 35 del; 12 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