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

[TESTLIB] Determine if file exists by Files.exists in function FileUtils.deleteFileIfExistsWithRetry

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 14
    • Component/s: core-libs
    • Labels:
    • Resolved In Build:
      b06

      Description

      Files.exists api states as below:
      Returns:
      true if the file exists; false if the file does not exist or its existence cannot be determined.

      So the behavior of the test library function FileUtils.deleteFileIfExistsWithRetry is not exact.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fyuan Frank Yuan (Inactive)
              Reporter:
              fyuan Frank Yuan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: