Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: UDIG 1.1-RC14
-
Fix Version/s: UDIG 1.4.1
-
Component/s: framework
-
Labels:None
Description
The double checked locking idiom used in some tutorial classes is broken (see http://www.javaworld.com/jw-02-2001/jw-0209-double.html). This pattern must not be used anymore in any Java program, thus using it in tutorial code is misleading.
The attached patch fixes the code.