Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-265

[patch] Cannot build tests from latest SVN

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 2.2
    • None
    • None

    Description

      Invoking ant test results in error message:

      ===
      [javac] /Users/yozh/devel/left/commons-lang/src/test/org/apache/commons/lang/builder/EqualsBuilderTest.java:969: reference to reflectionEquals is ambiguous, both method reflectionEquals(java.lang.Object,java.lang.Object,java.util.Collection) in org.apache.commons.lang.builder.EqualsBuilder and method reflectionEquals(java.lang.Object,java.lang.Object,java.lang.String[]) in org.apache.commons.lang.builder.EqualsBuilder match
      [javac] assertTrue(!EqualsBuilder.reflectionEquals(x1, x2, null));
      [javac] ^
      [javac] /Users/yozh/devel/left/commons-lang/src/test/org/apache/commons/lang/builder/HashCodeBuilderTest.java:445: reference to reflectionHashCode is ambiguous, both method reflectionHashCode(java.lang.Object,java.util.Collection) in org.apache.commons.lang.builder.HashCodeBuilder and method reflectionHashCode(java.lang.Object,java.lang.String[]) in org.apache.commons.lang.builder.HashCodeBuilder match
      [javac] assertEquals((((17 * 37 + 1) * 37 + 2) * 37 + 3), HashCodeBuilder.reflectionHashCode(x, null));
      ===

      Attachments

        Activity

          People

            Unassigned Unassigned
            yozh Stepan Koltsov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: