--- old/src/share/classes/sun/nio/fs/AbstractAclFileAttributeView.java Wed Jan 26 14:12:01 2011 +++ new/src/share/classes/sun/nio/fs/AbstractAclFileAttributeView.java Wed Jan 26 14:12:00 2011 @@ -45,15 +45,6 @@ } @Override - public final Object getAttribute(String attribute) throws IOException { - if (attribute.equals(OWNER_NAME)) - return getOwner(); - if (attribute.equals(ACL_NAME)) - return getAcl(); - return null; - } - - @Override @SuppressWarnings("unchecked") public final void setAttribute(String attribute, Object value) throws IOException @@ -71,7 +62,7 @@ } @Override - public final Map readAttributes(String[] attributes) + public final Map readAttributes(String[] attributes) throws IOException { boolean acl = false; @@ -91,7 +82,7 @@ continue; } } - Map result = new HashMap(2); + Map result = new HashMap<>(2); if (acl) result.put(ACL_NAME, getAcl()); if (owner)