[weld-issues] [JBoss JIRA] (CDITCK-427) NormalSelfConsumingDependentProducer is illegal
Title: Message Title Tomas Remes resolved as Done CDI TCK / CDITCK-427 NormalSelfConsumingDependentProducer is illegal Change By: Tomas Remes Status: Open Resolved Resolution: Done Add Comment This message was sent by Atlassian JIRA (v6.2.6#6264-sha1:ee76422) ___ weld-issues mailing list weld-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/weld-issues
[weld-issues] [JBoss JIRA] (CDITCK-427) NormalSelfConsumingDependentProducer is illegal
Title: Message Title Tomas Remes commented on CDITCK-427 Re: NormalSelfConsumingDependentProducer is illegal Ok, true. I am going to remove the test. Add Comment This message was sent by Atlassian JIRA (v6.2.6#6264-sha1:ee76422) ___ weld-issues mailing list weld-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/weld-issues
[weld-issues] [JBoss JIRA] (CDITCK-427) NormalSelfConsumingDependentProducer is illegal
Title: Message Title Martin Kouba updated an issue CDI TCK / CDITCK-427 NormalSelfConsumingDependentProducer is illegal Change By: Martin Kouba Fix Version/s: 2.0.0.Alpha1 Fix Version/s: 1.2.2.Final Fix Version/s: 1.1.5.Final Fix Version/s: 1.0.7.Final Add Comment This message was sent by Atlassian JIRA (v6.2.6#6264-sha1:ee76422) ___ weld-issues mailing list weld-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/weld-issues
[weld-issues] [JBoss JIRA] (CDITCK-427) NormalSelfConsumingDependentProducer is illegal
Title: Message Title Martin Kouba commented on CDITCK-427 Re: NormalSelfConsumingDependentProducer is illegal Yes, I think we should remove this test as it's not explicitly and clearly defined by the spec. On the other hand, a producer method is a kind of bean and as such is a part of the bean dependency graph. The section "5.5.4. Invocation of producer or disposer methods" doesn't say anything about circular dependencies though. Note that we should remove this test from 1.0.x as well. In fact, the test was a no-op in 1.0.x. Add Comment This message was sent by Atlassian JIRA (v6.2.6#6264-sha1:ee76422) ___ weld-issues mailing list weld-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/weld-issues
[weld-issues] [JBoss JIRA] (CDITCK-427) NormalSelfConsumingDependentProducer is illegal
Title: Message Title Arne Limburg commented on CDITCK-427 Re: NormalSelfConsumingDependentProducer is illegal Where in the spec we can read, that the incomplete instance should be used? Add Comment This message was sent by Atlassian JIRA (v6.2.6#6264-sha1:ee76422) ___ weld-issues mailing list weld-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/weld-issues
[weld-issues] [JBoss JIRA] (CDITCK-427) NormalSelfConsumingDependentProducer is illegal
Title: Message Title Tomas Remes commented on CDITCK-427 Re: NormalSelfConsumingDependentProducer is illegal I think this is legal and matches the tested assertion: The container is required to support circularities in the bean dependency graph where at least one bean participating in every circular chain of dependencies has a normal scope I guess incompletely initialized contextual instance is used in this case. Add Comment This message was sent by Atlassian JIRA (v6.2.6#6264-sha1:ee76422) ___ weld-issues mailing list weld-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/weld-issues
[weld-issues] [JBoss JIRA] (CDITCK-427) NormalSelfConsumingDependentProducer is illegal
Title: Message Title Mark Struberg created an issue CDI TCK / CDITCK-427 NormalSelfConsumingDependentProducer is illegal Issue Type: Feature Request Assignee: Tomas Remes Components: Tests Created: 29/Jun/14 2:47 PM Priority: Major Reporter: Mark Struberg Security Level: Public (Everyone can see) NormalSelfConsumingDependentProducer is an illegal class. This class contains a producer method for a @Dependent scoped bean 'Violation' and also an injection point for this very bean. So for invoking the producer method on the bean we first need to inject all @Inject ct, fields, methods and then call any @PostConstruct method. And only AFTER that we are allowed to invoke the producer method. This is not perfectly clear from the CDI spec itself, but you can deduct this from JSR-250 @PostConstruct wording. (see 'must not be put into service'). But we cannot @Inject Violation before we have the owner bean class created...