mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-10-05 16:38:29 +00:00
OutputStreamWriter.java (OutputStreamWriter): Don't refer to `this' before calling superclass constructor.
* 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. From-SVN: r29560
This commit is contained in:
@@ -238,9 +238,11 @@ public class PrintStream extends FilterOutputStream
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user