Poor Style: Empty Synchronized Block


 * 1) REDIRECT Failure to follow guideline/specification

ASDR Table of Contents

Last revision (mm/dd/yy): //

Description
This synchronized block contains no statements; it is unlikely the synchronization achieves the intended effect.

Synchronization in Java can be tricky. An empty synchronized block is often a sign that a programmer is wrestling with synchronization but has not yet achieved the result they intend.

Risk Factors
TBD

Examples
synchronized(this) { }

Related Attacks

 * Attack 1
 * Attack 2

Related Vulnerabilities

 * Vulnerability 1
 * Vulnerabiltiy 2

Related Controls

 * Control 1
 * Control 2

Related Technical Impacts

 * Technical Impact 1
 * Technical Impact 2