JDK-8034057 : Files.getFileStore and Files.isWritable do not work with SUBST'ed drives (win)
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 7u1
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-02-10
  • Updated: 2016-06-13
  • Resolved: 2014-04-29
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 7 JDK 8 JDK 9
7u95Fixed 8u72Fixed 9 b12Fixed
Related Reports
Duplicate :  
Description
The FileStore implementation on Windows uses GetVolumePathName to determine the mount point that it needs to find the volume where a file resides. This does not appear to work on SUBST'ed drives, see:

http://mail.openjdk.java.net/pipermail/nio-discuss/2014-February/000717.html
Comments
Request to get this backported to earlier JDK families : http://mail.openjdk.java.net/pipermail/nio-dev/2015-August/003288.html
18-08-2015

A GlassFish user reported that this bug prevented Apache Derby from starting on a subst drive too: https://issues.apache.org/jira/browse/DERBY-6410
11-03-2014