That's a cracking find.
It might have potential for serious mischief making: if an application could
find some way of triggering the acore process to parse that float (via a
notification perhaps, or a remote view?) that might be very uncomfortable
for the user.

Tom.

2009/10/8 Felipe (Noa Technologies) <[email protected]>

>
> Hello all,
>
> When executing the following statement:
>
> Float.parseFloat("2358.166016")
>
> It generates an out of memory exception. It only happens when parsing
> that  number in quotes. The workaround is to use Double.parseDouble().
>
> I've only tested this in Android 1.5. Don't know if it exists in 1.6
>
> Took me too many hours to figure this one out. I've already reported
> this as a bug: ID 4185
>
> The link to the issues is:
>
>
> http://code.google.com/p/android/issues/detail?id=4185&sort=-id&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars
>
>
>
>
> >
>


-- 
Tom Gibara
email: [email protected]
web: http://www.tomgibara.com
blog: http://blog.tomgibara.com
twitter: tomgibara

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to