Skip to content

Commit 4b8ce04

Browse files
committed
Mark Spring web config classes as proxyBeanMethods=false
Closes gh-23004
1 parent 83078eb commit 4b8ce04

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-webflux/src/main/java/org/springframework/web/reactive/config/DelegatingWebFluxConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* @author Brian Clozel
3838
* @since 5.0
3939
*/
40-
@Configuration
40+
@Configuration(proxyBeanMethods = false)
4141
public class DelegatingWebFluxConfiguration extends WebFluxConfigurationSupport {
4242

4343
private final WebFluxConfigurerComposite configurers = new WebFluxConfigurerComposite();

spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* @author Rossen Stoyanchev
4040
* @since 3.1
4141
*/
42-
@Configuration
42+
@Configuration(proxyBeanMethods = false)
4343
public class DelegatingWebMvcConfiguration extends WebMvcConfigurationSupport {
4444

4545
private final WebMvcConfigurerComposite configurers = new WebMvcConfigurerComposite();

0 commit comments

Comments
 (0)