9e01bff779
* java/io/OutputStreamWriter.java (writeChars): Use a 'do' loop. Set 'out.count' earlier. (close): Call setFinished on converter. (flush): Always write work buffer. * java/io/PrintStream.java (writeChars): Do 'do' loop. (close): Call setFinished on converter. Write a 'flush' array. * java/lang/natString.cc (getBytes): Call setFinished on converter. * gnu/gcj/convert/CharsetToBytesAdaptor.java (hasBytes): New field. (write): Set hasBytes. Changed 'finished' logic. (havePendingBytes): Rewrote. (setFinished): New method. * gnu/gcj/convert/UnicodeToBytes.java (setFinished): New method. * testsuite/libjava.lang/RH194522.java: New file. * testsuite/libjava.lang/RH194522.out: New file. From-SVN: r115039 |
||
---|---|---|
.. | ||
Blocks-3.txt | ||
BytesToCharsetAdaptor.java | ||
BytesToUnicode.java | ||
CharsetToBytesAdaptor.java | ||
Convert.java | ||
gen-from-JIS.c | ||
Input_8859_1.java | ||
Input_ASCII.java | ||
Input_EUCJIS.java | ||
Input_iconv.java | ||
Input_JavaSrc.java | ||
Input_SJIS.java | ||
Input_UnicodeBig.java | ||
Input_UnicodeLittle.java | ||
Input_UTF8.java | ||
IOConverter.java | ||
JIS0201.h | ||
JIS0208_to_Unicode.cc | ||
JIS0208.h | ||
JIS0212_to_Unicode.cc | ||
JIS0212.h | ||
make-trie.c | ||
natIconv.cc | ||
natInput_EUCJIS.cc | ||
natInput_SJIS.cc | ||
natOutput_EUCJIS.cc | ||
natOutput_SJIS.cc | ||
Output_8859_1.java | ||
Output_ASCII.java | ||
Output_EUCJIS.java | ||
Output_iconv.java | ||
Output_JavaSrc.java | ||
Output_SJIS.java | ||
Output_UnicodeLittleUnmarked.java | ||
Output_UTF8.java | ||
Unicode_to_JIS.cc | ||
UnicodeToBytes.java |