Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-1033

ProcessBeanAttributes doesn't return the right Annotated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.5.0
    • Core
    • None

    Description

      (Bug observed on snapshot 1.5.0-20150109.083011-43 in the Apache Snapshot repo).

      When observing ProcessBeanAttributes for a producer method ProcessBeanAttributes#getAnnotated() returns the AnnotatedType of the bean containing the producer method not the AnnotatedMember corresponding to the producer.
      CDI 1.1+ spec states in the ProcessBeanAttributes section :

      getAnnotated() returns the AnnotatedType representing the managed bean class or session bean class, the AnnotatedMethod representing the producer field, or the AnnotatedField representing the producer field.

      Attachments

        Activity

          People

            rsandtner Reinhard Sandtner
            antoine Antoine Levy-Lambert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: