--- old/src/java.base/share/classes/java/io/RandomAccessFile.java 2017-07-11 14:33:38.728339544 -0700 +++ new/src/java.base/share/classes/java/io/RandomAccessFile.java 2017-07-11 14:33:38.528330818 -0700 @@ -139,21 +139,21 @@ *
Value | Meaning |
---|---|
Value | Meaning |
{@code "r"} | + *|
{@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. |