Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 43112 invoked from network); 1 Oct 2008 20:56:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Oct 2008 20:56:36 -0000 Received: (qmail 53179 invoked by uid 500); 1 Oct 2008 20:56:33 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 53119 invoked by uid 500); 1 Oct 2008 20:56:33 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 53108 invoked by uid 99); 1 Oct 2008 20:56:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 13:56:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 20:55:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3F50A234C1FB for ; Wed, 1 Oct 2008 13:55:44 -0700 (PDT) Message-ID: <1870408711.1222894544258.JavaMail.jira@brutus> Date: Wed, 1 Oct 2008 13:55:44 -0700 (PDT) From: "Tim Halloran (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (LANG-464) EqualsBuilder doesn't compile in 2.4 source code release MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org EqualsBuilder doesn't compile in 2.4 source code release -------------------------------------------------------- Key: LANG-464 URL: https://issues.apache.org/jira/browse/LANG-464 Project: Commons Lang Issue Type: Bug Affects Versions: 2.4 Environment: Windows Vista in Eclipse Reporter: Tim Halloran Line 381 of org.apache.commons.lang.EqualsBuilder fails to compile because the compareTo call requires a BigDecimal rather than an object. 376 public EqualsBuilder append(Object lhs, Object rhs) { ... 379 if (!lhsClass.isArray()) { 380 if (lhs instanceof java.math.BigDecimal) { 381 isEquals = (((java.math.BigDecimal)lhs).compareTo(rhs) == 0); 382 } else { I'm using Sun's JDK 1.6.0_07 in Eclipse, not sure if this is a JDK version issue or not. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.