[ 
https://issues.apache.org/jira/browse/ISIS-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andi Huber closed ISIS-1957.
----------------------------
    Resolution: Incomplete

Naively implemented: we don't filter injection candidates against injection 
target fields based on nested generic types.
{code:java}
@Inject
List<MyService<TypeA>>
{code}
still acts as a valid target for
{code:java}
MyService<TypeB>
{code}
while it might not be.

> ServiceInjector fails to handle Generic Types in target fields of type List
> ---------------------------------------------------------------------------
>
>                 Key: ISIS-1957
>                 URL: https://issues.apache.org/jira/browse/ISIS-1957
>             Project: Isis
>          Issue Type: Bug
>          Components: Core
>            Reporter: Andi Huber
>            Assignee: Andi Huber
>            Priority: Major
>             Fix For: 2.0.0-M1
>
>
> works
> {code:java}
> @javax.inject.Inject
> List<GridSystemService> gridSystemServices;
> {code}
> does not work
> {code:java}
> @javax.inject.Inject
> List<GridSystemService<?>> gridSystemServices;
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to