Integrated: 8256489: Make gtest for long path names on Windows more resilient in the presence of virus scanners
Ralf Schmelter
rschmelter at openjdk.java.net
Wed Nov 25 13:19:56 UTC 2020
On Mon, 23 Nov 2020 10:41:47 GMT, Ralf Schmelter <rschmelter at openjdk.org> wrote:
> Hi,
>
> a virus scanner can keep a file open on Windows, so that a DeleteFile command returns successful, but the file is actually not removed when the call returns. In the gtest for long path names on Windows this can lead to failures when a directory is tried to be removed, but the file inside it is still kept by the virus scanner.
>
> Since this is an error which only occurs very infrequently, we just retry the deletion a few times.
>
> Best regards,
> Ralf
This pull request has now been integrated.
Changeset: 26e6cb3e
Author: Ralf Schmelter <rschmelter at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/26e6cb3e
Stats: 14 lines in 1 file changed: 12 ins; 0 del; 2 mod
8256489: Make gtest for long path names on Windows more resilient in the presence of virus scanners
Reviewed-by: dholmes, clanger
-------------
PR: https://git.openjdk.java.net/jdk/pull/1380
More information about the hotspot-runtime-dev
mailing list