On Thu, 16 Jul 2026 04:23:00 GMT, Chen Liang <[email protected]> wrote:

>> Kuai Wei has updated the pull request incrementally with two additional 
>> commits since the last revision:
>> 
>>  - Fix indent
>>  - Recovery comments
>
> src/java.base/share/classes/jdk/internal/util/ArraysSupport.java line 115:
> 
>> 113:      * in the two arrays.  Otherwise, if a mismatch is not found the 
>> bitwise
>> 114:      * compliment of the number of remaining pairs of elements to be 
>> checked in
>> 115:      * the tail of the two arrays.
> 
> Suggestion:
> 
>     * in the two arrays.  Otherwise, no mismatch is found over the range,
>     * this method returns -1.

In discussion with ivanowww, we agress the spec of this api will not be 
changed, only implementation is changed for consistent. For other call sites of 
this api, they will follow api spec to check remaining elements.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31802#discussion_r3592843925

Reply via email to