RFR: 8355954: File.delete removes read-only files (win) [v4]

Brian Burkhalter bpb at openjdk.org
Mon May 19 15:22:53 UTC 2025


On Fri, 16 May 2025 17:22:14 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> I guess collapsing the tests made them more ambiguous. Will fix.
>
> Split the test method in half for Unix and Windows in [fa2273e](https://github.com/openjdk/jdk/pull/24977/commits/fa2273eded040a22c1e32ba8870571d3a7daf427).

> The behavior and system property is Windows specific and might make things simpler to make it a Windows only test.

I think I might have misunderstood this comment. Was the intent to make this test use `@requires os.family == "windows"`?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24977#discussion_r2095962959


More information about the core-libs-dev mailing list