[ 
https://issues.apache.org/jira/browse/SOLR-11344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein resolved SOLR-11344.
-----------------------------------
    Resolution: Resolved

> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to