gcc/libjava/gnu/gcj/convert
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
..
Blocks-3.txt
BytesToUnicode.java
Convert.java
gen-from-JIS.c
Input_8859_1.java
Input_ASCII.java
Input_EUCJIS.java
Input_iconv.java
Input_JavaSrc.java
Input_SJIS.java
Input_UTF8.java
IOConverter.java
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_UTF8.java
Unicode_to_JIS.cc
UnicodeCharacterDatabase-3.0.0.html
UnicodeData-3.0.0.txt
UnicodeToBytes.java