[hibernate-issues] [Hibernate-JIRA] Updated: (HSEARCH-1060) ClassLoaderHelper should look in both classloaders when enumerating multiple matches for a resource name
Sanne Grinovero (JIRA)
noreply at atlassian.com
Fri Mar 9 12:24:48 EST 2012
[ https://hibernate.onjira.com/browse/HSEARCH-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanne Grinovero updated HSEARCH-1060:
-------------------------------------
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.
Summary: ClassLoaderHelper should look in both classloaders when enumerating multiple matches for a resource name (was: ClassLoaderHelper should not look only in the current thread context classloader)
> ClassLoaderHelper should look in both classloaders when enumerating multiple matches for a resource name
> --------------------------------------------------------------------------------------------------------
>
> Key: HSEARCH-1060
> URL: https://hibernate.onjira.com/browse/HSEARCH-1060
> Project: Hibernate Search
> Issue Type: Bug
> Components: engine
> Reporter: Sanne Grinovero
> Priority: Critical
> Fix For: 4.1.0.Final
>
>
> 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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list