Closed
Description
After migration to Jakarta EE 9, it's easy to miss that javax.annotation.PostConstruct
or javax.inject.Inject
are no longer working when not covered by a test. This can be an easy-to-make bug when these annotations reside on the classpath after migrating to Jakarta EE 9.
It would be neat to support both annotation variants for at least a grace period or to fail fast when these annotations are in use.