On Fri, 2 May 2025 18:19:35 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.
>
> Brian Burkhalter has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   8355954: Fix HashedPasswordFileTest failure due to obsolete read-only 
> attribute being set

Maybe the Release Notes should mention that this does not care for Unix 
readonly (I.e. files without Read permissions). Some tools warn about deleting 
such files on Linux, too.

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

PR Comment: https://git.openjdk.org/jdk/pull/24977#issuecomment-2857201912

Reply via email to