Hi Paul,

wouldn't it be better to use Objects#equals(Object, Object) in the
line 3293 in the Arrays class instead of the ternary operator (the
same applies to the line 3238)?

Best regards,
Andrej Golovnin

On Mon, Oct 12, 2015 at 9:31 AM, Paul Sandoz <paul.san...@oracle.com> wrote:
>
>> On 22 Sep 2015, at 18:30, Paul Sandoz <paul.san...@oracle.com> wrote:
>>
>> Hi,
>>
>> Please review the following which adds methods to Arrays for performing 
>> equality, comparison and mismatch:
>>
>>  https://bugs.openjdk.java.net/browse/JDK-8033148
>>  
>> http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8033148-Arrays-lexico-compare/webrev/
>>  
>> http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8033148-Arrays-lexico-compare/specdiff/overview-summary.html
>>
>
> Updated the above with JavaDoc for all methods.
>
> Paul.

Reply via email to