[ http://issues.apache.org/jira/browse/LANG-265?page=all ]
Stepan Koltsov updated LANG-265: -------------------------------- Attachment: commons-lang-ambiguous-reference-stepancheg.diff The patch. > [patch] Cannot build tests from latest SVN > ------------------------------------------ > > Key: LANG-265 > URL: http://issues.apache.org/jira/browse/LANG-265 > Project: Commons Lang > Type: Bug > Reporter: Stepan Koltsov > Priority: Trivial > Attachments: commons-lang-ambiguous-reference-stepancheg.diff > > 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)); > === -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]