Closed
Description
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:
- Introduce unified support for declaring and looking up annotation attribute aliases [SPR-11512] #16137 Introduce unified support for declaring and looking up annotation attribute aliases ("depends on")
- Implement toString() for synthesized annotations [SPR-13064] #17656 Implement toString() for synthesized annotations ("depends on")
- Implement hashCode() for synthesized annotations [SPR-13066] #17658 Implement hashCode() for synthesized annotations
Referenced from: commits 7bf609f