Behaviour of CharArrayWriter

Lars Andersen
Sat Jul 20 12:17:00 GMT 2002

GCJ behaves in many ways like jdk1.4, even though it is only partially

An example is the "assert" keyword enforced in GCJ. 
throws an 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.

Lars Andersen

More information about the Java mailing list