Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
1.8-rc-4
-
None
-
Patch
Description
@Singleton(lazy=true) does not perform the correct double checked locking for Java
It does the naive version where no local variable is declared.
More info here: http://groovy.329449.n5.nabble.com/Singleton-double-checked-locking-fix-td4302467.html
I have a patch that I will commit.