[ 
https://issues.apache.org/jira/browse/LUCENE-4714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13561303#comment-13561303
 ] 

Robert Muir commented on LUCENE-4714:
-------------------------------------

And the greatest part is FST (or at least its test) relies upon the broken 
behavior...
ant test  -Dtestcase=TestFSTs -Dtests.method=testBasicFSA 
-Dtests.seed=5251A943486E241C -Dtests.slow=true -Dtests.locale=lt_LT 
-Dtests.timezone=America/Eirunepe -Dtests.file.encoding=UTF-8
                
> more *Ref bugs in copyXXXX (maybe appendXXXX tooo)
> --------------------------------------------------
>
>                 Key: LUCENE-4714
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4714
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-4714.patch, LUCENE-4714.patch
>
>
> {code}
>    public void copyBytes(BytesRef other) {
> -    if (bytes.length - offset < other.length) {
> +    if (length < other.length) {
> {code}
> I'll work up tests for all these classes

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to