JDK-6312351 : Remove double check locking idiom in Locale related classes
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 6
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2005-08-17
  • Updated: 2010-04-03
  • Resolved: 2005-09-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b52Fixed
Related Reports
Relates :  
Description
Double-check locking idiom is known to be broken.  Those in LocaleData and LocaleServiceProviderPool need to be replaced with other mechanism.

Comments
EVALUATION Replacing the double check locking with a method using static initializer should work.
17-08-2005