> Fixing the equals/hashCode contract in the SimpleTimeZone class. The current > implementation includes DST rule fields in hash code computation even for > zones that do not observe DST, while equals() always considers them. Also > correcting the example code in the class description, where it used > 20-year-old obsolete "America/Los_Angeles" rule.
Naoto Sato has updated the pull request incrementally with one additional commit since the last revision: Apply suggestion from @pavelrappo Co-authored-by: Pavel Rappo <[email protected]> ------------- Changes: - all: https://git.openjdk.org/jdk/pull/27660/files - new: https://git.openjdk.org/jdk/pull/27660/files/aafdf18b..e764e2a6 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=27660&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27660&range=02-03 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/27660.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/27660/head:pull/27660 PR: https://git.openjdk.org/jdk/pull/27660
