Skip to content

Commit 5d97043

Browse files
author
Richard Jones
committed
Update comment
1 parent 0d068a3 commit 5d97043

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

singleton/src/main/java/com/iluwatar/singleton/ThreadSafeLazyLoadedIvoryTower.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* Thread-safe Singleton class.
55
* The instance is lazily initialized and thus needs synchronization
66
* mechanism.
7+
*
8+
* Note: if created by reflection then a singleton will not be created but multiple options in the same classloader
79
*/
810
public class ThreadSafeLazyLoadedIvoryTower {
911

0 commit comments

Comments
 (0)