]
Lincoln Baxter III reassigned FORGE-779:
----------------------------------------
Assignee: Lincoln Baxter III
Class parameters are not correctly loaded for the consuming
addon's classloader
-------------------------------------------------------------------------------
Key: FORGE-779
URL:
https://issues.jboss.org/browse/FORGE-779
Project: Forge
Issue Type: Bug
Reporter: George Gastaldi
Assignee: Lincoln Baxter III
Priority: Critical
Fix For: 2.0.0.Alpha2
Having the following scenario:
Eclipse plugin -> calls ConverterFactory -> passes Resource.class as a parameter
{code:java}
ConverterFactory.getConverter(File.class, Resource.class)
{code}
in ResourceConverterGenerator (resources addon):
{code:java}
@Override
public boolean handles(Class<?> source, Class<?> target)
{
return Resource.class.isAssignableFrom(target);
}
{code}
Returns false, because the classloader that loaded the Resource class is the Eclipse
classloader, not the Resource addon classloader AND Resource.class is not visible in the
convert addon.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: