[
https://issues.jboss.org/browse/CDI-61?page=com.atlassian.jira.plugin.sys...
]
Mark Struberg commented on CDI-61:
----------------------------------
We had a bug report last year that one tried to use BeanA, BeanB and in the @PostConstruct
and @Inject codes he used methods from the other bean. This is almost the same imo and
there is already a language for it which says that a contextual instance is only put into
service once it's finally contructed. But I can't find it quickly :/
Producers and beans that are under construction
-----------------------------------------------
Key: CDI-61
URL:
https://issues.jboss.org/browse/CDI-61
Project: CDI Specification Issues
Issue Type: Bug
Components: Beans
Affects Versions: 1.0
Reporter: Pete Muir
Fix For: 1.1 (Proposed)
I think we need the spec to say something about cases where an injection point of a bean
resolves to a producer method of the same bean. The implementation should detect that this
is a definition error. It shouldn't try to call a producer method on a
non-fully-initialized bean.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira