Merge branch '7.0.x'

This commit is contained in:
Sam Brannen
2026-08-22 12:09:56 +02:00
11 changed files with 666 additions and 151 deletions
@@ -118,8 +118,10 @@ public class StandardBeanExpressionResolver implements BeanExpressionResolver {
* @param beanClassLoader the factory's bean class loader
*/
public StandardBeanExpressionResolver(@Nullable ClassLoader beanClassLoader) {
SpelParserConfiguration parserConfig = new SpelParserConfiguration(
null, beanClassLoader, false, false, Integer.MAX_VALUE, retrieveMaxExpressionLength());
SpelParserConfiguration parserConfig = SpelParserConfiguration.builder()
.compilerClassLoader(beanClassLoader)
.maximumExpressionLength(retrieveMaxExpressionLength())
.build();
this.expressionParser = new SpelExpressionParser(parserConfig);
}