RFR: 8252883: AccessDeniedException caused by delayed file deletion on Windows [v7]

Vyom Mani Tewari github.com+4410404+vyommani at openjdk.java.net
Tue Feb 23 17:44:44 UTC 2021


On Tue, 23 Feb 2021 12:15:08 GMT, Evan Whelan <ewhelan at openjdk.org> wrote:

>> 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
>
> Evan Whelan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fixed copyright year in FileHandlerAccessTest.java

Looks OK to me, although at my local Windows 10 box  test took more than 100 iteration before it failed.

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

Marked as reviewed by vyommani at github.com (no known OpenJDK username).

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


More information about the core-libs-dev mailing list