On Wed, 30 Apr 2025 23:38:02 GMT, Brian Burkhalter <b...@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. This pull request has now been integrated. Changeset: bcf5cd69 Author: Brian Burkhalter <b...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/bcf5cd69413abd95bf7c3a0249fe1c9b713c85a6 Stats: 132 lines in 5 files changed: 106 ins; 4 del; 22 mod 8355954: File.delete removes read-only files (win) Reviewed-by: alanb ------------- PR: https://git.openjdk.org/jdk/pull/24977