Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: fixed risk assessment number

...

Because the the Helper class is declared as public, it uses a private lock to handle synchronization in conformance with CON07-J. Use private final lock objects to synchronize classes that may interact with untrusted code.

Exceptions

CON26CON28-EX1: Classes that prevent partially initialized objects from being used may publish partially initialized objects. This may be implemented, for example, by setting a volatile boolean flag in the last statement of the initializing code and then ensuring this flag was set before allowing the execution of any class methods.

...

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

CON26 CON28-J

medium

probable

medium

P8

L2

...