Integrated: 8316000: File.setExecutable silently fails if file does not exist

Brian Burkhalter bpb at openjdk.org
Fri Sep 29 16:22:47 UTC 2023


On Mon, 11 Sep 2023 22:22:47 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 49376e44
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/49376e445210d5ebe3a99a4e647deecec51f0784
Stats:     48 lines in 1 file changed: 24 ins; 12 del; 12 mod

8316000: File.setExecutable silently fails if file does not exist

Reviewed-by: alanb

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

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


More information about the core-libs-dev mailing list