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

@philwebb

Description

@philwebb

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions