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

Brian Burkhalter bpb at openjdk.org
Thu May 1 15:57:48 UTC 2025


On Thu, 1 May 2025 15:03:02 GMT, Jason Mehrens <duke at openjdk.org> wrote:

> Will the new property will also change behavior of java.io.File.deleteOnExit()

Yes, as that calls `File.delete`.

> and java.nio.file.StandardOpenOption.DELETE_ON_CLOSE?

No.

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

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


More information about the core-libs-dev mailing list