From 6b5ba2ce344516cca0db965ae63b1988efa2668e Mon Sep 17 00:00:00 2001 From: Bryce McKinlay Date: Mon, 1 Nov 1999 01:15:37 +0000 Subject: PrintStream (PrintStream): Fix illegal usage of "this" before "super". 1999-11-01 Bryce McKinlay * java/io/PrintStream (PrintStream): Fix illegal usage of "this" before "super". * java/io/OutputStreamWriter (OutputStreamWriter): ditto. * java/io/InputStreamReader (InputStreamReader): ditto. From-SVN: r30300 --- libjava/java/io/OutputStreamWriter.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'libjava/java/io/OutputStreamWriter.java') diff --git a/libjava/java/io/OutputStreamWriter.java b/libjava/java/io/OutputStreamWriter.java index 88841d9c1b4..23a974e53da 100644 --- a/libjava/java/io/OutputStreamWriter.java +++ b/libjava/java/io/OutputStreamWriter.java @@ -32,11 +32,13 @@ public class OutputStreamWriter extends Writer private OutputStreamWriter(OutputStream out, UnicodeToBytes encoder) { - super((this.out = (out instanceof BufferedOutputStream - ? (BufferedOutputStream) out - : new BufferedOutputStream(out, 250)))); + this.out = out instanceof BufferedOutputStream + ? (BufferedOutputStream) out + : new BufferedOutputStream(out, 250); + /* Don't need to call super(out) here as long as the lock gets set. */ + this.lock = out; this.converter = encoder; - } + } public OutputStreamWriter(OutputStream out, String enc) throws UnsupportedEncodingException -- cgit v1.2.3