diff --git a/spring-batch-core/src/test/java/org/springframework/batch/core/scope/StepScopeProxyTargetClassOverrideIntegrationTests.java b/spring-batch-core/src/test/java/org/springframework/batch/core/scope/StepScopeProxyTargetClassOverrideIntegrationTests.java index 6fb2d04eb..e624f67cc 100644 --- a/spring-batch-core/src/test/java/org/springframework/batch/core/scope/StepScopeProxyTargetClassOverrideIntegrationTests.java +++ b/spring-batch-core/src/test/java/org/springframework/batch/core/scope/StepScopeProxyTargetClassOverrideIntegrationTests.java @@ -41,7 +41,7 @@ public class StepScopeProxyTargetClassOverrideIntegrationTests implements BeanFa private static final String JDK_PROXY_TO_STRING_REGEX = "class .*\\$Proxy\\d+"; - private static final String CGLIB_PROXY_TO_STRING_REGEX = "class .*\\$SpringCGLIB.*"; + private static final String CGLIB_PROXY_TO_STRING_REGEX = "class .*\\$EnhancerBySpringCGLIB.*"; @Autowired @Qualifier("simple")