Issue Type: Task Task
Affects Versions: 2.0.3.Final
Assignee: Jozef Hartinger
Created: 24/Jul/13 4:41 AM
Description:
class Foo<U extends String, V extends Number> {
}

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!

Project: Weld
Priority: Major Major
Reporter: Marko Lukša
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