You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2008/11/05 16:59:44 UTC
[jira] Created: (LANG-468) JDK 1.5 build/runtime failure on
LANG-393 (EqualsBuilder)
JDK 1.5 build/runtime failure on LANG-393 (EqualsBuilder)
---------------------------------------------------------
Key: LANG-468
URL: https://issues.apache.org/jira/browse/LANG-468
Project: Commons Lang
Issue Type: Bug
Affects Versions: 2.4
Reporter: Henri Yandell
Fix For: 3.0
See LANG-393
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (LANG-468) JDK 1.5 build/runtime failure on
LANG-393 (EqualsBuilder)
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645568#action_12645568 ]
Henri Yandell commented on LANG-468:
------------------------------------
(From LANG-464)
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.
> JDK 1.5 build/runtime failure on LANG-393 (EqualsBuilder)
> ---------------------------------------------------------
>
> Key: LANG-468
> URL: https://issues.apache.org/jira/browse/LANG-468
> Project: Commons Lang
> Issue Type: Bug
> Affects Versions: 2.4
> Reporter: Henri Yandell
> Fix For: 3.0
>
>
> See LANG-393
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (LANG-468) JDK 1.5 build/runtime failure on LANG-393
(EqualsBuilder)
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell closed LANG-468.
------------------------------
Resolution: Fixed
svn ci -m "Updating the BigDecimal.compareTo(Object) to BigDecimal.compareTo(BigDecimal) to match JDK change - fixes LANG-468/LANG-464" src
Sending src/java/org/apache/commons/lang/builder/EqualsBuilder.java
Transmitting file data .
Committed revision 711969.
> JDK 1.5 build/runtime failure on LANG-393 (EqualsBuilder)
> ---------------------------------------------------------
>
> Key: LANG-468
> URL: https://issues.apache.org/jira/browse/LANG-468
> Project: Commons Lang
> Issue Type: Bug
> Affects Versions: 2.4
> Reporter: Henri Yandell
> Fix For: 3.0
>
>
> See LANG-393
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.