--- a/jdk/src/share/classes/java/io/LineNumberReader.java Thu Dec 01 18:34:23 2011 +0000
+++ b/jdk/src/share/classes/java/io/LineNumberReader.java Thu Dec 01 16:14:41 2011 -0800
@@ -120,6 +120,7 @@
* @throws IOException
* If an I/O error occurs
*/
+ @SuppressWarnings("fallthrough")
public int read() throws IOException {
synchronized (lock) {
int c = super.read();
@@ -159,6 +160,7 @@
* @throws IOException
* If an I/O error occurs
*/
+ @SuppressWarnings("fallthrough")
public int read(char cbuf[], int off, int len) throws IOException {
synchronized (lock) {
int n = super.read(cbuf, off, len);