You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2009/07/07 20:44:14 UTC

[jira] Closed: (HARMONY-6261) [classlib][luni] Float parse causes OutOfMemoryException

     [ https://issues.apache.org/jira/browse/HARMONY-6261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison closed HARMONY-6261.
--------------------------------


> [classlib][luni] Float parse causes OutOfMemoryException
> --------------------------------------------------------
>
>                 Key: HARMONY-6261
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6261
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M4
>            Reporter: Tim Ellison
>            Assignee: Tim Ellison
>             Fix For: 5.0M11
>
>
> The following code causes an out of memory exception on Harmony:
>   new Float("2147483648")
> java.lang.OutOfMemoryError: 
> 	at org.apache.harmony.luni.util.FloatingPointParser.parseFltImpl(FloatingPointParser.java)
> 	at org.apache.harmony.luni.util.FloatingPointParser.parseFloat(FloatingPointParser.java:310)
> 	at java.lang.Float.parseFloat(Float.java:341)
> 	at java.lang.Float.<init>(Float.java:129)
> 	at FloatTest.main(FloatTest.java:5)
> but passes on the RI.

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