Java: "+=" applied to String operands can provoke side effects
> Operator += is broken for Strings in Java 9 and 10The title [Edit: since changed] is a little bit fear-monger-y. It's only broken when the left hand side is not safe to evaluate more than once.It can be prevented with a compile-time flag.