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

Alan Bateman alanb at openjdk.org
Fri Sep 15 14:38:41 UTC 2023


On Thu, 14 Sep 2023 18:03:48 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> If this code does not interact with ACL-based security, then it's not clear to me that there's anything to be done here.

Right, these methods were created with POSIX file permissions in mind. On the surface, the only result it can return is false (to mean fail) but the concern is that it would be an incompatible change so we need to think a bit more about it.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15673#discussion_r1327379363


More information about the core-libs-dev mailing list