2 ms·
Changing the evaluation of the expression x.equals(y) to false when x and y are strings with the same value is not a specified behavior.
by barrkel 3y ago
Changing the evaluation of the expression x.equals(y) to false when x and y are strings with the same value is not a specified behavior.
- pshirshov 3y agoIt is. The "buggy" code isn't marked as thread safe.