Thread-Safety Miscellaneous (TSM)
Rules
- TSM00-J. Do not override thread-safe methods with methods that are not thread-safe
- TSM01-J. Do not let the this reference escape during object construction
- TSM02-J. Do not use background threads during class initialization
- TSM03-J. Do not publish partially initialized objects
Risk Assessment Summary
| Rule | Severity | Likelihood | Detectable | Repairable | Priority | Level |
|---|---|---|---|---|---|---|
| TSM00-J | Low | Probable | Yes | No | P4 | L3 |
| TSM01-J | Medium | Probable | Yes | No | P8 | L2 |
| TSM02-J | Low | Probable | Yes | No | P4 | L3 |
| TSM03-J | Medium | Probable | Yes | No | P8 | L2 |


