Project: Tomcat
Bug 54981 ServletContext.getJspConfigDescriptor() should return null when there is no jsp configuration
Reported: 2013-05-16 08:02:36 | Status: resolved fixed

According to Servlet 3.0 javadoc ServletContext.getJspConfigDescriptor() must return NULL when there is no jsp configuration: " Returns: the <jsp-config> related configuration that was aggregated from the web.xml and web-fragment.xml descriptor files of the web application represented by this ServletContext, or null if no such configuration exists "

Files changed in fix:
java/org/apache/catalina/core/ApplicationContext.java test/org/apache/catalina/core/TestApplicationContext.java