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

Implement equals() for synthesized annotations [SPR-13065] #17657

Closed
spring-issuemaster opened this issue May 23, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link
Collaborator

commented May 23, 2015

Sam Brannen opened SPR-13065 and commented

#16137 introduced support for annotation attribute aliases by synthesizing annotations; however, synthesized annotations currently do not properly implement equals() which can lead to unexpected errors. For example, a synthesized annotation is not even equal to itself.


Affects: 4.2 RC1

Issue Links:

  • #16137 Introduce unified support for declaring and looking up annotation attribute aliases ("depends on")
  • #17656 Implement toString() for synthesized annotations ("depends on")
  • #17658 Implement hashCode() for synthesized annotations

Referenced from: commits 7bf609f

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

commented May 23, 2015

Sam Brannen commented

Implemented in GitHub commit: 7bf609f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.