Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.5
-
None
Description
EqualsBuilder causes StackOverflowException when comparing objects with cyclical object references.
e,g.
static class TestObjectReference {
@SuppressWarnings("unused")
private TestObjectReference reference;
@SuppressWarnings("unused")
private TestObject one;
public TestObjectReference(int one)
{ this.one = new TestObject(one); } public void setObjectReference(
TestObjectReference reference)
@Override
public boolean equals(Object obj)
}