Skip to content

SpringBootMockResolver causes AopTestUtils.getUltimateTargetObject to recurse until the stack overflows when it calls it with Spring Security's authentication manager bean #32632

Closed
@sbrannen

Description

@sbrannen

As mentioned in spring-projects/spring-framework#29215 (comment), please consider introducing a custom, defensive variant of AopTestUtils.getUltimateTargetObject() in SpringBootMockResolver to avoid attempting to unwrap proxies backed by a non-static TargetSource.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions