On Feb 22, 2019, at 11:42 AM, Kevin Bourrillion <kev...@google.com> wrote: > > I think we should make users write `equals` to test value types. If they > write `==`, they are indicating a special situation where they need identity > semantics, which don't make sense for value types, and that should be an > error.
This sounds like a proposal for the future, but as Brian points out it is also a constraint on large amounts of generic code that has already been written. Let's make the best of op==; it's in our past and the future of comparison logic in Java is too tightly coupled with the past. — John