API changes
- File#getFileRef method renamed to toPath
- Improved temporary file support:
- New File#createTempFile method that allows initial file
attributes (file permissions) to be set when creating the file.
Also, optionally register the file to be deleted when VM
terminates
- New DELETE_ON_CLOSE option when opening/creating file
- AbstractFileVisitor renamed to SimpleFileVisitor and implements
all methods
- FileVisitor#visitDirectoryFailed method renamed to
preVisitDirectoryFailed
Bugs fixed
- CompletionHandler now guaranteed to be invoked on one of the
channel group's pooled threads
- Intermittent crash closing AsynchronousSocketChannel under load
conditions (Windows only)
- Memory leak in AsynchronousSocketChannel when using non-direct
buffers (Windows only)
- Invoking the remove method of a DirectoryStream's iterator
threw InternalError (Linux x64 only)
- SocketChannel#set/getOption with IP_TOS failed when IPv6 is
enabled
- FileStore attributes could not be read by name
- Path#normalize threw RuntimeException exception (Windows
only)
