Browse Source

Make PropertySourcesPlaceholderConfigurerTests pass on JDK 17

This change is required in Eclipse IDE but not for the Gradle build.

See gh-27947
pull/27958/head
Sam Brannen 3 years ago
parent
commit
d72cf89ebf
  1. 4
      spring-context/src/test/java/org/springframework/context/support/PropertySourcesPlaceholderConfigurerTests.java

4
spring-context/src/test/java/org/springframework/context/support/PropertySourcesPlaceholderConfigurerTests.java

@ -445,7 +445,7 @@ public class PropertySourcesPlaceholderConfigurerTests { @@ -445,7 +445,7 @@ public class PropertySourcesPlaceholderConfigurerTests {
}
}
@Configuration
@Configuration(proxyBeanMethods = false)
static class IgnoreUnresolvablePlaceholdersFalseConfig {
@Value("${my.key}")
@ -457,7 +457,7 @@ public class PropertySourcesPlaceholderConfigurerTests { @@ -457,7 +457,7 @@ public class PropertySourcesPlaceholderConfigurerTests {
}
}
@Configuration
@Configuration(proxyBeanMethods = false)
static class IgnoreUnresolvablePlaceholdersTrueConfig {
@Value("${my.key}")

Loading…
Cancel
Save