SpEL ConstructorReference
does not generate AST representation of arrays
#29665
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Given a SpEL expression such as
new String[3]
, an invocation oftoStringAST()
on the parsedSpelExpression
results innew String()
instead ofnew String[3]
.This is due to the fact that implementation of
toStringAST()
inConstructorReference
does not take arrays into consideration.The text was updated successfully, but these errors were encountered: