This build contains a number of small API changes and fixes:
- The asynchronous I/O methods that specify a CompletionHandler
now return void. As a consequence the CompletionHandler#cancelled
method has been removed.
- New class java.nio.file.attribute.FileTime to represent a file
timestamp (replaces long+TimeUnit that were originally chosen as
the representation on the assumption that they would be replaced by
Instant as being defined by the date/time JSR).
- setTimes method no long prevents setting of timestamps to
values that pre-date the java epoch.
- FileRef revamped to allow it be more widely implemented. All
file centric methods are moved down to Path and
set/get/readAttributes methods moved from AttributeView.
- URL now implements FileRef (experimental)
- Path#delete(boolean) changed to deleteIfExists()
- Added Files#createDirectories to work like mkdir -p
- SecureDirectoryStream missing type parameter. Also,
newDirectoryStream followLinks parameter replaced with
LinkOption[].
- Path#toRealPath(false) now works correctly with broken sym
links (sol/lin).