FYI there is a TCK test for a simple scenario: org.jboss.cdi.tck.tests.lookup.injectionpoint.InjectionPointTest#testNullInjectionPointInjectedIntoNonInjectedObject(). This test is passing. The problem here is that CDIBeanProducer#produce() invokes BeanManager#getReference() which in turn invokes CDIBean2Producer.produce().
|