Joel Bernstein created SOLR-11344:
-------------------------------------
Summary: Fix copyOfRange Stream Evaluator so the end index
parameter can be equal to the length array
Key: SOLR-11344
URL: https://issues.apache.org/jira/browse/SOLR-11344
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Reporter: Joel Bernstein
This was broken during the refactoring of the Stream Evaluators. The issue is
that bounds checking was added which requires the end index to be less than the
size of the array being copied. But since the copy is exclusive of the end
index it needs to be the size of the array being copied or the last value in
the array won't be copied.
A test case will be added to cover this scenario.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]