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 13:35:37 GMT

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

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

I get a FloatTest failure on linux/x86 after applying the fix:

Incorrect float returned, expected minimum float. expected:                     
<1.401298464324817E-45> but was:<0.0>

junit.framework.AssertionFailedError: Incorrect float returned, expected
minimum float. expected:<1.401298464324817E-45> but was:<0.0>
at
org.apache.harmony.luni.tests.java.lang.FloatTest.test_parseFloatLjava_lang_String
(FloatTest.java:294)
at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)


> [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
>            Assignee: Mark Hindess
>         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