RFR: 8335637: Add explicit well-behaved expectations to Object.{toString, hashCode} [v2]

Pavel Rappo prappo at openjdk.org
Mon Jul 8 19:15:35 UTC 2024


On Mon, 8 Jul 2024 19:01:04 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> One tricky part of the implementation was making sure the stack trace output did cycle detection since there were various ways exceptions could end up referring to each other.

Yes, the tricky part was to "Guard against malicious overrides of Throwable.equals".

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20063#discussion_r1669152196


More information about the core-libs-dev mailing list