> From: Leo Sutic [mailto:[EMAIL PROTECTED]] 
> 
> > From: Torsten Curdt [mailto:[EMAIL PROTECTED]]
> > 
> > On Thursday 01 August 2002 19:07, Berin Loritsch wrote:
> > > > From: Berin Loritsch [mailto:[EMAIL PROTECTED]]
> > > >
> > > > BTW, fillInStackTrace() is a native method (AKA a JNI method).
> > >
> > > oh yeah, it is synchronized as well.
> > >
> > > Creating tons of exceptions in a multithreaded environment is not
> > > advised.
> > 
> > well, a boolean should do it (see example) and the Exception
> > could be created 
> > in finalize.
> 
> Much more useful to spew out the stack as it were when the 
> component was obtained.
> 
> That and a boolean flag == good.


The component has no clue when it was obtained.  It shouldn't, and
such a hack would cause more issues than it would solve.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to