[cdi-dev] Interceptors and JDK 8 default methods

arjan tijms arjan.tijms at gmail.com
Tue Jan 12 11:43:23 EST 2016


I've got a CDI bean implementing an interface with several default methods.
The bean implements one of those methods.

When I place an interceptor on said bean, and call the different methods
via the CDI proxy, only the method that the bean implemented is
intercepted. The defaulted methods go straight to the implementation
provided by the interface.

Tested with Weld 2.3.2 on WildFly 10cr5.

Is this supposed to work?

Kind regards,
Arjan Tijms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/cdi-dev/attachments/20160112/64300da9/attachment.html 

More information about the cdi-dev mailing list