Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Bartel2013-09-05 03:20:39 +0000
committerJan Bartel2013-09-05 03:20:39 +0000
commit6fb95b8ad7564af60fc945d69b5ec5667cdbdb6a (patch)
treed3c7d7f281d733ac737806ed393ccea7044d6621
parenta3f66333858269daf03679e6251c6f89c811f523 (diff)
parentedaa23b21e31e0c469c5f4c8b7e2d0e23a92719b (diff)
downloadorg.eclipse.jetty.project-6fb95b8ad7564af60fc945d69b5ec5667cdbdb6a.tar.gz
org.eclipse.jetty.project-6fb95b8ad7564af60fc945d69b5ec5667cdbdb6a.tar.xz
org.eclipse.jetty.project-6fb95b8ad7564af60fc945d69b5ec5667cdbdb6a.zip
Merge remote-tracking branch 'origin/master' into jetty-9.1
-rw-r--r--jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java
index 96f1c5fc7a..e360faf76e 100644
--- a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java
+++ b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java
@@ -88,7 +88,10 @@ public class WebInfConfiguration extends AbstractConfiguration
context.getMetaData().addContainerResource(Resource.newResource(uri));
}
};
- ClassLoader loader = context.getClassLoader();
+ ClassLoader loader = null;
+ if (context.getClassLoader() != null)
+ loader = context.getClassLoader().getParent();
+
while (loader != null && (loader instanceof URLClassLoader))
{
URL[] urls = ((URLClassLoader)loader).getURLs();

Back to the top