cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@dff.st>
Subject Re: cvs commit: xml-cocoon2/src/java/org/apache/cocoon/sitemap ContentAggregator.java
Date Tue, 23 Jul 2002 07:32:14 GMT
On Tuesday 23 July 2002 05:00, Vadim Gritsenko wrote:
> > From: tcurdt@apache.org [mailto:tcurdt@apache.org]
> >
> > tcurdt      2002/07/22 19:04:30
> >
> >   Modified:    src/java/org/apache/cocoon/sitemap
>
> ContentAggregator.java
>
> >   Log:
> >   fixed a raise condition
>
> You mean race condition.

yes :)

> But, ContentAggregator is Recyclable, which means that it is Poolable,
> which means that it is allowed to be accessed by one thread only,
> *especially* in lifecycle methods (AFAIU Avalon - am I right?).

I got a NPE when trying with xerces... 

a "fixed possible NPE" would have been the right message ;-)
please bear with me it was 4:30am

> If you observe several threads in recycle() at once, it means that
> something is *really* wrong somewhere, and it is better to find reason
> of the real problem then mask its consequences.

should be fine...
--
Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message