We're updating the issue view to help you get more done. 

ClassLoaderHelper should look in both classloaders when enumerating multiple matches for a resource name

Description

The way we usually load a resource it looks in both the caller ClassLoader and the Context ClassLoader but is satisfied as soon as a match is found.

When using org.hibernate.search.util.impl.ClassLoaderHelper.getResources(String, Class<?>) we need to list all matches, to we should join the results of scanning both classloaders.

Environment

None

Status

Assignee

Unassigned

Reporter

Sanne Grinovero

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Fix versions

Priority

Critical