On Mon, 6 Oct 2025 21:36:44 GMT, Naoto Sato <[email protected]> wrote:
> 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. This pull request has now been integrated. Changeset: 37b725d9 Author: Naoto Sato <[email protected]> URL: https://git.openjdk.org/jdk/commit/37b725d9c12834358a562e6c03fb7f566d639ca5 Stats: 102 lines in 2 files changed: 94 ins; 0 del; 8 mod 8369184: SimpleTimeZone equals() Returns True for Unequal Instances with Different hashCode Values Reviewed-by: prappo, jlu, rriggs, iris ------------- PR: https://git.openjdk.org/jdk/pull/27660
