multithreading may cause problems if the singleton class is not property
locked/synchronized.
java reflection can break down the singleton pattern.
【在 P*******b 的大作中提到】 : thanks
Z*****Z 发帖数: 723
4
serialization is another issue with singleton
【在 g**e 的大作中提到】 : multithreading may cause problems if the singleton class is not property : locked/synchronized. : java reflection can break down the singleton pattern.