Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2315

Resulting set of bean types of session bean contains illegal bean types

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.CR1, 2.4.2.Final
    • 2.4.1.Final, 3.0.0.Beta1
    • None
    • None

      Suppose we have following classes:

      @Stateless
      public class Eagle<T> implements Bird<T> {
      }
      
      public interface Bird<T> extends AnimalHolder<Animal<? extends T>>{
      
      }
      

      and

      public interface AnimalHolder<T extends Animal> {
      }
      

      Bean types of Bird bean should be only Object and Bird according to https://issues.jboss.org/browse/CDI-495 but there is also AnimalHolder class.

              mkouba@redhat.com Martin Kouba
              tremes1@redhat.com Tomas Remes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: