code: static Class<?> loadClass(final ClassLoader cl, final String name) throws PrivilegedActionException, ClassNotFoundException
     {
        SecurityManager sm = System.getSecurityManager();
        if (sm == null)
        {
           return cl.loadClass(name);
        }
        else
        {
           return AccessController.doPrivileged(new PrivilegedExceptionAction<Class<?>>() {
              public Class<?> run() throws PrivilegedActionException
              {
                 try
                 {
                    return cl.loadClass(name);
                 }
                 catch (Exception e)
                 {
                    throw new PrivilegedActionException(e);
                 }
              }
           });
        }
     }
docs: Load a class using the provided classloader
  
  @param name
  @return
  @throws PrivilegedActionException