Merge remote-tracking branch 'origin/jetty-7' into jetty-8
This commit is contained in:
commit
2ab4757450
|
@ -87,7 +87,10 @@ public class WebInfConfiguration extends AbstractConfiguration
|
|||
context.getMetaData().addContainerJar(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