--- a/jdk/src/share/classes/sun/nio/fs/AbstractAclFileAttributeView.java Fri Mar 18 19:46:02 2011 +0000
+++ b/jdk/src/share/classes/sun/nio/fs/AbstractAclFileAttributeView.java Sat Mar 19 14:21:52 2011 +0000
@@ -57,8 +57,8 @@
setAcl((List<AclEntry>)value);
return;
}
- throw new UnsupportedOperationException("'" + name() + ":" +
- attribute + "' not supported");
+ throw new IllegalArgumentException("'" + name() + ":" +
+ attribute + "' not recognized");
}
@Override
@@ -81,6 +81,8 @@
owner = true;
continue;
}
+ throw new IllegalArgumentException("'" + name() + ":" +
+ attribute + "' not recognized");
}
Map<String,Object> result = new HashMap<>(2);
if (acl)