[
https://issues.apache.org/jira/browse/OWB-987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Struberg updated OWB-987:
------------------------------
Fix Version/s: (was: 2.0.0)
1.5.0
> improve getReference type handling
> ----------------------------------
>
> Key: OWB-987
> URL: https://issues.apache.org/jira/browse/OWB-987
> Project: OpenWebBeans
> Issue Type: Improvement
> Affects Versions: 1.2.6
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Priority: Minor
> Fix For: 1.2.7, 1.5.0
>
>
> If no specific bean type is given for getReference we currently use
> bean.getBeanClass(). But this is actually wrong for producer methods and
> producer fields as those will return the containing class.
> This is only a minor enhancement as it only hits us if we enter the
> getEjbOrJmsProxyReference path. This gets used if we @Inject a pure EJB in
> which case the EJB container might not even take this information into
> account.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)