Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 87053 invoked from network); 4 Feb 2011 19:22:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Feb 2011 19:22:55 -0000 Received: (qmail 43699 invoked by uid 500); 4 Feb 2011 19:22:55 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 43596 invoked by uid 500); 4 Feb 2011 19:22:54 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 43589 invoked by uid 99); 4 Feb 2011 19:22:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Feb 2011 19:22:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Feb 2011 19:22:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D442418F3E0 for ; Fri, 4 Feb 2011 19:22:30 +0000 (UTC) Date: Fri, 4 Feb 2011 19:22:30 +0000 (UTC) From: "Werner Punz (JIRA)" To: dev@myfaces.apache.org Message-ID: <1391490572.310.1296847350865.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1928332811.36.1296812547464.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (MYFACES-3024) MyFaces hangs when converting 2.2250738585072012e-308 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MYFACES-3024?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12= 990688#comment-12990688 ]=20 Werner Punz commented on MYFACES-3024: -------------------------------------- Actually there seems to be a certain digit pattern in every of those number= s, 2250738585072012, with a leading 2 as first non zero digit my personal g= uess is the workaround fix for this issue is to break this pattern one way or the other and split it i= nto 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=C3=9Fendorf > Priority: Critical > > I read > http://www.exploringbinary.com/java-hangs-when-converting-2-2250738585072= 012e-308/ > Nice! and it even works with JSF :-) > Looking at the MyFaces (double) converter, I see "Double.valueOf()"=20 > 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 conver= ter is keeping my JVM _really_ busy ! :) > Sweet! --=20 This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira