RFR: 8229186: Improve error messages for TestStringIntrinsics failures [v9]

Evgeny Nikitin enikitin at openjdk.java.net
Fri Oct 9 08:00:54 UTC 2020


On Thu, 8 Oct 2020 20:45:50 GMT, Igor Ignatyev <iignatyev at openjdk.org> wrote:

>> Evgeny Nikitin has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add null values support and two-way testing
>
> test/lib/jdk/test/lib/format/ArrayCodec.java line 325:
> 
>> 323:         }
>> 324:
>> 325:         return 0;
> 
> shouldn't it be -1?

An interesting notice, actually. It should be either `-1` or `result` depending on whether arrays are equal, or one
array is a prefix of another. Fixed in the 174148ab41e1c03d46dbde8862865dbaf3138843.

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

PR: https://git.openjdk.java.net/jdk/pull/112


More information about the core-libs-dev mailing list