You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Leo Li (JIRA)" <ji...@apache.org> on 2006/11/02 09:44:20 UTC

[jira] Updated: (HARMONY-2042) [classlib][luni]UUID.fromString unexpectedly throws IllegalArgumentException while the input string is not exactly 36 characters long.

     [ http://issues.apache.org/jira/browse/HARMONY-2042?page=all ]

Leo Li updated HARMONY-2042:
----------------------------

    Attachment: patch.diff

Will somebody try this?

> [classlib][luni]UUID.fromString unexpectedly throws IllegalArgumentException while the input string is not exactly 36 characters long.
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2042
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2042
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Leo Li
>         Attachments: patch.diff
>
>
> On Harmony, UUID.fromString unexpectedly throws IllegalArgumentException while the input string is not exactly 36 characters while RI does not.
> Here is the testcase:
>          public void testUUIDFromString() 
>         {
>         UUID uuid=UUID.fromString("12345-11f1-1f11-a222-08002bc003");        
>         }
> Test Result:
> RI passes
> Harmony fails

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira