libjava test suite keeps getting stuck

Joe Buck jbuck@racerx.synopsys.com
Fri Apr 20 10:53:00 GMT 2001


> It turns out there is very little C++ usage of new/delete in libjava.
> It is trivial to replace these with malloc/free (patch below).

This patch changes the behavior. new throws an exception on allocation
failure; malloc returns a null pointer. Of course, you could fix your
patch to throw the exception, or handle the error in some other way.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /