[
https://issues.apache.org/jira/browse/OWB-487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Jencks updated OWB-487:
-----------------------------
Attachment: OWB-487.patch
I'm not sure I completely understand the spec but this patch does get the test
to pass in geronimo/owb.
What does "qualifier @Default" mean? that @Default is one of the qualifiers
(as my patch implements) or that it is the only qualifier (which wont work
since in the tck test there's also @Any on the "MANAGED" bean)
> 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.