5c6cd57a4d9526e8c0c88fdac574256728c38096
The code synchronizes on a boxed primitive constant, such as an Boolean. Since there normally exist only two Boolean objects, this code could be synchronizing on the same object as other, unrelated code, leading to unresponsiveness and possible deadlock. This commit uses the MutableBoolean class from commons-lang, which is included in bukkit.jar.
Description
Languages
Java
100%