Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 3108 invoked from network); 19 Dec 2006 17:46:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Dec 2006 17:46:00 -0000 Received: (qmail 22594 invoked by uid 500); 19 Dec 2006 17:46:01 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 22538 invoked by uid 500); 19 Dec 2006 17:46:00 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 22527 invoked by uid 99); 19 Dec 2006 17:46:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Dec 2006 09:46:00 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of canabrav@gmail.com designates 66.249.92.175 as permitted sender) Received: from [66.249.92.175] (HELO ug-out-1314.google.com) (66.249.92.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Dec 2006 09:45:50 -0800 Received: by ug-out-1314.google.com with SMTP id 32so1630571ugm for ; Tue, 19 Dec 2006 09:45:28 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=mbfsjtKcXmhFKb0zMJ8vYd+A7LJNC836EM4tLq99YvnWd+RWpgnWX2G1hNqQDJg3AT5h7zkRm1YYZMaiHmH7RGwHJjpfMhPJHs1n6Nymqqoz2280q5WT9kXI+/x+cX2Re5NQ2yLmE3l2IrgEu3zyAnmWc8zuP0ONqckqdzEmmds= Received: by 10.82.118.2 with SMTP id q2mr1216578buc.1166550328344; Tue, 19 Dec 2006 09:45:28 -0800 (PST) Received: by 10.82.140.3 with HTTP; Tue, 19 Dec 2006 09:45:28 -0800 (PST) Message-ID: <7fc8f9070612190945te1fd5eby8faa1d1299460466@mail.gmail.com> Date: Tue, 19 Dec 2006 15:45:28 -0200 From: "Rodrigo Canabrava" To: commons-user@jakarta.apache.org Subject: BigDecimalLocaleConverter is not working as expected MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9045_10201955.1166550328321" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_9045_10201955.1166550328321 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline The class org.apache.commons.beanutils.locale.converters.BigDecimalLocaleConverter is not converting to BigDecimal, but instead, it converts to Long or Double. It seems the problem is that the class distributed (in releases 1.7.0 and 1.6.1) do not correspond to the code found at http://jakarta.apache.org/commons/beanutils/xref/org/apache/commons/beanutils/locale/converters/BigDecimalLocaleConverter.html In the class distributed in the jars, the method parse(Object, String) is not overriden. Should that be reported as a bug? Didn't anyone else ever noticed this? a+ Rodrigo ------=_Part_9045_10201955.1166550328321--