Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project
This commit is contained in:
commit
9fe3c8f67f
|
@ -316,6 +316,13 @@ public class WebAppClassLoader extends URLClassLoader
|
|||
}
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
/**
|
||||
* Get a resource from the classloader
|
||||
*
|
||||
* NOTE: this method provides a convenience of hacking off a leading /
|
||||
* should one be present. This is non-standard and it is recommended
|
||||
* to not rely on this behavior
|
||||
*/
|
||||
public URL getResource(String name)
|
||||
{
|
||||
URL url= null;
|
||||
|
|
Loading…
Reference in New Issue