Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-376

BeanManager#getProducerFactory return type differs between API and spec

    Details

      Description

      return type differs between API and spec wording for both BeanManager#getProducerFactory methods.

      In API we have
      public <X> ProducerFactory<X> getProducerFactory(AnnotatedMethod<? super X> method, Bean<X> declaringBean);

      While in spec (section 11.3.22 )we have
      public <X> ProducerFactory<? super X> getProducerFactory(AnnotatedMethod<? super X> method, Bean<X> declaringBean);

      They differ in the return type:
      ProducerFactory<X> vs ProducerFactory<? super X>

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                antoinesabot-durand Antoine Sabot-Durand
                Reporter:
                struberg Mark Struberg
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: