Skip to content

TypeDescriptor.equals tests equality of annotations #924

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
wants to merge 1 commit into from

Conversation

nathanpiper
Copy link

The current implementation of TypeDescriptor.equals merely tests for the presence of annotations between the compared type descriptors, as apposed to also comparing annotation property values.

This ultimately lead to problems with the GenericConversionService cache returning the "wrong" conditional converter in my application.

I have signed and agree to the terms of the Spring Individual Contributor
License Agreement.

Issue: SPR-13714

@jhoeller
Copy link
Contributor

Thanks for the pull request! I've rolled this in a slightly revised fashion, including some general rearrangments in the affected tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants