Wow, I actually managed to observe an obscure JRE deadlock bug in the wild. It was apparently reported in 2010 and it's now marked as "wontfix" in v8 JREs. =(
We're still supporting v8 JREs, because you know, backwards compatibility. Luckily the workaround is pretty easy.
At least I think so... you never really know for sure if you fixed a concurrency bug or not.
See also: Singletons considered harmful.
Concurrency is hard to get right.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!