Title: Message Title
|
|
|
Let's suppose that I have the following interface:
{code:java} public interface A MyInterface <T> { } {code}
And the following injection point:
{code:java} public class B MyClassWithInjectionPoint <U> { ... @Inject @Any private Instance< A MyInterface <U>> injectedInstances; ... } {code}
Then no instances of classes implementing A are injected, I need to use wildcards to make it work: {code:java} public class B MyClassWithInjectionPoint <U> { ... @Inject @Any private Instance< A MyInterface <?>> injectedInstances; } {code}
Is this the expected behavior?
Note: I have detected this problem after upgrading the Weld version I use from 1.1.24 to 3.1.0. In 1.1.24 this was working fine for me. |
|
|
|
|
|
_______________________________________________
weld-issues mailing list
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues