diff --git a/tests/test-webapps/test-servlet-spec/test-spec-webapp/pom.xml b/tests/test-webapps/test-servlet-spec/test-spec-webapp/pom.xml
index 7c685102c40..289964a8b78 100644
--- a/tests/test-webapps/test-servlet-spec/test-spec-webapp/pom.xml
+++ b/tests/test-webapps/test-servlet-spec/test-spec-webapp/pom.xml
@@ -231,7 +231,8 @@
org.eclipse.jettyjetty-util
- ${project.version}
+
+ 9.3.0.RC0
diff --git a/tests/test-webapps/test-servlet-spec/test-spec-webapp/src/main/java/com/acme/test/ClassLoaderServlet.java b/tests/test-webapps/test-servlet-spec/test-spec-webapp/src/main/java/com/acme/test/ClassLoaderServlet.java
new file mode 100644
index 00000000000..e8e93f4414a
--- /dev/null
+++ b/tests/test-webapps/test-servlet-spec/test-spec-webapp/src/main/java/com/acme/test/ClassLoaderServlet.java
@@ -0,0 +1,132 @@
+//
+// ========================================================================
+// Copyright (c) 1995-2018 Mort Bay Consulting Pty. Ltd.
+// ------------------------------------------------------------------------
+// All rights reserved. This program and the accompanying materials
+// are made available under the terms of the Eclipse Public License v1.0
+// and Apache License v2.0 which accompanies this distribution.
+//
+// The Eclipse Public License is available at
+// http://www.eclipse.org/legal/epl-v10.html
+//
+// The Apache License v2.0 is available at
+// http://www.opensource.org/licenses/apache2.0.php
+//
+// You may elect to redistribute this code under either of these licenses.
+// ========================================================================
+//
+
+package com.acme.test;
+
+import java.io.PrintWriter;
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.net.URL;
+import java.security.CodeSource;
+import java.security.ProtectionDomain;
+
+import javax.servlet.ServletException;
+import javax.servlet.annotation.WebServlet;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.eclipse.jetty.util.IO;
+
+@WebServlet(urlPatterns="/classloader")
+public class ClassLoaderServlet extends HttpServlet
+{
+ protected void doGet(HttpServletRequest req, HttpServletResponse resp)
+ throws ServletException
+ {
+ try
+ {
+
+ PrintWriter writer = resp.getWriter();
+ writer.println("");
+ writer.println("
Webapp loaded org.eclipse.jetty.util.IO(%s) from %s%n",webappVersion,webappURI);
+ writer.printf(" Server loaded org.eclipse.jetty.util.IO(%s) from %s%n",serverVersion, serverURI);
+ if (webappVersion.equals(serverVersion))
+ writer.println(" Version Result: FAIL");
+ else
+ writer.println(" Version Result: PASS");
+ if (webappURI.equals(serverURI))
+ writer.println(" URI Result: FAIL
");
writer.println("@ServletSecurity");
writer.println("public class SecuredServlet");
diff --git a/tests/test-webapps/test-servlet-spec/test-spec-webapp/src/main/webapp/index.html b/tests/test-webapps/test-servlet-spec/test-spec-webapp/src/main/webapp/index.html
index 8fe9f11ed93..0919b4bc2c1 100644
--- a/tests/test-webapps/test-servlet-spec/test-spec-webapp/src/main/webapp/index.html
+++ b/tests/test-webapps/test-servlet-spec/test-spec-webapp/src/main/webapp/index.html
@@ -65,10 +65,14 @@ Test of the annotation:
-
+
Test ClassPath Isolation
+
Click the link to test classpath isolation of system and server classes