public Foo<T> { @Inject Event<T> event; } public Fub { @Inject Foo<Bar> foo; }
This will result in Fub.foo.event being initialized as Event<T>.
On the other hand, with WELD-1111 fixed, injects the correctly typed Event<Bar>.
public Foo<T> { @Inject Event<T> event; } public FooBar extends Foo<Bar> {} public Fub { @Inject FooBar foo; }