Merge remote-tracking branch 'origin/master' into jetty-9.1
This commit is contained in:
commit
6fb95b8ad7
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue