RFR: 8203035: Implement equals() and hashCode() for Throwable
Alan Bateman
alanb at openjdk.org
Tue Jan 10 08:13:55 UTC 2023
On Sat, 10 Dec 2022 18:11:30 GMT, Victor Toni <duke at openjdk.org> wrote:
> Being able to compare instances of Throwable allows simple detection of exceptions raised by the same circumstances. Comparison allows for reduction of excessive logging e.g. in hotspots without requiring custom code to compare Throwables.
@ViToni I don't know if you have JBS access but can you read through the comments JDK-8203035 to see the concerns with this proposal?
-------------
PR: https://git.openjdk.org/jdk/pull/11624
More information about the core-libs-dev
mailing list