Validate method parameter index via Java 8 Method.getParameterCount() [SPR-13456] #18036
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
俞火江 opened SPR-13456 and commented
If the value for
parameterIndex
is too great when constructing aMethodParameter
, anArrayIndexOutOfBoundsException
will be thrown later when some method such asgetParameterType()
is called. So why not detect the error as early as possible?Affects: 4.2.1
Issue Links:
Referenced from: commits 39e3f2e
The text was updated successfully, but these errors were encountered: