Detector: | Tikanga |
Target: | project ' synthetic_directives ' versionjsl |
Misuse: | misuse ' unsynchronized ' |
Tags: |
Details about the known misuse from the MUBench dataset.
Description: | Updates a HashMap concurrently without ensuring synchonziation. |
Fix Description: | synchonize on the map. |
Violation Types: |
|
In File: | mubench/examples/directives/Unsynchronized.java |
In Method: | onEvent(String, String) |
Code with Misuse: |
|
Code with Pattern(s): |
|