RFR: 8252883: AccessDeniedException caused by delayed file deletion on Windows [v3]
David Holmes
dholmes at openjdk.java.net
Wed Feb 17 07:40:43 UTC 2021
On Tue, 16 Feb 2021 21:15:58 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: Throw exception if exit code of child process is non-zero
test/jdk/java/util/logging/FileHandlerAccessTest.java line 9:
> 7: * published by the Free Software Foundation. Oracle designates this
> 8: * particular file as subject to the "Classpath" exception as provided
> 9: * by Oracle in the LICENSE file that accompanied this code.
Tests do not need, and should not have, the CPE.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2572
More information about the core-libs-dev
mailing list