SpEL cannot evaluate or compile expression with null-safe void
method invocation
#27421
Labels
Milestone
void
method invocation
#27421
org.springframework.expression.spel.CodeFlow.toBoxedDescriptor()
throws "Unexpected non primitive descriptor V" while trying to create aMethodReference
for a method with avoid
return type.For an analogous scenario using
java.lang.Void
as the return type, no exception is thrown.I think while checking for primitives using method
CodeFlow.toDescriptor()
that"V"
is returned for avoid
return type, but the returned"V"
is not handled in theCodeFlow.toBoxedDesciptor()
method.The text was updated successfully, but these errors were encountered: