Skip to content

Commit

Permalink
Use ConfigDataLocationResolvers' class loader to load resolver names
Browse files Browse the repository at this point in the history
  • Loading branch information
vsriram92 authored and wilkinsona committed Apr 19, 2021
1 parent d3ca939 commit 4268f8d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
}

/**
Expand Down

0 comments on commit 4268f8d

Please sign in to comment.