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] Created: (HARMONY-6261) [classlib][luni] Float parse causes OutOfMemoryException
Date Tue, 07 Jul 2009 16:42:14 GMT
[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

The following code causes an out of memory exception on Harmony:

  new Float("2147483648")

	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.

View raw message