This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Duplicate class registration handling


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]