[weld-issues] [JBoss JIRA] Created: (WELD-221) Infinite Mutual Recursion in HierarchyDiscovery.resolveType
Clint Popetz (JIRA)
jira-events at lists.jboss.org
Wed Oct 21 21:10:05 EDT 2009
Infinite Mutual Recursion in HierarchyDiscovery.resolveType
-----------------------------------------------------------
Key: WELD-221
URL: https://jira.jboss.org/jira/browse/WELD-221
Project: Weld
Issue Type: Bug
Affects Versions: 1.0.0.CR1
Reporter: Clint Popetz
Assignee: Pete Muir
The following:
abstract class ChoiceParent<T> { }
class Choice<T, E> extends ChoiceParent<T>
{
public Choice<T, E> aMethod()
{
return null;
}
}
will produce an infinite recursion between resolveType and resolveTypeParameter if weld tries to load it. I've added a class to test/ in org.jboss.weld.test.unit.implementation.annotatedItem that triggers this, but it caused the build to fail, so it's been excluded. To enable, remove the @Classes annotation from the top of org.jboss.weld.test.unit.implementation.annotatedItem.ClassAnnotatedItemTest, which is excluding the deployment of Choice and ChoiceParent
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list