Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14091

WELD create two instances of managed bean and inject it twice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • CDI / Weld, Web (Undertow)
    • None
    • Undefined
    • ---
    • ---

    Description

      Attached simple tests. One with regular classes - which does not seem to trigger problem, second - all in one, with static defs. So this might be just edge case?
      Create breakpoints in InjectMePlease constructor and in FieldInjectionPoint:94. You should see two managed beans created. On second injection, field is already set to previously created bean.

      Attachments

        Activity

          People

            manovotn Matěj Novotný
            rhn-cservice-bbaranow Bartosz Baranowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: