Skip to content

Service Provider Interfaces not loaded in Accumulo #501

@rwgdrummer

Description

@rwgdrummer

Fixed in 1.7: https://issues.apache.org/jira/browse/ACCUMULO-3923
recommended upgrade to apache commons VFS 2.1.

Related to: https://issues.apache.org/jira/browse/VFS-500
Basic fix:

  • protected Enumeration findResources(final String name) throws IOException {
  •    final List<URL> result = new ArrayList<URL>(2);
    
  •    for (FileObject baseFile : resources) {
    
  •        final FileObject file = baseFile.resolveFile(name, NameScope.DESCENDENT_OR_SELF);
    
  •        if (file.exists()) {
    
  •            result.add(new Resource(name, baseFile, file).getURL());
         }
    
  •    }
    

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions