Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 31777 invoked from network); 29 Apr 2006 04:22:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Apr 2006 04:22:31 -0000 Received: (qmail 91332 invoked by uid 500); 29 Apr 2006 04:22:28 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 91296 invoked by uid 500); 29 Apr 2006 04:22:27 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 91285 invoked by uid 99); 29 Apr 2006 04:22:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2006 21:22:27 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ggregory@seagullsoftware.com designates 12.6.96.2 as permitted sender) Received: from [12.6.96.2] (HELO mailer.seagullsoftware.com) (12.6.96.2) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2006 21:22:26 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [lang] org.apache.commons.lang.Entities Date: Sat, 29 Apr 2006 00:21:57 -0400 Message-ID: <19B78354A4AA3E4287384F3D30933F88BCA9A3@MAIL1.seagull.nl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [lang] org.apache.commons.lang.Entities Thread-Index: AcZrJrYri5NG2SvzSXSUtCOfxJTuOwAHak2Q From: "Gary Gregory" To: "Jakarta Commons Developers List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > I 3.0'd it. Fine with me. Perhaps we can document a "fix" in the ticket. Gary > -----Original Message----- > From: Henri Yandell [mailto:flamefew@gmail.com] > Sent: Friday, April 28, 2006 5:49 PM > To: Jakarta Commons Developers List > Subject: Re: [lang] org.apache.commons.lang.Entities >=20 > I 3.0'd it. >=20 > Mostly because: >=20 > 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. >=20 > Hen >=20 > On 4/28/06, Gary Gregory wrote: > > So... should we dig in to multi-threading issues for 2.2? > > > > Gary > > > > > -----Original Message----- > > > From: Stephen Colebourne [mailto:scolebourne@btopenworld.com] > > > 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 =3D new Entities(); > > > xml.addEntities(BASIC_ARRAY); > > > xml.addEntities(APOS_ARRAY); > > > XML =3D xml; > > > } > > > > > > I have to be honest that I did think that static blocks were > > inherently > > > synced in Java. > > > > > > Stephen > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org > > > For additional commands, e-mail: commons-dev-help@jakarta.apache.org > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: commons-dev-help@jakarta.apache.org > > > > >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-dev-help@jakarta.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org