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:18 UTC

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

[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

        

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

Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2042?page=all ]

Paulex Yang resolved HARMONY-2042.
----------------------------------

    Resolution: Fixed

Leo, patch applied at revision r470358 with minor changes(compiler warning, unnecessary console output, etc), thanks a lot for this enhancement, please verify that the problem is fully fixed as you expected.


> [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
>         Assigned To: Paulex Yang
>         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

        

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

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
     [ 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

        

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

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2042?page=comments#action_12446835 ] 
            
Leo Li commented on HARMONY-2042:
---------------------------------

Fixed. Thank you.

> [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
>         Assigned To: Paulex Yang
>         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

        

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

Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2042?page=all ]

Paulex Yang reassigned HARMONY-2042:
------------------------------------

    Assignee: Paulex Yang

> [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
>         Assigned To: Paulex Yang
>         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