Detector: | MuDetectOPAL_180324 |
Target: | project ' synthetic_directives ' versionjsl |
Misuse: | misuse ' wait-loop ' |
Tags: |
Details about the known misuse from the MUBench dataset.
Description: | Object.wait() should be called in a loop that iteratively checks the condition waited for. |
Fix Description: | Check condition in a loop. |
Violation Types: |
|
In File: | mubench/examples/directives/WaitWithoutLoop.java |
In Method: | misuse(Target) |
Code with Misuse: |
|
Code with Pattern(s): |
|