3.2.x

Related to spring jira issue SPR-7966(https://jira.springsource.org/browse/SPR-7966)

In circular 'depends-on' relation, BeanCreationException will occur
instead of StackOverflowError with this pull request.

example>
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bean3': Beans with name 'bean2' and 'bean3' are dependent in circular manner; consider removing 'depends-on' attribute from one of them.