mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 08:24:13 +00:00
Merge branch '7.0.x'
This commit is contained in:
+4
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user