Skip to content

Commit

Permalink
Make PropertySourcesPlaceholderConfigurerTests pass on JDK 17
Browse files Browse the repository at this point in the history
This change is required in Eclipse IDE but not for the Gradle build.

See gh-27947
  • Loading branch information
sbrannen committed Jan 18, 2022
1 parent 4a51e4b commit d72cf89
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ public void setName(Optional<String> name) {
}
}

@Configuration
@Configuration(proxyBeanMethods = false)
static class IgnoreUnresolvablePlaceholdersFalseConfig {

@Value("${my.key}")
Expand All @@ -457,7 +457,7 @@ static PropertySourcesPlaceholderConfigurer pspc() {
}
}

@Configuration
@Configuration(proxyBeanMethods = false)
static class IgnoreUnresolvablePlaceholdersTrueConfig {

@Value("${my.key}")
Expand Down

0 comments on commit d72cf89

Please sign in to comment.