Update comment
This commit is contained in:
parent
64e3e1a9e8
commit
0d068a35d8
@ -13,7 +13,6 @@ import static org.junit.Assert.assertEquals;
|
|||||||
*
|
*
|
||||||
* The first proves that multiple calls to the singleton getInstance object are the same when called in the SAME thread.
|
* The first proves that multiple calls to the singleton getInstance object are the same when called in the SAME thread.
|
||||||
* The second proves that multiple calls to the singleton getInstance object are the same when called in the DIFFERENT thread.
|
* The second proves that multiple calls to the singleton getInstance object are the same when called in the DIFFERENT thread.
|
||||||
* The third proves that there is a hole if the singleton is created reflectively
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class LazyLoadedSingletonThreadSafetyTest {
|
public class LazyLoadedSingletonThreadSafetyTest {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user