Catch ClassFormatErrors when scanning for annotations.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1022593 13f79535-47bb-0310-9956-
ffa450edef68
log.warn(sm.getString("contextConfig.invalidSciHandlesTypes",
className), e);
return;
+ } catch (ClassFormatError e) {
+ log.warn(sm.getString("contextConfig.invalidSciHandlesTypes",
+ className), e);
+ return;
}
if (clazz.isAnnotation()) {
causes applications marked as meta-data complete to return 404s for all
requests. Patch provided by heyoulin. (markt)
</fix>
+ <fix>
+ <bug>50087</bug>: Catch ClassFormatErrors when scanning for annotations.
+ (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Coyote">