e985f2a051
* Use static initialiser block to initialise factories rather than variable initialiser. * Add static member thisClassLoader to cache classloader for the LogFactory class; change all calls to LogFactory.class.getClassLoader() to just use thisClassLoader. * Change getContextClassLoader to always use AccessController (actually, rename getContextClassLoader to directGetContextClassLoader, and make getContextClassLoader a wrapper around that). * define a method getClassLoader(clazz) that just does clazz.getClassLoader for now; change all calls to clazz.getClassLoader into getClassLoader(clazz) git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@170501 13f79535-47bb-0310-9956-ffa450edef68