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

Michael McCandless commented on LUCENE-3327:
--------------------------------------------

Ahhh that's what makes the invalid UTF8.  OK.  Can we just change that one 
place (that cuts a potentially invalid UTF8 prefix) to just use 
BytesRef.toString?

> TestFSTs.testRandomWords throws AIOBE when "verbose"=true
> ---------------------------------------------------------
>
>                 Key: LUCENE-3327
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3327
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: core/FSTs
>    Affects Versions: 4.0
>            Reporter: James Dyer
>            Priority: Trivial
>         Attachments: LUCENE-3327.patch
>
>
> Seems like invalid utf-8 sometimes gets passed to Bytesref.utf8ToString() in 
> the verbose "println"s.

--
This message is automatically generated by JIRA.
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