From 559c434e6605952b186555ed3d9d57fd9709988f Mon Sep 17 00:00:00 2001 From: slaurent Date: Sun, 12 Dec 2010 00:16:33 +0000 Subject: [PATCH] bug 50459: StandardContext.bindThread() and unbindThread() are not symmetrical and not limited to current thread https://issues.apache.org/bugzilla/show_bug.cgi?id=50459 Fixed incorrect comment in code git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1044747 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/catalina/core/StandardContext.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/java/org/apache/catalina/core/StandardContext.java b/java/org/apache/catalina/core/StandardContext.java index ac48d8d64..51e2ff2d0 100644 --- a/java/org/apache/catalina/core/StandardContext.java +++ b/java/org/apache/catalina/core/StandardContext.java @@ -4863,8 +4863,9 @@ public class StandardContext extends ContainerBase ((Lifecycle) loader).start(); // since the loader just started, the webapp classloader is now - // created by calling unbindThread and bindThread in a row, we - // setup the current Thread CCL to be the webapp classloader + // created. + // By calling unbindThread and bindThread in a row, we setup the + // current Thread CCL to be the webapp classloader unbindThread(oldCCL); oldCCL = bindThread(); -- 2.11.0