code: public static ClassLoader getDefaultClassLoader(Class<?> clazz) {
  		ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
  		if (classLoader == null) {
  			classLoader = clazz.getClassLoader();
  		}
  		return classLoader;
  	}
docs: Determines the 'default' classloader. That is context class loader, if
  defined, or else classloader which loaded the given class.
  
  @param clazz		to which classloader to fall back
  @return classloader