-
Bug
-
Resolution: Done
-
Major
-
4.0.0.Alpha1
-
None
1. Create a cdi project.
2. Create the following class:
public class TestNamed { @SuppressWarnings("cdi-ambiguous-dependency") @Inject String s; // Ambiguous @Produces public String foo1; @Produces public String foo2; }
3. Change "cdi-ambiguous-dependency" to "xyz"
4. There is a warning on @Inject
5. Change "xyz" to "cdi-ambiguous-dependency" back (don't save the file!)
6. There is still the same warning on @Inject. This is a bug.
7. Edit @Inject String s -> @Inject String ss
8. There is no warning any more on @Inject