Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 79028 invoked from network); 2 Nov 2006 08:44:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Nov 2006 08:44:41 -0000 Received: (qmail 37399 invoked by uid 500); 2 Nov 2006 08:44:51 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 37349 invoked by uid 500); 2 Nov 2006 08:44:51 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 37324 invoked by uid 99); 2 Nov 2006 08:44:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 00:44:51 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 00:44:39 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D5C827142F3 for ; Thu, 2 Nov 2006 00:44:18 -0800 (PST) Message-ID: <21897833.1162457058873.JavaMail.root@brutus> Date: Thu, 2 Nov 2006 00:44:18 -0800 (PST) From: "Leo Li (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Created: (HARMONY-2042) [classlib][luni]UUID.fromString unexpectedly throws IllegalArgumentException while the input string is not exactly 36 characters long. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [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