refer to `this' before calling superclass constructor.
* java/io/PrintStream.java (PrintStream): Don't refer to `this'
before calling superclass constructor.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29560
138bc75d-0d04-0410-961f-
82ee72b054a4
+1999-09-21 Tom Tromey <tromey@cygnus.com>
+
+ * java/io/OutputStreamWriter.java (OutputStreamWriter): Don't
+ refer to `this' before calling superclass constructor.
+ * java/io/PrintStream.java (PrintStream): Don't refer to `this'
+ before calling superclass constructor.
+
1999-09-20 Tom Tromey <tromey@cygnus.com>
* configure: Rebuilt.
private OutputStreamWriter(OutputStream out, UnicodeToBytes encoder)
{
- super((this.out = (out instanceof BufferedOutputStream
- ? (BufferedOutputStream) out
- : new BufferedOutputStream(out, 250))));
+ BufferedOutputStream buf = (out instanceof BufferedOutputStream
+ ? (BufferedOutputStream) out
+ : new BufferedOutputStream(out, 250));
+ super (buf);
+ this.out = buf;
this.converter = encoder;
}
public PrintStream (OutputStream out, boolean af)
{
- super ((this.out = (out instanceof BufferedOutputStream
- ? (BufferedOutputStream) out
- : new BufferedOutputStream(out, 250))));
+ BufferedOutputStream buf = (out instanceof BufferedOutputStream
+ ? (BufferedOutputStream) out
+ : new BufferedOutputStream(out, 250));
+ super (buf);
+ this.out = buf;
converter = UnicodeToBytes.getDefaultEncoder();
error = false;
auto_flush = af;