Merge branch '3.4.x'

Closes gh-44451
This commit is contained in:
Andy Wilkinson 2025-02-26 15:42:58 +00:00
commit 4ffb29a924
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ public class StandardConfigDataLocationResolver
ResourceLoader resourceLoader) {
this.logger = logFactory.getLog(StandardConfigDataLocationResolver.class);
this.propertySourceLoaders = SpringFactoriesLoader.loadFactories(PropertySourceLoader.class,
getClass().getClassLoader());
resourceLoader.getClassLoader());
this.configNames = getConfigNames(binder);
this.resourceLoader = new LocationResourceLoader(resourceLoader);
}