Skip to content

Commit 4ffb29a

Browse files
committed
Merge branch '3.4.x'
Closes gh-44451
2 parents 65dbff1 + 0e066ac commit 4ffb29a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/StandardConfigDataLocationResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public StandardConfigDataLocationResolver(DeferredLogFactory logFactory, Binder
8787
ResourceLoader resourceLoader) {
8888
this.logger = logFactory.getLog(StandardConfigDataLocationResolver.class);
8989
this.propertySourceLoaders = SpringFactoriesLoader.loadFactories(PropertySourceLoader.class,
90-
getClass().getClassLoader());
90+
resourceLoader.getClassLoader());
9191
this.configNames = getConfigNames(binder);
9292
this.resourceLoader = new LocationResourceLoader(resourceLoader);
9393
}

0 commit comments

Comments
 (0)