[weld-dev] non-visable classes and constructors

Pete Muir pmuir at redhat.com
Mon Nov 30 06:21:31 EST 2009


Yes, the spec makes no statements here I know of. I don't think the TCK should restrict the impl like that anyway, so please file a CDKTCK issue (and say the FQCN, as there are multiple classes called MissileInterceptor).

Thanks!

On 30 Nov 2009, at 09:13, Mark Struberg wrote:

> Gavin,
> 
> The spec imho says nothing about the visibility of constructors (e.g. in 3.1.1. and others).
> But the TCK sometimes assumes that even package scoped classes (e.g. MissileInterceptor) which can _not_ be constructed with new must be injected. This feels a bit unnatural to me since there may be a very good reason to hide e.g. private constructors or even whole classes.
> 
> Have I overseen something in the spec or do we need to clarify some parts?
> 
> Txs and LieGrue,
> strub
> 
> __________________________________________________
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
> http://mail.yahoo.com 
> 
> _______________________________________________
> weld-dev mailing list
> weld-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/weld-dev




More information about the weld-dev mailing list