JDK-8173910 : (fs) java/nio/file/FileSystem/Basic.java should conditionally check FileStores
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 7,8,9,10
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux,solaris
  • Submitted: 2017-02-03
  • Updated: 2019-11-25
  • Resolved: 2017-02-07
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 10 JDK 7 JDK 8 JDK 9 Other
10Fixed 7u231Fixed 8u221Fixed 9 b157Fixed openjdk8u222Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
FileSystem.getFileStores() hangs in the call to stat(2) when it encounters a stale NFS mount and the test consequently fails by timing out. It would be better to attempt to check whether there is an NFS issue and skip the FileStore iteration in this case. Most test runs should still perform all other necessary checks and this would avert spurious failures due to system configuration issues.
Comments
Review thread: http://mail.openjdk.java.net/pipermail/nio-dev/2017-February/thread.html
03-02-2017