David Bosschaert [
http://community.jboss.org/people/bosschaert] commented on the document
"Module Compatible Classloading Guide"
To view all comments on this document, visit:
http://community.jboss.org/docs/DOC-16701#comment-6085
--------------------------------------------------
In addition to the above, Class.forName("org.foo.SomeClass") will cause issues
in modular classloading environments if the defining classloader doesn't have
classloading delegation set up to the module that's holding the
"org.foo.SomeClass" class.
This problem is solved by using the Class.forName("org.foo.SomeClass",
classLoader) overload instead.
--------------------------------------------------