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

disable implicitInjectionPoint by default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.11
    • 2.0.12
    • Core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: