From bbf708676511f11a351778b9f90e806c8c0d1d0b Mon Sep 17 00:00:00 2001 From: Mahmoud Ben Hassine Date: Wed, 24 Aug 2022 17:50:07 +0200 Subject: [PATCH] Revert "Fix StepScopeProxyTargetClassOverrideIntegrationTests" This reverts commit bf2e6ab0e5e8d5032f73acf30ed507737c8273ac as the change was made after spring-framework 6.0.0-M5 was released. This version is required to release spring-batch 5.0.0-M5 This change will be put back after releasing 5.0.0-M5. --- .../StepScopeProxyTargetClassOverrideIntegrationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")