In [lang] there are a few places where Class.forName(String, boolean,
ClassLoader) is used to load classes dynamically (e.g. in
ClassUtils.getClass()).
According to the book OSGi in action (written by guys from the Felix
community) it is recommended to use ClassLoader.loadClass() instead. The
One thing to watch out for here is the loadClass expects a binary
name. I think forName does not, at least the Javadoc does not say so
(and I cannot experiment ATM, on my phone).
Gary
On Aug 25, 2012, at 14:58, Oliver Heger oliver.he...@oliver-heger.de wrote:
In [lang] there are a few places