On Mon, Sep 13, 2010 at 10:48 AM, Peter Veentjer <[email protected]> wrote:
> But as soon as one of the fields is not final, you could see freaky stuff > since the > publication of the object can happen before the completion of the > constructor and > impossible state could be observed by other threads. Are you saying that when I say "SomeClass.point = new java.awt.Point(3,4)" another thread might see a value of SomeClass.point that is a Point but with the wrong values? Yeeks. -- You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en.
