This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Duplicate class registration handling
- To: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Subject: Re: Duplicate class registration handling
- From: Tom Tromey <tromey at redhat dot com>
- Date: 24 Oct 2001 12:56:24 -0600
- Cc: java-patches at gcc dot gnu dot org
- References: <3BD50376.5000206@waitaki.otago.ac.nz>
- Reply-To: tromey at redhat dot com
>>>>> "Bryce" == Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:
Bryce> * prims.cc (_Jv_Abort): Always print error message using fprintf,
Bryce> don't try to allocate.
In the past we've avoided using *printf except in debug code. The
idea is that on embedded systems, using printf has a big penalty --
lots of code is dragged in.
That said, I agree with your rationale for adding this. I'm not
planning to change it any time soon, but maybe someday if the need
arises we can somehow conditionalize the function used to actually
print the failure message.
Tom