--- old/src/share/sample/nio/file/AclEdit.java Wed Jan 26 14:12:27 2011 +++ new/src/share/sample/nio/file/AclEdit.java Wed Jan 26 14:12:27 2011 @@ -239,7 +239,7 @@ // read file's ACL AclFileAttributeView view = - file.getFileAttributeView(AclFileAttributeView.class); + Files.getFileAttributeView(file, AclFileAttributeView.class); if (view == null) { System.err.println("ACLs not supported on this platform"); System.exit(-1);