Commit 4268f8da authored by Sriram's avatar Sriram Committed by Andy Wilkinson

Use ConfigDataLocationResolvers' class loader to load resolver names

See gh-26149
parent d3ca939a
......@@ -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()));
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment