You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Arc behavior doesn't correspond to Interceptors specification in its treatment of @Predestroy and @PostConstruct callbacks. Currently, we collect and invoke all in the hierarchy but we don't look at whether the method was overriden. If it was, that method should not be invoked.
Arc behavior doesn't correspond to Interceptors specification in its treatment of
@Predestroy
and@PostConstruct
callbacks. Currently, we collect and invoke all in the hierarchy but we don't look at whether the method was overriden. If it was, that method should not be invoked.CDI TCK test asserting this - https://github.com/eclipse-ee4j/cdi-tck/blob/master/impl/src/main/java/org/jboss/cdi/tck/interceptors/tests/order/overriden/lifecycleCallback/OverridenLifecycleCallbackInterceptorTest.java
And here's the interceptor spec part detailing this (the end of this paragraph) - https://jakarta.ee/specifications/interceptors/2.0/interceptors-spec-2.0.html#interceptor_ordering_rules
The text was updated successfully, but these errors were encountered: