Java: example for unsafe publishing

Possible duplicate:
Java multithreading and secure publishing

I did not understand what an unsafe publication is. Can someone provide a simple example for an unsafe publication and explain the negative effect based on this example.

EDIT: This is not a duplicate of the question referred to as “Possible Duplicate”. Please open this window.

+5
source share

All Articles