<i18n dev> RFR: 8253321: java.util.Locale.LanguageRange#equals is inconsistent after calling hashCode [v2]

Roger Riggs rriggs at openjdk.java.net
Sat Sep 19 14:15:29 UTC 2020


On Sat, 19 Sep 2020 01:36:38 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> Hi,
>> 
>> Please review the fix to JDK-8253321. As in the issue, uninitialized (cached) hash code was incorrectly referenced in
>> equals() method. Removing it will correct the problem. Also, unrelated to the issue, I fixed a parameter description in
>> a private method.  Naoto
>
> Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Addressing Joe's comments

Marked as reviewed by rriggs (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/260


More information about the i18n-dev mailing list