Hi,
If I have
@Qualifier @Retention(RetentionPolicy.RUNTIME) @Inherited @interface Foo {}
and
@Foo class MyThread implements Runnable {
public void run() { ... }
}
then I get
Exception in thread "main" org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [Runnable] with qualifiers [@Default] at injection point [[field] @Delegate @Inject org.jboss.weld.environment.se.threading.RunnableDecorator.runnable]
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:270)
Shouldn't there be
@Inject @Delegate @Any Runnable runnable;
in RunnableDetector for such situations?