8005566: (fs) test/java/nio/file/Files/Misc.java failing (sol)

Alan Bateman Alan.Bateman at oracle.com
Fri Jan 11 02:01:21 PST 2013


I need a reviewer for a small change to the Solaris-specific code for 
decoding NFSv4 ACLs. This is required because of a recent update to the 
kernel that exposes an incorrect assumption in this code.

When we read an ACL with facl(ACE_GETACL) then the decoding assumed that 
an ACE with a uid of -1 is a special "who", meaning owner, group or 
everyone. The fix removes the assumption so that it always looks at the 
ACE flags to determine if the "who" is special. The webrev with the 
changes are here:

http://cr.openjdk.java.net/~alanb/8005566/webrev/

I don't propose to add any additional tests as all existing tests will 
fail on ZFS without this fix.

-Alan.


More information about the nio-dev mailing list