[
https://issues.apache.org/jira/browse/SOLR-11344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16349082#comment-16349082
]
Cassandra Targett commented on SOLR-11344:
------------------------------------------
[~joel.bernstein], Maybe this one could also be resolved, or is there more to
fix?
> 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
> Priority: Major
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]