gcc/libjava/gnu
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
..
awt IntegerGraphicsState.java (getClip): Clone clip before returning, handle null clip. 2006-02-23 20:50:49 +00:00
classpath natSystemProperties.cc (insertSystemProperties): Bump "java.class.version" to 48.0. 2006-06-20 22:28:30 +01:00
CORBA standard.omit.in: Remove javax/rmi, org/omg, gnu/CORBA and gnu/javax/rmi. 2005-11-25 22:30:53 +00:00
gcj OutputStreamWriter.java (writeChars): Use a 'do' loop. 2006-06-27 20:38:10 +00:00
java MainThread (run): Revert exception chaining change. 2006-06-01 12:53:54 +01:00