--- old/src/java.base/share/classes/java/nio/file/package-info.java 2018-03-21 11:17:19.730933235 -0700 +++ new/src/java.base/share/classes/java/nio/file/package-info.java 2018-03-21 11:17:18.862848322 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -33,7 +33,7 @@ * package is used by service provider implementors wishing to extend the * platform default provider, or to construct other provider implementations.

* - *

Symbolic Links

+ *

Symbolic Links

*

Many operating systems and file systems support for symbolic links. * A symbolic link is a special file that serves as a reference to another file. * For the most part, symbolic links are transparent to applications and @@ -45,7 +45,7 @@ * that are semantically close but support for these other types of links is * not included in this package.

* - *

Interoperability

+ *

Interoperability

*

The {@link java.io.File} class defines the {@link java.io.File#toPath * toPath} method to construct a {@link java.nio.file.Path} by converting * the abstract path represented by the {@code java.io.File} object. The resulting @@ -54,7 +54,7 @@ * on the interoperability between {@code Path} * and {@code java.io.File} objects.

* - *

Visibility

+ *

Visibility

*

The view of the files and file system provided by classes in this package are * guaranteed to be consistent with other views provided by other instances in the * same Java virtual machine. The view may or may not, however, be consistent with @@ -65,7 +65,7 @@ * or on some other machine. The exact nature of any such inconsistencies are * system-dependent and are therefore unspecified.

* - *

Synchronized I/O File Integrity

+ *

Synchronized I/O File Integrity

*

The {@link java.nio.file.StandardOpenOption#SYNC SYNC} and {@link * java.nio.file.StandardOpenOption#DSYNC DSYNC} options are used when opening a file * to require that updates to the file are written synchronously to the underlying @@ -82,7 +82,7 @@ * java.nio.file.spi.FileSystemProvider provider} implementations is provider * specific.

* - *

General Exceptions

+ *

General Exceptions

*

Unless otherwise noted, passing a {@code null} argument to a constructor * or method of any class or interface in this package will cause a {@link * java.lang.NullPointerException NullPointerException} to be thrown. Additionally, @@ -103,7 +103,7 @@ * provider} with a parameter that is an object created by another provider, * will throw {@link java.nio.file.ProviderMismatchException}.

* - *

Optional Specific Exceptions

+ *

Optional Specific Exceptions

* Most of the methods defined by classes in this package that access the * file system specify that {@link java.io.IOException} be thrown when an I/O * error occurs. In some cases, these methods define specific I/O exceptions