[ https://issues.apache.org/jira/browse/KARAF-2352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Philippe CLEMENT closed KARAF-2352. ---------------------------------------- Resolution: Invalid Opened ARIES-1241 > Blueprint does not find a bean argument which uses generics > ----------------------------------------------------------- > > Key: KARAF-2352 > URL: https://issues.apache.org/jira/browse/KARAF-2352 > Project: Karaf > Issue Type: Bug > Components: karaf-osgi > Affects Versions: 2.3.0 > Environment: RHEL5 > Reporter: Jean-Philippe CLEMENT > > Interface X<T> is defined. > A class A implements X<JPanel>. > Another class B has a constructor with a single argument X<? extends > Component>. > Calling B with A using regular Java code is correct. However, injecting A > with B using blueprint fails with the error that no constructor is found > matching A. Even type forcing fails. > If I correct A definition to X<Component> then A can be injected into B using > blueprint. -- This message was sent by Atlassian JIRA (v6.2#6252)