On Thu, 4 Nov 2021 05:21:25 GMT, Jaikiran Pai <j...@openjdk.org> wrote:
> That's a good point and thank you for explaining that part. So to address > that, how about not leaving them out, but instead of using `Enum#ordinal()` > for the hashCode generation, we use `Enum#name()` which would translate to a > `String#hashCode()`. Moving to the hashCode of the names of the values is good. ------------- PR: https://git.openjdk.java.net/jdk/pull/6078