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

Pavel Rappo prappo at openjdk.org
Thu Jan 11 10:34:45 UTC 2024


> 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.

Pavel Rappo has updated the pull request incrementally with one additional commit since the last revision:

  Revert copyright year change
  
  Those files were first published in 2023 and haven't been changed since.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14630/files
  - new: https://git.openjdk.org/jdk/pull/14630/files/08e6adca..31e9eefd

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14630&range=11
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14630&range=10-11

  Stats: 5 lines in 5 files changed: 0 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/14630.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14630/head:pull/14630

PR: https://git.openjdk.org/jdk/pull/14630


More information about the core-libs-dev mailing list