Skip to content

Our auto-configuration should not use @PostConstruct as it's ignored on Java 11+ without a dependency on jakarta-annotation-api #23723

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

Comments

@philwebb
Copy link
Member

See #23716 for one example. We should remove all @PostConstruct annotations from our own codebase and add a checkstyle rule.

@philwebb philwebb added the type: bug A general bug label Oct 16, 2020
@philwebb philwebb added this to the 2.2.x milestone Oct 16, 2020
@wilkinsona wilkinsona self-assigned this Nov 3, 2020
@wilkinsona wilkinsona changed the title @PostConstruct calls can silently fail on Java 11 Our auto-configuration should not use @PostConstruct as it's ignored on Java 11+ without a dependency on jakarta-annotation-api Nov 3, 2020
@wilkinsona wilkinsona modified the milestones: 2.2.x, 2.2.12 Nov 3, 2020
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

2 participants