Remove NoSuchMethodExceptions when calling ClassUtils.getMethodIfAvailable() [SPR-16320] #20867
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: declined
A suggestion or change that we don't feel we should currently apply
type: enhancement
A general enhancement
Phil Webb opened SPR-16320 and commented
Whilst profiling Spring Boot performance issues it became apparent that
NoSuchMethodException
is thrown and caught many times during startup (over 1000). One of the places this happens is inClassUtils.getMethodIfAvailable()
. This method could be changed so that the exception is never thrown.Affects: 5.0.2
Issue Links:
Referenced from: pull request #1628
The text was updated successfully, but these errors were encountered: