mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Use ConfigDataLocationResolvers' class loader to load resolver names
See gh-26149
This commit is contained in:
parent
d3ca939aa8
commit
4268f8da84
@ -54,7 +54,8 @@ class ConfigDataLocationResolvers {
|
||||
ConfigDataLocationResolvers(DeferredLogFactory logFactory, ConfigurableBootstrapContext bootstrapContext,
|
||||
Binder binder, ResourceLoader resourceLoader) {
|
||||
this(logFactory, bootstrapContext, binder, resourceLoader,
|
||||
SpringFactoriesLoader.loadFactoryNames(ConfigDataLocationResolver.class, null));
|
||||
SpringFactoriesLoader.loadFactoryNames(ConfigDataLocationResolver.class,
|
||||
ConfigDataLocationResolver.class.getClassLoader()));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user