RFR: 8355954: File.delete removes read-only files (win) [v7]
Alan Bateman
alanb at openjdk.org
Mon May 19 17:25:52 UTC 2025
On Mon, 19 May 2025 17:10:50 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> This change proposes to modify `java.io.File.delete()` so that regular files on Windows will not be deleted by default if their read-only attribute is set. A boolean-valued system compatibility property `jdk.io.File.deleteReadOnly` is defined to reinstate legacy behavior if desired.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>
> 8355954: Make test Windows-only
Marked as reviewed by alanb (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/24977#pullrequestreview-2851532693
More information about the core-libs-dev
mailing list