harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6641) [classlib][luni] FloatParser returns wrong value and uses 1GB memory and 100% cpu
Date Fri, 10 Sep 2010 12:56:32 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12908007#action_12908007
] 

Mark Hindess commented on HARMONY-6641:
---------------------------------------

No need to make the patch again but you have the assertEquals arguments the wrong way around
so you get confusing failure messages from the tests you added.


> [classlib][luni] FloatParser returns wrong value and uses 1GB memory and 100% cpu
> ---------------------------------------------------------------------------------
>
>                 Key: HARMONY-6641
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6641
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M14
>         Environment: all
>            Reporter: Shi Jun Zhang
>         Attachments: HARMONY-6641.diff
>
>
> Float.valueOf("320.0E+2147483647") will return 32.0 and Float.valueOf("-1.4E-2147483314")
will use 1GB memory, 100% cpu and hang. RI will return infinity and -0.0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message