On 09/12/2018 10:23, Stephane Passignat wrote: > Hello, > > I've seen this non compliancy. In TC 7.042 and 7.0.72. How, who can fix > this ? > > The case is related to web-fragment loading and SCI initialization. > In Tomcat 7.0.42 and 7.0.72 at least, SCI (with @HandlesTypes > annotation) are initialized web-fragments per web-fragments, with the > classes previously discovered (in the WEB-INF/classes and previous > processed jars). This means @HandlesTypes classes implementation located > in web-fragments loaded after the one having the SCI are not provided to > the SCI:onStartup method.
This is not the case. All SCIs are discovered first. Then all classes are scanned. If you have a test case that demonstrates different behaviour please open a bugzilla issue and attach the simplest possible test case (including source code) that demonstrates the issue. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
