diff -r 3b829f6434d8 -r b3f9f5bf40b2 jdk/src/java.base/share/classes/java/io/RandomAccessFile.java --- a/jdk/src/java.base/share/classes/java/io/RandomAccessFile.java Wed Apr 26 14:03:02 2017 -0700 +++ b/jdk/src/java.base/share/classes/java/io/RandomAccessFile.java Wed Apr 26 16:05:55 2017 -0700 @@ -137,19 +137,19 @@ * meanings are: * * - * - * + * + * * - * + * * - * + * * - * + * *
ValueMeaning
{@code "r"}
ValueMeaning
{@code "r"} Open for reading only. Invoking any of the {@code write} * methods of the resulting object will cause an * {@link java.io.IOException} to be thrown.
{@code "rw"}
{@code "rw"} Open for reading and writing. If the file does not already * exist then an attempt will be made to create it.
{@code "rws"}
{@code "rws"} Open for reading and writing, as with {@code "rw"}, and also * require that every update to the file's content or metadata be * written synchronously to the underlying storage device.
{@code "rwd"}
{@code "rwd"} Open for reading and writing, as with {@code "rw"}, and also * require that every update to the file's content be written * synchronously to the underlying storage device.