Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8256489

Make gtest for long path names on Windows more resilient in the presence of virus scanners

    XMLWordPrintable

Details

    • b26
    • windows

    Backports

      Description

        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 removed, but the file inside it is still kept by the virus scanner.

        Since this is not a error which occurs frequently, a solution is to just wait a few seconds and try again.

        Attachments

          Issue Links

            Activity

              People

                rschmelter Ralf Schmelter
                rschmelter Ralf Schmelter
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: