You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Framework's SpringFactoriesLoader uses ClassUtils.getDefaultClassLoader() as its default class loader. ImportCandidates uses ImportCandidates.class.getClassLoader(). For consistency, it should use the same default as SpringFactoriesLoader.
The text was updated successfully, but these errors were encountered:
I was mistaken. While the ClassLoader is @Nullable and when it is nullSpringFactoriesLoader will use ClassUtils.getDefaultClassLoader(), all of the static methods that can create an instance will never pass in null. Instead, they use SpringFactoriesLoader.class.getClassLoader() as the default. This change has been reverted in 21a5319.
Framework's
SpringFactoriesLoader
usesClassUtils.getDefaultClassLoader()
as its default class loader.ImportCandidates
usesImportCandidates.class.getClassLoader()
. For consistency, it should use the same default asSpringFactoriesLoader
.The text was updated successfully, but these errors were encountered: