Versions Compared

Key

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

...

For more details on using the private Object lock refer to CON01-J. Always synchronize on the appropriate object. There is some performance impact associated with using block synchronization instead of method synchronization but the difference is usually negligible.

Risk Assessment

Exposing the class object to untrusted code can result in denial-of-service.

...