ASF Bugzilla – Attachment 28490 Details for
Bug 52957
ClassCastException while removing Valve
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch proposal
StandardPipeline.java.patch (text/plain), 616 bytes, created by
Violeta Georgieva
on 2012-03-21 12:47:49 UTC
(
hide
)
Description:
Patch proposal
Filename:
MIME Type:
Creator:
Violeta Georgieva
Created:
2012-03-21 12:47:49 UTC
Size:
616 bytes
patch
obsolete
>Index: java/org/apache/catalina/core/StandardPipeline.java >=================================================================== >--- java/org/apache/catalina/core/StandardPipeline.java (revision 1303369) >+++ java/org/apache/catalina/core/StandardPipeline.java (working copy) >@@ -458,7 +458,9 @@ > } > } > try { >- ((Lifecycle) valve).destroy(); >+ if (valve instanceof Lifecycle) { >+ ((Lifecycle) valve).destroy(); >+ } > } catch (LifecycleException e) { > log.error("StandardPipeline.removeValve: destroy: ", e); > }
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 52957
: 28490