* java/io/PipedWriter.java (flush): Throw exception if stream closed. * java/io/OutputStreamWriter.java (write): Throw exception if stream closed. (writeChars): Don't throw exception if stream closed. * java/io/CharArrayWriter.java (closed): New field. (close): Set it. (flush): Throw exception if stream closed. (reset): Synchronize on correct lock. Allow stream to be reopened. (toCharArray, toString, writeTo): Synchronize. (write): Throwe exception if stream closed. * java/io/BufferedWriter.java (close): Clear `buffer'. (flush): Throw IOException if stream is closed. (write): Likewise. From-SVN: r39927
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| applet | Loading commit data... | |
| awt | Loading commit data... | |
| beans | Loading commit data... | |
| io | Loading commit data... | |
| lang | Loading commit data... | |
| math | Loading commit data... | |
| net | Loading commit data... | |
| security | Loading commit data... | |
| sql | Loading commit data... | |
| text | Loading commit data... | |
| util | Loading commit data... |