Nevertheless, this is a Weld bug - the @Default qualifier is not assumed if no required qualifiers are specified explicitly (the first disposer method).
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
The example code is wrong..
and
are not valid producer methods. I suppose it should be more like this:
@Produces @RequestScoped Something produce() { ... } @Produces @Qualified Something produceQualified() { ... }Nevertheless, this is a Weld bug - the @Default qualifier is not assumed if no required qualifiers are specified explicitly (the first disposer method).
Also Matus Abaffy's workaround works.