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

os::dir_is_empty is incorrect on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b01
    • OS:
      windows

      Description

      On Windows, os::dir_is_empty returns false even on a newly created empty directory. This causes the test test/hotspot/jtreg/runtime/appcds/DirClasspathTest.java to fail.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ccheung Calvin Cheung
              Reporter:
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: