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

Daniel Fuchs dfuchs at openjdk.java.net
Tue Feb 23 10:19:43 UTC 2021


On Mon, 22 Feb 2021 09:50:06 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:
> 
>   8252883: Stripped back FileHandlerAccessTest to only use threads

test/jdk/java/util/logging/FileHandlerAccessTest.java line 2:

> 1: /*
> 2:  * Copyright (c) 2000, 2021, Oracle and/or its affiliates. All rights reserved.

This seems like a new test - should it only have:

 * Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
 ```

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

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


More information about the core-libs-dev mailing list