tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1731279 - /tomcat/trunk/test/org/apache/catalina/startup/TestTomcatClassLoader.java
Date Fri, 19 Feb 2016 17:59:05 GMT
Author: markt
Date: Fri Feb 19 17:59:05 2016
New Revision: 1731279

URL: http://svn.apache.org/viewvc?rev=1731279&view=rev
Log:
Make the tests implementation neutral (as long as it extends WebappClassLoaderBase)

Modified:
    tomcat/trunk/test/org/apache/catalina/startup/TestTomcatClassLoader.java

Modified: tomcat/trunk/test/org/apache/catalina/startup/TestTomcatClassLoader.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/startup/TestTomcatClassLoader.java?rev=1731279&r1=1731278&r2=1731279&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/startup/TestTomcatClassLoader.java (original)
+++ tomcat/trunk/test/org/apache/catalina/startup/TestTomcatClassLoader.java Fri Feb 19 17:59:05
2016
@@ -31,7 +31,7 @@ import static org.junit.Assert.assertEqu
 import org.junit.Test;
 
 import org.apache.catalina.Context;
-import org.apache.catalina.loader.WebappClassLoader;
+import org.apache.catalina.loader.WebappClassLoaderBase;
 import org.apache.tomcat.util.buf.ByteChunk;
 
 public class TestTomcatClassLoader extends TomcatBaseTest {
@@ -98,7 +98,7 @@ public class TestTomcatClassLoader exten
                     out.print("SYSTEM,");
                 } else if (custom == cl) {
                     out.print("CUSTOM,");
-                } else if (cl instanceof WebappClassLoader) {
+                } else if (cl instanceof WebappClassLoaderBase) {
                     out.print("WEBAPP,");
                 } else {
                     out.print("OTHER,");



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message