code: private Class<?> loadClass(final ClassLoader lastLoader, final String className) {
          // XXX: this is overly complicated
          Class<?> clazz;
          if (lastLoader != null) {
              try {
                  clazz = lastLoader.loadClass(className);
                  if (clazz != null) {
                      return clazz;
                  }
              } catch (final Throwable ignore) {
                  // Ignore exception.
              }
          }
          try {
              clazz = LoaderUtil.loadClass(className);
          } catch (final ClassNotFoundException | NoClassDefFoundError e) {
              return loadClass(className);
          } catch (final SecurityException e) {
              return null;
          }
          return clazz;
      }
docs: Loads classes not located via Reflection.getCallerClass.
  
  @param lastLoader The ClassLoader that loaded the Class that called this Class.
  @param className  The name of the Class.
  @return The Class object for the Class or null if it could not be located.