You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/03/05 16:13:46 UTC

svn commit: r1664373 - /tomcat/tc7.0.x/trunk/test/javax/servlet/http/TestHttpServlet.java

Author: markt
Date: Thu Mar  5 15:13:46 2015
New Revision: 1664373

URL: http://svn.apache.org/r1664373
Log:
Correct back-port and fix test failure

Modified:
    tomcat/tc7.0.x/trunk/test/javax/servlet/http/TestHttpServlet.java

Modified: tomcat/tc7.0.x/trunk/test/javax/servlet/http/TestHttpServlet.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/test/javax/servlet/http/TestHttpServlet.java?rev=1664373&r1=1664372&r2=1664373&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/test/javax/servlet/http/TestHttpServlet.java (original)
+++ tomcat/tc7.0.x/trunk/test/javax/servlet/http/TestHttpServlet.java Thu Mar  5 15:13:46 2015
@@ -82,7 +82,8 @@ public class TestHttpServlet extends Tom
         Tomcat tomcat = getTomcatInstance();
 
         // No file system docBase required
-        StandardContext ctx = (StandardContext) tomcat.addContext("", null);
+        StandardContext ctx = (StandardContext) tomcat.addContext("",
+                System.getProperty("java.io.tmpdir"));
 
         Bug57602ServletOuter outer = new Bug57602ServletOuter();
         Tomcat.addServlet(ctx, "Bug57602ServletOuter", outer);



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