gcc/libjava/gnu/gcj
Mark Wielaard 60e9f0d726 re PR libgcj/8738 (java.io.CharArrayWriter's write methods erroneously throw IOExceptions)
2002-06-06  James Clark  <jjc@jclark.com>

       Fix for PR libgcj/8738:
       * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
       * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
       * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
       * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
       (write): Always decrease avail when count is increased.
       * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
       and whether output buffer is full before increasing size.

2002-06-06  Mark Wielaard  <mark@klomp dot org>

       * java/io/PrintStream.java (writeChars(char[],int, int)):
       Check converter.havePendingBytes().
       (writeChars(String,int,int)): Likewise.
       * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
       Check converter.havePendingBytes() and flush buffer when stalled.

From-SVN: r67595
2003-06-07 18:35:00 +00:00
..
convert re PR libgcj/8738 (java.io.CharArrayWriter's write methods erroneously throw IOExceptions) 2003-06-07 18:35:00 +00:00
io
protocol Connection.java (proxyPort, [...]): New static fields. 2003-01-03 18:05:00 +00:00
runtime [multiple changes] 2003-03-10 19:45:30 +00:00
xlib natGC.cc (drawString): Removed obsolete code. 2003-05-08 18:51:51 +00:00
Core.java
natCore.cc natCore.cc (create): Use __builtin_alloca, and compute correct length of UTF-8 encoded name. 2002-04-24 23:05:17 +00:00
RawData.java