harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Li (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2042) [classlib][luni]UUID.fromString unexpectedly throws IllegalArgumentException while the input string is not exactly 36 characters long.
Date Thu, 02 Nov 2006 08:44:18 GMT
[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

        

Mime
View raw message