I've recently discovered that the latest version of Eclipse is using
Objects.hash() by default when you ask to auto-generate the hashCode,
obviously this is plainly wrong because the current implementation does a lot
object allocations, but at the same time, the code is more readable.
So +200
[move to amber-spec-experts]
- Mail original -
> De: "Brian Goetz"
> À: "amber-dev"
> Envoyé: Lundi 22 Octobre 2018 21:45:00
> Objet: New draft JEP: intrinsics for String::format and Objects::hash (among
> others)
> For those of you following the saga of improved constant folding, whic