dev@glassfish.java.net

Re: osgi question

From: Justin Lee <justin.d.lee_at_oracle.com>
Date: Tue, 18 May 2010 14:14:25 -0400

But while we're on the subject, I need to verify that the given class
name (passed as a string to the asadmin command) correctly implements
the proper interfaces. As i understand it, Class.forName() is
considered harmful in an OSGi environment and as I recall we should use
something Thread.currentThread().getContextClassLoader() is that correct?