commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Sauder (JIRA)" <>
Subject [jira] Created: (LANG-606) EqualsBuilder causes StackOverflowException
Date Sat, 13 Mar 2010 20:10:27 GMT
EqualsBuilder causes StackOverflowException

                 Key: LANG-606
             Project: Commons Lang
          Issue Type: Bug
          Components: lang.builder.*
    Affects Versions: 2.5
            Reporter: Oliver Sauder
            Priority: Minor

EqualsBuilder causes StackOverflowException when comparing objects with cyclical object references.

static class TestObjectReference {
		private TestObjectReference reference;
		private TestObject one;
    	public TestObjectReference(int one) { = new TestObject(one);
    	public void setObjectReference(
    			TestObjectReference reference) {
			this.reference = reference;

		public boolean equals(Object obj) {
			return EqualsBuilder.reflectionEquals(this, obj);

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message