This build contains a number of small API changes and fixes:
- Access is renamed to AccessMode; FileRef#checkAccess now
defaults to checking if the file exists if no access modes are
given.
- NamedAttributeView#list changed to return a List instead of
Iterable
- Added GroupPrincipal; UserPrincipal no longer a tagged
interface.
- FileLock#getChannel renamed to acquiredBy to reduce confusion
with pre-existing channel method.
- MembershipKey#getChannel/getGroup/etc. renamed to
channel/group/etc. as method names were not consistent with
channels package.
- WatchEvent methods also changed to make them consistent.
- Removed DirectoryStreamFilters#newXXXGlobFilters (these were
intended for service provider implementers).
- NamedAttributeView#list no longer throws an IOException when
invoked to list the named streams of sparse files on Windows Server
2003 and newer. Also, this method is no longer slow when the file
is very large.
- Files#probeContentType now correctly returns null for
unrecognized files when using GNOME 2.0
- The DOS attributes are renamed to readonly, hidden, archive and
system. (Only impacts code accessing these attribtues dynamically;
no impact to code using the type-safe methods).
- The timeout parameter to
AsynchronousDatagramChannel#read/receive is no longer ignored.
- AsynchronousDatagramChannel#join no longer throws a spurious
exception on Linux when invoked to join an IPv4 multicast group
with IPv6 enabled.
- AsynchronousChannelGroup#shutdownNow failed intermittently to
terminate the group on Linux.
- Future#get intermittent hang when I/O completed almost
immediately (regression since b96 - sorry!).