On 09/12/2018 10:22, Stephane Passignat wrote: > Hi > I've seen this non compliancy. In TC 7.042 and 7.0.72. How, who can fix > this ? > > @HandlesTypes classes implementations. The mecanism in place only accept > classes implementing an the type but doesn't accept classes inheriting > from class implementing the @HandlesTypes classes.
The statement above appears to be incorrect. I have run a simple test case where: - class A implements I1 - class B extends class A - class C extends class B An SCI with @HandlesTypes(I1.class) is correctly notified of A, B & C. I don't see any edge cases in the current code where a more complex class hierarchy could trigger a bug. If you have a test case that demonstrates otherwise, please open a Bugzilla issue and provide the simplest possible test case that demonstrates the bug. Please make sure you include the source code. Please note you refer to Tomcat 7.0.42 and 7.0.72 which are 5+ and 2+ years old respectively. I don't recall any SCI related fixes since 7.0.72 but you should still test the latest 7.0.x release before reporting any bug. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org