]
Clint Popetz commented on WELD-221:
-----------------------------------
Yes, this fixes the issue I have having. Thank you.
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
Priority: Critical
Fix For: 1.0.0.CR2
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: