[weld-issues] [JBoss JIRA] Commented: (WELDX-133) Odd issues with generic parameter types and generic beans
Pete Muir (JIRA)
jira-events at lists.jboss.org
Thu Sep 23 14:00:29 EDT 2010
[ https://jira.jboss.org/browse/WELDX-133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12552807#action_12552807 ]
Pete Muir commented on WELDX-133:
---------------------------------
Test pushed to http://github.com/pmuir/weld-extensions/tree/WELDX-133
> Odd issues with generic parameter types and generic beans
> ---------------------------------------------------------
>
> Key: WELDX-133
> URL: https://jira.jboss.org/browse/WELDX-133
> Project: Weld Extensions
> Issue Type: Bug
> Components: Generic Beans
> Reporter: Pete Muir
> Fix For: 1.0.0.Beta1
>
>
> For example:
>
> @Produces
> @Infinispan
> @DefaultCache
> private Cache<String, String> cache;
> and on the generic bean
>
> @Produces
> public AdvancedCache<K, V> getAdvancedCache()
> {
> return cacheContainer.<K, V>getCache(infinispan.value()).getAdvancedCache();
> }
> Should allow
> @Inject Cache<String, String> cache;
> but doesn't
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list