[weld-dev] non-visable classes and constructors

Mark Struberg struberg at yahoo.de
Mon Nov 30 04:13:06 EST 2009


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 



More information about the weld-dev mailing list