Spec states in 11.7. Apply interceptor programmatically:
If (createInterceptedInstance())called on an instance created by the container, this method does nothing and returns the provided instance.
Currently this method applies interceptor also to instance created by the container. Reproducible by org.jboss.cdi.tck.tests.extensions.interceptionFactory.InterceptionFactoryTest in TCK master. |