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

Daniel Fuchs dfuchs at openjdk.java.net
Tue Feb 23 13:11:45 UTC 2021


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

>> Does the new version of the test still occasionally catches the issue and fails if the fix is not present?
>
> Hi, locally this test reproduces the issue on my Windows machine.
> 
> I believe our internal testing Windows boxes are too powerful and handle the threading too efficiently to reproduce this error.
> 
> I can reproduce locally approx 10% of the time, but after over 100 runs I cannot reproduce as part of our internal testing.
> 
> As this is not verifiable in a completely deterministic way, I believe having the test as a stable, passing test is a more appropriate approach instead of selecting this as no-reg hard. 
> 
> It adds more test coverage to the code also.

Reproducing locally with the test is fine. That's enough for me.

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

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


More information about the core-libs-dev mailing list