[arquillian-issues] [JBoss JIRA] Commented: (ARQ-240) MethodParameterInjectionPoint doesn't support parameters with generic type parametersc

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Thu Aug 5 17:14:49 EDT 2010


    [ https://jira.jboss.org/browse/ARQ-240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12543346#action_12543346 ] 

Aslak Knutsen commented on ARQ-240:
-----------------------------------

pushed to topic branch: http://github.com/aslakknutsen/arquillian/tree/ARQ-240

Contains workaround for bug in current released Weld Core. InjectionPoint return Qualifier @Default, this should be added by the CDI engine if none are returned.

> MethodParameterInjectionPoint doesn't support parameters with generic type parametersc
> --------------------------------------------------------------------------------------
>
>                 Key: ARQ-240
>                 URL: https://jira.jboss.org/browse/ARQ-240
>             Project: Arquillian
>          Issue Type: Bug
>          Components: Weld Containers
>    Affects Versions: 1.0.0.Alpha3
>            Reporter: Pete Muir
>
> Whenever you return the type of the parameter you should do
> if (method.getGenericParameterTypes().length > position) {
>    return method.getGenericParameterTypes()[position];
> } else {
>    return method.getParameterTypes()[position];
> }

-- 
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 arquillian-issues mailing list