JDK-8133105 : Fix getFinalAttributes() on Windows to handle more special cases
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • Submitted: 2015-08-06
  • Updated: 2016-06-13
  • Resolved: 2015-08-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b78Fixed
Related Reports
Relates :  
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.  
Comments
Testing this fix seems to require specific a disk configuration.
11-08-2015