...
Some static analysis tools can detect violations of this rule.
Tool | Version | Checker | Description | ||||
---|---|---|---|---|---|---|---|
Parasoft Jtest |
|
CERT. |
LCK06.INSTLOCK | Do not use an instance lock to protect shared static data | ||||||||
SpotBugs |
| SSD_DO_NOT_USE_INSTANCE_LOCK_ON_SHARED_STATIC_DATA | Implemented since 4.6.0 |
Related Guidelines
...