With #26126 we updated class to SpringFactoriesLoader.loadFactoryNames to include a classloader. Unfortunately as identified in #27043 we don't actually use the classloader when instantiating the instances.