myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Punz (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-3024) MyFaces hangs when converting 2.2250738585072012e-308
Date Fri, 04 Feb 2011 10:17:28 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-3024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990501#comment-12990501
] 

Werner Punz commented on MYFACES-3024:
--------------------------------------

If it was the only bad boy we easily can work around that jvm bug, if not, oh well... 

For the time being I would recommend to splice that bad boy into two smaller numbers and then
sum them up on the float side.


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

       

Mime
View raw message