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:
parent
32facac808
commit
118a6ea134
3 changed files with 17 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue