gcc/libjava/java
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
..
applet AppletContext.java: Fix typo and remove redundant modifiers. 2002-11-14 20:35:27 +00:00
awt Toolkit.java (getDefaultToolkit): Add exception cause to AWTError. 2003-06-06 13:12:47 +00:00
beans BeanContextEvent.java: Reformated. 2003-03-24 08:24:29 +00:00
io re PR libgcj/8738 (java.io.CharArrayWriter's write methods erroneously throw IOExceptions) 2003-06-07 18:35:00 +00:00
lang re PR libgcj/8738 (java.io.CharArrayWriter's write methods erroneously throw IOExceptions) 2003-06-07 18:35:00 +00:00
math BigInteger.java (probablePrime): New. 2003-04-19 19:26:41 +00:00
net 2003-05-27 Michael Koch <konqueror@gmx.de> 2003-05-27 06:17:57 +00:00
nio ByteBufferImpl.java, [...]: Moved files to java/nio. 2003-05-20 08:58:31 +00:00
rmi 2003-03-31 Michael Koch <konqueror@gmx.de> 2003-03-31 11:07:24 +00:00
security Identity.java, [...]: New versions from classpath. 2003-05-10 07:12:48 +00:00
sql Date.java, [...]: New versions from Classpath. 2003-04-19 21:17:50 +00:00
text SimpleDateFormat.java (SimpleDateFormat): Added numberFormat.setParseIntegerOnly(true). 2003-06-05 17:57:31 +00:00
util 2003-05-27 Michael Koch <konqueror@gmx.de> 2003-05-27 06:34:29 +00:00