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 |
||
---|---|---|
.. | ||
ref | ||
reflect | ||
Character.java | ||
Class.h | ||
Class.java | ||
ClassLoader.java | ||
EcosProcess.java | ||
Math.java | ||
natCharacter.cc | ||
natClass.cc | ||
natClassLoader.cc | ||
natDouble.cc | ||
natEcosProcess.cc | ||
natFloat.cc | ||
natMath.cc | ||
natObject.cc | ||
natPosixProcess.cc | ||
natRuntime.cc | ||
natString.cc | ||
natStringBuffer.cc | ||
natStringBuilder.cc | ||
natSystem.cc | ||
natThread.cc | ||
natVMClassLoader.cc | ||
natVMSecurityManager.cc | ||
natVMThrowable.cc | ||
natWin32Process.cc | ||
Object.h | ||
Object.java | ||
Package.java | ||
PosixProcess.java | ||
Runtime.java | ||
SecurityManager.java | ||
String.java | ||
StringBuffer.java | ||
StringBuilder.java | ||
System.java | ||
Thread.java | ||
VMClassLoader.java | ||
VMCompiler.java | ||
VMDouble.java | ||
VMFloat.java | ||
VMSecurityManager.java | ||
VMThrowable.java | ||
Win32Process.java |