ASF Bugzilla – Attachment 20997 Details for
Bug 43643
Setting the executor attribute in a connector that does not support the executor attribute causes a
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch against 6.0.14
WAO-tomcat.6.0.14.set_executor_fix.diff (text/plain), 850 bytes, created by
Ruediger Pluem
on 2007-10-17 08:02:50 UTC
(
hide
)
Description:
Patch against 6.0.14
Filename:
MIME Type:
Creator:
Ruediger Pluem
Created:
2007-10-17 08:02:50 UTC
Size:
850 bytes
patch
obsolete
>diff -Nru apache-tomcat-6.0.14-src.orig/java/org/apache/catalina/startup/ConnectorCreateRule.java apache-tomcat-6.0.14-src/java/org/apache/catalina/startup/ConnectorCreateRule.java >--- apache-tomcat-6.0.14-src.orig/java/org/apache/catalina/startup/ConnectorCreateRule.java 2007-07-20 04:21:20.000000000 +0200 >+++ apache-tomcat-6.0.14-src/java/org/apache/catalina/startup/ConnectorCreateRule.java 2007-08-15 09:20:10.000000000 +0200 >@@ -58,7 +58,8 @@ > > public void _setExecutor(Connector con, Executor ex) throws Exception { > Method m = IntrospectionUtils.findMethod(con.getProtocolHandler().getClass(),"setExecutor",new Class[] {java.util.concurrent.Executor.class}); >- m.invoke(con.getProtocolHandler(),new Object[] {ex}); >+ if (m != null) >+ m.invoke(con.getProtocolHandler(),new Object[] {ex}); > } > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 43643
:
20997
|
21000