Mark Struberg created OWB-1294:
----------------------------------

             Summary: disable implicitInjectionPoint by default
                 Key: OWB-1294
                 URL: https://issues.apache.org/jira/browse/OWB-1294
             Project: OpenWebBeans
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0.11
            Reporter: Mark Struberg
            Assignee: Mark Struberg
             Fix For: 2.0.12


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.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to