Martin Kouba commented on Bug WELD-1605

Rich DiCroce could you describe the first scenario in more detail? E.g. what is the scope of EntityManagerProducer bean? I tried something similar:

@Vetoed
class Foo {
}
@ApplicationScoped
class FooProducer {
  @Produces
  Foo produce() {
    return new Foo();
  }
}
class Bar {
  @Inject
  Foo foo;
  ...
}

and I don't get any bogus warning when invoking Bar (I'm using the latest 2.2.0-SNAPSHOT though).

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
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to