Author: slaurent Date: Sun Dec 12 00:16:33 2010 New Revision: 1044747 URL: http://svn.apache.org/viewvc?rev=1044747&view=rev Log: 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 Modified: tomcat/trunk/java/org/apache/catalina/core/StandardContext.java Modified: tomcat/trunk/java/org/apache/catalina/core/StandardContext.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardContext.java?rev=1044747&r1=1044746&r2=1044747&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/core/StandardContext.java (original) +++ tomcat/trunk/java/org/apache/catalina/core/StandardContext.java Sun Dec 12 00:16:33 2010 @@ -4863,8 +4863,9 @@ public class StandardContext extends Con ((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(); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org