WW-4038 Solves a bug with struts.convention.action.includeJars

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1469182 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Lukasz Lenart
2013-04-18 06:20:37 +00:00
parent 8cef213cec
commit f5464877a0
@@ -413,7 +413,7 @@ public class PackageBasedActionConfigBuilder implements ActionConfigBuilder {
private UrlSet buildUrlSet(List<URL> resourceUrls) throws IOException {
ClassLoaderInterface classLoaderInterface = getClassLoaderInterface();
UrlSet urlSet = new UrlSet(resourceUrls);
urlSet.include(new UrlSet(classLoaderInterface, this.fileProtocols));
urlSet = urlSet.include(new UrlSet(classLoaderInterface, this.fileProtocols));
//excluding the urls found by the parent class loader is desired, but fails in JBoss (all urls are removed)
if (excludeParentClassLoader) {