5c6cd57a4d
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. |
||
---|---|---|
.. | ||
mcore |