You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2010/07/26 23:23:18 UTC
[jira] Created: (LUCENE-2568) TestUTF32ToUTF8 fails on IBM's JRE
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
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Resolved: (LUCENE-2568) TestUTF32ToUTF8 fails on IBM's JRE
Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless resolved LUCENE-2568.
----------------------------------------
Fix Version/s: 4.0
Resolution: Fixed
> 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
> Fix For: 4.0
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Commented: (LUCENE-2568) TestUTF32ToUTF8 fails on IBM's JRE
Posted by "Shai Erera (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-2568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12892633#action_12892633 ]
Shai Erera commented on LUCENE-2568:
------------------------------------
The tests pass with that patch (I've also upped to the latest rev, which includes your other fix as well ...) ! Thanks for the fast fix !
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Updated: (LUCENE-2568) TestUTF32ToUTF8 fails on IBM's JRE
Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org