Integrated: 8310813: Simplify and modernize equals, hashCode, and compareTo for BigInteger
Pavel Rappo
prappo at openjdk.org
Thu Jan 11 21:52:35 UTC 2024
On Fri, 23 Jun 2023 17:27:00 GMT, Pavel Rappo <prappo at openjdk.org> wrote:
> Please review this PR to use modern APIs and language features to simplify equals, hashCode, and compareTo for BigInteger. If you have any performance concerns, please raise them.
>
> This PR is cherry-picked from a bigger, not-yet-published PR, to test the waters. That latter PR will be published soon.
This pull request has now been integrated.
Changeset: 49e61213
Author: Pavel Rappo <prappo at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/49e61213474b846fd081e890e5abfbbbb9b79e3c
Stats: 527 lines in 6 files changed: 500 ins; 16 del; 11 mod
8310813: Simplify and modernize equals, hashCode, and compareTo for BigInteger
Reviewed-by: rriggs, redestad, rgiulietti
-------------
PR: https://git.openjdk.org/jdk/pull/14630
More information about the core-libs-dev
mailing list