gcc/libjava/gnu/gcj/convert
Tom Tromey 9e01bff779 OutputStreamWriter.java (writeChars): Use a 'do' loop.
* 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
2006-06-27 20:38:10 +00:00
..
Blocks-3.txt
BytesToCharsetAdaptor.java PR libgcj/9715, PR libgcj/19132: 2006-01-03 22:58:31 +00:00
BytesToUnicode.java PR libgcj/9715, PR libgcj/19132: 2006-01-03 22:58:31 +00:00
CharsetToBytesAdaptor.java OutputStreamWriter.java (writeChars): Use a 'do' loop. 2006-06-27 20:38:10 +00:00
Convert.java gij.cc (version): Use 2006. 2006-02-07 00:59:27 +00:00
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 PR libgcj/14358, libgcj/24552: 2005-11-04 15:08:18 +00:00
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_UnicodeLittleUnmarked.java: New file. 2004-10-28 15:22:44 +00:00
Output_UTF8.java re PR libgcj/27171 (UTF8 PrintWriter goes haywire) 2006-04-17 21:41:47 +00:00
Unicode_to_JIS.cc
UnicodeToBytes.java OutputStreamWriter.java (writeChars): Use a 'do' loop. 2006-06-27 20:38:10 +00:00