Skip to content

Commit

Permalink
Fixes smallrye#322 by reverting internHashCode()
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Reinhart <[email protected]>
  • Loading branch information
reinhapa committed Aug 24, 2023
1 parent d04d79e commit 4699a96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,6 @@ boolean internEquals(Object o) {
@Override
int internHashCode() {
// must produce predictable hash code (for reproducibility) consistent with `internEquals`
return name.hashCode();
return System.identityHashCode(this);
}
}

0 comments on commit 4699a96

Please sign in to comment.