Skip to content

Remove NoSuchMethodExceptions when calling ClassUtils.getMethodIfAvailable() [SPR-16320] #20867

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Dec 22, 2017 · 1 comment
Assignees
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

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Dec 22, 2017

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 in ClassUtils.getMethodIfAvailable(). This method could be changed so that the exception is never thrown.


Affects: 5.0.2

Issue Links:

Referenced from: pull request #1628

@spring-projects-issues
Copy link
Collaborator Author

Phil Webb commented

#1628

@spring-projects-issues spring-projects-issues added status: declined A suggestion or change that we don't feel we should currently apply type: enhancement A general enhancement in: core Issues in core modules (aop, beans, core, context, expression) labels Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants