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

disable implicitInjectionPoint by default

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.11
    • Fix Version/s: 2.0.12
    • Component/s: Core
    • Labels:
      None

      Description

      OWB-1287 introduced a way to make the @Inject annotation optional if a Qualifier exists. But we have run into problems with this setting. It also introduces a slight performance degrading so we'd rather should make this an optional feature.

      The problematic case is whenever another framework (in our case Mockito and in Maven modules) handles a field and also uses a JSR-330 Qualifier for it. With the implicitInjectionPoint feature the CDI container will overwrite mock objects.

        Attachments

          Activity

            People

            • Assignee:
              struberg Mark Struberg
              Reporter:
              struberg Mark Struberg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: