RFR: 8321637: Simplify if statement in ArraysSupport::hugeLength
John Jiang
jjiang at openjdk.org
Sun Dec 10 14:15:14 UTC 2023
On Sun, 10 Dec 2023 03:57:00 GMT, Jie Fu <jiefu at openjdk.org> wrote:
>> It looks the `else-if` and `else` clauses in method `ArraysSupport::hugeLength` could be simplified by `Math::max`.
>
> The JBS should be an enhancement, not a bug, right?
@DamonFool
> The JBS should be an enhancement, not a bug, right?
Yes, it should be an enhancement rather than a bug.
Thanks @AlanBateman for changing this JBS type.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17043#issuecomment-1848976812
More information about the core-libs-dev
mailing list