[
https://issues.apache.org/jira/browse/SOLR-11344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16160145#comment-16160145
]
ASF subversion and git services commented on SOLR-11344:
--------------------------------------------------------
Commit a4fc14baed323c1e52dfe85a3eff5aa7c7b6c5ec in lucene-solr's branch
refs/heads/master from [~joel.bernstein]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=a4fc14b ]
SOLR-11344: Fix copyOfRange Stream Evaluator so the end index parameter can be
equal to the length array
> 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]