RFR: 8252883: AccessDeniedException caused by delayed file deletion on Windows

Evan Whelan ewhelan at openjdk.java.net
Mon Feb 15 10:44:56 UTC 2021


Hi,

Please review this fix for JDK-8252883. This handles the case when an AccessDeniedException is being thrown on Windows, due to a delay in deleting the lock file it is trying to write to.

This fix passes all testing.

Kind regards,
Evan

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

Commit messages:
 - 8252883: AccessDeniedException caused by delayed file deletion on Windows

Changes: https://git.openjdk.java.net/jdk/pull/2572/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2572&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8252883
  Stats: 131 lines in 2 files changed: 124 ins; 5 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2572.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2572/head:pull/2572

PR: https://git.openjdk.java.net/jdk/pull/2572


More information about the core-libs-dev mailing list