Uploaded image for project: 'CDI TCK'
  1. CDI TCK
  2. CDITCK-614

ConfiguratorAndSetMethodTest can result in unsatisfied dependency

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.1.0.Final, 2.0.5.Final
    • 2.0.4.Final
    • None
    • None

      ConfiguratorAndSetMethodTest was already reworked but there is still a failure possible.
      Given certain ordering of observer method invocation (unspecified in spec) in an extension, the result can be an IP which expects @Default Box and an actual bean @Any Box which has had it's @Default qualifier removed.

      This blows up with unsatisfied dependency.
      The fix should go to both branches, 2.0.x and 2.1 and is as simple as making sure both, @Any and @Default are in place.

            manovotn Matěj Novotný
            manovotn Matěj Novotný
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: