Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

However, because the helper field of class Foo is not properly synchronized, it is possible that the Foo.getHelper() method will return a reference to a partially or incorrectly setHelperd set helper object, if invoked from a separate thread.

...