RFR: 8321637: Simplify if statement in ArraysSupport::hugeLength

John Jiang jjiang at openjdk.org
Mon Dec 18 15:01:38 UTC 2023


On Sat, 9 Dec 2023 23:19:52 GMT, John Jiang <jjiang at openjdk.org> wrote:

> It looks the `else-if` and `else` clauses in method `ArraysSupport::hugeLength` could be simplified by `Math::max`.

Could this simple PR be reviewed?

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

PR Comment: https://git.openjdk.org/jdk/pull/17043#issuecomment-1860729032


More information about the core-libs-dev mailing list