You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2024/06/16 08:59:00 UTC
[jira] [Created] (KAFKA-16970) `ScramCredentialValue`, `ScramCredentialData`, and `ContextualRecord` has incorrect hash implementation
Chia-Ping Tsai created KAFKA-16970:
--------------------------------------
Summary: `ScramCredentialValue`, `ScramCredentialData`, and `ContextualRecord` has incorrect hash implementation
Key: KAFKA-16970
URL: https://issues.apache.org/jira/browse/KAFKA-16970
Project: Kafka
Issue Type: Bug
Reporter: Chia-Ping Tsai
Assignee: Chia-Ping Tsai
All of them get hash code from "array" reference rather than the "content", and hence they don't follow the best practice - if `equals` return true, they ought to have the same hash code!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)