Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 15299 invoked from network); 22 Sep 2006 02:14:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Sep 2006 02:14:04 -0000 Received: (qmail 29516 invoked by uid 500); 22 Sep 2006 02:14:04 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 29494 invoked by uid 500); 22 Sep 2006 02:14:04 -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 29483 invoked by uid 99); 22 Sep 2006 02:14:04 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Sep 2006 19:14:04 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:52654] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 61/45-06791-BE643154 for ; Thu, 21 Sep 2006 19:14:03 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E72B57142F5 for ; Fri, 22 Sep 2006 02:10:23 +0000 (GMT) Message-ID: <356952.1158891023944.JavaMail.jira@brutus> Date: Thu, 21 Sep 2006 19:10:23 -0700 (PDT) From: "Paulex Yang (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Commented: (HARMONY-747) java.lang.Doulbe.parseDouble(String) does not support Hex number In-Reply-To: <8088557.1152017310781.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-747?page=comments#action_12436712 ] Paulex Yang commented on HARMONY-747: ------------------------------------- Leo, the third patch applied at revision r448768, please verify, thanks a lot. And do you have some estimation on the following steps? for example, how much further work needed and how about your plan? > java.lang.Doulbe.parseDouble(String) does not support Hex number > ---------------------------------------------------------------- > > Key: HARMONY-747 > URL: http://issues.apache.org/jira/browse/HARMONY-747 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Richard Liang > Assigned To: Paulex Yang > Attachments: lunipatch.txt, patch.diff, patch_III.diff, patch_partII.diff > > > Hello, > When implementing java.util.Scanner, I find that java.lang.Doulbe.parseDouble(String) does not support Hex number. Could anyone have a look at this issue? Thanks a lot. > The following test passes on RI, but fails on Harmony. > public void test_ParseDouble() { > String hexString = Double.toHexString(123); > assertEquals("0x1.ecp6", hexString); > > double d = Double.parseDouble(hexString); > assertEquals(123.0, d); > } > Best regards, > Richard -- 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