RE: [Asterisk-java-users] Timing issue with ResourceBundleMappingStrategy
Brought to you by:
srt
From: King H. <kin...@ne...> - 2006-03-04 10:35:40
|
I'll try to download 0.3 snapshot from the cvs archive later. The gz = version that I just download don't have the fix in yet.=20 However, after thinking about it, using a synchronized block may be an = overkill for 'determineScript' as there will be a slight performance = hit. Unless you are planning on allowing the reloading of a new mapping = after the first one is loaded. Furthermore, as there is a constructor = that allows the specification of the bundle name, I don't think there is = really a need for setResourceBundleName(). Since I don't use the = setResourceBundleName() myself, I am biased ;) King -----Original Message----- From: ast...@li... = [mailto:ast...@li...] On Behalf Of = Stefan Reuter Sent: Saturday, March 04, 2006 5:19 PM To: ast...@li... Subject: Re: [Asterisk-java-users] Timing issue with = ResourceBundleMappingStrategy Hi, thanks for reporting this bug. I fixed it for 0.3 by putting loadResourceBundle() inside a synchronized block. Moving it into the constructor would also have worked but then I also had to change setResourceBundleName(). Do you need a fix for 0.2 or is it ok for you to switch to a 0.3 = snapshot? =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 K=C3=B6ln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |