Well being said the spec doesn't mention it shouldnt fail at startup and that EE as a whole (CDI included) tries to validate as much as possible at startup I think it should be excluded. On the "blocks" some use cases you can keep in mind that they are not blocked cause you can still veto the bean and add them with the proxy factory if you really want that but at least cdi boot validations are consistent if it doesn't lazy fail. Of course we can't detect all cases but we should at least ensure we can detect the trivial ones like the one mentionned here which are the most common. |