On Mon, 26 Aug 2024 23:37:15 GMT, Coleen Phillimore <cole...@openjdk.org> wrote:

>> Why "> 0" ?
>
> Because length is an in which could be negative but you're passing it to 
> size_t.  -Wsign-conversion might complain because you're changing signs.  I 
> guess you know from context that it's a positive number, so ok.

Right - array lengths must be >= 0

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20560#discussion_r1731990488

Reply via email to