--- old/src/share/classes/java/io/RandomAccessFile.java 2012-01-23 00:18:50.000000000 -0800
+++ new/src/share/classes/java/io/RandomAccessFile.java 2012-01-23 00:18:50.000000000 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1994, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1994, 2012, 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
@@ -41,16 +41,16 @@
* the file pointer past the bytes written. Output operations that write
* past the current end of the implied array cause the array to be
* extended. The file pointer can be read by the
- * getFilePointer
method and set by the seek
+ * getFilePointer method and set by the seek
* method.
*
* It is generally true of all the reading routines in this class that
* if end-of-file is reached before the desired number of bytes has been
- * read, an EOFException
(which is a kind of
- * IOException
) is thrown. If any byte cannot be read for
- * any reason other than end-of-file, an IOException
other
- * than EOFException
is thrown. In particular, an
- * IOException
may be thrown if the stream has been closed.
+ * read, an EOFException (which is a kind of
+ * IOException) is thrown. If any byte cannot be read for
+ * any reason other than end-of-file, an IOException other
+ * than EOFException is thrown. In particular, an
+ * IOException may be thrown if the stream has been closed.
*
* @author unascribed
* @since JDK1.0
@@ -82,12 +82,12 @@
* href="#mode">RandomAccessFile(File,String) constructor.
*
*
- * If there is a security manager, its checkRead
method
- * is called with the name
argument
+ * If there is a security manager, its checkRead method
+ * is called with the name argument
* as its argument to see if read access to the file is allowed.
* If the mode allows writing, the security manager's
- * checkWrite
method
- * is also called with the name
argument
+ * checkWrite method
+ * is also called with the name argument
* as its argument to see if write access to the file is allowed.
*
* @param name the system-dependent filename
@@ -103,7 +103,7 @@
* that name cannot be created, or if some other error occurs
* while opening or creating the file
* @exception SecurityException if a security manager exists and its
- * checkRead
method denies read access to the file
+ * checkRead method denies read access to the file
* or the mode is "rw" and the security manager's
* checkWrite
method denies write access to the file
* @see java.lang.SecurityException
@@ -849,7 +849,7 @@
* therefore, support the full Unicode character set.
*
*
A line of text is terminated by a carriage-return character
- * ('\r'
), a newline character ('\n'
), a
+ * ({@code '\u005Cr'}), a newline character ({@code '\u005Cn'}), a
* carriage-return character immediately followed by a newline character,
* or the end of the file. Line-terminating characters are discarded and
* are not included as part of the string returned.