[
https://issues.apache.org/jira/browse/OWB-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gurkan Erdogdu closed OWB-161.
------------------------------
Resolution: Fixed
Fix Version/s: M4
> Producer fields do not honor generics
> -------------------------------------
>
> Key: OWB-161
> URL: https://issues.apache.org/jira/browse/OWB-161
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Injection and Lookup
> Reporter: Joe Bergmark
> Assignee: Gurkan Erdogdu
> Priority: Minor
> Fix For: M4
>
> Attachments: OWB-161-test.txt, OWB-161.txt
>
>
> Currently a producer field defined with a parameterized type will be injected
> in cases where the types do not match.
> For example:
> private @Produces LinkedList<Double> producerList = new LinkedList<Double>();
> will be a candidate for injection into:
> @Inject LinkedList<Integer> myList;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.