8262927: Explicitly state fields examined for BigDecimal.hashCode #2817
The class BigDecimal can be and sometimes is subclassed. The spec of BigDecimal.hashCode is improved slightly by explicitly stating it is a function of the unscaled value and the scale of the BigDecimal, the same fields examined by equals.
It is a conscious choice to not explicitly state what the exact hash function is.
As the behavior of hashCode is mostly implied from equals, I don't think a CSR is necessary in this case.
The text was updated successfully, but these errors were encountered:
@jddarcy This change now passes all automated pre-integration checks.
After integration, the commit message for the final commit will be:
At the time when this comment was updated there had been 3 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the
@jddarcy Since your change was applied there have been 3 commits pushed to the
Your commit was automatically rebased without conflicts.
Pushed as commit 2848938.