[ 
https://issues.apache.org/jira/browse/OWB-487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926028#action_12926028
 ] 

Eric Covener commented on OWB-487:
----------------------------------

I think this is best read as "... qualifiers @Default, @Any, and no other 
qualifiers" which really means "when the dependency will be satisfied by the 
containers built-in injection point.

> Section 5.5.7 restrictions on injecting InjectionPoint not enforced
> -------------------------------------------------------------------
>
>                 Key: OWB-487
>                 URL: https://issues.apache.org/jira/browse/OWB-487
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.0
>            Reporter: David Jencks
>            Assignee: Gurkan Erdogdu
>         Attachments: OWB-487.patch
>
>
> Section 5.5.7 ends with a couple restrictions on injecting InjectionPoint.  
> Theres a tck test for one of them, an InjectionPoint in a servlet is not OK.
> text:
> f a bean that declares any scope other than @Dependent has an injection point 
> of type InjectionPoint and qualifier @Default, the container automatically 
> detects the problem and treats it as a definition error.
> If a Java EE component class supporting injection that is not a bean has an 
> injection point of type InjectionPoint and qualifier @Default, the container 
> automatically detects the problem and treats it as a definition error.
> test:
> org.jboss.jsr299.tck.tests.lookup.injectionpoint.broken.not.bean.InjectionPointTest
> org.jboss.jsr299.tck.tests.lookup.injectionpoint.broken.not.bean.TestServlet_Broken

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to