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

Fix getFinalAttributes() on Windows to handle more special cases

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b78
    • OS:
      windows

      Backports

        Description

        Getting file attributes on Windows via GetFileAttributesExW() can fail for some special system files. There is already code in getFinalAttributes() which handles some of these special cases by using FindFirstFileW().

        However there are still cases which are not covered until now. For example on PGP WDE (Whole Disk Encryption) – encrypted machines the test java/io/File/WinSpecialFiles still fails for PGP files like C:\pgpwde01.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                simonis Volker Simonis
                Reporter:
                simonis Volker Simonis
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: