mirror of
https://github.com/apache/struts.git
synced 2026-08-11 09:36:57 +00:00
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:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user