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
@ -1,3 +1,9 @@
|
||||
2003-06-14 Michael Koch <konqueror@gmx.de>
|
||||
|
||||
* java/io/BufferedReader.java,
|
||||
java/io/FileOutputStream.java:
|
||||
New versions from classpath.
|
||||
|
||||
2003-06-12 Andrew Haley <aph@redhat.com>
|
||||
|
||||
* prims.cc (catch_segv): Create exception in handler.
|
||||
|
@ -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();
|
||||
|
@ -85,7 +85,8 @@ public class FileOutputStream extends OutputStream
|
||||
if (s != null)
|
||||
s.checkWrite(path);
|
||||
fd = new FileDescriptor (path, (append
|
||||
? FileDescriptor.APPEND
|
||||
? FileDescriptor.WRITE
|
||||
| FileDescriptor.APPEND
|
||||
: FileDescriptor.WRITE));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user