<i18n dev> RFR: 8253321: java.util.Locale.LanguageRange#equals is inconsistent after calling hashCode [v2]
Naoto Sato
naoto at openjdk.java.net
Sat Sep 19 01:36:38 UTC 2020
> 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
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/260/files
- new: https://git.openjdk.java.net/jdk/pull/260/files/cb594a5e..0bbf58da
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=260&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=260&range=00-01
Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/260.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/260/head:pull/260
PR: https://git.openjdk.java.net/jdk/pull/260
More information about the i18n-dev
mailing list