classLoadTime=(int) (System.currentTimeMillis() -t1);
- singleThreadModel = servlet instanceof SingleThreadModel;
- if (singleThreadModel) {
- if (instancePool == null)
+ if (servlet instanceof SingleThreadModel) {
+ if (instancePool == null) {
instancePool = new Stack<Servlet>();
+ }
+ singleThreadModel = true;
}
initServlet(servlet);
support (enhancement <bug>12428</bug>) that could trigger authentication
even if preemptive authentication was disabled. (markt)
</fix>
+ <fix>
+ Prevent possible NPE when serving Servlets that implement the
+ SingleThreadModel interface. (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Coyote">