BufferedReader.java, [...]: New versions from classpath.
2003-06-14 Michael Koch <konqueror@gmx.de> * java/io/BufferedReader.java, java/io/FileOutputStream.java: New versions from classpath. From-SVN: r67932
This commit is contained in:
parent
ef16a2989a
commit
6b4683e27c
3 changed files with 11 additions and 1 deletions
|
@ -164,6 +164,9 @@ public class BufferedReader extends Reader
|
|||
*/
|
||||
public void mark(int readLimit) throws IOException
|
||||
{
|
||||
if (readLimit < 0)
|
||||
throw new IllegalArgumentException();
|
||||
|
||||
synchronized (lock)
|
||||
{
|
||||
checkStatus();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue