mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-01 03:19:13 +00:00
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…
x
Reference in New Issue
Block a user