Index: C:/harmony/trunk_0427/modules/luni/src/main/java/java/io/CharArrayReader.java =================================================================== --- C:/harmony/trunk_0427/modules/luni/src/main/java/java/io/CharArrayReader.java (revision 421079) +++ C:/harmony/trunk_0427/modules/luni/src/main/java/java/io/CharArrayReader.java (working copy) @@ -148,7 +148,7 @@ public int read() throws IOException { synchronized (lock) { if (isOpen()) { - if (pos != count) + if (pos < count) return buf[pos++]; return -1; } @@ -181,7 +181,7 @@ && len <= buffer.length - offset) { synchronized (lock) { if (isOpen()) { - if (pos != this.count) { + if (pos < this.count) { int bytesRead = pos + len > this.count ? this.count - pos : len; System.arraycopy(this.buf, pos, buffer, offset,