jdk/src/windows/classes/sun/nio/fs/WindowsUserDefinedFileAttributeView.java
changeset 23887 7b2fb8d5f6be
parent 9035 1255eb81cc2f
equal deleted inserted replaced
23886:6cb6ad1e208f 23887:7b2fb8d5f6be
   198 
   198 
   199     @Override
   199     @Override
   200     public List<String> list() throws IOException  {
   200     public List<String> list() throws IOException  {
   201         if (System.getSecurityManager() != null)
   201         if (System.getSecurityManager() != null)
   202             checkAccess(file.getPathForPermissionCheck(), true, false);
   202             checkAccess(file.getPathForPermissionCheck(), true, false);
   203         // use stream APIs on Windwos Server 2003 and newer
   203         // use stream APIs on Windows Server 2003 and newer
   204         if (file.getFileSystem().supportsStreamEnumeration()) {
   204         if (file.getFileSystem().supportsStreamEnumeration()) {
   205             return listUsingStreamEnumeration();
   205             return listUsingStreamEnumeration();
   206         } else {
   206         } else {
   207             return listUsingBackupRead();
   207             return listUsingBackupRead();
   208         }
   208         }