mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-08 01:26:03 +00:00
adding error diagnostics as to where servlet API is loaded from.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5706 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
e4f5c5579a
commit
b9873621d5
3 files changed
+17
-3
No files matched your search
@@ -75,7 +75,7 @@ public class WebAppMain implements ServletContextListener {
|
||||
try {
|
||||
ServletResponse.class.getMethod("setCharacterEncoding",String.class);
|
||||
} catch (NoSuchMethodException e) {
|
||||
context.setAttribute(APP,new IncompatibleServletVersionDetected());
|
||||
context.setAttribute(APP,new IncompatibleServletVersionDetected(ServletResponse.class));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user