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

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

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.4.1.Final, 3.0.0.Beta1
    • Fix Version/s: 3.0.0.CR1, 2.4.2.Final
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mkouba Martin Kouba
                Reporter:
                tremes Tomas Remes
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: