On 5/11/2016 12:05 AM, Dicebot wrote:
I believe this is the way. Synchronized statements don't add any crucial value compared to plain locks. At the same time forbidding throwing from even more runtime overrides would be both annoying and unnecessary restrictive.
Also, the synchronized statement preceded the introduction of RAII, so perhaps it is obsolete.
