Michael Smith opened SPR-5290 and commented
While trying to use the @PostConstruct annotation, the InitDestroyAnnotationBeanPostProcessor.buildLifecycleMetadata(Class) method attempts to compare an annotation on a method with the initAnnotationType. Since the bundle that uses the @PostConstruct annotation is using the system bundle javax.annotation; version 0.0.0, it never compares as equal to the PostConstruct type in spring-context bundle (javax.annotation; version 1.0.0)
Affects: 2.5.6
2 votes, 3 watchers