CWE-585—Empty Synchronized Block
PUBLISHEDweakness record
released 2006-12-15 · last modified 2025-04-03
Metadata
名称
Empty Synchronized Block
描述
The product contains an empty synchronized block.
An empty synchronized block does not actually accomplish any synchronization and may indicate a troubled section of code. An empty synchronized block can occur because code no longer needed within the synchronized block is commented out without removing the synchronized block.