Skip to content

StandardAnnotationMetadata does not use declared methods cache #22907

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
philwebb opened this issue May 6, 2019 · 0 comments
Closed

StandardAnnotationMetadata does not use declared methods cache #22907

philwebb opened this issue May 6, 2019 · 0 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement

Comments

@philwebb
Copy link
Member

philwebb commented May 6, 2019

StandardAnnotationMetadata currently directly calls getDeclaredMethods. It could use the ReflectionUtils method instead to take advantage of the cache.

@philwebb philwebb added the type: enhancement A general enhancement label May 6, 2019
@philwebb philwebb self-assigned this May 6, 2019
@philwebb philwebb added the in: core Issues in core modules (aop, beans, core, context, expression) label May 6, 2019
philwebb added a commit to philwebb/spring-framework that referenced this issue May 6, 2019
Update `StandardAnnotationMetadata` to use `ReflectionUtils` when
obtaining declared methods. This update is primarily so that the common
method cache can be used.

Closes spring-projectsgh-22907
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) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant