]
Pete Muir commented on WELD-310:
--------------------------------
I don't fully understand this bug report. Could you also provide the source to Foo?
Producer called on Bean that is under construction
--------------------------------------------------
Key: WELD-310
URL:
https://jira.jboss.org/jira/browse/WELD-310
Project: Weld
Issue Type: Bug
Components: Producers (Methods, Fields and Disposers)
Affects Versions: 1.0.0.GA
Reporter: Gavin King
Fix For: 1.0.1.CR1
The following code results in a call to Foo.foo() for a bean that has not yet been fully
constructed:
class Bar {
@Inject void injectFoo(Foo foo) {}
@Produces Foo produceFoo() { return new Foo(); }
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: