gcc/libjava/java
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
..
io OutputStreamWriter.java (writeChars): Use a 'do' loop. 2006-06-27 20:38:10 +00:00
lang OutputStreamWriter.java (writeChars): Use a 'do' loop. 2006-06-27 20:38:10 +00:00
net re PR libgcj/27024 (Implement URLConnection.getFileNameMap) 2006-05-24 21:44:34 +00:00
nio sources.am, [...]: Rebuilt. 2006-05-13 21:21:28 +00:00
security Imported GNU Classpath 0.90 2006-05-18 17:29:21 +00:00
text sources.am, [...]: Rebuilt. 2006-05-13 18:41:38 +00:00
util Imported GNU Classpath 0.90 2006-05-18 17:29:21 +00:00