[weld-dev] non-visable classes and constructors

Gavin King gavin.king at gmail.com
Mon Nov 30 10:00:38 EST 2009


As far as I can tell, the spec is pretty clear that this must be  
supported.

Sent from my iPhone

On Nov 30, 2009, at 4:13 AM, Mark Struberg <struberg at yahoo.de> 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 Sc 
> hutz 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