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

Michael McCandless updated LUCENE-2568:
---------------------------------------

    Attachment: LUCENE-2568.patch

Attached patch, avoids the surrogates when computing random UTF32 int[] 
accepted by a UTF32 DFA.

> TestUTF32ToUTF8 fails on IBM's JRE
> ----------------------------------
>
>                 Key: LUCENE-2568
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2568
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>         Attachments: LUCENE-2568.patch
>
>
> This is because AutomatonTestUtil.RandomAcceptedString is returning an 
> invalid UTF32 int[] -- it has an unpaired surrogate, and IBM's JRE handles 
> this differently than Oracle's.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to