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

BeanManager#getProducerFactory return type differs between API and spec

    XMLWordPrintable

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>

      Attachments

        Activity

          People

            asabotdu@redhat.com Antoine Sabot-Durand (Inactive)
            struberg Mark Struberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: