[webbeans-issues] [JBoss JIRA] Updated: (WBRI-256) can't inject a instance which has ParameterizedType super class.
Pete Muir (JIRA)
jira-events at lists.jboss.org
Wed May 6 06:00:46 EDT 2009
[ https://jira.jboss.org/jira/browse/WBRI-256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pete Muir updated WBRI-256:
---------------------------
Fix Version/s: 1.0.0.PREVIEW2
> can't inject a instance which has ParameterizedType super class.
> ----------------------------------------------------------------
>
> Key: WBRI-256
> URL: https://jira.jboss.org/jira/browse/WBRI-256
> Project: Web Beans
> Issue Type: Bug
> Components: Simple Beans
> Affects Versions: 1.0.0.PREVIEW1
> Reporter: Takeshi Kondo
> Assignee: Nicklas Karlsson
> Fix For: 1.0.0.PREVIEW2
>
>
> for instnce
> --
> public class LookupSingiletonMap {
> @Current
> SingletonMap map;
> }
> @ApplicationScoped
> public class SingletonMap extends ConcurrentHashMap<String, Object> {
> }
> ---
> Manager can't inject SingletonMap to LookupSingiletonMap.
> because if injected instance has ParameterizedType super class, org.jboss.webbeans.introspector.jlr.AbstractAnnotatedItem#isAssignableFrom(Class<?> type, Type[] actualTypeArguments) method always returns false.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list