You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mark Struberg (JIRA)" <de...@myfaces.apache.org> on 2011/02/05 21:06:30 UTC

[jira] Resolved: (MYFACES-3024) MyFaces hangs when converting 2.2250738585072012e-308

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

Mark Struberg resolved MYFACES-3024.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.4-SNAPSHOT
         Assignee: Mark Struberg

fixed in DoubleConverter.java. Please review and if needed also add further tests to DoubleConverterTest.java!

> MyFaces hangs when converting 2.2250738585072012e-308
> -----------------------------------------------------
>
>                 Key: MYFACES-3024
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3024
>             Project: MyFaces Core
>          Issue Type: Bug
>            Reporter: Matthias Weßendorf
>            Assignee: Mark Struberg
>            Priority: Critical
>             Fix For: 2.0.4-SNAPSHOT
>
>
> I read
> http://www.exploringbinary.com/java-hangs-when-converting-2-2250738585072012e-308/
> Nice! and it even works with JSF :-)
> Looking at the MyFaces (double) converter, I see "Double.valueOf()" 
> Now, I did a quick check, with Trinidad (disabled client-side validation) and MyFaces (since Trinidad calls super.getAsObject()).
> Entering "2.2250738585072012e-308" into a field, that has a double converter is keeping my JVM _really_ busy ! :)
> Sweet!

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira