This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Behaviour of CharArrayWriter
- From: Lars Andersen <lars at rimfaxe dot com>
- To: java at gcc dot gnu dot org
- Date: 20 Jul 2002 21:17:47 +0200
- Subject: Behaviour of CharArrayWriter
GCJ behaves in many ways like jdk1.4, even though it is only partially
done.
An example is the "assert" keyword enforced in GCJ.
java.io.CharArrayWriter.write(int)
throws an java.io.IOException in jdk1.3 , in jdk1.4 it doesn't according
to Sun java API pages.
In GCJ it throws an IOException, like the jdk1.3.
This can be very confusing, when GCJ sometimes behaves radically
different from standard jdk's.
regards
Lars Andersen