Author: cpopetz
Date: 2009-10-20 13:48:54 -0400 (Tue, 20 Oct 2009)
New Revision: 4206
Added:
core/trunk/tests/src/test/java/org/jboss/weld/test/unit/implementation/annotatedItem/Choice.java
Log:
Add test class which triggers infinite recursion while resolving types.
Added:
core/trunk/tests/src/test/java/org/jboss/weld/test/unit/implementation/annotatedItem/Choice.java
===================================================================
---
core/trunk/tests/src/test/java/org/jboss/weld/test/unit/implementation/annotatedItem/Choice.java
(rev 0)
+++
core/trunk/tests/src/test/java/org/jboss/weld/test/unit/implementation/annotatedItem/Choice.java 2009-10-20
17:48:54 UTC (rev 4206)
@@ -0,0 +1,14 @@
+package org.jboss.weld.test.unit.implementation.annotatedItem;
+
+abstract class ChoiceParent<T>
+{
+}
+
+
+class Choice<T, E> extends ChoiceParent<T>
+{
+ public Choice<T, E> aMethod()
+ {
+ return null;
+ }
+}