Skip to content
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

Introduce AnnotationUtils.isSynthesizedAnnotation(Annotation) #29054

Closed
sbrannen opened this issue Sep 1, 2022 · 0 comments
Closed

Introduce AnnotationUtils.isSynthesizedAnnotation(Annotation) #29054

sbrannen opened this issue Sep 1, 2022 · 0 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Milestone

Comments

@sbrannen
Copy link
Member

sbrannen commented Sep 1, 2022

Overview

Since SynthesizedAnnotation will be deprecated (and potentially completely removed) in Spring Framework 6.0, we should introduce AnnotationUtils.isSynthesizedAnnotation(Annotation) in 5.3.x to allow people to migrate away from relying on SynthesizedAnnotation.

Related Issues

@sbrannen sbrannen added in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement labels Sep 1, 2022
@sbrannen sbrannen added this to the 5.3.23 milestone Sep 1, 2022
@sbrannen sbrannen self-assigned this Sep 1, 2022
sbrannen added a commit to sbrannen/spring-framework that referenced this issue Sep 2, 2022
Since Spring no longer adds the SynthesizedAnnotation interface to the
JDK dynamic proxy used to synthesize an annotation, this commit
officially deprecates SynthesizedAnnotation and related methods in
RuntimeHintsUtils.

See spring-projectsgh-29041, spring-projectsgh-29054
Closes spring-projectsgh-29053
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