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() {
returnnew 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
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).