On Fri, 18 Sep 2020 23:26:39 GMT, Naoto Sato <na...@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 This pull request has now been integrated. Changeset: dad6edbf Author: Naoto Sato <na...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/dad6edbf Stats: 52 lines in 2 files changed: 1 ins; 48 del; 3 mod 8253321: java.util.Locale.LanguageRange#equals is inconsistent after calling hashCode Reviewed-by: joehw, rriggs ------------- PR: https://git.openjdk.java.net/jdk/pull/260