[
https://issues.apache.org/jira/browse/SOLR-11344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joel Bernstein updated SOLR-11344:
----------------------------------
Attachment: SOLR-11344.patch
> 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
> Attachments: SOLR-11344.patch
>
>
> 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]