RFR: 8310813: Simplify and modernize equals, hashCode, and compareTo for BigInteger [v2]

Pavel Rappo prappo at openjdk.org
Wed Jul 19 22:26:41 UTC 2023


On Mon, 10 Jul 2023 18:29:36 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

> I suggest we introduce the required utility method (i.e. hashOfRange) in ArraysSupport first.

Introducing such a method might take a while. Let me push a commit that restores hash code
values, while still using modern utilities to calculate them (see this comment: https://github.com/openjdk/jdk/pull/14630#issuecomment-1621705028).

-------------

PR Comment: https://git.openjdk.org/jdk/pull/14630#issuecomment-1642842302


More information about the core-libs-dev mailing list