> I 3.0'd it. Fine with me. Perhaps we can document a "fix" in the ticket.
Gary > -----Original Message----- > From: Henri Yandell [mailto:[EMAIL PROTECTED] > Sent: Friday, April 28, 2006 5:49 PM > To: Jakarta Commons Developers List > Subject: Re: [lang] org.apache.commons.lang.Entities > > I 3.0'd it. > > Mostly because: > > a) There's no obvious solution > b) It's not an error that is going to cause huge problems. No > exceptions flying around, just a bit of garbage when the code using > the library first starts. > > Hen > > On 4/28/06, Gary Gregory <[EMAIL PROTECTED]> wrote: > > So... should we dig in to multi-threading issues for 2.2? > > > > Gary > > > > > -----Original Message----- > > > From: Stephen Colebourne [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, April 27, 2006 4:07 PM > > > To: Jakarta Commons Developers List > > > Subject: Re: [lang] org.apache.commons.lang.Entities > > > > > > Gary Gregory wrote: > > > > - Let users call StringEscapeUtils once to init the data like David > > > > discovered. > > > > - Change the init in Entities to lazy-init methods (which must be > > > > synchronized) > > > > - Change the init in Entities to use an on-demand holder class > > > > > > Would this work? I suspect not. > > > > > > static { > > > Entities xml = new Entities(); > > > xml.addEntities(BASIC_ARRAY); > > > xml.addEntities(APOS_ARRAY); > > > XML = xml; > > > } > > > > > > I have to be honest that I did think that static blocks were > > inherently > > > synced in Java. > > > > > > Stephen > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]