class Foo<U extendsString, V extendsNumber> {
}
class Client {
@Inject
public void initFoo(Foo foo) {
}
}
throws:
org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type Foo<String, Number>
with qualifiers @Default
at injection point [BackedAnnotatedParameter] Parameter 1 of [BackedAnnotatedMethod] @Inject public org.jboss.weld.tests.Client.initFoo(Foo<String, Number>)
at org.jboss.weld.tests.Client(Client.java:0)
The injection point type is Foo (without type arguments), so why does Weld think it's Foo<String, Number>?
Maybe it is using the correct injection point type, but only printing the wrong type in the exception message. Investigate!
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira