Pass the file protocols to ClassFinder constructor

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@747050 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Musachy Barroso
2009-02-23 15:33:11 +00:00
parent 7330d6124b
commit 370a35fa1f
@@ -301,7 +301,7 @@ public class PackageBasedActionConfigBuilder implements ActionConfigBuilder {
Set<Class> classes = new HashSet<Class>();
try {
if (actionPackages != null || (packageLocators != null && !disablePackageLocatorsScanning)) {
ClassFinder finder = new ClassFinder(getClassLoaderForFinder(), buildUrlSet().getUrls(), true);
ClassFinder finder = new ClassFinder(getClassLoaderForFinder(), buildUrlSet().getUrls(), true, this.fileProtocols);
// named packages
if (actionPackages != null) {