Commit aa9d0bc4 authored by Andy Wilkinson's avatar Andy Wilkinson

Merge pull request #26149 from vsriram92

* gh-26194:
  Polish "Use ConfigDataLocationResolvers' class loader to load resolver names"
  Use ConfigDataLocationResolvers' class loader to load resolver names

Closes gh-26149
parents d3ca939a 0c30a593
...@@ -53,8 +53,8 @@ class ConfigDataLocationResolvers { ...@@ -53,8 +53,8 @@ class ConfigDataLocationResolvers {
*/ */
ConfigDataLocationResolvers(DeferredLogFactory logFactory, ConfigurableBootstrapContext bootstrapContext, ConfigDataLocationResolvers(DeferredLogFactory logFactory, ConfigurableBootstrapContext bootstrapContext,
Binder binder, ResourceLoader resourceLoader) { Binder binder, ResourceLoader resourceLoader) {
this(logFactory, bootstrapContext, binder, resourceLoader, this(logFactory, bootstrapContext, binder, resourceLoader, SpringFactoriesLoader
SpringFactoriesLoader.loadFactoryNames(ConfigDataLocationResolver.class, null)); .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