...
Violating the general contract when implementing the compareTo()
method can lead to unexpected results, possibly leading to invalid comparisons and information disclosure.
Rule | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
MET30-J | low medium | unlikely | medium | P2 | L3 |
Automated Detection
TODO
Related Vulnerabilities
References
Java API