Use bean class loader when importing auto-configuration
Fixes gh-26234
This commit is contained in:
@@ -94,7 +94,7 @@ class ImportAutoConfigurationImportSelector extends AutoConfigurationImportSelec
|
||||
}
|
||||
|
||||
protected Collection<String> loadFactoryNames(Class<?> source) {
|
||||
return SpringFactoriesLoader.loadFactoryNames(source, getClass().getClassLoader());
|
||||
return SpringFactoriesLoader.loadFactoryNames(source, getBeanClassLoader());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user