> I'd say that is the activaton jar and some
> use of Class.ForName(..) on Sun's part.

> As long as we use ..
>    this.getClass().getClassLoader().loadClass(..)
> .. instead of ...
>    Class.forName(..)
> .. we should be fine (five occurences by the looks of things).

I just ran grep on the James sources:

AvalonMailStore.java: reply = (MailRepository)
Class.forName(repClass).newInstance();
AvalonUsersStore.java: UsersRepository rep = (UsersRepository)
Class.forName(repClass).newInstance();
JdbcDataSource.java: Class.forName(jdbcDriver, true,
Thread.currentThread().getContextClassLoader());
NNTPUtil.java: Object obj = Class.forName(clsName).newInstance();
MailetLoader.java: Mailet mailet = (Mailet)
Class.forName(className).newInstance();
MatchLoader.java: Matcher matcher = (Matcher)
Class.forName(className).newInstance();

I guess that you'd like these changed?  :-)

        --- Noel


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to