Skip to content

Configuration property annotation processor does not notice overriding getter methods #23966

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
wilkinsona opened this issue Oct 29, 2020 · 0 comments
Labels
type: bug A general bug
Milestone

Comments

@wilkinsona
Copy link
Member

If a configuration properties class overrides a getter method, it's not seen properly by the annotation processor. As it works its way up the type hierarchy, the entry for the overriding method is replaced with the entry for the overridden method. One symptom of this is that when an overriding getter method is annotated with @DeprecatedConfigurationProperty the deprecation is missed.

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

No branches or pull requests

1 participant