Closed
Description
The TypeDescriptor
for the varargs component type can currently be null
in SpEL's ReflectionHelper.convertAllMethodHandleArguments(...)
method; however, that should not be possible.
Whereas, in compareArgumentsVarargs(...)
and convertArguments(...)
the varargs component type can never be null
.
My assumption is that we are using an incorrect combination of Class
, ResolvableType
, and TypeDescriptor
in
convertAllMethodHandleArguments(...)
.
I discovered this while working on related SpEL issues and added the following TODO which this issue aims to address.