Hmm, not sure your example is valid Martin Kouba cause Foo MUST be proxyable since you can get a reference on it even if not in an injectable point so deployment should fail whatever way you think (getReference is part of CDI api ). So I think I agree with Mark and this test is a particular case limiting CDI and delaying user errors at runtime which is kind of inconsistent with deployment validations. |