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

Fix getFinalAttributes() on Windows to handle more special cases

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • core-libs
    • b78
    • windows

        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.

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

                Created:
                Updated:
                Resolved: