Merge branch 'master' of ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.project

This commit is contained in:
Greg Wilkins 2011-07-22 00:32:25 +10:00
commit 9fe3c8f67f
1 changed files with 7 additions and 0 deletions

View File

@ -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;