Community

JBREFLECT-5 - Implementing generics in JavassistClassInfo

reply from Kabir Khan in JBoss Microcontainer Development - View the full discussion

Removing the cache for parameterized types largely works, although I need to fix some StackOverflowErrors when using recursive bound type variables such as

 

public class ClassInfoTypeVariableRecursiveBounded<T extends ClassInfoTypeVariableRecursiveBounded<T>>

{

   public T genericTypeVariableRecursiveBounded(T param, String s)

   {

      return null;

   }

 

}

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer Development at Community