Excellent point Phil... so Class.forName() is too heavy.   And the link
phase could load (and initialize) other classes as well.  Gack!  We now
resume our regularly scheduled program...

Allan

> There is one main advantage doing this which is
> that some classes have large static initialiser's (I have one for
> instance which takes about 1 minute to load!), and the Class.forName
> lookup would I think force this loading. By the nature of things this
> could happen accidentally if you're type had the same class name as
> one in another package.
>
>        Hmmm.
>
>        Phil

Reply via email to