[
https://issues.apache.org/jira/browse/MYFACES-3024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990688#comment-12990688
]
Werner Punz commented on MYFACES-3024:
--------------------------------------
Actually there seems to be a certain digit pattern in every of those numbers,
2250738585072012, with a leading 2 as first non zero digit my personal guess is
the workaround fix
for this issue is to break this pattern one way or the other and split it into
two separate values which then should be readded on native double level.
> 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
> Priority: Critical
>
> 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