harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-6261) [classlib][luni] Float parse causes OutOfMemoryException
Date Tue, 07 Jul 2009 18:44:14 GMT

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

Tim Ellison resolved HARMONY-6261.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0M11

Fixed in LUNI module at repo revision r791933.

Removed a bogus optimization.


> [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.


Mime
View raw message