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:
Michael Koch 2003-06-14 05:44:38 +00:00 committed by Michael Koch
parent ef16a2989a
commit 6b4683e27c
3 changed files with 11 additions and 1 deletions

View file

@ -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();