SpringSource/spring-framework — pull request #270 by letters4u (2013-04-08 03:51:36+00:00)
Title: 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.