diff options
author | Mark Wielaard <mark@klomp.org> | 2001-09-30 23:00:33 +0000 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2001-09-30 23:00:33 +0000 |
commit | 9ca7801ffef11f2e24aa0218502d384794685f43 (patch) | |
tree | b79468961d3c0dbafff200ae5c94bc4590ffccb8 /java/io/FilterReader.java | |
parent | 93acbb49d39b0150df26d5a0efa2e0761efcb2a8 (diff) | |
download | classpath-9ca7801ffef11f2e24aa0218502d384794685f43.tar.gz |
* java/io/FileWriter.java: Merged with libgcj.
* java/io/FilterInputStream.java: Ditto.
* java/io/FilterOutputStream.java: Ditto.
(write (byte[],int,int): Explicitly call write(int) on every byte.
* java/io/FilterReader.java: Ditto.
(FilterReader): call super(in.lock).
* java/io/FilterWriter.java: Merged with libgcj.
(FilterWriter): call super(in).
* java/io/Writer.java: Merged with libgcj.
* java/lang/Compiler.java: Ditto.
* java/lang/Process.java: Ditto.
* java/lang/Void.java: Ditto.
* java/net/ContentHandler.java: Ditto.
* java/net/DatagramPacket.java: Ditto.
* java/net/MulticastSocket.java: Merged (almost) with libgcj.
Note that the contructor super() calls are still different
Diffstat (limited to 'java/io/FilterReader.java')
-rw-r--r-- | java/io/FilterReader.java | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/java/io/FilterReader.java b/java/io/FilterReader.java index 18240ea4c..a3897bcbd 100644 --- a/java/io/FilterReader.java +++ b/java/io/FilterReader.java @@ -1,5 +1,5 @@ /* FilterReader.java -- Base class for char stream classes that filter input - Copyright (C) 1998 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -27,6 +27,12 @@ executable file might be covered by the GNU General Public License. */ package java.io; +/* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3 + * "The Java Language Specification", ISBN 0-201-63451-1 + * plus online API docs for JDK 1.2 beta from http://www.javasoft.com. + * Status: Believed complete and correct. + */ + /** * This is the common superclass of all standard classes that filter * input. It acts as a layer on top of an underlying <code>Reader</code> @@ -41,9 +47,8 @@ package java.io; * <code>read(yte[], int, int)</code> instead of to the subordinate * <code>Reader} read(yte[])</code> method. * - * @version 0.0 - * * @author Aaron M. Renn (arenn@urbanophile.com) + * @author Warren Levy <warrenl@cygnus.com> */ public abstract class FilterReader extends Reader { @@ -69,12 +74,15 @@ protected Reader in; /** * Create a <code>FilterReader</code> with the specified subordinate * <code>Reader</code>. + * The <code>lock</code> of the new <code>FilterReader</code> will be set + * to <code>in.lock</code>. * * @param in The subordinate <code>Reader</code> */ protected FilterReader(Reader in) { + super(in.lock); this.in = in; } @@ -204,4 +212,3 @@ close() throws IOException } } // class FilterReader - |